Ports and processes under windows

It is possible to know which process is listening on a specific port in Windows.
Do the following:

- Open a cmd window.
- Type "netstat -ano"
- Look right, there is the PID of the process you're looking for in front of the port number.
- Type "tasklist /svc /FI "PID eq 4022"   Replace 4022 by your PID number.

How to make sushis

How to make perfect rice for perfect sushis.

Buy the right rice. There are probably many good rice but the one we buy is called Kokuho Rose. If you live in Helsinki area, you can find some at Tokyokan in Annankatu. http://www.tokyokan.fi/

Cleaning the rice. You need to wash the rice before cooking it. Just pour some water in it, mix and empty. If the water is white it means the rice needed to be washed.

Cooking the rice.

Petit manuel de typographie

 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

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.

Netact OSS System Administration licence test

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?

Thanks to the power of lsof:

lsof -i -P | grep -i process_lambda

My new favorite series

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

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
flac -dc "$FLAC" | lame --tt "$TITLE" \
--tn "$TrackNumber" \
--tg "$GENRE" \
Syndicate content