Skip to content

Instantly share code, notes, and snippets.

@jpf
Created June 25, 2009 04:49
Show Gist options
  • Select an option

  • Save jpf/135688 to your computer and use it in GitHub Desktop.

Select an option

Save jpf/135688 to your computer and use it in GitHub Desktop.
# input: email address in pasteboard.
# output: url for gravatar of that email address to pasteboard
# (wavatar default if no gravatar exists)
md=$(echo -n `pbpaste` | md5); echo "http://gravatar.com/avatar/${md}?d=wavatar" | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment