This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Laravel deploy script | |
| PHP_PATH=php | |
| $PHP_PATH artisan down | |
| $PHP_PATH composer.phar install --no-dev | |
| $PHP_PATH artisan cache:clear |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| header('Content-Type: application/octet-stream'); | |
| header('Content-Disposition: attachment; filename="dummy.bin"'); | |
| set_time_limit(0); | |
| $random_data = random_bytes(1000000); | |
| while(true) { | |
| if(connection_aborted() === 1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Http\Controllers\Conversations\DummyConvo; | |
| use Mpociot\BotMan\BotMan; | |
| class BotManController extends Controller { |
NewerOlder