Skip to content

Instantly share code, notes, and snippets.

@honzasterba
Last active December 25, 2015 01:49
Show Gist options
  • Save honzasterba/6898282 to your computer and use it in GitHub Desktop.
Save honzasterba/6898282 to your computer and use it in GitHub Desktop.
using voice synthetizer instead of my own voice
while [ 1 ] ; do found=$(curl -s http://store.apple.com/cz | grep -E 'src="[^"]+backsoon[^"]+"' | wc -l) ; if [ $found -eq "0" ] ; then while [ 1 ] ; do echo "READDDYYYYY" ; say "Apple store is open" ; done ; else echo "not yet" ; fi ; sleep 10 ; done ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment