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
| { | |
| "Version": "2008-10-17", | |
| "Id": "Policy1377015142632", | |
| "Statement": [ | |
| { | |
| "Sid": "Stmt1377015001378", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "*" | |
| }, |
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
| # Has your OS/FS/disk lost your data? | |
| # cd to the directory containing your project repositories and run the command | |
| # below. (It's long; make sure you get it all.) It finds all of your git repos | |
| # and runs paranoid fscks in them to check their integrity. | |
| (set -e && find . -type d -and -iname '.git' | while read p; do (cd "$(dirname "$p")" && (set -x && git fsck --full --strict)); done) && echo "OK" | |
| # I have 81 git repos in my ~/proj directory and had no errors. |
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
| tar cz folder_to_encrypt | openssl enc -aes-256-cbc -e > out.tar.gz.enc | |
| openssl aes-256-cbc -d -in out.tar.gz.enc -out decrypted.tar.gz |
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
| <div id="rect"> | |
| </div> |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
| <CORSRule> | |
| <AllowedOrigin>*</AllowedOrigin> | |
| <AllowedMethod>GET</AllowedMethod> | |
| <MaxAgeSeconds>3000</MaxAgeSeconds> | |
| <AllowedHeader>Content-*</AllowedHeader> | |
| <AllowedHeader>Host</AllowedHeader> | |
| </CORSRule> | |
| </CORSConfiguration> |
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
| puppet apply --modulepath=/modules /manifests/ --hiera_config=/etc/puppet/hiera.yaml --parser=future --verbose --debug |
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
| [game art] | |
| http://opengameart.org/ | |
| http://bagfullofwrong.co.uk/bagfullofwords/abuse-my-ip-make-games/ | |
| http://www.dumbmanex.com/bynd_freestuff.html | |
| http://7soul1.deviantart.com/art/420-Pixel-Art-Icons-for-RPG-129892453 | |
| http://game-icons.net/ | |
| https://www.makegameswith.us/gamernews/277/20-best-free-art-resources-for-game-developers |
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
| # delete dead images | |
| for i in `sudo docker images|grep \<none\>|awk '{print $3}'`;do sudo docker rmi $i;done | |
| # delete containers | |
| sudo docker rm -f `sudo docker ps --no-trunc -a -q` |
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
| ^(?!.*\bmandatory\b).*(?=\bpay\b).*$ | |
| #what mandatory fees do i have to pay [BAD] | |
| #what fees do i have to pay [GOOD] | |
| #what askjdha fees do i have to pay [GOOD] | |
| #mandatory pay [BAD] | |
| #mandatory pax [BAD] |
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
| nikto -h http://www.somewhere-that-im-allowed.com |