Blog posts

RSS feed for Mark van Lent’s weblog

Where did my icons go?

When I was experimenting with an SVG sprite to replace my current icon font, suddenly some of the icons disappeared without a clear reason. It worked fine when I accessed the demo page via the file URI scheme, but as soon as I used an HTTP server, some of them did not show up.

OCSP Stapling in Nginx

The Heartbleed bug triggered a review of the configuration of my own web server. As a result I discovered that I had my Online Certificate Status Protocol (OCSP) stapling configured wrong. In this article I will briefly explain OCSP and OCSP stapling, what I had done wrong and what is a—as far as I know now—right way to implement OCSP stapling in Nginx.

Sending emails with embedded images in Django

Django offers useful classes to easily send email. It is also easy to add attachments to emails. I did have to puzzle a bit to get embedded images working. This article describes the way I do it now. I will first describe the most important elements and then I will show a more complete example.

Font Awesome to PNG

A site I’m working on uses Font Awesome. Font Awesome is an iconic font designed for use with Twitter’s Bootstrap and currently (at version 4.0.0) includes 370 icons. It is an easy to use and nice icon font. But I needed PNG files of the icons so I could use the same icons in a different system.

« Newer

Page 6 of 16

Older »