By John, 13 December, 2006

Drupal 4.7.4 has a bug in it regarding story previews. The teaser preferences allowed you to set the maximum length of a teaser, but the underlying code treated it as the minimum length of a teaser.

So, say you wanted a teaser that was 400 characters or less; what you would get was a teaser that was always 400 character or more. Ouch.

By John, 20 December, 2005

Information on how to create a firewall using ipfw is hard to come by. I’ve found bits and pieces of useful information in various places. I’m working on creating a tutorial on how to configure ipfw for Mac OS X, but in the mean time, here’s some information on the extremely low-level internet packet, ICMP.

By John, 10 August, 2002

I started this exercise with a simple bordered div which contained four divs that each had a background-image and that were positioned in each of the corners. This worked great in Mozilla 1 and Netscape 6, but not anywhere else. As I fixed bugs in each of the other browsers implementations, I ended up with this code.

By John, 20 April, 2002

This hack can be used to hide CSS from Opera (versions 6 and below) and from Internet Explorer for Windows (versions 6 and below):

head:first-child+body