diff --git a/src/config.toml b/src/config.toml index 4541487..b536204 100644 --- a/src/config.toml +++ b/src/config.toml @@ -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" diff --git a/src/content/cheatsheet.md b/src/content/cheatsheet.md new file mode 100644 index 0000000..34da032 --- /dev/null +++ b/src/content/cheatsheet.md @@ -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.