Hotcorners for Windows

July 10th, 2010

Add Mac OSX hotcorners to Windows with this handy, freeware, app.

Your App’s Website Sucks

June 24th, 2010

An insightful, if somewhat cynical look at how not too design a website which accompanies your App Store app.

Hell yes!

May 19th, 2010

Clone your XP/Vista bootcamp partition

May 2nd, 2010

With WinClone which you can find here.

Christian sex therapist Gary McFarlane loses appeal bid

April 29th, 2010

A relationship counsellor’s bid to challenge his sacking for refusing to give sex therapy to gay couples has been turned down by the High Court.

Gary McFarlane, 48, from Bristol, was sacked by Relate Avon in 2008. He claimed the service had refused to accommodate his Christian beliefs.

Lord Justice Laws said legislation for the protection of views held purely on religious grounds cannot be justified.

He said it was irrational and “also divisive, capricious and arbitrary”.

Continued in this BBC article.

Party Cat

April 24th, 2010

Party cat likes to party.

Mac: download google books

February 24th, 2010

By using this splendid application.

MacBook Pro Battery Life Tips

February 21st, 2010

Save your battery life by taking at look at GiantMike.com’s helpful article.

Get the first day of the week from a datetime

February 12th, 2010
select dateadd(d ,-(datepart(weekday,getdate()-1)), getdate())

This is straightforwards: the patepart function extracts the weekday from the date, we remove one from that value, turn it to a negative number and then add it back the datetime. Simple.

Remove the time part of a TSQL datetime

February 12th, 2010

select cast(floor(cast(getdate() as float)) as datetime)

Basically, we cast the datetime to a float, floor it and convert it back to a datetime. The first step produces a float representation of the datetime in which the date is to the left of decimal place and the time to the right, floor reduces it the lowest whole number and the last cast makes a datetime again.