SQL Server Database Stuck in Restoring 100% State

I had an issue today where an empty database backup could not be restored for the love of money. The backup was 4MB, but when I attempted to restore it would create a 76GB log file on the server and then stay perpetually in a 100% “Restoring” state. This is... [Read More]
Tags: sqlserver

PhotoTool 2.1.0

One of the pieces of software I wrote (10 years ago now!) that I actually use is PhotoTool. This isn’t really anything amazing, it just works for me when I want to upload photos. I updated it last week to use the ImageProcessor library, and put the horrible source code... [Read More]
Tags: phototool

Scheduled photos with a web cam

I have a spare web cam lying around, and figured it would be a great addition to set it up so it can take regular photos of our lounge when we’re away on holiday. I did a quick Google, and managed to get a rudimentary solution running in less than... [Read More]
Tags: powershell

Deleting stubborn windows folders

Every now and then, even as an administrator on a machine, you hit a folder that you just cannot delete. The usual route is to take ownership of the folder and it’s child files and folders, but once in a blue moon this doesn’t work and you’re stuck with a... [Read More]

Git Cheat Sheet

We’re switching to git (on github.com) at the moment, and I really wanted to use it properly instead of just relying on the GIU clients. I decided to learn it using the command-line, and I found this excellent tutorial online which really helped me understand some of the fundamentals: http://www.sbf5.com/~cduan/technical/git/.... [Read More]
Tags: git