Backup Twitter

I am using more and more Twitter as an open bookmark / note repository. I was looking for a solution to backup my timeline and browse my tweets locally. The web service http://tweetbook.in does something like this. It downloads all tweets a user timeline and generates a PDF file.

I have decided to write my own backup engine to keep my tweets in raw format (not only the 140-characters content, the author and the date) but also to have to ability to format my tweets the way I want. The code is available in the backup-twitter project on github. Continue reading

Clean Gromacs backup files

Note to self.
Add the following lines to .bashrc file to clean Gromacs backups :

# clean Gromacs backups in the current directory
alias cleangromacsbackups="rm -f \#*\#"
# clean Gromacs backups recursively (for the fearless warriors)
alias cleangromacsbackups_rec="find ./ -name \#*\# | xargs -r rm"

Be careful with the second command…

Putting like a pro [fr]

L’article Putting Like a Pro: The Role of Positive Contagion in Golf Performance and Perception paru dans le journal PLoS ONE en 2011 est intéressant car il explique que des golfeurs amateurs qui pensent tenir entre leurs mains un putter ayant appartenu à un pro jouent mieux. Les auteurs précisent que l’object produirait une “contagion positive” sur ces golfeurs amateurs et améliorerait leurs performances. Continue reading