Recently in Administration Category

We use Pingdom a lot here; we have 65 checks running at the moment, we publish our uptime reports for the most important ones, and we have our own-made Pingdom status screen up in the main office but we all miss the old Desktop Notifier.  This died when Pingdom deprecated their v1 API and it seemed that neither they, nor the community, were going to provide a replacement any time soon, so here is ours; "Desktop Notifier for Pingdom".

Debian 5 (Lenny) is now out of support it will not be receiving any more security or bug fix updates, meaning an upgrade to 6 (Squeeze) is required.  The procedure is reasonably simple, however if you are using Lenny on a Rackspace Cloud server, you will get an error relating to "dependency based startup".  Furthermore, if you are using MySQL 5, you will need to upgrade that to 5.1 and this itself has a pitfall if you have based your config on the stock my.cnf.  Below is the procedure for upgrading Debian Lenny to Squeeze on Rackspace Cloud with MySQL installed.

A pseudo Windows sudo

Often when using the command prompt in Windows Vista and Windows 7 you'll need to run the command as an Administrator and whilst running a command prompt elevated is not tough, it's fiddly. If you've forgotten to do it before you've moved your way around the file system it can be very annoying.

Linux has sudo but Windows has no alternative, so we knocked together a very simple sudo for Windows.
To use it, you'll currently need Visual Studio 2010 to compile, then place it in System32 (or any PATH folder) and simply type:
sudo <your-command> <arguments>
To run a permanently elevated command prompt, you can simply type "sudo cmd" into your start bar search and save yourself the additional mouse clicks required to do this the traditional way.

The code is available on our GitHub. There is a pre-compiled binary available, but check your dependencies first.