Category Archives: Code

Code snips, tutorials, dos & f-ing-don’ts, stuff like that.

Torrent Automation; .torrent creation, WebSeeding, tracker selection

I told my buddy Ben many months ago I would get him setup with a simple way to create torrents for his podcast, The Feeling of Trance. He’s been doing everything manually [BitTornado] for a few years. Not a lot of work, but he’s got a lot going on, so anything that would automate the [...]

Tortoise; How to “SVN UPDATE” using Windows batch files

If you access/store your repositories on Samba shares, but development is done on Windows machines, it can be a headache trying to update your SVN checkout using the Windows cmd. Most of my updates (using Tortoise SVN) are done through the context menus in Windows because of this. I have grown tired of updating each checkout [...]

WordPress Update; “Allowed memory size of…” error

Ever go to update WordPress and received this error? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516357 bytes) in /home/edm/public_html/wp-includes/http.php on line 1363 That’s because the php.ini is setup to only allocate so much memory to script execution. In this case, my .ini file was set to only allocate 32MB; [...]

HTML Form Processing Tip

No, this isn’t something NEW, but a good reminder… I *assumed* it had been set up correctly to begin with, but I was wrong. So when processing a form (ie: POST form data to a validation/storage function) any input elements with the DISABLED attribute are ignored. Nothing new; right. But you might want to process [...]

$_SERVER, pretty formatting

I laughed my ass off when I was reading through the user comments/notes of the $_SERVER manual today. It’s content from back in October, but who needs to visit the $_SERVER manual on a weekly or even monthly basis? Several people in the past have come up with [>]clever loops to display the contents of [...]