Service Locator Pattern in Python?

The service locator pattern is a design pattern used in software development to encapsulate the processes involved in obtaining a service with a strong abstraction layer. »

HTTPS with Nginx, Let's Encrypt and acmetool

There is really no reason to not use valid HTTPS certificates anymore. Let's Encrypt is easy to use and free. So without further ado here is »

Off the Grid as a Digital Nomad

Being a Digital Nomad has a lot of benefits, but there are also some major downsides. Not having permanent access to the energy grid is one »

Django, Localized Decimal-Fields, and our beloved Internet Explorer

Current versions of Internet Explorer aren't as bad as it used to be. Some even claim that Safari is the new IE. We usually don't have »

Letting Django know about your HTTPS proxy

If you are running a Django application behind a proxy, Django cannot automatically know if encryption is used. This can cause problems e.g. with redirects. »

Two seconds, then kill it with fire!

In this example I'm setting a time limit for code execution. If the execution takes too long, the TimeoutException is beeing raised and we can proceed »

Django Channels - a game changer

Do you remember the good old days, when everything was stateless and there was, at least most of the times, a response for every request? Those »

Improved backups with rsync and ZFS

Today backups saved someones bacon again. A customer messaged me and asked if I could restore a file from yesterday. Luckily this is a piece of »

ssht - a shortcut right into your tmux session

ssht is not exactly new, but I've never blogged about it and it's a really handy timesaver. If you are working on the terminal a lot, »

CI with and your own images

I've been evaluating yesterday and I'm quite impressed with the integration and simplicity. You can use drone as a SAAS or install it on »