Skip to content

Instantly share code, notes, and snippets.

@NARKOZ
Created February 24, 2011 13:28
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 NARKOZ/842156 to your computer and use it in GitHub Desktop.
Save NARKOZ/842156 to your computer and use it in GitHub Desktop.
Apple Store is down, awaiting new 2011 MacBook Pro
#! /bin/bash
while [[ true ]]; do
STOREDOWN=`curl -s http://store.apple.com/us | grep backsoon`
if [ "$STOREDOWN" = "" ]; then
/usr/local/bin/growlnotify "Apple store is up!" -m "Let' see what's new"
exit
fi
sleep 20
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment