Source Code
I maintain my public source code in a repo on Bitbucket. It is set up to use the GIT interface and you can log into Bitbucket with a Facebook account if you so desire.
Here is the link to the repo: db-tools.
Documentation is available as comments in the source code. The naming convention should make it pretty clear what each procedure does.
For convenience, a few code snippets are also included directly on this blog. They are: