home
about
aural insanity
cheatsheet
rambles
services

searXNG instance

Cheatsheet

Cheatsheet

This is a collection of random commands that I want store somewhere I wont forget it1.

ZFS

The ZFS settings you probably want when creating a pool. Shamelessly ripped from another cheatsheet.

sudo zpool create gayms mirror /dev/sda /dev/sdb -O compression=lz4 -o ashift=12 -O atime=off -O xattr=sa

Firefox quirks

Re-enable the protocol indicator in the URL bar in Firefox by setting the browser.urlbar.trimURLs flag to false.

Headscale

Creating a user from the CLI

headscale user create <username>
headscale 

Random shell stuff

Redirect stderr to stdout

2>&1

The rsync flags you’ll want to use

rsync -avPz

  1. For some reason I wouldn’t be able to get myself to keep track of a notes.md file if my life depended on it. ↩︎