You can query last months data without involving your scripting language to manipulate dates. Using MySQL's built in date subtraction methods, this is made simple…
Facebook like image thumbnail
If you offer a facebook like button on your site, you may have noticed that Facebook chooses a random image from your site as the…
Clear both puts content below all floated content
If you have a left-floated navigation bar, and a main content column, you may notice that when "clear: both;" any content within the main content…
jQuery to “link” labels with checkboxes
If you generate checkboxes and labels dynamically, or just don't feel like assigning ids to all of your checkboxes and corresponding for attributes to all…
ColdFusion dates within common time periods
I've had to do this so many times over the years, for all sorts of different time frames, so I decided to build, document and…
jQuery dialog load external URL
The solution is simple, but coming to it was quite the opposite. After browsing many posts which don't deal with the fact that external URL…
jQuery search term highlighting
Highlighting keywords from a search can be done on the server-side, by using your development languages string replace functions, but this can add complexity to…
ColdFusion Session Locking – Keep it quick!
Lately I've been noticing, while examining chunks of ColdFusion code out there, that many folks don't give much thought to what goes on inside their…
Python-Excel Cell Background Color
If you've never used Python-Excel before, I can introduce it in a couple words – "Excellent and easy to use library for generating Excel spreadsheets…
HTTP Post doesn’t work – OAuth 2.0 – Google – ColdFusion
I spent many wasted hours this morning debugging a Google OAuth 2.0 response error, and felt foolish when I discovered what I was missing –…