Posts tagged with 'How To'

Split your cmder window into multiple panels

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 -new_console:s…

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.…

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 few…

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 plus icon towards the bottom right of…

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 this, make sure you're using the correct…

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 module needs to be fully responsible…

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: public class UsersController : ApiController { …

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…

Adding Business Layer Caching Using Castle Windsor AOP

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…

Build a Media Centre PC for £129.86

Building a media centre PC for your living room doesn't need to cost a fortune. With new low power processors with onboard graphics, you can put together a system capable of playing 1080p videos with DTS sound and still get change from £130. I've split the components into two categories – Core and Additional. You…

Create a Windows 8 Dual Boot on a Windows 7 Machine

I've been really impressed with what I've seen of Windows 8. I seem to be in the minority but the tile layout, type to search and (almost) instant-on seem like a huge step forward to me. Also, the ability to create desktop apps using HTML5 and JavaScript is set to open up app development to a huge number of…

Publishing a Node.js Express App to Windows Azure

Windows Azure has really come on in the past few months. With the new management dashboard, support for other web technologies (even horrible ones like PHP) and removal of Silverlight, it’s actually become a pleasure to use. One of the new supported technologies is Node.js. I'll not go into the reasons for using Node…

Getting Sublime Text 2 to Compile CoffeeScript on Windows 7

Okay, this is maybe a bit niche but I might as well document this for whoever else comes across it. Sublime Text 2 is a pretty nice text/code editor in the same style as TextMate for Mac. CoffeeScript is a reduced syntax for writing JavaScript code. Getting them to work together isn't all that straightforward but is…