Petit manuel de typographie

Reading Time: < 1 minute  Interessant manuel de typographie qui semble provenir de l’université de Reims.

manuel de typographie.pdf

Configure HTC Magic for Data and MMS on ELISA finland network

Reading Time: < 1 minute I just upgraded my HTC Magic with Android 1.5 from the official release on the HTC website and I was surprised to see that all my settings, sms, contacts and pictures have been erased… So I had to reconfigure everything. Luckily one of my colleague is more persistant than me and got it all sorted.

Good ski, good music… Do I feel a bit nostalgic??

Reading Time: < 1 minute

Netact OSS System Administration licence test

Reading Time: < 1 minute Last week I passed the Netact OSS 5.x system administration licence test. This test is a bit like some kind of certification.
We were 4 trainers in the room. Everybody failed except me.

Which port is this process listening to?

Reading Time: < 1 minute Thanks to the power of lsof:

lsof -i -P | grep -i process_lambda

En cours de training

Reading Time: 2 minutes Je suis en cours de training et c’est vraiment difficile de se concentrer… le grand voyage se rapproche.
Les québecois sont vraiment sympas. Cool, pas de problème quoi qu’il se passe.

My new favorite series

Reading Time: < 1 minute Flight of the concords!
2 Kiwis living in the US. They form a band called the Flight of the Concords (how do you come up with such a name??). They are a bit nerdy and freaky but they are good enough to make at least 2 or 3 songs per episod. The series is following their attempts to get girls and most times failing miserably despite some pretty good starts. But it always end up in weird situations involving both guys…
Watch it, it’s fun!

Convert a flac file into an mp3 file

Reading Time: < 1 minute On Ubuntu, install flac.

#apt-get install flac lame

Put the following script in /usr/bin/ and give it a name (convert_flac.sh or flac2mp3.sh)

#!/bin/bash  
FLAC=$1
MP3="${FLAC%.flac}.mp3"
[ -r "$FLAC" ] || { echo can not read file \"$FLAC\" >&1 ; exit 1 ; } ;
metaflac --export-tags-to=- "$FLAC" | sed 's/=\(.*\)/="\1"/' >tmp.tmp
cat tmp.tmp
. ./tmp.tmp
rm tmp.tmp

How to set the $LANG and $LC_ALL properly

Reading Time: < 1 minute

How to view the current locale setting

# locale
LANG=en_US
LC_CTYPE= "en_US"
LC_NUMERIC= "en_US"
LC_TIME= "en_US"
LC_COLLATE= "en_US"
LC_MONETARY= "en_US"
LC_MESSAGES= "en_US"
LC_ALL=en_US

How to change the locale setting

To change the current locale setting, first confirm that the desired locale is
installed on the system with:

How to turn off the annoying speaker beep on Ubuntu

Reading Time: < 1 minute

There is a simple and easy way to make sure the speaker of your pc will stop beeping everytime you issue a wrong command.
Try

sudo lsmod | grep pcspkr

If you can see

pcspkr

Turn it off