Ever quickly sent a skype message, only to immediately notice a typo? You can fix it using the following trick.
Rails tip: easily browse and search logs in colour with "less"
'less' is a great tool for browsing Rails log files, though you might not guess it if you try to view your "development.log" with it.
On vim vs emacs
In Praise of Haml
Our big celebrity charity news site runs on Rails, and I've just switched all the view code from erb to haml. I cut the total number of lines of view code from 2370 to 1788, which makes for a saving of 25%.
Use a bookmarklet to toggle the Blueprint CSS background grid
I'm a big fan of grid-based layouts, particularly using CSS frameworks like YUI. For all their apparent conflict with the ideals of semantic markup, these frameworks save a ton of time.
My current favourite is Blueprint CSS, which I used for the recent redesign of our celebrity charity news site, and I found a neat way to toggle the positioning grid on and off with a bookmarklet instead of by changing the site's HTML templates.
Rails gets new dbconsole script
I'm happy to announce that my db_console plugin for Rails has just been added to Rails Core.
Part-way to an emacs git-svn mode
Interacting with git from within emacs is a pleasure, thanks to the official git-mode and Christian Neukirchen's fantastic gitsum mode. Here are some convenient bindings for running git-svn from emacs.
Rails/jQuery magic: marking external links with a CSS class
Want to mark external links on your website with a little icon or a different colour? Well, you'll want to give all those <a> tags a CSS class, and style them up accordingly. In this article I present an easy way to do this without directly altering all the links in your application, exactly as I implemented it on this popular celebrity charity news site.
Generate an HTML index of your ruby gem rdocs
Rubygems is kind enough to generate RDoc for installed gems, but the directories move as the gem versions evolve, and it's inconvenient to keep browsing for them. This tool produces a useful HTML index with direct links to the RDocs for all the gems installed on your system.
Relocating git-svn repositories
If you use the amazing git-svn to work in a civilised manner with a subversion repository, you may have trouble if the subversion repository is relocated, ie. has its access URL change. This article describes an approach for handling this situation, which git-svn does not directly support.



Recent comments
1 day 15 hours ago
3 weeks 1 day ago
3 weeks 1 day ago
3 weeks 1 day ago
3 weeks 2 days ago
3 weeks 2 days ago
4 weeks 1 hour ago
4 weeks 1 day ago
4 weeks 5 days ago
12 weeks 1 hour ago