Some notes on linux, software development, and other things - also available as Atom Feed.
Encrypt mails send by cron
Sometimes the status mails of cron jobs may contain sensitive information like filenames that are transmitted unencrypted via email. To encrypt the cron output with gpg to you and you admin, you can add the following to your crontab.Read more ...
Convenient ssh tunnel+proxy to use library access to journal pages
Using a ssh tunnel and local socks proxy in a browser is a convenient way to access journal pages that check for the IP range of the university. This script opens a ssh tunnel and launches a chromium session with the according proxy sessions.Read more ...
Histogram container for matplotlib
Histograming of data in multiple containers, or data that doesn’t fit into computer memory is inconveniant with standard numpy/matplotlib. To work around this, I created a small container class to use histograms as in CERN ROOT style:Read more ...
Moving this page to jekyll
Mute on suspend with systemd
To mute the system on suspend, so that your music is not started when the
system wakes e.g. up in the library, on systems with systemd, put the following