Matt Dwen

Sorter of Shit

ASP.NET Core RC2 and Azure

I’ve been running a ASP.NET vNext ASP.NET 5 ASP.NET Core site on Azure for about a year now. It’s taken me a while, but I’ve finally upgraded it to RC2. However, when deploying to Azure, I was getting an error page with The specified CGI application encountered an error and the server terminated the process on the site, and nothing else. Nothing in the error logs, and not much help on the web. There were...

Resize the system partition on El Capitan

This may be specific to running OS X within a virtual machine, but I ran into some issues resizing the partition where OS X is installed. I run a number of virtual machines for testing, and for whatever reason, I originally created my OS X 10.11 El Capitan VM with only a 40GB disk. The 10.11.4 update dropped today, which I went to install, and after downloading was told there wasn’t enough disk space to...

How to Handle Having Your Laptop Stolen

Over the weekend I had my laptop bag stolen. The brazenness of someone walking up a driveway and into a corporate building on a Sunday afternoon still astounds me; that a good friend was on her own in a room right next to where it was taken is even more concerning. At first, I thought I had just moved it somewhere and forgotten. We spent nearly an hour looking before reporting it to the police,...

Web Starter Kit

Google have just dropped Web Starter Kit on the world, which is their “opinionated recommendations on boilerplate and tooling for building an experience that works great across multiple devices”. This project is part of Google’s larger Web Fundamentals project. It’s similar to Bootstrap, which I use regularly, in that it provides a framework of re-usable elements, and starting place for the structure of your page. One thing it has over Bootstrap, is it includes automated...

Messing with flexbox

I finally had a chance to experiment with flexbox, a fancy new “coming soon” feature for CSS. Browser is support is getting close. Chris Coyer has good write up of all the features: http://css-tricks.com/snippets/css/a-guide-to-flexbox/ It’s a fantastic system which is going to solve a lot of layout problems. Anyway, what I was trying to achieve was a layout with two fixed width columns, and a third fluid which fills the remaining space. Normally I would...