Skip to main content.
December 9th, 2006

the joy of the typo

I’ve been working on a programming project for a couple days, and updated my string library (strfuncs.h) to include some spiffy string cleaning functions. I now have a utility to strip all instances of a single character, or all instances of a string of characters from another string.

However, in writing the library yesterday, I failed to notice that I had typed a ‘c’ instead of ‘k’. Yep, that’s right - I broke the entire function by one character.

Gotta love the typo.

Posted by wmyers as projects, personal, hints at 11:08 AM EST

No Comments »

September 22nd, 2006

nifty php line

If you ever need to get the name of the page you are on, and you don’t need the path, this will do it for you:


Posted by wmyers as hints at 11:20 AM EDT

No Comments »