Daily Shaarli

All links of one day in a single page.

March 10, 2021

How to Build Command Line Interfaces in Python With argparse
thumbnail

Simple introduction to a bunch of argparse options, letting you create nice python cli applications pretty quickly (and more importantly rather painlessly, once you get used to it)

How to install and configure Dropbear on Linux - LinuxConfig.org

Setting up dropbear, especially to only take public ssh keys instead of password authentication.

GitHub - gcgarner/IOTstack: docker stack for getting started on IOT on the Raspberry PI
thumbnail

Ready-made stack with installation scripts, making use of docker to install a fully working and nicely integrated stack of containers on your Pi.

Adds additional niceties (like turning off swap, writing logs to memory) that improve Pi performance (and life-time of SD cards) - most of which can be adapted reading through the source.

Especially interesting for things like NodeRED which are not just interesting for IOT.

NEW Stack migrated here: https://github.com/SensorsIot/IOTstack

Enabling ssh public key authorization in dropbear

Dropbear does not support ED25519 keys. It will simply ignore them in the keyfile.

GitHub - picocss/pico: Graceful & Minimal CSS design system in pure semantic HTML
thumbnail

Graceful & Minimal CSS design system in pure semantic HTML - picocss/pico