mirror of
https://gitlab.com/EternalWanderer/voidcruiser.nl
synced 2025-07-20 17:44:36 +02:00
22 lines
731 B
Markdown
22 lines
731 B
Markdown
---
|
|
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
|
|
```
|
|
|
|
## Firefox quirks
|
|
|
|
Reenable the protocol indicater in the URL bar in Firefox by setting the `browser.urlbar.trimURLs` flag to false.
|
|
|
|
[^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.
|