---
author: ArgentumCation
date: "1970-01-01"
slug: disorganized-notes
title: Disorganized Notes
---

# NixOS/Nix

- Show channels: `sudo nix-channel --list`
- add unstable channel: `sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable`
- update repos: `sudo nix-channel --update; sudo nix search -u`

---

# SSH

- Set up port forwarding in existing connection:

```sh
$ ~C
ssh> -D [port number]
[Enter]
[Enter]
$
```

---

# Shell

- `!!:s/foo/bar/`, replace first instance of `foo` with `bar` in the previous command
- `^foo^bar` same thing but shorter and less flexible
- `!foo` rerun last command containing `foo`

---

# Keepalived

- don't ever use use_vmac, it's fucky

---

# Toki Pona Prop 65 Warning

- ⚠️ toki pi (ike ken)! ni li ken pana e ijo Esutolosen tawa sina. ma Kaliponja li sona e ni: ijo Esutolosen li ken pakala e jan. o sona mute: http://www.P65Warnings.ca.gov.
- ⚠️"O' L n K! \\|/ > K "n'>> O Esutolosen A_b. (+) Kaliponja > "[]' > \\|/: O Esutolosen > K \[Z\] >> ,O,. \`o "[]' |||: http://www.P65Warnings.ca.gov.
- ⚠️󱥬󱥍󱦗󱤍󱤘󱦘! 󱥁󱤧󱥌󱤉󱤌󱦐󱤉󱥦󱥬󱤫󱥚󱦆󱦑󱥩󱦗󱥞󱦘. 󱤰󱦐󱤗󱤪󱥔󱦆󱤑󱦑󱤧󱥡󱤉󿬂: 󱤌󱦐󱤉󱥦󱥬󱤫󱥚󱦆󱦑󱤧󱤘󱥈󱤉󱤑.󱥄󱥡󱤼: http://www.P65Warnings.ca.gov.
- ⚠️ tk P iG g! N l g bn e **iJ ezt~\[** Tw sn. M **Kl=Y** l Sn e N: iJ **ezt~\[** l g bKL e j. o Sn uE: http://www.P65Warnings.ca.gov.
