Notions

Hi, I'm Phil - welcome to my humble blog. You'll see me writing mainly about Ruby and Javascript but you might see the occasional post about Food, Coffee or Polyglotism.


I work with the amazing folks at Rumble Labs in Belfast. I also founded Handink. Feel free to take a look at my Résumé.

There are a lot of meteor boilerplate templates out there. For those of you who don’t know, boilerplate templates define the way you should structure your application. The aim of boilerplate templates is to give you a head start by creating a...
I’m always looking for ways to improve my programming skills. One approach that I’ve long been aware of is Dave Thomas’s code kata. A 'Code Kata' is a practice session on a given programming problem, much like Kata that is used to practice and...
Honestly, people will probably wonder why I didn’t know this already. Base64’ing a file and getting it onto your clipboard from the command line? It’s as easy as calling the base64 command and piping to pbcopy:- base64 | pbcopy
When I’m commuting into work I generally give BBC Radio 1 a miss and listen to podcasts in the car. So given I’ve been doing it for a while now, I thought I would share ones that have stood the test of time. There aren’t very many, I like to keep...
I finally got round to making the relevant changes to allow the green_light gem to work with Rails 4. This has been long overdue since there are quite a lot of legacy apps making use of it. There is one main difference to take note of in this...
I've been learning French over the past few months and, along the way, I've been trying to nail down a solid method for how to tackle learning a language in the most efficient way. This blog post is my thoughts on some of the interesting methods...
Maybe it's me, but there seems to be a severe lack of good client-side validation plugins, which integrate with ActiveModel. So, my employer, Rumble Labs kindly gave me some time to write one of our own, for use with internal projects and...
This one always troubles me each time I need to re-install Ubuntu. The solution? sudo apt-get install ncurses-term Done.
Just upgraded one of my apps from Rails 3.0.0rc4 to Rails 3.0.0. One issue - all the forms disappeared! After doing some hunting, I found that the issue was being caused by the HAML gem. To fix this, upgrade to the 3.0.18 release of the HAML...
In a previous article, I talked about using subdomains in Rails 3. Since then, many people have elaborated on the topic. There's even been a great Railscast. I've found Tim Pope's post particularly useful. Basically, he has set up a domain...