ERROR: rvm requires autoreconf to install the selected ruby interpreter however autoreconf was not found in the PATH

You can fixed it with:


apt-get install automake


Weird font rendering in Netbeans on Linux / Ubuntu

I had the same issue using Ubuntu and I resolved it this way:

Edit your netbeans.conf and add this line in your “netbeans_default_options” string

-laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”

so you finally have something like:

> netbeans_default_options=”-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true –laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”

How to combine formtastic with Ajax form submission?

This is working for Rails 3.1

<%= semantic_form_for @mymodel, :remote => true do |f| %>
<% end %>

Caught AttributeError while rendering: ‘’ object has no attribute ‘date’

To fix just replace this:

end = models.DateTimeField(, blank=True)

with this:

end = models.DateTimeField(, blank=True)

jpeg support not available bug in PIL 1.1.7 in Ubuntu 11.10

Before installing PIL edit the and add this line

add_directory(library_dirs, "/usr/lib/i386-linux-gnu")

before line 214  

add_directory(library_dirs, "/usr/lib")

Chamilo is way faster than Dokeos 2.0

You might already know the new page speed test provided by Google, so I did a quick test with the current public campus, from Chamilo and Dokeos here are the results:


chamilo speed test



This is the explanation of the Page Speed Score :

The Page Speed Score indicates how much faster a page could be. A high score indicates little room for improvement, while a lower score indicates more room for improvement. The Page Speed Score does not measure the time it takes for a page to load.

Define merge program in Mercurial (hg)

Just edit or create your hgrc file in your mercurial repository

sudo vim .hg/hgrc
merge = meld