my recent reads..

Adding reCAPTCHA to Oracle SSO - now on sourceforge

Yes, it's time for some house cleaning!

One of my favourite little hacks is how to add reCAPTCHA to Oracle SSO, which I wrote about last year. I've now finally got around to setting it up with its own sourceforge project.

OssoRecaptcha is a demonstration of integrating the CAPTCHA service from recaptcha.org with Oracle Single-Sign-On. It can be used in production OSSO deployments, and also as an example of integrating any 3rd party authentication system with OSSO.

SourceForge.net Logo
read more and comment..

Request header rewrites with Java servlet filters - now on sourceforge

Some time back I posted a sample and discussion of request header rewrites with Java servlet filters, and I now finally got around to setting it up with its own sourceforge project.

RewriteRequestHeaderFilter is a Java servlet filter for request header rewrites according to regex rules specified in the servlet init parameters. It is packaged as a sample application and also jar that can be inserted into any arbitrary site.

SourceForge.net Logo
read more and comment..

I haz audible! / Dune


As a long time TWiT listener, and a fan of audiobooks, I've long been tantalised by one of the TWiT network's biggest sponsors - audible.

To my chagrin, last I checked - admittedly a long time ago - I was unable to subscribe to audible because I live in Singapore. Undoubtedly due to pre-Copernican copyright issues.

After chatting with a colleague from the US the other day who was raving about audible, I thought I'd try again.

Success! I am over the moon to now be a totally addicted audible member (it seems 99% of titles are available for purchase to me - just a few that are restricted due to copyright).

With my free credit (for signing up as a TWiT listener) I bought the unabridged adaptation of Frank Herbert's Dune. The production by Audio Renaissance is truly wonderful. The selected use of character actors, and subtle atmospheric music and sound effects really bring the story to life, keeping you enthralled for the full 21 hours.

It is many years since I last read and re-read Dune, and it was great to rediscover the book in audio. Still the SF classic I remember, and now I have it sitting in my audible library for another listen in the not too distant future.


read more and comment..

Config Files for Windows - an Enhancement

In a previous post, I described a general scheme for managing config files for Windows.

Well, there's a simple enhancement that I've added concerning how to locate the config file for the script in question.

The issue is that if I run a script, you always wanted to look for the config file relative to the script location. This can be easily done using Windows Batch Parameter Expansion. %~dp0 expands to the path of the current script, and %~n0 is the name of the script file. Hence, to name the appropriate config file for a script, we generate the name as follows:

set LOCALCONF=%~dp0conf\%~n0-%COMPUTERNAME%.cmd

read more and comment..