Posts tagged: cli
All posts with the tag "cli"
25 posts
latest post 2025-06-17
Publishing rhythm
Use non-standard named ssh keys with github
I was getting when trying to push to GH using ssh. When I tested the connection I saw that a bunch of keys in ``~/.ssh/ were being attempted None of those were the key I setup with…
Modal Labs
Playing around with Modal Labs One of the first things I tried was a regular cron job… This can get deployed with This function gets deployed as an app that I conveniently call (as…
Pipe to a pager to preserve console output in SSH session
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 alrea…
Call basicConfig to get Python log messages in iPython
Logging instead of printing I am trying to adopt instead of but ran into a confusing thing in ipython during Advent of Code… I riddled by script with (yes after setting) but in ipy…
Make a series of directories fast!
mkdir s{1..10} will make directories s1, s2, … s10 in one command!
Limit zfs list to avoid docker vomit
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, s…
Use the right lspsage, you dope!
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!
Suddenly SSH requires a password
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…
Check Your BIOS Version On Ubuntu
sudo dmidecode -s bios-version