Increasing Java Memory
This tip will show you how to increase the memory available to the Java Virtual Machine. If you arrived here while trying to view one of the panoramas on this site, then you’ll need to perform the steps listed in order to see the full size panoramas.
Block spam harvesters
On my site, I have a few “special” pages who’s only purpose is to ban bots that ignore robots.txt (or worse, use it as a hint for where “the good stuff” is!). Here’s how I do that:
New Section: C Stuff
I’ve been collecting nifty tricks and useful factoids about C, and I think I’ll start posting them here. Look for the first post sometime on Tuesday, with 3-4 posts weekly after that!
Ejecting Removable Media from the Command Prompt
How often have you wanted to be able to eject a CD, disconnect an MP3 player / USB key, etc., from the command line? With a small little utility (courtesy of Microsoft (and me)), you can!
Limitting concurrent runs in PHP
Most PHP tasks are designed to be run concurrently, that is, several instances of the same task can run simultaneously. For example, my home page should be displayed to all viewers, even if they’re trying to access it at the same time. Other tasks, however, should only be run one at a time. For instance, […]