January 2009
Getting Your Feet Wet with Regular Expressions
Thu, 01/29/2009 - 13:27 — MarkWrapping your head around regular expressions is a daunting task for a programmer. Many times there is a tendency to just avoid the issue and write lots of code to work your way around an issue that could be easily solved with one line. You could always go out and buy one of the many books on the subject, but I am going to focus on teaching yourself online.
The first thing you'll need is a way to test out your work. I am a big fan of the Regex Widget for the dashboard by Rob Rohan.
Don't Forget the Namespace
Wed, 01/28/2009 - 14:35 — Mark
I spent several hours yesterday struggling to figure out why jQuery wasn't working correctly on a site I'm working on.
On sites that already have a lot of javascript there are usually a few issues with jQuery, but I was stumped on this one.
Finally a Google search revealed that the $ (dollar sign) namespace was already being used by another set of functions.
A quick find and replace of $ -> jQuery in my jquery document and everything started working smoothly.