I hereby claim:
- I am patinthehat on github.
- I am patorgan (https://keybase.io/patorgan) on keybase.
- I have a public key ASBhWbefCXIWV4Iz-WrG0YjDddd8EkX6lcup20BGLZX3yAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace Permafrost\PhpCsFixerRules\Rulesets; | |
| class DefaultRuleset implements RuleSet | |
| { | |
| public function allowRisky(): bool | |
| { | |
| return false; | |
| } |
| #!/usr/bin/php | |
| <?php | |
| function get_random_host() | |
| { | |
| $hosts = [ | |
| 'eth0.me', | |
| 'icanhazip.com', | |
| ]; | |
| #!/bin/bash | |
| SCRIPTNAME=$(basename $0) | |
| NGINX_CONFIG_PATH="/etc/nginx" | |
| DEFAULT_EDITOR=$(which nano) | |
| FALLBACK_EDITOR=$(which vim) | |
| [ "$EDITOR" == "" ] && EDITOR="$DEFAULT_EDITOR" | |
| #No filename specified or (-h|--help) flag was passed. |
| #!/bin/bash | |
| sudo nginx -t | |
| if [ $? -eq 0 ]; then | |
| sudo service nginx restart | |
| else | |
| echo "nginx configuration test failed, not restarting service." | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| ### PHP Static analysis tools | |
| #add directory to your search path | |
| printf '\n\nPATH=$HOME/Development/bin:$PATH\n' >> $HOME/.bashrc | |
| #make sure the directory exists | |
| mkdir -p "$HOME/Development/bin" | |
| cd "$HOME/Development/bin" |
| #!/bin/sh | |
| curl eth0.me |