thp.io / 2009 / archive

if it weren't for the procrastination, lurking around here would be less fun than ever. so enjoy some pieces of idleness.


Buntvid! A procrastinative SDL graphics hack. Unrestricted boredom guranteed. (c source)
Rotational Rotate that bitmap with dj sinus and mc cosinus, in a pixel by pixel mapping special. (c source, data file)
Tickle your OOM killer The out-of-memory killer will surely disrupt this process while its having your memory for breakfast. (c source)
Soundboy Massive Unfinished "something that could be nice in javascript land" stuff. (html)
SIGWINCH example code Catch resizes of your xterm. (c source)
don't ride the white horse.
Happy 1234567890! With while :; do date +%s; sleep 1; done in the shell in xterm on the N800, we celebrated at the lokal the unix-y new-year kind of thing.
Use Capslock as Esc in Xorg
remove Lock = Caps_Lock
(or, instead of this line, use clear Lock)
keycode 66 = Escape

Use Capslock as Esc in Windows NT/2000/XP: Remap Capslock key in Windows 2000
How to commit a Git history into an empty SVN repo (unfortunately, this changes the ancestor commit and therefore commit IDs; reference)
svn co svn://... checkoutdir     # obviously without the trailing /trunk
cd checkoutdir/
mdir -p trunk branches tags
svn ci -m 'Initial SVN commit'
cd ..
rm -rf checkoutdir/
cd /path/to/your/git/workingdir/
git svn init --stdlayout svn://...
git svn fetch
git checkout -b local first-commit-id-of-master-branch
git reset trunk
git rebase --onto local trunk master
git branch -d local

new HIDs (2009-04-09): Black Cherry G80-3000 (the clicky one) and Logitech Trackman Marble (also new: Dietz 1218 audio interface for Golf V)
dub club @ 090706 is is true? ;) (@090623) (@090624: yeppa)
sure shot 20090626. (@swoundig-090620+01h:58mn)
tippy toes into opengl an afternoon spent reading the red book yields this.
png files in latex when saving the png file in gimp, choose to not save the resolution of the file in order to be able to set the resolution directly in latex without getting an error about the dimensions being too big.

links from the start page to projects i was involved in 2009: mentor @ gsoc 09 and taco recipe manager..
action and drama. the armel walkabour @ Thu, 24 Sep 2009 01:49:32 +0200
on a roll @ Fri, 02 Oct 2009 03:12:19 +0200
download mp3 links from a webpage wget -qO- http://example.org | grep -o 'http://[^"]*\.mp3' | wget -cNi-
enable e-mail suffixes for exim4 in /etc/exim4/conf.d/router/700_exim4-config_procmail add:
        local_part_suffix = +*
        local_part_suffix_optional

some internet radio picks gefaellig?
no matter where i take my guests @ Fri Oct 30 03:21:19 CET 2009
killing time with my bare hands.
screenbreaker (might as well win the award for most useless 600-line python script of the month november.)
ORM wie eine kirchenmaus - a minimalistic object-to-sqlite mapper for python. early dev snapshot.
by thp (contact information)