Quick tips and learnings

118 posts latest post 2026-04-03
Publishing rhythm
Dec 2025 | 2 posts

zfs list has a flag -r, but if you use zfs driver for docker then you’ll get flooded with every docker volume in the world. zfs list -r -d N will limit the dept of the print out, so zfs list -r -d 2 gives me tank, tank/encrypted, tank/encrypted/docker -> but then I don’t see all the continer volumes

If you think glepnir/lspsaga.nvim config will work with tali5/lspsaga.nvim installed… you’re in for a rude awakening. Double check your forks folks!

I learned you can embed gifs and stuch in things other than GH personal pages!

So here I’ll keep ones I like and might use later

via GIPHY

Bought some DDR4-3600 speed RAM but only seeing 2666? Load up the BIOS, find DRAM config or something similar, and make sure to load the XMP profile to get that advertised RAM speed!

Babyblue v2

Ryzen 5700x + 32 GB 3200 CL16 RAM

PassMark Rating

Venus

Ryzen 3200G + 16GB 3600 CL16 RAM

PassMark Rating

Hogwarts

Dual Xeon X5650 @2.67GHz | 90 GB 1883 DDR3 ECC RAM

PassMark Rating

Server 2 ... Change the name

Ryzen 5700G + 128GB 3200 CL18 RAM

PassMark Rating

Server 2 with XMP enabled and undervolted from 1.35 to 1.2

Ryzen 5700G + 128GB 3200 CL18 RAM

Undervolted to 1.2V (from 1.35) XMP enabled

PassMark Rating

ssh -v -i ~/.ssh/id_rsa nic@hogwarts

THen we can look at print outs

cat /var/log/auth.log also showed me that I had too wide permissions on files in ~/.ssh -> probably changed from an rsync job

Assuming you have a pool called tank…

And assuming you have an encrypted dataset (See Jim Saltar’s short intro)

  1. Create a group for permissions - in my case I have one called home
  2. Then if there’s anything in /tank/encrypted his it with chgrp -R home /tank/encrypted to give the home group ownership
  3. Next we need to make sure that the members of home can do the writing… so chmod 775 -R /tank/encrypted will do the trick
  4. Finally we want to make sure that all data created inside our dataset has the same set of permissions with chmod g+s /tank/encrypted and chmod g+w /tank/encrypted

sudo dmidecode -s bios-version

❯ find . -name “requirements.in” -print0 | xargs -0 sh -c ‘for arg in “$@”; do echo “awscli” »"$arg"; done’

I use Tmux and Vim for most of my workflow, but I end up with a lot of dangling tmux sessions that dont’ really need to persist… but killing them one at a time is a pain so I wrote a little script-kitty nonsense to pipe multiple choices from fzf into tmux kill-session

I defined a little function in my .zshrc

destroy() { 
    tmux list-sessions -F '#{session_name}' | fzf -m | xargs -d $'\n' sh -c 'echo "killing $0"; tmux kill-session -t "$0"; for arg;do echo "killing $arg";tmux kill-session -t "$arg"; done'
}
bindkey -s '^d' 'destroy \n'

tmux list-sessions -F '#{session_name}' prints all my active tmux sessions to the console with the format of just their name

pype.dev   main   ×1 via   v3.8.11(pype.dev)  on  (us-east-1) proxy
❯ tmux list-sessions -F '#{session_name}'
session-01
session-02
session-03
...

Pipe that to fzf -m to allow multiple choices to be made using tab

Then the nasty bit in xargs… I echo killing @0 and killing $arg because the sh -c passes the first tmux session name to @0 (it’s just what bash does) and then the rest get handled in the for loop.

Basically then I get an fzf list to choose multiple tmux sessions to destroy to clean up some RAM!