I hereby claim:
- I am gilbitron on github.
- I am gilbitron (https://keybase.io/gilbitron) on keybase.
- I have a public key whose fingerprint is 4DCC 72D3 B8F2 14E0 91E9 EC60 4F94 C68C 2F1A 4A3B
To claim this, I am signing this object:
#!/bin/bash | |
sudo yum install -y -q https://repo.percona.com/yum/percona-release-latest.noarch.rpm | |
sudo yum install percona-toolkit |
<?php | |
/** | |
* This script creates an `export.csv` file of Stripe PaymentIntent data that is | |
* in the correct format for importing into Lemon Squeezy. | |
* | |
* @link https://docs.lemonsqueezy.com/help/migrating/migrating-from-stripe | |
* | |
* Usage: | |
* 1. Run `composer require stripe/stripe-php` | |
* 2. Replace `[STRIPE_API_KEY]` with your Stripe API key |
{ | |
on_demand_tls { | |
ask http://12.34.56.78/caddy-check | |
} | |
email [email protected] | |
} | |
*.example.com { | |
tls ...custom certs... | |
reverse_proxy http://12.34.56.78 |
<?php | |
# app/Http/Controllers/CaddyController.php | |
namespace App\Http\Controllers; | |
use App\Store; | |
use Illuminate\Http\Request; | |
class CaddyController extends Controller | |
{ |
<?php | |
include 'ExampleClass1.php'; | |
include 'ExampleClass2.php'; | |
$object = new stdClass; | |
$object->foo = 'bar'; | |
$class1 = new ExampleClass1(); | |
$class2 = new ExampleClass2(); |
<?php | |
$array = []; | |
(function() use ($array) { | |
// Add an item to the array | |
$array[] = 'item'; | |
})(); | |
var_dump($array); |
I hereby claim:
To claim this, I am signing this object:
<?php // app/Notifications/InvoicePaid.php | |
namespace App\Notifications; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Notifications\Notification; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Notifications\Messages\MailMessage; | |
use Laravel\Cashier\Invoice; |
<?php | |
$sites = [ | |
'http://www.google.com/', | |
'http://www.facebook.com/', | |
'http://www.youtube.com/', | |
'http://www.yahoo.com/', | |
'http://www.live.com/', | |
'http://www.wikipedia.org/', | |
'http://www.baidu.com/', |
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
if [ ! -f /etc/cron.daily/database-backup ]; then | |
sudo bash -c "cat > /etc/cron.daily/database-backup" <<EOL | |
#!/bin/bash |