Last active
August 29, 2015 14:14
-
-
Save thibaudcolas/a2505d80f63e825357e9 to your computer and use it in GitHub Desktop.
will's RubeGoldBash game
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
| ls ~ | grep bash | |
| ls ~ | grep bash | wc -l | |
| history | |
| dig +short myip.opendns.com @resolver1.opendns.com | |
| curl -s ip.appspot.com | |
| curl -s ip.appspot.com | xargs -n 1 curl -s "freegeoip.net/csv/$1" | cut -d ',' -f '9 10' | sed 's/,/\&lon=/g' | xargs -n 1 echo "http://api.openweathermap.org/data/2.5/weather?mode=html&lat=$1" | sed 's/ //g' | xargs -n 1 curl -s $1 | lynx -stdin -dump | |
| ps aux | |
| [ $[ $RANDOM % 6 ] == 0 ] && echo "You die" || echo "You live" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment