PHP Blink(1) Class

A simple PHP class to communicate with the Blink(1) tool, which is a RGB LED USB device.

The class allows you to easily send patterns to the device straight from PHP, for example you could set it to blink blue twice when you receive a Twitter mention, and 3 times if you receive a direct message.

Check out the video or View the code on Github →

PHP Blink(1) Class

Markdown Helper

A JavaScript based Markdown helper which when you hit the return key, it checks to see if the line is a bullet, numbered list, code block or blockquote and automatically indents and adds the Markdown syntax. If you hit return again on an empty line, it will remove that item and return to regular paragraph text.

Check out the demo or View the code on Github →

Markdown Helper

Toggle Switch

This is a pure image based toggle switch powered by jQuery, using zero CSS3 properties and as a result it looks and functions the same in all browsers.

It utilises a semi transparent PNG overlay to mask the underneath switch image, so the toggling animation remains within the constraints of the rounded rectangle.

Check out the demo or View the code on Github →

Toggle Switch

Thumb

A simple, local image only, thumbnail generation script with a file based cache and optional browser based cache.

Also has optional automatic orientation correction based on EXIF data of the photo.

View the code on Github →

Thumb

Minecraft Avatar

PHP/GD creation of a Minecraft facial avatar or full skin preview based on a given username, constructed from their Minecraft skin.

If username doesn't exist then it uses the default Steve skin.

View the code on Github →

Minecraft Avatar