Skip to content

Instantly share code, notes, and snippets.

View awehrfritz's full-sized avatar

Armin Wehrfritz awehrfritz

  • Turku, Finland
  • 10:34 (UTC +02:00)
View GitHub Profile
@awehrfritz
awehrfritz / simple-plotting.py
Created July 3, 2020 10:42
A simple matplotlib plotting script
#!/usr/bin/env python3
"""
A simple matplotlib plotting script
Use the `--non-interactive` option to generate figures on remote servers without
a graphical user interface (GUI). For more information on matplotlib's backends
see: https://matplotlib.org/faq/usage_faq.html#what-is-a-backend
"""
@awehrfritz
awehrfritz / install_zfs_helios4.sh
Last active January 29, 2020 00:25
Install ZFS on Helios4 NAS
#!/usr/bin/env bash
#
# Installation script for ZFS on Armbian for Helios4, a Marvell Armada 388 SoC
# with a ARM Cortex-A9 (ARMv7 32-bit) CPU, 2 GB ECC RAM and up to 4 disks.
#
# Tested on Armbian 19.11.3 (Debian Buster) with Linux 4.19.84
# (linux-image-current-mvebu) and ZFS version 0.7.12.
apt-get update