2008-10-21

CSS Drop Shadows

http://www.alistapart.com/articles/cssdropshadows.

As usual, these folks deliver a good, clean, cross browser solution. There also seems to be another one by this author on this subject: http://www.alistapart.com/articles/cssdrop2.

2008-10-20

Automagic menu (Javascrip snippet)

var loc = document.location.toString();
var location_parts = loc.split('/');
this_loc = location_parts[location_parts.length-1];
if(this_loc == '' || this_loc == undefined) {
  $('#nav li a[href=\'index.php\']').addClass('selected');
}
else {
  $('#nav li a[href=\'' + this_loc + '\']').addClass('selected');
}

2008-09-10

gmemsess - "memcache-backed session class for Google appengine"

gmemsess by Greg Fawcett implements Google App Engine session management, using Memcache to store server side session data. There are pro's and con's in using the memcache approach, see project page for details.

2008-08-08

Infrequently Asked Questions in comp.lang.c

Just found this: http://www.seebs.net/faqs/c-iaq.html - a brilliant read! :) For example:

2.2: I heard that structures could be assigned to variables and passed to and from functions, but K&R I says not.

K&R I was wrong; they hadn't actually learned C very well before writing the book. Later, Ritchie got a job at Bell Labs, and worked closely with the authors of C, allowing the 2nd edition of the book to be much more accurate. (Kernighan already worked at Bell Labs, as a video game developer.)

(http://jaxen.muxtape.com/)