Archive for October 2009
The Golf Ball Story
The ending of the story: I threw a golf ball through someones living room window and broke it. How it happened: Every other weekend I take my dog for a 3 mile walk. He’s a small dog (12 pounds) so three miles is a long way for him. He had already pooped. I was carrying … Continue reading
Route Everything, Except These Controllers
I was playing with CodeIgniter routing at work. I wanted to have a catch-all route but I needed to exclude a certain controller, or controllers, from that catch-all route. As an example, I wanted to have http://www.example.com/(ANYTHING) route to the “page” controller. http://www.example.com/policies/shipping would route to the “policies” controller and then to the “ship” method. … Continue reading
Mac Seeing My Single Click As A Double Click
I was having problems with my mouse. I have a Logitech MX 620 Cordless Laser Mouse on my home Mac OS X 10.6.1 Snow Leopard MacBook Pro that was upgraded from Leopard. Many times, when I single left click, it decides to double click instead. The double click happens instantly like it sees my single … Continue reading
Mac Subversion with Cornerstone
When I upgraded my Mac from Leopard to Snow Leopard, the only thing that really changed for me was I had to updated a couple pieces of software or wait about a week for the software to be updated. There were two things that could not be updated. The first was a plugin called NuFile … Continue reading
Make MAMP Start MySQL When It Doesn’t Want To
I am using MAMP for local PHP development. It’s alright. It has a tendency to not want to cooperate sometimes. Like this morning. I loaded up MAMP and Apache started just fine but MySQL didn’t want to do anything. If you are getting an error similar to “Error: Could not connect to MySQL server!”, rather … Continue reading