Blog Archive » May 2006

The Davinci Code

May 21, 2006

I went to see The Davinci Code. It was pretty much like the book, with a few minor differences. For example the book made you think there was a chance for some romance at the end between Sofi and Robert, but the movie basically left that part out. The movie was long, 2 and half hours. There didn't seem to be a lot of kids in the theatre thankfully. The acting was good,...

New Paste Revision

Updated: May 16, 2006April 3, 2006

I added some new functionality to my pastebin site . I added a live search that uses an observer to fetch search results without leaving the page. I also added a real-time autocomplete features to the new post form. You start typing your nick and it provides nicks that have already posted something with that nick. Same thing happens with the email address field but I t...

link_to

Updated: May 16, 2006April 1, 2006

If you need to add a css class to a link_to(), do this: <%= link_to 'Admin Home', { :controller => 'home', :action => 'index' }, :class => 'selected' %> not this: <%= link_to 'Admin Home', :controller => 'home', :action => 'index', :class => 'selected' %...

Debian Games

Updated: May 16, 2006February 14, 2006

Here's some command line magic to install lots of games on your Debian box: yes | \ for x in `apt-cache search game \ | sort \ | awk 'BEGIN { FS = " - " } { print $1 }'`; do \ apt-get install $x; \ done

CiCi's Pizza Sucks

Updated: May 16, 2006November 5, 2005

My wife suggested we try CiCi's Pizza. Last night we gave our closest location a visit: 1765 Gallatin Road North Madison, TN 37115 My experience was very bad to say the least: Their salad bar had no tomatoes or shredded cheese. Aren't tomatoes the second thing you put on a salad after the lettuce? The soda dispenser didn't have Mountain Dew or Mellow Yellow or...

4 Comments

Newlines

Updated: May 16, 2006July 19, 2005

Data is the 'stuff' between newline characters.

Blog Spammers

Updated: May 16, 2006July 17, 2005

Blog Spammers have been spamming ads in the comments section of my blog the past few months. Typically I'd just go through and delete them. Today some idiot was going at it pretty good. I was getting a spam comment every few minutes. So here's my solution: $ips = array( "216.69.166.196", ); if( in_array( $_SERVER[ 'REMOTE_ADDR' ], $ips ) ) { sleep( 9...

MySQL Core Certification

Updated: May 16, 2006June 22, 2005

I took the MySQL Core Certification test. It wasn't nearly as easy as I thought it would have been. Especially since I've been using MySQL for such a long time. I ended up marking about 15 or so questions and coming back to them. In the end I passed with time to spare. This certification will look really nice next to my Zend Certified Engineer (PHP) certification. W00t!

Last question only?

Updated: May 16, 2006June 4, 2005

One of the most annoying things that happens when conversing over email is getting your whole email ignored except the last question. Like for example when you send in a support request to a web host, they ignore everything you write up until the last question. They respond to that one question and that's it. Makes me wanna scream. So.. I've sort of began to send single questi...

Web hosting woes..

Updated: May 16, 2006April 9, 2005

Whatever you do, do not use Geekhosting.com . When I first got the hosting account many months ago everything seemed fine. But more and more I saw my site getting slower and slower. The mornings were the worst. They would perform backups every day and my site was basically inaccessible during the backup period. People wrote to me and asked why my site was so slow. It w...

Pffffttt..

Updated: May 16, 2006January 18, 2005

I joined a new band about a month ago. My long-time friend and music buddy John found a new band and they needed another guitarist.. so I tried out and got offered the position. Little did I know how things would turn out at the time. I should have guessed what was going to happen after the second practice or so. The first night the "leader" of the band Steve tells m...

Hump-day update

Updated: May 16, 2006January 6, 2005

I'm loving my new job so far. My first project was a simple exhibitor and delegate signup system for the TN State Safety Congress . I finished it pretty quick and am now waiting for testing to be completed. They say I will need to incorporate some basic icons and graphics to 'pretty it up' and stuff. Fun. :) I released all my PHP scripts on Freshmeat today. Weird, t...

Happy New Year

Updated: May 16, 2006January 1, 2005

It's 2005 finally. Lots of people all over the world probably got drunk last night. I didn't. I like a little alcohol sometimes, but I really have to be in the mood. I guess that's a good thing. I did stay up fairly late programming last night. I set up this new blog and tweaked out the styles to my favorite greyscale color scheme. I love greyscale. It's so simple and y...