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.
Come back Mondo on Crowdcube (Mac Users)
#! /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"'
@adamneilson
Copy link

LOL!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment