Sep 29 2010

Go out for drinks

Christoph

// Yes, this is the wrong way to build an XML file.
// But you know what? It works, and we still have time
// to go out for drinks after this is built.

Source: Direct link to the source code
Software: Opentape
Programming language: PHP

1 Star2 Stars3 Stars4 Stars5 Stars (7 Bewertungen, Durchschnitt: 4,86 von 5)
Loading ... Loading ...

Sep 23 2010

I’ve nothing left to say

Christoph

# I was thinking… If they invented comments, why not use
# them? So there you go, here’s a comment. And you know what?
# I actually like comments. Yeah, that’s it. Much better,
# fills in some empty spaces like this. What could have been
# here without these comments. ah?
#
# Shit, I’ve nothing left to say… Ah, well. See ya in the
# next version. :)

Source: Direct link to the source code
Software: File::Mode
Programming language: Perl

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 4,67 von 5)
Loading ... Loading ...

Sep 20 2010

Gross Hack Police

Christoph

/* This is a gross hack to solve a problem in linux kernels
 * 2.1.85 and above. Please, children, do not try this at
 * home, and if you ever see anything like it, please
 * inform the Gross Hack Police immediately
 */

Source: Direct link to the source code
Software: Adaptec Aic7xxx driver
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 4,67 von 5)
Loading ... Loading ...

Sep 17 2010

God only knows

Christoph

/*
 * God only knows what the original author
 * wanted this undocumented feature to
 * do.
 *   %5++ is really r7
 */

Source: Direct link to the source code
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,50 von 5)
Loading ... Loading ...

Sep 14 2010

not make too much sense

Christoph

// Happy scrappy hero pup FIFO queue. Or a List. But that’s
// just, like, my opinion, man.
[...]
// By the way I’m on drugs right now, so this code might not
// make too much sense or work.

Source: Direct link to the source code
Programming language: C#

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 4,33 von 5)
Loading ... Loading ...