Install NodeJS on Ubuntu

Installing Node on Ubuntu is a bit of a faff. The actual repository doesn't really work very well (you'll need to use sudo to do anything) and so, you can use this command to install Node. It'll take a while depending on how powerful your server is, but it is all in one command. Shamelessly ripped from here

Read More


Angular and Jasmine HTTP mocking

This took me an embarrassingly long time to figure out. I spent a good few hours working this out. I was originally trying to inject the service I was trying to create tests for directly into the test function and then mock the $http before all of that. I was trying something like this:

Read More


Code sniffer and Windows. Without PEAR.

I didn’t find much on the internet about installing Code Sniffer on Windows without PEAR so I decided to write this. If you are anything like me, you’ll have the machine you dev on as Windows (as unfortunately, most games are not supported on Linux yet) and your actual dev machine to be Linux; either through a virtualisation program like VirtualBox or you’re running something like ESXi on a dedicated server.

Read More