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.
You would expect identical SQL queries, running against the same database at the same time to give the same results, right? Well, it turns out that such an impossibility can occur. Alas, this wasn’t some easter egg or heisenbug hidden in MySQL, the issue turned out to be perfectly sane. This is how the confusion unfolded…