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.
This document is being updated whenever I write a script worth publishing.