cmder is my go-to shell for Windows. Up until recently, I was unaware that it could be split into multiple panels. There doesn’t seem to be a menu option to do it, but it’s easily done with these commands (which, yes, I need to look up every time). Split the window horizontally (left/right split): cmd […]
Our team made the move to TypeScript and Angular at the tail end of last year. I’d had a look at Angular a year or so ago but struggled to get my head around the excessive usage of $scope and the nesting of $parent items that needed to be traversed. Since then (with version 1.2.0), […]
I actually put this together a while ago but have just realised I never put it up here. The Problem As part of some of the work I’ve been doing over the past year or so, we’ve run into issues dealing with units of distance. The most problematic of these being when an app that […]
Aspect Oriented Programming (AOP) is a programming paradigm that allows separation of cross-cutting concerns. But you probably already knew that if you’re reading this. If not, go have a read at the Wikipedia page on AOP or the introduction page on the Castle Project site. The Problem If we have an existing application to which […]
Wouldn’t it be great if there was a common data source you could query for all information about an area – bus timetables, ATM locations, cost of housing etc.? I just spent the end of last week and the weekend down in Manchester for the Future Everything conference and Innovation Challenge Hackathon and got to […]
And the winner of this week’s most horrifying code goes to this snippet: Dictionary<string, Dictionary<GeoDirection, Dictionary<bool, List<Route>>>> routes = new Dictionary<string, Dictionary<GeoDirection, Dictionary<bool, List<Route>>>>(); Generic, eh.
So, I was trying to add a new class to a project in Visual Studio and the template for it seemed to have disappeared. I still had the “Add Class” option in the dropdown but no “Class” option when I got into the “Add New Item” dialogue. Luckily, it’s pretty easy to fix. Find the […]