Infrequently updated posts on tech and random topics.
Rewrite in Nuxt
I've rewritten the blog in Nuxt using Nuxt Content. Most of the layout has been revamped to use layouts from TailwindUI. There wasn't much difference between Gridsome and Nuxt Content, so I was able to import most of the content and layout as they were.
Connecting WSL2 Rails App to Postgresql on Windows
If connecting a WSL2 Rails app to Postgresql on Windows is resulting in errors, the following may help.
Moving a WSL Distro to Another Drive
Update 17/01/2021: If you are using the WSL integration functionality in any JetBrains IDEs (i.e. Idea or RubyMine), following these instructions can cause that functionality to stop working. I haven't explored the cause in great depth (I just wanted to get things working again quickly.), but I suspect it's Step 5 that causes the issue. So far, I have not had any issues with VSCode after following these steps though. Note: I've had issues with running out of disk space when attempting to move distros that aren't freshly installed. Most of the steps in this post are the same steps as https://blog.iany.me/2020/06/move-wsl-to-another-drive/. I've added an extra step to make the distro the default, since this isn't set by WSL on import.
Installing OMZ ASDF plugin with zinit
Installing OMZ asdf plugin with zinit requires loading bashcompinit before the plugin is loaded to avoid command not found: complete error.
Intel WiFi AX200 on MSI x570 MAG Tomahawk WiFi Motherboard not working
Recently upgraded motherboard to MSI x570 MAG Tomahawk Wifi, but WiFi was not detected in Ubuntu 20.14.
Best pancake recipe
Best I've found on the internets. The thin crispy bits that sometimes form on the edges are the best.