Skip to content

Instantly share code, notes, and snippets.

@ericallam
Created May 11, 2010 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericallam/396862 to your computer and use it in GitHub Desktop.
Save ericallam/396862 to your computer and use it in GitHub Desktop.
#!/bin/bash
wget http://xkcd.com
wget `grep http://imgs.xkcd.com/comics/ index.html | head -1 | cut -d\" -f2` -O xkcd.png
rm index.html
open xkcd.png
@ericallam
Copy link
Author

  • download and save as wxkcd
  • chmod +x wxkcd
  • ./wxkcd
  • Enjoy todays xkcd comic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment