My rugby career

Reading Time: < 1 minute

I have started to play rugby in France in 2002 at my engineering school (ECE Paris). My school team was called "XV du Camion". I played only one short season, 2002-2003.

Then I played for 4 years at ESNanterre in the suburb of Paris. I was a 2nd row and a prop.

How to delete empty line with vi

Reading Time: < 1 minute

How to delete empty lines with vi?

Just type this in:

 
<esc>:g/^$/d

NOTE:  This means that all the lines that just have a carriage return on them (NO Spaces), will be removed. 

If you want to remove lines with empty spaces as well:

 
<esc>:g/^ *$/d

rename and shorten many files with bash

Reading Time: < 1 minute

Bash supports a surprising number of string manipulation functions.

For example if you want to get rid of the beginning of the name of a file or a folder on many files at a time you could do the following:

 
bash> ls
mylongfile1
mylongfile2
mylongfile3
mylongfile4
mylongfile5
mylongfile6
mylongfile7
 
bash> for i in *
> do
> mv $i ${i:6}
> done
bash> ls
file1
file2
file3
file4
file5
file6
file7
So to extract the end of a variable after a NUMBER of characters you just need to specify ${variable:NUMBER}
 

How to remove a Compeed from a sock

Reading Time: < 1 minute Compeeds have saved my life numerous times already. Some people can’t stand them, I am a strong believer and I cannot go running, play rugby, or go for a long hike without having one in my pocket.

 
They are so good that you can actually recover almost instantly from a blister. If there is blister forming under your foot, that’s where Compeed is the best, when the blister is not there yet but you know that if you go on for another 10 minutes it will turn into a blister.
 

National team caps

Reading Time: < 1 minute Friendly
Estonia – Finland: 22/05/2010 – Win 15-22

European cup division 3C
Finland – Israel: 12/06/2010 – Loss 6-13
http://www.fira-aer-rugby.com/archives-match-563.htm

European cup division 2D
Cyprus – Finland 26/03/2011 – Loss 70-10
http://www.fira-aer-rugby.com/match-348.htm

Productivity mistake

Reading Time: < 1 minute  You think that pinning a tab would increase your productivity?

Well in some cases it can. But in most cases and if you are using the "Pin as app tab" feature of firefox like me, or simply "Pin tab" in Chrome, it can be a mistake.
 
 
It makes your email easier to access, or facebook easier to access… but wait a minute. When was the last time Facebook made me save some time?…

Countries I visited

Reading Time: < 1 minute  

Running my first half-marathon

Reading Time: 2 minutes I spent Jun-Dec 2010 in Dallas, Texas and for Thanksgiving I decided to enroll to the Turkey trot with my wife and my good buddy Jim.
It was a 5Km small race and it gave me the virus of running.
I completed it in 29min which is not too bad.

 

The atmospher was great, lot’s of people cheering, everyone happy, I loved it.
I thought I should get to a longer distance in order to enjoy the same feeling for a longer period. How about a 10K? Let’s make it 21K… Half Marathon.

Change permanently the ethernet parameters of interface in redhat

Reading Time: < 1 minute In the file: 

/etc/sysconfig/network-scripts/ifcfg-eth0

Add the following at the end of the file:

ETHTOOL_OPTS="speed 100 duplex full autoneg off"

Plastic bags ban

Reading Time: < 1 minute  Today I sent this message to Sprouts.

"

About Plastic bags, 
 
Hi, I am one of your faithful customer and I really enjoy what you are doing. I am French, my wife is from Finland and we like what you do because we don’t find many shop with the same philosophy back in Finland.