Created
February 18, 2013 10:58
-
-
Save ldodds/4976606 to your computer and use it in GitHub Desktop.
Is the Nexus 10 32gb in stock yet?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate a system notification on the current product status of the Google Nexus 10 32gb | |
# | |
# Uses notify-send to generate notification | |
# hxnormalize and hxselect are from html-xml-utils package on ubuntu | |
# hxnormalize: tidy up HTML | |
# hxselect: use CSS selector to extract element content from well-formed XML | |
# Added to my crontab so I don't have to keep manually checking | |
# | |
notify-send "Nexus 10 32gb Status" "`hxnormalize -x -l 240 https://play.google.com/store/devices/details?id=nexus_10_32gb 2>/dev/null | hxselect -c ".hardware-price-description"`" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment