28 January 2008 17:31 -
Last Saturday I had the opportunity to fly to Nice in the cockpit of a Boeing 737-700.
Pictures can be found
here.
22 January 2008 18:27 -
Sometimes you find yourself doing a lot of things at a shell prompt which you have to
do on another host later on. So what you want is a script. Yes really. All according
to the motto: Think once,
type once, execute often.
So time to export your command history to a file as a starting point for a
script. The easiest way I found for this is: fc -n -l -100.
Where 100 is the number of lines you need from your history.
08 January 2008 16:52 -
I am in a lot of irc channels and in each of these channels the topic of the
channel can change a few times per day. Of course I do not want to check
the topic too often for changes. But on the other hand I also do not want to mis
meeting or party announcements. Some googling gave me a irssi plugin to send an
email per topic change. So far so good. But that meant that I had to read a lot
of emails extra. Which means it still cost more time than needed to follow the
changes in the topics.
Hence time to update my procmail filter to send those emails to a separate Maildir
and create a script to summarize these emails:
topic2single.pl.
It reads mailfiles from standard input and summarizes all topic changes from
these emails. I use the script with a rule like:
find /home/jnieuwen/Maildir/.topic/new | topic2single.pl | sort | uniq
and pipe the result of this to the mail command.
As a result of this I only have to read one email with topic changes a day.
If your topic change emails have the same format:
<nick> changed the topic of <channel> to: <topic>
on a single line in the mail file then the script may work for you too.
01 January 2008 16:29 -
The year 2007 in numbers
- I traveled over 30000 kilometers by car
- I traveled over 2000 kilometers by plane
- I traveled over 70000 kilometers by train
- I ran more than 200 kilometers
- I cycled more than 330 kilometers
- 245 km/h was the highest speed at which I drove a car (note: gps speed)
- I visited 5 foreign countries (Belgium, Germany, France, Ireland, Denmark)
- I was on my cellphone for more then 32 hours
- I posted 57 messages to usenet
- I typed more than 1045236 characters on IRC
- I did 1070 commits to my private subversion repository
- I celebrated my birthday 1 times
- I went shopping more than 66 times
- I threw away 35 garbage bags
- I completed 118 private projects
- I got 2 speeding tickets for a total amount of 52 euro