Posts Tagged ‘ruby’

DBLP Screencast

In my last post I introduced the dblp gem – a gem that loads dynamically bibtex files with sources from the DBLP server. To show you how easy it is, I created a two minute screencast for you. Enjoy.



DBLP gem Screencast from Martin on Vimeo.

DBLP Bibtex

This is for all you out there writing masters thesis, bachelor thesis, phd thesis or just your next book and you are using Bibtex for managing your bibliography. But like me you now the pain of maintaining the Bibtex file: Find the source you want to cite, than find the correct bibtex entry and than add this to your bibtex file.

Argh, thats not DRY style, hein?

Ok, pals, I have the solution for you: You know DBLP, the cool guys that enter all the conference proceedings in there system, so that you can browse for conference papers and find the correct bibtex. But everything you need to do now is to know the cite key and thats all. The rest is done by the hilarious dblp gem.

sudo gem install dblp

Use Case? You are looking for a paper of let’s say Dean Jacobs you enter this as a search criteria in DBLP and are redirected to the following page http://dblp.uni-trier.de/db/indices/a-tree/j/Jacobs:Dean.html. You click on the small 29 in the front of the first line to get to the bibtex source. But instead of copying the whole bibtex, just take the cite key and go on with your latex documnet like the following

This is a greate paper \cite{DBLP:conf/btw/JacobsA07}

Now as ususal start the build process with running latex and bibtex. Wow, no, not bibtex. You run

latex mydoc.tex
dblp mydoc

now. That’s way easier. What it does? It downloads the required bibtex entries for you and stores them in the file “dblp.bib”.

That is really great!!!

Thanks, I know ;)

For more options just hit dblp on the command line.

slimtimercli version 0.1.3 released

Today I released version 0.1.3 of slimtimercli, the small nice and sexy command line interface to your slimtimer account. This release fixes several problems when starting and stopping tasks. Furthermore I introduced a new way of passing options to the script. For convenience reasons the old way still stays available for a few releases.

To see how it works out, check the following code


slimtimer -h

If you want to supply patches, complaints or compliments please submit them to the brand new Google Group for slimtimercli.

Slimtimer Command Line API

I don’t know how many of you are working as freelancers or do need any kind of time recording to prove their working hours or only to record how many hours they spend on their master thesis :) . For me slimtimer does very well and I am really happy with this tool. It comes directly with a small browser bookmark bar script, that opens some kind of timer and shows the current worked time on a specific task.

I think, this is fine as long as you spend most of your time in a browser, but as soon as you dig deeper on a terminal or in textmate this behavior is not really suitable – as executing a rake task you want to start and stop recording time, don’t you?

Ok, it took me a day but I created some small little command line interface for slimtimer and it works well – the only thing you need is a slimtimer account and an API key that you get without any questions directly from the slimtimer website.

The next step is installing the slimtimer command line interface on your local workstation with executing:

sudo gem install slimtimercli

As soon as the gem is installed, you need to setup slimtimercli for the first usage using the setup command

slimtimer setup

This will ask for your e-mail as username and your password and API key for authentication. Now you need to fetch your tasks and check on which you are going to start working

slimtimer tasks

Ok, now the hairy moment starts, prepare your engines, clean your keyboard and be ready to work with

slimtimer start my_shiny_task

Hours later, totally exhausted, you might stop working and of course stop the timer, how? Easy as opening a bottle of water

slimtimer end

That’s cool hey? So that’s pretty much it, more documentation can be found using

slimtimer help

Bugs, features, money or anything else can be reported here :)

music video 2.0

Few days ago I found some great video on the net showing a great way of making music using nothing more than your favorite text editor and ruby as a programming language, but watch it yourself.



Livecoding baby steps w/ Ruby in Textmate from Inge Jørgensen on Vimeo.

via Giles and Alex

Euruko 2007 – Tag eins

Der Flug nach Wien hat super geklappt und wir unser Hotel gut gefunden haben, haben wir die Zeit genutzt und uns das Zentrum von Wien angeschaut. Leider war das Wetter nicht halb so gut, wie es sich fuer eine solche Stadt gehoert. Und nachdem wir dann das Zentrum zu Fuss erkundet haben. Da noch nicht so viel passiert ist, hier nun einige Fotos.


IMG_0001
Der Saunaclub unter unserem Hotel… eigenartig…

IMG_0003
Programmierer unter sich

IMG_0006
Die Euruko beginnt, mit einer Einfuehrung in die verschiedenen Wieder Kaffeespezialitaeten

IMG_0007
Das Publikum

Die Wiener Universitaet ist jedoch wirklich schoen und fuer jeden Wien Besucher sicherlich einen kurzen Abstecher wert.