Some notes on linux, software development, and other things - also available as Atom Feed.

Encrypt mails send by cron

Dec 11, 2017

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

Nov 21, 2017

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

May 19, 2017

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

Apr 17, 2016

as this page is basically static, it makes no sense to use a dynamic content management system as wordpress for it. So as of now I am using a static website generator jekyll to generate this page from markdown and plain html sites using few jekyll plugins and some javascript.

Read more ...

Mute on suspend with systemd

Jul 12, 2015

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 script under /lib/systemd/system-sleep/

Read more ...