Fishing for Touchpad

I am sure you have heard by now about the 99$ Touchpads. Too bad B&N canceled my order saying they oversold. How can they oversell in an eCommerce site? But they are gladly spamming me with their upcoming Nook announcements. Anyway, today I saw on HP site that Touchpad will be “Coming soon”. I think they are going to have another inventory soon. Hopefully I will be able to catch them in the act when the site updates. Here is a short script to check to see if “Coming soon” notice has been removed from the page or not. And if that happens, it will play one of my favorite songs. Loudly.


#!/bin/bash

while [ true ]
do
NUM=`curl ‘http://www.shopping.hp.com/webapp/shopping/can.do;HHOJSID=1wg1TJ3NYLL2fcpQRTRCLKBTQ6tvHT9qdyGX2LZV1bLzrpQRlvb2!-388369811?storeName=storefronts&catLevel=1&landing=rts_tablet&category=rts_tablet&jumpid=in_R329_prodexp/hhoslp/psg/lateralnav_touchpads_home’ |grep -i ‘coming_soon’ |wc -l`
echo Coming $NUM
if [ "$NUM" -gt 1 ]
then
sleep 60
else
afplay /Users/mislam/Music/Amazon\ MP3/Black\ Eyed\ Peas/The\ E.N.D.\ \(The\ Energy\ Never\ Dies\)/05\ -\ I\ Gotta\ Feeling.mp3
fi
done

This entry was posted in Daily Muse, Tech and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>