You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
Regular cleaning of $HOME
done: +4 Go. Also removed a lot of unused stuff on /
, including Discord which I no longer use.
Just replaced ranger with fff. Looks great and lightweight, and ultra-fast. I had problem with displaying images with ranger now that I am under Wayland. With fff, I can simply open them in feh or eog and browse an entire directory using keyboard shortcuts only. (h/t DJ Adams, Exploring fff part 2 - get_ls_colors #unix
Some interesting Bash notes. #unix
TIL that I no longer need to worry with launching ssh-agent
automagically in case it isn’t already running in the background using the following hack:
if [ -f ~/.ssh/agent.env ] ; then
. ~/.ssh/agent.env > /dev/null
if ! kill -0 $SSH_AGENT_PID > /dev/null 2>&1; then
echo "Stale agent file found. Spawning a new agent. "
eval `ssh-agent | tee ~/.ssh/agent.env`
ssh-add
fi
else
echo "Starting ssh-agent"
eval `ssh-agent | tee ~/.ssh/agent.env`
ssh-add
fi
There’s probably a better way: Howto: auto-start ssh-agent with systemd on Debian Bullseye.
If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good editor and using it effectively. — Seven habits of effective text editing
Only fast languages are interesting. Don’t know if lush is still a thing nowadays, but some benchmarks were quite impressive back in 2011. #clojure
#lisp