Mrz
5
2010

Christoph
// Private joke : Don’t forget to commit sucide, elsewhere
// you gonna be punched by a rollback and go to psychatry
Source: Direct link to the source code
Programming language: PHP
Thanks to Tobias J. for this code candy
Feb
23
2010

Christoph
/* Please please PPLLEEAASSEE don’t look past this line – it
is SO ugly, but I am much too lazy to change this. Just
run the program, don’t read the code :-). */
Source: Direct link to the source code
Programming language: PHP
Jan
5
2010

Christoph
// alright whomever wrote this xml file was smoking something
// serious. In normal XML documents we would do:
// <artist>Daft Punk</artist>
// but in Apple iTunes bong land we do:
// <key>Artist</key><string>Daft Punk</string>
Source: Direct link to the source code
Software: Musiker
Programming language: PHP
Dez
17
2009

Christoph
//mark it as dirty and save it.
//WTF???? this is such a weird bug. i dunno
//why the f*ck i have to do it, but without the
//(string) cast it will cause the value to be
//&UNKNOWN:0 via vardump, print_r segfaults,
//and it totally f*cks up everything.
Source: Direct link to the source code
Software: BaseJumper
Programming language: PHP
Dez
3
2009

Christoph
// I did most of the MIME stuff yesterday (June 20, 2000),
// but I couldn’t figure out how to do this part, so I
// decided to go to bed. I woke up in the morning and had
// a flash of insight. I went to the white-board and
// scribbled it out, then spent a bit programming it, and
// this is the result. Nothing complicated, but I think my
// brain was fried yesterday. Funny how that happens some
// times.
Source: Direct link to the source code
Software: Squirrelmail
Programming language: PHP