Articles

Bash set builtin

Shell scripts I come across sometimes have for instance “#!/bin/bash -eux” on the first line. Because I’ve Googled for this too many times now, I’ll record the meaning of these options here for my own sanity.

How does the Django Cross-site request forgery protection work?

Dan Poirier wrote an article on the Caktus Group blog about common web site security vulnerabilities. In it he talked about the CSRF protection in Django. Although he is right about a CSRF token having to be part of the POST request, this is not the entire story.

A week with Firefox instead of Chromium

My browser of choice has been Chromium for quite a while now. A couple of podcasts recently discussed how Chrome has become a memory hog and how Firefox has improved over the years. Time for an experiment.