Skip to content

Instantly share code, notes, and snippets.

@thibaudcolas
Last active August 29, 2015 14:14
Show Gist options
  • Save thibaudcolas/a2505d80f63e825357e9 to your computer and use it in GitHub Desktop.
Save thibaudcolas/a2505d80f63e825357e9 to your computer and use it in GitHub Desktop.
will's RubeGoldBash game
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