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 […]
How To
Fix Error 0x80072EE7 on Windows 10
I just installed the Windows 10 October 2018 update and was hit with an issue that Microsoft Store and Edge wouldn’t connect to the internet. Dreaded error 0x80072EE7. Tried repairing etc. as suggested around the web, but the issue for me turned out to be that I didn’t have IPv6 enabled in my network adaptor settings. I’m […]
Create a Scratch Branch in Git
Sometimes it gets to 4:59 on a Friday and you’ve got a bunch of files you’ve been mucking around with but don’t really want to commit. This could be because you’re just using throwaway code or because you’ve made changes to existing files that you don’t want to break. In these circumstances, you have a […]
Provisioning a Windows Server Vagrant box with IIS, .NET 4.5 and Octopus Deploy
As part of testing for our new Continuous Integration set-up, I needed to pull together a bunch of machines for testing deployments. I had planned on using Octopus Deploy to do this so Vagrant seemed like the best choice for getting new machines set up. Provisioning The entry point for creating a Vagrant box is […]
Add Visual Studio 2013 Command Line Tools to Cmder
Cmder is an excellent console emulator and my go-to tool for Git on Windows. Every now and again I need to dip into the Visual Studio Command Tools to do something like manually run MSBuild, so it’s handy (and easy) to have this set up as a task in Cmder. 1. Manage Tasks Click the […]
Format a Linux Disk as Ext4 from the Command Line
There are plenty of guides for how to do this online. But I end up spending 20 minutes searching every time I need to remind myself how to do it, so I’m putting it here to save me that hassle. For the code, I’m just going to assume the drive is /dev/sdb. If you’re following […]
Inject CSS From Your RequireJS Module Into The Main App
We’ve been doing some work on a data display app that serves as a framework for a bunch of modules. We picked RequireJS to create the app due to its modular structure and used it with a Node.js backend to build a small app that we can now create child data modules for. Each child […]
Use Karma and Grunt to Run Your Jasmine Tests in Real-Time
As JavaScript applications become more common and more complex, the need for good unit test coverage also increases. Hopefully you’re already writing tests. If not, why not? When I’m doing TDD with C#, I use NCrunch to monitor all tests within the Visual Studio Solution and run them as they change. This saves me having […]
Post an array of objects to WebAPI using jQuery
This is quite niche but caught me out the other day. Let’s say you have a person entity: public class Person { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } and you have a WebAPI method that takes in a group: […]
Stop Getting Random Post Notifications from the Facebook App
A month or so ago I started getting seemingly random notifications from the Facebook app about posts/links/photos friends had posted. The weird thing was that it wasn’t recent stuff: most of it was from several days to weeks in the past. Here’s how to switch it off. Go to your Account Settings Open Notifications Settings […]