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 Bootstrap and currently (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.

Setting up a temporary HTTP/HTTPS proxy via SSH

Currently I’m working on a project where I have the staging environment running on a virtual machine in a vlan. However, the virtual machine cannot directly access the internet for security reasons. This is inconvenient when I want to e.g. run a buildout to update the project.

New home for this site

Since early April 2013 this blog has moved from a shared hosting environment to a VPS.


Since I keep forgetting the name of this monitoring tool, I decided to create an article so I can jog my memory more easily.

ZODB analysis

A note to myself on how to get a quick insight in the content in a ZODB.

CloudFlare experiment

For about a month I have served this website using the CloudFlare free plan. This article describes what I observed.