Author Archives: admin

Split OneDrive folder over multiple drives

OK, so you have 1TB OneDrive storage in the cloud. Nice. But your puny little SSD is only 128 GB, and every last gig counts. Sure, you could move your entire OneDrive folder to your secondary, mechanical hard drive. But … Continue reading

Posted in Uncategorized | Comments Off on Split OneDrive folder over multiple drives

Forcing comments on commit with TortoiseSVN

It turnes out that it is absolutly trivial to force users of TortoiseSVN to add a comment while checking in changes to subversion, without messing around with pre-commit hooks on the server. Just add a property called “tsvn:logminsize” to the … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Forcing comments on commit with TortoiseSVN

Don’t fill up your disks

I recently commented on an interesting blogg entry regarding optimizing Lightroom, where there was some confusion about why you should keep a large portion of your disk unused (and how large is large enough). Since it became a rather long … Continue reading

Posted in Uncategorized | Tagged | Comments Off on Don’t fill up your disks

Using Drivel with WordPress

While trying out Ubuntu, I’m without my standard blogging client (Windows Live Writer), so I’m testing Drivel instead. When starting, it’s not clear how to connect to a WordPress blog, but it’s really quite easy. Just set Journal type to … Continue reading

Posted in Uncategorized | Tagged | Comments Off on Using Drivel with WordPress

Unable to add certificate exceptions in Firefox on Ubuntu

I don’t know if this is an issue with Firefox (3.0.10), Ubuntu (9.04), Apache2 or the default apache config file, but when trying to surf to a SSL-encrypted page on a default installation of Apache on Ubuntu, with a default … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Unable to add certificate exceptions in Firefox on Ubuntu

Overloading == in C#

When overriding the == operator on immutable objects, I’ve previously done something akin to public static bool operator ==(MyThing x, MyThing y){    // Null tests    try {var ignore =  x.GetType(); } // Provoke NRE    catch(NullReferenceException)    {        try        {            var ignore … Continue reading

Posted in Uncategorized | Tagged | Comments Off on Overloading == in C#

Using OPTION (FORCE ORDER) with user definied functions in SQL Server 2005

Really interesting thing I realised today: Using OPTION (FORCE ORDER) within a UDF, at least in SQL Server 2005 (i haven’t tested in other versions), doesn’t work if you are within the RETURN clause. It does, however, if you aren’t. … Continue reading

Posted in Uncategorized | Tagged | Comments Off on Using OPTION (FORCE ORDER) with user definied functions in SQL Server 2005

Getting SQL Server Express 2008 to work the way you probably want it to

SQL Express is the free, low-powered MySQL-competing version of SQL Server. It’s primarily neutered when it comes to hardware utilization (it will use at most 1 CPU and 1GB memory) and maximum database size (4GB excluding log files), but for … Continue reading

Posted in Uncategorized | Tagged | Comments Off on Getting SQL Server Express 2008 to work the way you probably want it to

GMail Notifier stopped working?

Did your GMail Notifier stop working a little while ago? Does it all of a sudden always sit there with an exclamation point instead of the envelope? Does it just say An error has occurred. Cannot connect to mailbox. Service … Continue reading

Posted in Uncategorized | Tagged | Comments Off on GMail Notifier stopped working?

Uploading images with Windows Live Writer to WordPress

I’ve gone completely insane the last days trying to publish to my WordPress blog (self-hosted) using Windows Live Writer. Most of the time it works, but sometimes it doesn’t (I get Xml-Rpc errors), and I can’t find any clear pattern. … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Uploading images with Windows Live Writer to WordPress