Google+

The only reason I'm excited for Pottermore

I never thought to try this until now. I will leave this running overnight:

#!/bin/bash

while [ `curl www.pottermore.com | grep “registration is now closed” | wc -w` \
-ne “0” ]; do
echo [`date`] Checked pottermore.com: Registration is still closed.
sleep 20
done

echo [`date`] Message has changed. Check status at [http://pottermore.com/].
mplayer “$HOME/Harry Potter and the Philosopher’s Stone - Prologue.mp3” \
> /dev/null 2> /dev/null


Yeah? yeah? And this.

chmod +x ./pottermore.sh;./pottermore.sh

Alright. Let’s do this.

1 CommentAdd one

Anonymous
Sat, 06 Aug 2011 04:33:47 GMT

Nice. I see you're using linux now.

Post a Comment

Sun, 30 Apr 2017 05:05:59 GMT