A great tutorial/howto on Youtube on differential gears. Go to 1:50 to skip the intro.

I have had to reset a MySQL root password a few times recently so I should probably write it down.

First, stop the currently running MySQL database daemon

sudo /etc/init.d/mysql stop

Next, start MySQL in safe mode without grant tables, which store the passwords

sudo mysqld_safe --skip-grant-tables

Now login to MySQL as root with no password. You may need a new terminal since MySQL is probably still running from the above command and you don't want to kill that yet.

mysql -u root

Update the root password

update user set Password=PASSWORD('mypwd') where user='root';
flush privileges;

Logout, kill mysqld_safe with ctrl-c and restart MySQL.

/etc/init.d/mysql start

That should be it.

Motorcycle Photoshoot
04 August 2009

This weekend Julene and I together with Dan and Christina took our bikes out to Cochrane for ice-cream and a pint. It was a gorgeous day for riding. This was Julene's first time on a bike since Abby was born and she did great though being nervous. We stopped at Big Hill Springs Provinical Park to take some pictures of us on the bikes. I negleted to dress for the pictures so forgive the green T-shirt. Christina and Dan had a lot of fun directing and snapping pictures.

Hopefully we can get another ride like this in before the end of the season.

Modrewrite
20 July 2009

To get mod_rewrite working in Ubuntu after installing apache2, execute the following command:

sudo a2enmod rewrite

Tags


Fatal error: Uncaught Error: Undefined constant "Math" in /home/sgreimer/stevenreimer.com/includes/classes/TagCloud.class.php:188 Stack trace: #0 /home/sgreimer/stevenreimer.com/templates/_includes/sidebar.php(52): TagCloud->showCloud() #1 /home/sgreimer/stevenreimer.com/templates/index.tpl.php(25): include('/home/sgreimer/...') #2 /home/sgreimer/stevenreimer.com/includes/Page.class.php(412): include('/home/sgreimer/...') #3 /home/sgreimer/stevenreimer.com/public_html/index.php(25): Page->show() #4 {main} thrown in /home/sgreimer/stevenreimer.com/includes/classes/TagCloud.class.php on line 188