Home
Andy Callaghan
Cancel

Improve caching for Rails proxied assets on Cloudflare

I recently ported the Jammed Rails app to Cloudflare, and noticed that the ActiveStorage assets were not being cached properly. I did some digging, and found this to be because Cloudflare issues BY...

Deploy a Gmail-like email server in 30 (ish) minutes

A recent HN discussion got me thinking - why don’t I try and run my own email infrastructure? Some of the main reasons I hadn’t previously tried might come naturally: Email servers are a pain t...

RSpec matcher to validate sitemaps

We use the gem rspec-sitemap-matchers to validate and parse some sitemap files, but it can’t validate against the sitemap standard XSD, so here’s the code snippet. ./spec/support/matchers/valid_si...

Git Workshop

I’ve written a Git Workshop site That is all. peace

Defensive Modern Javascipt

At work I’ve been recently exposed to a large and complicated React application written in ES6. Of all the refactoring I’ve been undertaking, I have noticed that there was not much defensiveness bu...

Cleaning up local git repos

We often get to a point where we have billions of local git repositories that have been merged already, or abandoned - it’s often difficult to see the wood from the trees. Prune remote tracking ...

The Good Programmer

Have you thought about what makes a good programmer? I mean have you sat down and thought hard about what it means? Of all the programmers you’ve met in your (maybe long) career, which ones were ‘...

Decoupling from Google Maps

Adapted from a technical talk I gave at Frontend York about using the Google Maps JS badly on a website, the technical debt that can be accrued, and a few different modern techniques to use it well...

Trending Tags