Cygwin

Posted by John
on Sunday, 30 March 2008

Cygwin is a Linux-like environment for Windows. It consists of two parts:

  • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
  • A collection of tools which provide Linux look and feel.

If you're a Rails developer on Windows you may need this little tool, so install it from...

More Info here...

Installing MySQL on Vista

Posted by John
on Sunday, 30 March 2008

Easy it aint, kept getting this...

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.

But here's how to fix it,

Get MySQL

First download MySQL

Install MySQL

Now unzip the executable and install it, when it's finished and asking you if you want to run the configuration tool, don't; we'll deal with this in a minute.

Install Resource Hacker

Now to fix the MySQL Instance Configuration Tool, so it will install the MySQL service in Vista, download Resource Hacker...

Unzip it and open it's folder, then Right-Click on ResourceHacker and Run as Administrator.

Edit Resources

Now using Resource Hacker open the file...

  • C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe

Navigate to 24 / 1 / 1033 and look at the config on the left. On line 6 you should see asAdministrator, change this to requireAdministrator then click Compile Script; then finally Save the file.

Run MySQL Instance Config

Finally run the MySQL Instance Configuration tool from within...

  • C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe

This should now be able to create the system service and finally give you MySQL running on Windows Vista.

Bad-Ass!

Posted by John
on Saturday, 29 March 2008

Enabling the Vista Administrator

Posted by John
on Saturday, 29 March 2008

With Windows Vista you will automatically have the main user (you) and a disabled Administrator account, which is part-used for you to install software, etc. when you're logged in.

But how do you enable this Administrator account so you can really take control of Vista and make it do what you want it to do, no questions asked, here's how...

  • Open the Start Menu
  • Type cmd to find the Command Prompt, then right-click and Run As Administrator

Now type...

Net user administrator mypassword
Net user administrator /active:yes

(change mypassword for anything you want)

Now log-out and switch over to the Administrator account using the password you picked.

Lights Out!

Posted by John
on Saturday, 29 March 2008

google

Google users in the United Kingdom will notice today that we "turned the lights out" on the Google.co.uk homepage as a gesture to raise awareness of a worldwide energy conservation effort called Earth Hour. As to why we don't do this permanently - it saves no energy; modern displays use the same amount of power regardless of what they display. However, you can do something to reduce the energy consumption of your home PC by joining the Climate Savers Computing Initiative.

On Saturday, March 29, 2008, Earth Hour invites people around the world to turn off their lights for one hour – from 8:00pm to 9:00pm in their local time zone. On this day, cities around the world, including Copenhagen, Chicago, Melbourne, Dubai, and Tel Aviv, will hold events to acknowledge their commitment to energy conservation.