Skip to content

Instantly share code, notes, and snippets.

@GeorgeMac
Created February 29, 2016 14:51
Show Gist options
  • Save GeorgeMac/ec75d68526a24e5ee2b3 to your computer and use it in GitHub Desktop.
Save GeorgeMac/ec75d68526a24e5ee2b3 to your computer and use it in GitHub Desktop.

Revisions

  1. GeorgeMac created this gist Feb 29, 2016.
    3 changes: 3 additions & 0 deletions crowd-mondo.sh
    Original 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"'