Proxy auto-config files, or PAC files, are a neat way to programmatically decide whether to send requests for a website via a proxy or direct. This post is a brief introduction on how to write and install such a file.
I started working on a new programming task and needed to make an edit to some code in one of our main repos. This was the first time I'd used the repo on this machine. This is also where things started to get strange...
I moved a couple of micro websites off my own server and instead started hosting them with Github Pages. Since then another option has presented itself in the form of Netlify. This post is a quick look at Netlify's offering compared to Github Pages and the reasons I'm quickly becoming a fan.
It's that time of year where lots of blog authors are publishing their 2017 year-in-review style posts. I enjoy those and had a loose idea to do one myself. Instead, I got distracted trying to tidy up several years worth of confusion on an old VPS instance.
Did you know you can center align text in vim? From a visual selection, run :center
. This aligns the text on the assumption that the width of the document is textwidth
, or 80 characters by default. You can also manually set the range by running :center N
, where N
is the total width of the line.