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 CommentPost a Comment

Anonymous
Sat Aug 06 2011 04:33:47 +0000

Nice. I see you're using linux now.

Post a Comment

Sun Feb 12 2017 03:58:16 +0000