Created
November 30, 2012 07:32
-
-
Save kshoji/4174330 to your computer and use it in GitHub Desktop.
one liner shell scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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