Archive

All posts

616 posts latest post 2026-10-06
Publishing rhythm
Jun 2026 | 3 posts

Tiddly-Wiki

Tiddly Wiki is a great note taking utility for organizing non-linear notes. I used it to replace my OneNote workflow and my only complaint is I don’t have an easy way to access and edit my tiddlers (posts) if I’m not at home. The tiddlywiki is just an file with a ton of stuff above my head baked in. I have a barebones repo with some notes and a nice starter tiddly wiki init on my github. Usage is pretty basic… Just grab the and save it to anywhere convenient on your computer. I put mine on my NAS to have the security of backups since I don’t keep my tidldlywiki in a git repo (I don’t really want to look at the diff). Taking notes in the tidlywiki is nice because it supports a format similar to Markdown although it is specific to tidlywiki. Tiddlers (each post in the wiki) can be tagged and linked together and it’s really easy to send notes to someone by just exporting an html file and emailing it since it’ll open up by default in a broswer with all the nice formatting already apart of…
2 min read

I ran into an issue where I had some copy-pasta markdown tables in a docstring but the generator I used to make the table gave me tabs instead of spaces in odd places which caused black to throw a fit. Instead of manually changing all tabs to spaes, or trying some goofy :%s/<magic tab character>/<%20 maybe?>/g I learned that Vim has my back…

:retab

Stow is a great tool for managing dotfiles. My usage looks like cloning my dotfiles to my home directory, setting some environment variables via a script, then stowing relevant packages and boom my config is good to go…

cd ~
git clone <my dotfiles repo>
cd dotfiles
# env variable stuff ignored here
stow zsh  # This will symlink my .zshrc file which is in ~/dotfiles/zsh to ~/.zshrc

By default stow will stow packages up one directory from the root directory. In this example the root directory is ~/dotfiles and the package is zsh. So the files in the zsh package will symlinked into ~/.

stow makes it easy to share dotfiles across machines, or safely experiment with config changes while always being protected by git since your dotfiles are in a git repo! …They are in a git repo… right?

Check out stow for a brief introduction to stow

What if I want to stow a package somewhere else? Boom, that’s where -t comes in…

Maybe I don’t like having my dotfiles repo at $HOME and instead I want it in ~/git or ~/personal just to stay organized… Well then I could have the same workflow except the stow command looks like this:

stow zsh -t ~/
#or
stow zsh -t $HOME

After carefully staging only lines related to a specific change and comitting I suddenly realized I missed one… darn, what do I do?

Old me would have soft reset my branch to the previous commit and redone all my careful staging… what a PIA…

New me (credit: ThePrimeagen)…

# stage other changes I missed
git commit --amend --no-edit

Sometimes I need to manually set a static IP of a Linux machine. I generally run the latest version of Ubuntu server in my VMs at home.

In Ubuntu 20 I’m able to change up /etc/netplan/<something>.yml

network:
  version: 2
  ethernets:
    enp0s4:
      addresses: [192.168.1.{Static IP}/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [192.168.1.1, 1.1.1.1]

gateway4 is your router address nameservers is a list of desired DNS servers for that machine to use. I usually use my router which is configured to use my pi-hole as my primary DNS, then set 1.1.1.1 (CloudFlare) as a backup

Hit it with the sudo netplan apply and you should be good to go!