Ubuntu PHP FPM Update

The latest package update for php-fpm on Ubuntu is a bit messy to install if you're listening on a unix socket. The service will restart and change the permissions on the socket to only be accessible to root, which means unless you're running your webserver as root (please don't), it…

Makin' Bacon Pancakes for 10 hours

I've successfully listened to the entire 10 hour version of the Ryden Ridge remix of Bacon Pancakes. There's nothing interesting, it's literally just the same few lines over and over for 10 hours with some nice background music. …

When Shane Makes Bread

:P…

Regular Expression Lookarounds

Let's keep this simple. (?=pattern) positive lookahead (?!pattern) negative lookahead (?<=pattern) positive lookbehind (?<!pattern) negative lookbehind Lookarounds can be nested, and lookbehinds can generally only be of a fixed length. That's all.…

Sublime Text Plugins

I use several plugins every day in Sublime Text 3 that I've grown very used to having, and now find I couldn't work without them. Here they are: Package Control This one is essential for any Sublime Text user, and makes installing other plugins very simple and fast. SublimeGit SublimeLinter…

Programming described accurately

The human brain isn't particularly good at basic logic and now there's a whole career in doing nothing but really, really complex logic You immerse yourself in a world of total meaninglessness where all that matters is a little series of numbers bent into a giant labyrinth of symbols and…

Fire TV Fun

The Amazon Fire TV is an amazing device. The current app selection might be disappointing, but with a little effort you can get just about any Android app working beautifully on a Fire TV, and some apps designed for tablets feel like they were truly made to be on a…