I've published a document with all sorts of useful scripts for various tasks, ranging from encoding/decoding Base64 and quoted printable, through determination of remote host's SSL certificate expiry date, to recursively exploding ZIP/JAR/EAR archives (similar to the way JBoss does when deploying).
It's available here: Aleksander Adamowski's useful scripts [1].
This document is being updated whenever I write a script worth publishing.
Links:
[1] http://docs.google.com/View?id=df5k88n3_133g46cqvdv