Flat Packed Functions

Flat Packed Functions

Okay, so this is more of a design thought process than anything specific (and not an actual list of functions provided by IKEA or MFI for the older generation) but I thought I’d share something with you I come across quite a lot when reviewing code, pull requests and looking at others work, and that’s what I’ve affectionately called the Flat Pack Function (or lack of).

Continue reading

Creating a Self Signed SSL for Local Development with Vagrant / NGINX

Okay, so I’ve been looking at a way of creating a local self signed SSL so I can test out some scheme work I’ve been doing with secure services and came across a few conflicting bits and pieces on the internet about the best way to do this. Here’s the method that I used and it works well for me…

Continue reading

Automatic Host Routing using NGINX and Vagrant on OS X

nginx

Okay, so when I was running a LAMP stack in the early days of development, one of my biggest gripes was creating VHOSTS every time I wanted to test a new framework, or develop a new app etc. I know it’s not a massive chore, but it’s enough of a chore for me to think twice about testing something.

When I moved to NGINX things were pretty much the same – which annoyed me even more. I thought “there must be a better and easier way of doing this!” and there is…

Continue reading