Category Archives: Journal
Setting up a CentOS base box for development and testing with Vagrant
I've been using at Vagrant at work lately to make it easier to switch between environments on projects, and to help out when testing chef recipes. These instructions are here to help me remember how I went about building the base machines. This post will almost change in the next week or so. If you [...]
Posted in Journal 2 Comments
Making arrays with ruby, without those pesky commas
The most common way to create an array in Ruby is do this: my_shiny_new_array = ["tom", "dick", "harry", "jonah", "percy", "jermaine"] Thanks to its perly origins though, you also have a more idiomatic way to do this in Ruby, like so: %w(tom dick harry jonah percy jermaine) Because Ruby has such a flexible syntax, it's [...]
Poking around the Capistrano gem binary,
I've recently been trying to get an understanding of how Rubygems lets us 'require' external code libraries by looking at a typical gem binary, because wasn't too clear to me how everything worked under the hood, and when I've tried to modify existing gems, I've been left scratching my head, generally unable to progress beyond [...]
Virtual servers and false alarms
When you start looking after virtual machines instead of buying shared hosting, you very quickly realise how important RAM is to making a server run properly. I’m using a machine with a fairly heft chunk of free memory, but recently when shelling into the box to check memory usage I’ve have some pretty scary stats [...]
Money is fertilizer, companies are soil
I spent a fair chunk of yesterday working on a redesign of the new ORG website, with Felix, Chris, Mike, Harry, and after we had finished for the talking with Felix about the recession and worthwhile work. We both have friends who work in the financial sector, we both get nerdily angry about bad design, [...]
Looking for a green host – concluding the search
I think I can finally stop searching for a good, green virtual private hosting company in the UK.
Posted in Journal 12 Comments
How to fix a WordPress site when the database corrupts on you.