Posts in the Category: Code

99 Bottles of Beer

By Posted in - Code on November 18th, 2012 0 Comments 99bottles

I thought that you might get a kick out of this (if you didn’t already know of its existence).

Next time someone asks you about the programming differences of one language vs another, send them here: …

Read More

Book Review: HTML Dog

By Posted in - Books & Code on November 17th, 2012 0 Comments 103258146

I read a LOT of reference books. I recently bought a Kindle so that I could keep all of them with me. As you know, physically, these books are HEAVY.

Anyway, I figure that, as I …

Read More

Email RegEx

By Posted in - Code & Email on November 13th, 2012 0 Comments regex

So, I have been using ^[a-z0-9_\+-]+(\.[a-z0-9_\+-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.([a-z]{2,4})$ to validate email addresses. Seems to work well. I found this over at Markus Sipilä’s website. And, in case you weren’t aware, you can use this as …

Read More


By Posted in - Code on November 12th, 2012 0 Comments minify-google-icrunched

I am sure that you have opened up someone’s .js or .css file and have found one looooooooong line of seeming gibberish.

This is “minifying”, also called “packing” or “compressed” (not to be confused with zipping …

Read More

Brian Kernighan’s Hello World

By Posted in - Code on November 12th, 2012 0 Comments image45

(Picture of Brian Wilson Kernighan)

As I have completely overhauled my site, I thought it only fitting to begin with a Hello World post…

One of the very first things that a newbie learns is, “Hello World!” …

Read More