Jan 29 2010

Both legs broken tomorrow

Christoph

/**
 * Unload ALL loaded modules, no matter what kind of module
 * it is. Do NEVER EVER, and i mean NEVER (and if that isn’t
 * clear enough yet, i mean: NEVER AT ALL) call this unless
 * we’re shutting down, or we’ll f*ck up Anope badly
 * (protocol handling won’t work for example). If anyone
 * calls this function without a justified need for it, i
 * reserve the right to break their legs in a painful way.
 * And if that isn’t enough discouragement, you’ll wake up
 * with your both legs broken tomorrow ;) -GD
 */

BTW: HAPPY BIRTHDAY codecandies.com! Congratulations to the first year of funny code comments!

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

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

Jan 28 2010

The quality of software

Christoph

/* For the people measuring the quality of software
   by grep-ing the bad words: f*ck f*ck.
   Sorry, I do not have a very extended vocabulary,
   at least in this language!
 */

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

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

Jan 27 2010

IE’s textRange

Christoph

//IE’s textRange and selection object is woefully inadequate,
//which means this fancy stuff is gecko only sorry :-|
//Die Bill, Die. (IE supports it somewhat nativly though)

Source: Direct link to the source code
Software: Xinha
Programming language: JavaScript

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

Jan 26 2010

License to kill

Christoph

;; Lets see if we got a license to kill :-|

Source: Direct link to the source code
Software: Emacs
Programming language: Lisp

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

Jan 25 2010

This function may be called recursively

Christoph

/*
 * This function may be called recursively if you don’t do
 * what giFT expects of you. This is a feature, not a bug,
 * trust me.
 */

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

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