Skip to content

Be first to get a Nexus 5

11 pointsdeadfish7 comments
On HN

for (( ; ; )); do if curl "https://play.google.com/store/devices" -L -s --compressed | grep -q "exus 5" ; then echo "Nexus 5 is Launched" ; fi ; sleep 10 ; done ;

Enough said :D

Comments

If you're on a Mac I recommend using 'say' instead of 'echo'. Then you'll hear when it's finished instead of having to check the terminal (which kind of defeats the purpose)

On linux, you can use espeak as it is installed by default as text-to-speach engine:

echo "Nexus 5 launched" | espeak

Or echo -e "\aNexus 5 is launched" perhaps.

You can use http://uptimerobot.com/ I monitor wikipedia censorship using it ;)

Nice! I will try it too.

uptime robot didn't work... interesting concept though

thanks, trying this out.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.