Capybara/Selenium testing with Chrome

While headless tests are faster, they are a pain to debug. I like to see tests running, and it provides the opportunity to see any styling issues throughout the application. A problem I've encountered with all testing, whether using Selenium/Firefox, Poltergeist or headless Webkit, they've all got their specific…

Fix permissions on XAMPP, OSX

You might have run into the issue in XAMPP on OSX where you can't update Wordpress or any plugins. You'll be prompted to enter your FTP details. "To perform the requested action, WordPress needs to access your web server." The following should sort you out. This guide is written for…

First iteration of Active Record?

I just came across a question on Stack Overflow on how to figure out on which iteration you are in a Ruby loop. The accepted solution given by a user called Detunized was as follows: my_array.each_with_index do |item, index| if index == 0 # do something with the…

Tired of the shitty jQuery plugin repo?

Yup, everybody is. Enter Unheap. "A tidy repository of jQuery plugins" It's an incredible collection of great jQuery plugins, organised in logical categories and subcategories. All of this on a sexy, well thought out UI. It looks like large number of the plugins link to their Github repository, allowing you…

Ghost and node.js

I'm busy setting up a blog on Ghost, which is a node.js based blogging platform, on top of a Digital Ocean VPS. I'm obviously not done yet.…

I can typing.

I've never been a fan of blogging. Actually, I hate that word. Almost as much as I hate the word enterpreneur. I've never been a fan of publishing one's thoughts on the internet. Probably because each time I tried, I sucked really bad at it. I recently read a quote…