Friday, March 30, 2007

Script Foo

In case you want to convert a bunch of eps-files to pdf-files (e.g. root generated plots, as the pdf output of root sucks and the eps sometimes produce strange encoding-effects when converted directly...):


#!/bin/bash
for epsfile in $*;
do
echo "Converting $epsfile ...";
eps2eps $epsfile ${epsfile%.eps}_temp.eps;
epstopdf ${epsfile%.eps}_temp.eps -o=${epsfile%.eps}.pdf;
rm ${epsfile%.eps}_temp.eps;
done

Getting Serious

I think it is a sign of old age when you start cleaning out all those mp3s you never listened too when sober, those party-tracks for which you need at least half a bottle of vodka to like them or find them remotely funny...

Anyway, I got to the letter H tagging and cleaning my mp3 collection. Though it's only legal mp3s it's much too much to listen too.

Wednesday, March 28, 2007

Die ächte Verachtung haßt nicht,
sie ist reine Ueberzeugung
vom Unwert des Anderen

--- Arthur Schopenhauer

Just to correct the citation I made when standing in front of one of the local discotheques.

Sunday, March 25, 2007

Book Fair


Reading
Originally uploaded by perreira.
Today I went to the Leipzig Book Fair. It took about 5 hours by trains (local trains, as I went with the "Schönes Wochenende" ticket) to get there, which was a torture. But it was worth it, very nice fair. More when I got some sleep...

Friday, March 23, 2007

Monday, March 12, 2007

Flohmarkt





As I had to get up early anyway on sunday, I decided to get up really early and go to the flea market. Most of the stuff they had there was 80ies crap, but I found some nice books, including this handbook for drivers and car-owners from 1914. It explains everything you needed to know to get a drivers licence in 1914, which includes knowing how your car actually works and how to repair it.

I also got an engineers handbook from 1896, which belonged to a railway engineer. It still has a paper in it with a mark from the Königlich Bayrische Staatsbahn, the royal railway of bavaria. Maybe some scans will follow...

Saturday, March 10, 2007

Pagecount

As I am getting more and more frustrated and might answer questions on how my thesis is going on in a style which might annoy people you can now find a page counter in the sidebar. It is updated daily, everything more I would tell you would be on the lines "don't ask..."

In case you want to know how I did the counter:
convert -background white -fill black -font Helvetica -pointsize 24 -size 50x label:`pdfinfo $THESIS | grep Pages | awk '{print $2}'` $PNGFILE