Prune a Mercurial branch

The manual is perfect for that... http://mercurial.selenic.com/wiki/PruningDeadBranches All you have to do is:
hg heads
Identify the branch you want to close (get the revision number, let's say 951)
hg update -C 951 hg commit --close-branch -m "This version never worked" hg update -C default
Done!

Create a view to search on content title in 7 steps in Drupal 7

I searched for this a long time just to find it was very easy to do, so I hope this helps you too. The objective of this short guide is to explain how to build a view in Drupal 7 that will let you search for part of a title of a specific content. Let's say your site is about music and you have a content type called "Song", which has an artist and a title. Now let's say you want to search on the title and let the user select a search term. It's very easy to get distracted by the "Contextual filters" option.

Important meetings

Sometimes I like to treat this blog as a personal one and write down things that might affect in fundamental ways our future... or at least my own future, potentially. Anyway, I'm currently living in Peru and had a series of meeting over the last two months with the new Electronical Government Office (ONGEI).

Creating a software RAID array on an already installed Ubuntu 11.04

Let's say you got confused by a misleading fake-RAID feature on an HP Blade server and you decided to ignore that the Ubuntu installer was telling you it found 2 disks while it was supposed (if it was actual hardware RAID) to be detecting only one. And let's say you are lucky to have 3 disks, and you only one to use two as the RAID array (and they do not contain your operating system, i.e. the / partition). You might wonder: "And now what? S**** you, HP!" (that last bit is if you left panic get you, of course).