Cheatsheet bit

This commit is contained in:
Nox Sluijtman 2025-05-14 21:18:06 +02:00
parent 79994eed51
commit 67ffbe38f1
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M
2 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,10 @@ contentTypeName = 'rambles'
identifier = "rambles"
name = "rambles"
url = "/rambles/"
[[menu.main]]
identifier = "cheatsheet"
name = "cheatsheet"
url = "/cheatsheet/"
[[menu.services]]
identifier = "searXNG instance"
name = "searXNG instance"

18
src/content/cheatsheet.md Normal file
View file

@ -0,0 +1,18 @@
---
title: Cheatsheet
description: A cheatsheet with a few random command and concepts
---
# Cheatsheet
This is a collection of random commands that I want store somewhere I wont forget it[^1].
## ZFS
The ZFS settings you probably want when creating a pool. Shamelessly ripped from [another cheatsheet](https://jrs-s.net/2018/08/17/zfs-tuning-cheat-sheet/).
```sh
sudo zpool create gayms mirror /dev/sda /dev/sdb -O compression=lz4 -o ashift=12 -O atime=off -O xattr=sa
```
[^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.