The Bears Whereabouts

Where have I been you may ask! Apologies for the lack of content, we’ve (included my wife in the equation here) hit a sizeable brick wall of work. I think this has been mentioned previously, but I’ve recently started a new position and this has involved me spending a good dollop of time getting acclimatised; […]

Be a Dependency Injection Ninja with Ninject

Howdy all, Firstly, a big old fashioned apology for not being ‘on-the-wire’ much over recent weeks. It’s been an interesting time having accepted an exciting new job, which is amazing; but I’ve also had to contend with a few other sizeable life-boulders off to the side. Nothing I can’t handle, of course, so here I […]

C# Interactive Initialisation Trick

Hi there, A little aside this one; something very, very cool that I’ve noticed with the advent of Visual Studio Update 2. Without question, this rates as a MUST CHECK OUT Visual Studio feature. The first complaint (and a valid one, no question about it) in regards to the C# Interactive Window was that running […]

Coding Snippets in Sublime Text 3

Hello, This is my coup de grâce into coding snippets, which completes this mini-series (for now, at least). I wanted to do a tiny bit more Python, so began investigating which IDE to look into next: Stackoverflow – Which Python IDE Best Python IDE The Eric IDE project caught my eye initially, and definitely looks […]

Coding Snippets in SSMS (Microsoft SQL Server)

Hi all, Continuing on with the idea of coding snippets, here’s a follow up showing the (very similar) procedure for creating snippets in SQL Server Management Studio (SSMS). As before, you’ll need a file with the ‘.snippet’ extension to begin, which contains a snippet in an XML format. A basic example is shown below for […]

Code Snippets in Visual Studio (C#)

Hi all, This post forms part of a mini-series that I’d like to do surrounding the topic of code snippets. I have, for some time, been using these merrily within Microsoft SQL Server (which I’ll cover) but have neglected to look at creating custom snippets in every other environment I am privy to. Time to […]

Groovy JavaScript Regex Name Capitalisation Handling

Greetings! A tidbit found by a friend of mine online, forming the basis for a small piece of work I’ve done this week surrounding name capitalisation. This was pulled from a stack overflow article so credit where credit is due for starters: js-regex-for-human-names This is fairly robust, covering Mc, Mac, O’s and double-barrelled, hyphenated names. […]

T-SQL MERGE…Completely overlooked!

Good evening all, Umm…how an earth did I miss this language feature? Where have I been since the release of SQL Server 2008? This really did just pass me by. I’m in the position whereby I don’t often run into this situation; where a T-SQL MERGE statement is directly applicable (i.e. table synchronisation), but still, […]