Hi, I'm Jordan Leigh.

A Freelance Web Developer from Bristol.

Recently from the lab.

Installing Redis on Amazon EC2 Linux AMI

Amazon EC2, Linux, Redis

Installing Redis on Amazon EC2 Linux AMI

Learn how to instal Redis on Amazon Linux AMI using wget and make.

View Post

Installing MongoDB on Amazon EC2 Linux AMI

Amazon EC2, Linux, MongoDB

Installing MongoDB on Amazon EC2 Linux AMI

Learn how to instal MongoDB on Amazon Linux AMI using yum.

View Post

2D Animated Circle using CSS3 Animation

Animation, CSS3, Expreiments, SASS

2D Animated Circle using CSS3 Animation

Multiple circles animated at once to give a funny effect. The circle speed can be adjusted by a SASS variable.

View Demo

3D Interactive Cube with Rotating Sides using CSS3 and JavaScript

CSS3, Expreiments, Javascript

3D Interactive Cube with Rotating Sides using CSS3 and JavaScript

An experiment using a combination of CSS3 and JavaScript to animate a cube based on mouse and touch events. Each individual side of the cube's content is automatically rotated as the user moves the cube to keep the content viewable from any angle.

View Demo

Simple script for creating cross browser input placeholders

HTML5, Javascript, jQuery

Simple script for creating cross browser input placeholders

When building HTML forms, most browsers support the placeholder attribute, but this does not always work in older browsers therefore we have to dynamically add and remove the value of the input attribute using the blur and focus javascript events. Here is a quick solution using JavaScript.

View Post

Interpolating mouse positions using Javascript

Javascript, Node.js, Sockets

Interpolating mouse positions using Javascript

An introduction of how you can use JavaScript for linear interpolation of mouse positions.

View Post

Creating a Router and Dealer messaging system using ZeroMQ, Node.js and PHP

Javascript, Node.js, PHP5, Sockets, ZeroMQ

Creating a Router and Dealer messaging system using ZeroMQ, Node.js and PHP

An example of how you can communicate between Node.js and PHP using ZeroMQ.

View Post

Error handling in Node.js

Javascript, Node.js

Error handling in Node.js

Catching asynchronous and non-asynchronous errors when using Node.js.

View Post