Jul 26 2011

Don’t read this code right after dinner

Christoph

/*
 * Accessing the EEPROM is `interesting’ to say the least
 * – don’t read this code right after dinner.
 *
 * This is all about black magic and bit-banging the
 * device… I wonder in what hospital they have put the guy
 * who designed the i2c specs.
 *
 * Oh yes, this is only the beginning!
 */

Source: Direct link to the source code
Software: Linux driver for the Alteon AceNIC Gigabit Ethernet card
Programming language: C

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

Jul 9 2009

Black magic

Christoph

;don’t try to understand the code,
;it extensively uses black magic and Voodoo incantations

Source: Direct link to the source code
Software: asmutils
Programming language: Assembly

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

Jun 19 2009

Holy batman

Christoph

/**
 * Holy batman, you found the most important functions of
 * them all.
 */

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

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

Apr 3 2009

Calendar voodoo

Christoph

// calendar voodoo for computing the first day that would
// actually be displayed in the calendar, even if it’s from
// the previous month.
// WARNING: this is magic. ;-)

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

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