Created
February 29, 2016 14:51
-
-
Save GeorgeMac/ec75d68526a24e5ee2b3 to your computer and use it in GitHub Desktop.
Revisions
-
GeorgeMac created this gist
Feb 29, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #! /bin/bash while [ "$(curl -Iv https://www.crowdcube.com/investment/mondo-20857 2>&1 | grep -oe "HTTP/1.1 [0-9][0-9][0-9]" | head -n 1)" = "HTTP/1.1 302" ]; do sleep 1 && echo "still redirecting"; done && osascript -e 'display notification "go go go!" with title "Get Dem Mondos"'