Using two factor authentication with GitHub on Windows - the easy way

Two factor authentication is great but until recently I’ve had numerous problems getting it to work with repositories on GitHub. Happily I’ve found the easy way. This only applies to Windows users and only works over HTTPS, not SSH. First install Chocolatey. Now open a command line as an administrator... [Read More]

Book review - Don't Make Me Think

If you do a Google search for “best web design books” you will find “Don’t Make Me Think, A Common Sense Approach to Web Usability” by Steve Krug. It’s been on my reading list for a long time. While I’m not a web designer I do build web pages occasionally... [Read More]

On side projects...again

Recently I stumbled across an interesting Stack Overflow question: I don’t program in my spare time. Does that make me a bad developer? The answer with the most up votes was from a user called red-dirt who makes a number of excellent points. One interesting point in particular is that... [Read More]

Using the TestCaseSource attribute in NUnit

I’ve used NUnit for the last few years but I only recently discovered the TestCaseSource attribute which is very useful in certain circumstances. The scenarioImagine you have a DeviceInformation class. It’s job is to take a user agent, parse it and provide information about the device. The class could look... [Read More]

What is Command Query Separation?

What is Command Query Separation (CQS)? It’s a principle created by Bertrand Meyer which states that any operation in code should be one of two types; a query or a command, but not both.Query. This isn’t a database term, it simply means that the operation should return some data and... [Read More]
Tags: programming