Skip to content

Instantly share code, notes, and snippets.

@kshoji
Created November 30, 2012 07:32
Show Gist options
  • Save kshoji/4174330 to your computer and use it in GitHub Desktop.
Save kshoji/4174330 to your computer and use it in GitHub Desktop.
one liner shell scripts
yes 'curl "http://example.com/page/to/watch.html"|md5|perl -e "\$md5=<>;chop\$md5;if(\$md5 ne \"md5 hash string\"){system \"growl -s -H localhost -m renewed!\";}";sleep 60'|sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment