20 July 2011

JS/ExtJS Code to Determine Age

Just something I came up with for a form I'm building -- is there a quicker way to do this?

(_now.format('Y') - birthdate.format('Y')) 
     - (_now.format('z') < birthdate.format('z') ? 1 : 0)

13 July 2011

LDDMonkey -- Greasemonkey Script for the IBM LDD Forums


Here's a little Greasemonkey script I've been using for the past few years to make browsing the LDD forums at ibm.com tolerable -- I'm amazed constantly that this script still works!