Sugar, we're going down swinging.

February 28th, 2014 @ 5:09 am
Friday Five: Web Development Resources
  1. – the W3C markup validation service
  2. – a tool to detect errors and potential problems in JavaScript
  3. – the iconic font designed for Bootstrap
  4. – the best place to get technology questions answered
  5. – the quickest and easiest way to make sure your project always has the latest scripts included

How to Work with Software Engineers

If you need to strip all non-numeric characters from a string (except for the period character) using JavaScript, try:
string.replace(/[^\d.]/g, "");

August 7th, 2009 @ 5:42 am
Friday Five: Feeds to Follow

Five great development blogs to which you should subscribe:

July 8th, 2009 @ 5:45 am
WordPress Wednesday: Safe Function Calls

If you’re editing a WordPress theme template file by adding a call to a plugin’s function, you need to be careful. In six months or a year you’re going to deactivate or delete that plugin, and you’re going to get a big ugly fatal PHP error on your blog. You can avoid it, though, by […]

June 17th, 2009 @ 6:45 am
WordPress Wednesday: Thesis Theme Tag Text

Today I’m going to explain how to make your WordPress blog display a special note based on a tag associated with a post. This tip is uniquely written for users of Chris Pearson’s awesome Thesis Theme, but if you are crafty enough with WordPress, you’ll be able to use it regardless of the theme you’re […]

January 27th, 2009 @ 9:54 am
What Have You Tried?

Over at I just found an excellent article about software development and a must-read for any programmer, at any level: If you’re a developer and you’re about to ask another developer a technical question (on a forum, via email, on a chat channel, or in person), you’d better be ready to answer the question […]

October 1st, 2008 @ 5:09 pm
Parsing PHP in CSS

Pro-Tip: Tell your website to treat CSS files as if they’re PHP files to make life easier. There are only two simple things you need to do to enable this!

March 25th, 2008 @ 9:55 am
Slicing Code with a Rusty Razor Blade

A year or two ago I was returning to my office from lunch with some co-workers. I spotted an old, rusty, razor blade on the sidewalk. “You don’t see that every day,” I said. In retrospect I was probably wrong. Everyone likely sees dozens of rusty razor blades on sidewalks and in gutters every day. […]

August 24th, 2007 @ 5:17 pm
Computer Programming

Found: One brilliant article about being a programmer Source: MeFi

June 27th, 2007 @ 7:04 am
I Always Said ColdFusion Sucked

I was glad to see ColdFusion make it on this list of the top 10 dead (or dying) computer skills. It’s a ridiculous “language” that I never bothered to learn and used to tell people was craptastic and worthless when it was brand new and everybody and their mother was looking for people that knew […]

April 21st, 2007 @ 12:40 pm
Delete Empty Folders

Looking for a way to clear some of your computer’s clutter? Getting rid of empty directories is a good start. I was looking for a file and realized that my machine was spending a long time searching through folders that I knew had nothing in them. A quick Google search returned a handy DOS trick […]

March 31st, 2007 @ 9:09 am
WordPress Gunning-Fog Analysis PlugIn

A few weeks ago a friend of mine asked me to build a WordPress plugin to display a Gunning-Fog analysis on his blog. The math part was pretty easy stuff. I was having a borch of a time getting the plugin to count syllables, so I hunted through Google and found someone else had written […]

February 21st, 2007 @ 7:37 pm
Amazon Wishlist Yahoo! Pipe

Today I decided that my life would not be complete if I didn’t learn how to use Yahoo! Pipes. So I gave it a shot. I couldn’t really think of anything I wanted in a pipe, so I decided to try building one that would let me search eBay for items on my Amazon wishlist. […]

December 6th, 2006 @ 6:32 pm
How to Display RSS Feeds Using PHP

If you’re interested in displaying an RSS feed from an external source using PHP, you simply must grab RSS_Fetch by Drew Phillips. It is by far the easiest implementation that I have found. The readme file is very detailed and the code is well-documented. I highly recommend it.

October 9th, 2006 @ 4:37 pm
Timeline WordPress Plugin

This domain of mine has had stuff on it for a long, long time — before WordPress or MovableType or even Blogger. The original is, sadly, lost forever. Some pieces of it have been kicking around on my various hard drives and FTP locations for a decade now. One file that I could never […]

September 29th, 2006 @ 4:05 pm
Disable WordPress File Upload

Although I can appreciate that it’s a really nifty feature, I am likely never going to use the built-in File Upload feature in WordPress. What has bugged me is that it’s in an IFRAME in the Write Post panel; I think it slows the page load. I was trying to get rid of it, but […]

September 22nd, 2006 @ 5:10 pm

How to Hack MySQL Paging Functionality into Microsoft SQL Server Web developers using PHP and MySQL have a crucial piece of functionality that classic ASP developers working with Microsoft SQL Server don’t. It’s pagination. Using MySQL’s LIMIT and OFFSET commands you can very easily add pagination to recordsets that you want to display on web […]

September 20th, 2006 @ 9:41 pm
DropCaps, Amazon Tags for WordPress

I have finally updated two of my WordPress hack tutorials so that they are compliant with v. 2.04. The first one — DropCaps — allows you to put that nifty “dropcap” into a post. This post begins with a dropcap I. The second one — Amazon Tags — adds two new buttons to your editing […]

September 19th, 2006 @ 7:53 pm
MySQL Triggers Tutorial

Jon is one of my developers at work. He recently started a WordPress blog called Rusty Razor Blade. I’m guessing that most of what he’ll be posting is going to be fairly technical stuff about MySQL, LAMP, AJAX, and JSON. So far his first really interesting post is a MySQL Triggers Tutorial. It’s actually a […]