|-: perry.freeshell.org code :-|


Some (hopefully) useful code - mostly in Python, since that is my "Language Of Choice", when it makes sense.


get_weather.sh -- a simple shell script (using bash, awk and xsetbg) which retrieves the current satellite cloud photo from the Australian BoM and puts it on the X11 background. Set the working directory at the top of the script and then fire away. I often set this as a cron job so I see cloud maps a few times a day.
Iraq Body Count XChat python script -- retrieves the current estimates for the number of civilians killed by the current war in Iraq, and broadcasts it to the current channel. Requires the XChat python plugin.
(Based on a shell script by jboy).