Create a gist now

Instantly share code, notes, and snippets.

@mwunsch /avatar.sh
Last active Jul 10, 2016

What would you like to do?
Random Avatar Generator
curl -s 'http://realbusinessmen.tumblr.com/api/read?type=photo&num=50' | ruby -r'rexml/document' -e 'puts REXML::Document.new(STDIN).elements["tumblr/posts"].to_a.shuffle.pop.map(&:text)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment