Archive for the ‘Code’ Category

FreeBSD ports fix

If you ever find yourself in my situation, where installing some updated port from a relatively freshly done cvsup ends up breaking a couple dozen other programs because it decided to upgrade several libraries, you might find the following for loop useful:
cd /usr/X11R6/bin && for m in $(for l in $(for j in $(for i [...]

mod_hotlink 1.0 released

mod_hotlink is some software I wrote ages ago to deal with the problem of how to politely* prevent one site from linking to images on another, without using tons of CPU (as does mod_rewrite solutions)
From the README:

Protects non-text content against “hotlinking” - a method for stealing
bandwidth by linking images and content from other websites to [...]