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 | |
| /* | |
| * X Files Episode Range | |
| */ | |
| $episodes = array(); | |
| $episodes[1] = array(0,23); // Sometimes $episodes[1] = array(1,24); (depends on pilot numbering) | |
| $episodes[2] = array(1,25); |
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
| # Description: | |
| # 1337 Notify | |
| # | |
| # Dependencies: | |
| # "cron": "^1.0.9", | |
| # "time": "^0.11.3", | |
| # | |
| # Configuration: | |
| # None | |
| # |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am ElliottLandsborough on github. | |
| * I am elliottlan (https://keybase.io/elliottlan) on keybase. | |
| * I have a public key whose fingerprint is BF4E 87B4 21C3 B2D7 2F58 401A DE96 E600 6A17 EB88 | |
| To claim this, I am signing this object: |
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
| Would you rather? | |
| ## Rules | |
| - Split everyone into groups of 3-5. | |
| - Fill bag with printed questions. | |
| - Each group chooses a question, they are allowed to swap but not allowed to look. | |
| - Come up with at least 2 justifications. | |
| - After 5 minutes, a member of the group will tell the room their question and their justifications. | |
| - If anyone thinks that the decision was wrong they are allowed to say why. |
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\Providers; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\ServiceProvider; | |
| use Blade; | |
| class AppServiceProvider extends ServiceProvider | |
| { |
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 | |
| $params = ['user' => $request->username, 'host' => $this->host, 'password' => $request->password ]; | |
| $request = xmlrpc_encode_request('check_password', $params, ['encoding' => 'utf-8', 'escaping' => 'markup']); | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $this->server); | |
| curl_setopt($ch, CURLOPT_FAILONERROR, 1); | |
| curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 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
| #!/bin/bash | |
| total=$(wget -O - http://blockchain.info/q/getblockcount 2>/dev/null) | |
| while true ; do | |
| clear | |
| echo "Press enter to break loop. Script will loop every 3 seconds" | |
| echo "If loop freezes press CTRL+C" | |
| echo "" | |
| item=$(bitcoin-cli getblockcount 2>&1) | |
| echo -e " \033[31mdownloaded\e[0m/\033[32mavailable\e[0m" | |
| echo -e " \033[31m${item}\e[0m"/"\033[32m${total}\e[0m" |
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 | |
| # how to use: | |
| # 1. install php | |
| # 2. Put start.xml in the same folder as process.php | |
| # 3. Open terminal and cd to the folder with process.php in it | |
| # 4. run in terminal: php process.php | |
| # 5. See results in finish.xml | |
| $dom = new DOMDocument(); //init |
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 | |
| /** | |
| * accept an HTTP status code as a get variable and return it in the response | |
| * | |
| * Usage: respond.php?status=404 | |
| */ | |
| // https://github.com/symfony/http-foundation/blob/master/Response.php | |
| $statusTexts = [ | |
| 100 => 'Continue', |
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
| { | |
| "name": "ElliottLandsborough/project-name", | |
| "repositories": [ | |
| { | |
| "type": "composer", | |
| "url": "https://wpackagist.org" | |
| } | |
| ], | |
| "require": { | |
| "php": ">=5.6", |
OlderNewer