Tab selects text instead of indenting in Visual Studio
I ran into an annoying phenomena today when I tried indenting some multi-line expression I had in my code. I pressed TAB but instead of indenting, it selecte...
I ran into an annoying phenomena today when I tried indenting some multi-line expression I had in my code. I pressed TAB but instead of indenting, it selecte...
Yesterday I blogged about a function I created to execute arbitrary shell (cmd) commands in PowerShell, with retries in face of failures. But what if the com...
EDIT– I initially tried to support execution of PowerShell scripts, functions, and cmdlets in the code below. However, it turns out that they behave too diff...
Whether you’re a no-www or a yes-www person (you can guess which one I am based on the URL currently present on your address bar 🙂), one thing is certain – y...
I was recently writing a mono application for OSX in MonoDevelop, using Gtk# as the GUI framework. The app seemed to work fine, but it would throw the follow...
Consider the following (contrived) code:
I recently encountered an interesting crash in our iOS application at work. Here’s the relevant stack trace section:
Single-page applications (SPAs) are the standard these days, and two aspects are typically considered for their development:
I recently encountered the following error in the shutdown procedure of XCTest (we’re using Kiwi which is based on it):
The C++ Concurrency runtime (AKA PPLX) is the unmanaged answer to the Task Parallel Library (TPL), and it works surprisingly well. It is even cross platform ...
C++11 introduced a couple of new string classes on top of std::string:
I’ve gathered some WinDbg tips over time (mostly for managed dump analysis) and this seems like as good a place as any to share them, so here you go.
.NET 4.5 introduced the EventSource class, allowing convenient access to Event Tracing for Windows (ETW) from managed code. This is a boon for enterprise dev...
The Azure Storage Emulator is a very convenient tool for working against mocked Azure Storage services – blobs, queues and tables. However, it appears to hav...
I was recently looking for old Mono and MonoDevelop Mac versions and realised they weren’t trivial to find. So for the benefit of all mankind, here are the l...
Using animated gifs for spinner / loader animation can be quite convenient, and sites such as AjaxLoad allow you to create them to your liking. However, bein...
The Windows API Code Pack can be a boon for managed code developers wanting to access Windows functionality such as the TaskBar, Windows Shell, DirectX, Aero...
COM interop can be a very useful tool, but it requires the definitions of the unmanaged interfaces one wants to use. This may be a little tricky, so here&...
A great man once said:
There are times when measuring pixels on-screen may be useful. This is especially true when following redline specifications (just make sure your browser zoo...
In web development, it is sometimes useful to alter files locally on the client (browser) side and test their behavior.
In the group where I work, we don’t open Visual Studio (VS) solutions by double-clicking on them in Windows explorer, rather we have a special command-line l...
I’ve been using TortoiseSVN and AnkhSVN for quite some time with SourceForge. Both have been working flawlessly. However, SF recently updated their SVN syste...
Say you have an HRC file containing the syntax and lexical structure of some programming language Eclipse does not support (for example D).