I have a few active open-source projects on Github and Bitbucket.

Github

https://github.com/kelvinwong-ca

BitBucket

https://bitbucket.org/kelvinwong_ca/

PGP Key

I’m signing with Key ID E2CE4127 which can be found on public keyservers.

Other

This page lists all the code snippets on this web site in one handy web page. The links lead to text files or directories and are organized by language.

HTML

Label tag hover example
This HTML example shows how to use the hover pseudo-class to cue your users to click the label to focus on an input element.

Java Code

Morse Code Decoder Object
This Java object decodes International Morse Code

PHP Code

GD Detector
This is a handy GD library detector cobbled together from other scripts found online.
PEAR Detector
This script detects the presence of PEAR in the include_path of your PHP installation.

Python

A nicer truncation function
This Python function truncates a string to the nearest right period or space then adds an ellipsis.