Page 10


Install Ubuntu on Asus P8P67 WS Revolution Motherboard
• 2 min read

Short answer: Upgrade your BIOS to make the UEFI boot option appear for your new installation.
Continue Reading »

Restaurant Menus Matter
• 1 min read

At ForkJoy we believe that the best way to spread the word about excellent food is through high quality menus.
Continue Reading »

Get Module Version in Node.js
• 1 min read

Here's how to extract the version number from your package.json file. I use this to quickly verify that my current Nodejitsu snapshot is up to date.
Continue Reading »

🏁 Start VirtualBox VM in Headless Mode
• 1 min read

It is fairly common in web development to run code in a virtual machine (VM) so that you can mirror your production environment. However, using a GUIless operating system through VirtualBox's GUI window is a terrible experience. Fortunately VirtualBox provides an easy way of starting a VM using their command line tool VBoxManage in a h...
Continue Reading »

🎨 Generate Random Colors in JavaScript
• 3 min read

I've been playing around with canvas lately and have had a frequent need to generate random colours. I have written my own functions for doing this, which I now use all the time. The first function below generates a simple array of RGB values, while the second snippet generates a hexadecimal string.
Continue Reading »

My Current Podcast List
• 1 min read

Since I don't own a television, for various reasons, I get my entertainment from listening to podcasts. My subscription list has been steadily growing over the past couple years and my count is currently at 22. This seems to work out to about 2 podcasts per day, which in my opinion is borderline too many. I don't want to have to trim t...
Continue Reading »

Dabbling in the World of Particle Animation
• 2 min read

I was browsing around CodePen today and some particle animation demos caught my eye so I thought to myself, "how hard could that be?" I spent half the day tinkering and this is what I came up with:
Continue Reading »

JavaScript Pong Demo
• 1 min read

Discovering CodePen yesterday has motivated me try more programming experiments. I've been wanting to build a pong clone for a while so I decided to finally give it a try. Unfortunately it is too much code to write inside of CodePen's interface (my opinion), but I was able to write a Pong simulation in just over 100 lines. Here it is:
Continue Reading »

Fractal Demo
• 1 min read

I needed a break from filling out a SR&ED application today so I decided to write some code. At first I wanted to see if I could make a CSS-only block splicing app but realized that it was more difficult than I thought. I decided to continue on with a bit of JQuery assistance and here is the result. It works by placing 4 equal sized di...
Continue Reading »

Array.splice() Unexpected Behavior When Index Is Undefined
• 1 min read

Today I discovered something you should know about Array.splice() in Javascript. According to this page splice() has a first parameter of index which is supposed to be a number representing the index of the array you wish to splice at. Well, apparently when this index is undefined it acts as though you passed 0 instead.
Continue Reading »