Links

Random links to random interesting pieces of content. Loosely organized.

Development

Run multiple instances of the same systemd unit • Steven Rombauts
I needed to start multiple instances of a single unit automatically with systemd. Instead of copying the same unit file multiple times, we can solve this with a single systemd template file.
Arrow symbols ← ↑ → ↓ ▲ ▼ ◀ ▶ Arrow and direction symbols in Unicode
There are upward arrows ↑, downward arrows ▼, and also round ↺, curved ↝, double ⇅ and triple ⇶. There’s even a 3D arrow ➫!
50 Useful Raspberry Pi Commands – A Beginner’s Guide
How to Set and Get Environment Variables in Python
To set and get environment variables in Python you can just use the os module: import os # Set environment variables os.environ[‘API_USER’] = ‘username’ os.environ[‘API_PASSWORD’] = ‘secret’ # Ge...
UFW Essentials: Common Firewall Rules and Commands | DigitalOcean
UFW is a firewall configuration tool for iptables that is included with Ubuntu by default. This cheat sheet-style guide provides a quick reference to UFW commands that will create iptables firewall rules are useful in common, everyday scenarios. This includes UFW examples of allowing and blocking va…
How To Set Up vsftpd for a User’s Directory on Ubuntu 18.04 | DigitalOcean
FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server. It has since been replaced by faster, more secure, and more convenient ways of delivering files. In this tutorial, we’ll show you how to configure vsftpd to allow a us…
Initial Server Setup with Ubuntu 18.04 | DigitalOcean
When you first create a new Ubuntu 18.04 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you a solid foundation for subsequent...
The Simplest Ways to Handle HTML Includes