##Rotating Pricing Table for Laravel Spark
Can be placed anywhere, try it out on welcome.blade.php
###If you're using team plans
just swap out $sparkPlans = Spark::plans();
with $sparkPlans = Spark::teamPlans();
# source: https://forum.proxmox.com/threads/removing-deleting-a-created-cluster.18887/ | |
#/bin/sh | |
# stop service | |
systemctl stop pvestatd.service | |
systemctl stop pvedaemon.service | |
systemctl stop pve-cluster.service | |
systemctl stop corosync | |
systemctl stop pve-cluster | |
# edit through sqlite, check, delete, verify |
0.0.0.0 zen.yandex.ru | |
0.0.0.0 www.yandex.ru | |
0.0.0.0 yandex.ru | |
0.0.0.0 yandex.org | |
0.0.0.0 yandex.net | |
0.0.0.0 yandex.net.ru | |
0.0.0.0 yandex.com.ru | |
0.0.0.0 yandex.ua | |
0.0.0.0 yandex.com.ua | |
0.0.0.0 yandex.by |
resource "digitalocean_droplet" "haproxy-www" { | |
image = "ubuntu-14-04-x64" | |
name = "haproxy-www" | |
region = "nyc2" | |
size = "512mb" | |
private_networking = true | |
ssh_keys = [ | |
"${var.ssh_fingerprint}" | |
] | |
connection { |
<?php | |
use BotMan\Drivers\Slack\SlackDriver; | |
Route::get('/', function () { | |
$task_id = uniqid(); | |
// Send the message to the channel | |
$result = app('botman')->say('example', '#botman-tests', SlackDriver::class, [ | |
'attachments' => json_encode([ |
##Rotating Pricing Table for Laravel Spark
Can be placed anywhere, try it out on welcome.blade.php
###If you're using team plans
just swap out $sparkPlans = Spark::plans();
with $sparkPlans = Spark::teamPlans();
<html> | |
<head> | |
<title>Sample Widget Page</title> | |
</head> | |
<body> | |
<h1>Sample Widget Page</h1> | |
<script type="text/javascript" src="http://localhost:81/widget-bootstrap.js"></script> | |
<div id="widget-container"></div> |
<?php | |
/** | |
* This exemple shows how to parse base64 encoded images (submitted using Summernote), save them locally | |
* and replace the 'src' attribute in the submited HTML content | |
* | |
**/ | |
use Intervention\Image\ImageManagerStatic as Image; | |
class PostController { | |
public function edit(){ |
#!/bin/bash | |
apt-get update | |
apt-get -y dist-upgrade | |
# Install dokku | |
# Has to be ran twice for success, not sure why | |
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash | |
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
if (!function_exists('include_css')) { | |
function include_css($uri = assets_url($data)) { | |
return "<link rel='stylesheet' type='text/css' href='" . $uri . "'>"; | |
} | |
} |