in /lib/systemd/system/docker.service there is an ExecStart command that got placed there when I setup Docker with Ansible - it threw the -H flag which told the daemon what hosts to setup. But I added the "hosts" key in my daemon.json and ... read more →
I regularly need to edit system config files - take /etc/sanoid/sanoid.conf as an example... I'll want to play with something but if I don't start Neovim as root then I get in trouble making edits I can't save! So suda.vim gives me :SudaWrite which ... read more →
I'm playing with my ansible playbook in a remote tmux session, and I'm no wiz so I don't know the ins and outs, but I can't scroll up to get any console log output that's not already visible on my screen. So I'm starting to end my commands with | l ... read more →
Switching to Vim opened a whole new world to me for interacting with a computer and for getting things done. Before I adopted Vim I used GUIs for everything because I thought that's how it had to be done... Notes in OneNote, code using a GUI editor, ... read more →
mkdir s{1..10} will make directories s1, s2, ... s10 in one command! read more →
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! read more →
!!! note "Babyblue v2" Ryzen 5700x + 32 GB 3200 CL16 RAM <a href="https://www.passmark.com/baselines/V10/display.php?id=503041456656"><img src="https://www.passmark.com/baselines/V10/media/503041456656.png" al ... read more →
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 read more →
sudo dmidecode -s bios-version read more →
❯ find . -name "requirements.in" -print0 | xargs -0 sh -c 'for arg in "$@"; do echo "awscli" >>"$arg"; done' read more →