CaaC: ImageMagick

Dockerize ImageMagick

Don’t litter my path I’m not a germophobe, but I can’t stand a dirty $PATH. I like mine neat and clean, so that my tab completions are fast, sweet and within the realms of sanity. If you have no idea what I’m talking about, go to the previous installment of this series and read the full thing. ImageMagick is an image manipulation tool that can “create, edit, compose, or convert bitmap images” and is typically used from the command line. [Read More]

Nginx with PCRE

How to enable Perl compatible regular expressions in Nginx

A CGI use case Imagine you’re working on a legacy website that’s being converted to purely static HTML pages. The project was originally built using CGI scripts (oh, the good old days) and now your boss wants all the old URLs ending in .cgi to redirect to their equivalent .html counterparts. Because your team has decided to use Nginx to serve the new website, you come up with the following nginx. [Read More]
docker  nginx  regex  web 

CaaC: Container as a Condom

Protect your operating system from unintended consequences

First and foremost, let’s get one thing straight: this is not a dull blog, and I’m not a dull blogger. You can tell that from the blog’s name alone. If, in spite of that, you still feel uncomfortable with the word condom, don’t let it distract you—just replace it with garbage bag, lab coat, rain boots, or whatever else makes sense to you. I like the word because it makes for a nice metaphor and a pleasing acronym. [Read More]