The Curious Dev

Various programming sidetracks, devops detours and other shiny objects

May 9, 2013 - 8 minute read - XSL Groovy Testing

Testing XSL - Part 1

XSL/XSLT

I refer to all XML manipulations via XSL stylesheets as simply “XSL”. One could get quite particular about calling something XSLT over XSL but really I just associate all things that read/manipulate/produce XML data with XSLT and XPATH as being XSL.

Jan 20, 2013 - 4 minute read - Groovy Regex

Simple Data Collectors

The city that I live in, Perth, is sprawled out over a large distance and so the BOM’s temperature for Perth isn’t entirely accurate. Enter the Ag Dept’s temperature sensors here or more specifically, the one for Wanneroo here. These sensors are updated every minute (most of the time) and provide a more accurate measure of what the weather is doing right now. Rather than visiting the page manually, I wrote a script to grab the temperature for use elsewhere, such as on a dashboard.

Nov 26, 2012 - 3 minute read - Groovy Utility

Desktop Wallpaper Grabber

A feature I really like about Window 7 (and 8) is the ability to make the desktop cycle through all the images in a given directory structure, perfect for those 1000’s of photos we’ve taken on our travels. Over the last couple years I’ve been using a little script I wrote to extract the current image and copy it into a shared directory in my dropbox. This directory is shared with my wife and we both have a shortcut on our desktops to click when we see an image we like to share those “Nîmes was awesome wasn’t it!