Magnus

Magnus

Catch exit codes in bash - pipefail vs PIPESTATUS
Nov 27, 2017

Catch exit codes in bash - pipefail vs PIPESTATUS

The other day I caught a bug in one of my scripts, where I wanted to both act on the exit code of a command at the same time as I sent the output from it to a log file.

Categories: Development Linux
Quickly create an img file from a Raspbian SD card on OSX
Nov 27, 2017

Quickly create an img file from a Raspbian SD card on OSX

Sometimes you need to make a backup of an SD card with your favorite installation on it. This recipe will show you how to do this in the most efficient way on Apple, Mac OSX.

Categories: Development Raspbian OSX
OP5 widgets for Smashing released on Github
Nov 2, 2017

OP5 widgets for Smashing released on Github

A set of widgets to integrate OP5 (nagios derivate) with the smashing.io dashboard now available on Github.

Categories: Development OP5 Smashing
Quickly clean up your Wifi connections in OSX
Oct 9, 2017

Quickly clean up your Wifi connections in OSX

Get an overview of your favorite network locations.

Categories: Development OSX
Physical firewall for VMWare networks
Sep 30, 2017

Physical firewall for VMWare networks

Sometimes you need to figure out some weird configurations. In this post I will try and justify the joy of VLANs in the following setup.

Categories: Development VMWare pfSense
Rsync faster with AES-NI and ssh options
Sep 4, 2017

Rsync faster with AES-NI and ssh options

Copying files per ssh is very convenient, but the default encryption(1) usually takes its toll on the CPU, and the result is that you do not fill the available network bandwidth.

Categories: Development AES-NI