the devmin quest

linux administration-development tips and tricks

Si vous cherchez mon site professionnel, merci de cliquer ici.

How to get a clean html code when using the rails erb template system


That’s may be a minor issue, but I find it quite annoying to have the html code messed up by the few logic in the erb templates.


safari on linux hangs when I enter an url


That’s because the needed fonts aren’t installed in your wine directory.

Winetricks is a good shell script to fix that. To fix, simply run, as a normal user :

wget  http://www.kegel.com/wine/winetricks
chmod +x winetricks
./winetricks corefonts

Note : I had to comment the line :

 *[23]) SOURCEFORGE=http://easynews.dl.sourceforge.net/sourceforge ;;

for it to work, but it may be a temporary problem.