Blog, page 59
page 59 of 76Continuing through the writing archive.
PHP strip non alphanumeric
A small PHP function that strips every non-alphanumeric character out of a string with preg_replace and ereg_replace.
Read postLast windows boot time, Install date
A one-liner using systeminfo and find to print the last Windows boot time or install date.
Read postThe quick and dirty way of getting the size of a file up to 4GB.
A short fseek and ftell snippet for grabbing a file size in win32 when the file is under 4GB.
Read post403 - An arrogant initiative in defense of the web
A rant on Internet Explorer and an experiment with the 403day.org script that nags IE users to switch browsers.
Read postLeap Year post!
A note on leap day plus the if-mod-4-and-100-and-400 check for detecting leap years in code.
Read postOpen DNS
Review of OpenDNS, with notes on how its NXDOMAIN redirects break utilities that depend on a real not-found reply.
Read postHow to disable AVG 7 temporarily.
Steps to turn off the AVG 7 Resident Shield from the Free Control Center when you need to.
Read postTom Kha Gai
Recipe for Thai coconut chicken soup with galangal, lemongrass, lime leaves, and chiles.
Read postLinks to torrent sites
A short list of regularly-used torrent search sites and the uTorrent client.
Read postVS6 SP6
A mirror of the Visual Studio 6 Service Pack 6 installer for anyone still stuck on VS6.
Read post