Got to be good-lookin' 'cause he's so hard to see.

Lord of the Files: How GitHub Tamed Free Software (And More)

Friday Five: Web Development Resources
  1. validator.w3.org – the W3C markup validation service
  2. jshint.com – a tool to detect errors and potential problems in JavaScript
  3. fortawesome.github.io/Font-Awesome – the iconic font designed for Bootstrap
  4. stackoverflow.com – the best place to get technology questions answered
  5. scriptsrc.net – 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, "");

Friday Five: Feeds to Follow

Five great development blogs to which you should subscribe:

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 […]

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 […]

What Have You Tried?

Over at mattgemmell.com 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 […]

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!

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. […]

Computer Programming

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

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 […]

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 […]

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 […]

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. […]

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.

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 davidgagne.net 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 […]

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 […]

LIMIT and OFFSET in MS SQL Server

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 […]

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 […]