May 7, 2009

Mac Envy and the Rocketdock

I’ll admit it; I’ve used PC’s all my life. I’ve been a slave to Microsoft ever since I can remember typing “win” into a dos command line to fire up a brand new installation of Windows 3.11.

Of course its a Macbook! Cant you see the apple?

Of course it's a Macbook! Can't you see the apple?

But times have changed, and I’ve grown more and more jaded with my relationship with Microsoft. Lately, things have taken a turn for the worse. The relationship has gotten pretty abusive ever since Vista got involved. We’re seeking counseling by way of a hard drive format and bootleg copy of XP.

And though I’m faithful, I can’t help but be jealous of my friend’s Macs. The slick interface, the lack of bugs, the UNIX based filesystem – it all looks so SEXY from this side of the error-prone, “ten-yarder” type of beauty on Vista’s yard. After getting an iPhone, I was resolved to save my money and get a Macbook down the road.

(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Technorati
  • Twitter

May 5, 2009

U.S. States for your Database

Filed under: Interweb — Tags: , , , , , — sankho @ 9:53 pm

After developing database driven websites for awhile, a few common issues come up.

USA! USA!

USA! USA!

One of them is getting all the states of the US & their abbreviations into the database, most likely for some sort of user registration. This was exactly the problem I faced a little while ago.

And like anyone who learned the majority of their internet skills on the internet itself, the first thing I did was a google search, and found this blog post at firewall pro.

It contains a CSV and SQL tables to easily input into your database all the U.S. states and their abbreviations, so you don’t have to.

Thanks goes to Scott for publishing the work so we can get back to actual programming!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Technorati
  • Twitter