Thu, 20 Jan 2005
Threat Warning One Liner
Any attempt at explaining why I wanted to do this will sound odd so for now
I'll just post the one liner...
perl -MLWP::Simple -e 'get("http://www.dhs.gov/") =~ /dhs-advisory-(\w+)\.gif/;print "Threat level is $1!\n";'
This gets the current threat level for the US and prints it to standard out.
Like this post? - Digg Me! | Add to del.icio.us! | reddit this!
Posted: 2005/01/20 21:30 | /perl | Permanent link to this entry | This entry + same date
books
career
codinghorrors
events
geekstuff
justdont
languages/bash
linkshot
magazines
meta
misctech
movies
nottech
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
perl
programming
python
ruby
security
security/apache
security/tools
serversmells
sites
specifications
sysadmin
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
unixdaemon

