Shawn Holwegner's Blog

Connecting instead of connection.

The following was written by, and for, FreeBSD users who also happen to work with MacOS X. They’ll be quite familiar with the below to tune tcp space for speed and efficiency:

/usr/sbin/sysctl -w net.inet.tcp.sendspace=65536 > /dev/null /usr/sbin/sysctl -w net.inet.tcp.recvspace=65536 > /dev/null...

I’ve been using dbshim, a trivial little wrapper for MySQL and PostgreSQL I threw together in an evening for Rollator up to this point. Perhaps it’s time I investigate ADOdb for MSQL, Oracle, et al..

Update: My links from 2003 are long dead. Updated to a general PHP reference thanks to a kind...

Taking homage to Yaysoft’s simple ping code, Rollator now pings Weblogs.com upon new article submission.

Now you can truly ‘globally notify’ of site updates. Keen, huh?

eNom, a rather cheap domain registrar, offers dynamic DNS forwarding services, so you can always access your system, despite being stuck with a dynamic IP. They offer quite a bit more than just dynamic DNS, but they’ve currently only published source code for dynamic domains.

I was intrigued by...

Here’s the optimized version. The prior was hopefully broken apart enough to be understood. This one is much tighter, though. ;)

long swatch_time() { return ((time(0) + 3600) % 86400 * 10 / 864); }

Brother’s PostScript installer for 10.2 doesn’t want to work with Panther for some odd reason, but that’s not a problem – we can actually get the old drivers to work!

First, snag the MacOS 9 PPD Installer, then execute the installer under Classic.

Copy the files which you need across to the pr...