Archive

All published posts

2501 posts latest post 2026-06-21 simple view
Publishing rhythm
May 2026 | 56 posts

Create a Virtual File Gallery with Symlinks

Creating a directory that is a union of several directories can be achieved with a few symlinks at the command line. Creating a Virtual File Gallery # [1] Here is how I am creating a virtual directory of all my projects that is a combination of both work and not-work projects. I am creating symlinks for every directory under ~/work and ~/git. rm -rf ~/projects mkdir ~/projects ln -sf ~/work/* ~/projects ln -sf ~/git/* ~/projects ⚠ Notice that first I am recreating the directory each time. This will ensure that any project that is deleted from their actual directory is removed from the virtual gallery. Updating the gallery # [2] Since links are always kept up to date without any extra work, all the data is still in the same place it started. But as new directories are added to any project directory they will not be automatically added to the virtual gallery. - cron - bashrc/zshrc If you’re concerned about system resources, you can add it to a cron job to run at a regular sch...
I recently discovered delta [1] by dandavison [2], and it’s truly impressive. A syntax-highlighting pager for git [3], diff, grep, and blame output References: [1]: https://github.com/dandavison/delta [2]: https://github.com/dandavison [3]: /glossary/git/
Just starred monkeytype [1] by monkeytypegame [2]. It’s an exciting project with a lot to offer. The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed. References: [1]: https://github.com/monkeytypegame/monkeytype [2]: https://github.com/monkeytypegame
Check out ntangle.nvim [1] by jbyuki [2]. It’s a well-crafted project with great potential. literate programming for neovim References: [1]: https://github.com/jbyuki/ntangle.nvim [2]: https://github.com/jbyuki
If you’re into interesting projects, don’t miss out on termopen.vim [1], created by fabi1cazenave [2]. Easy integration of TUI apps in Neovim: Ranger, LF, Tig… Tetris… References: [1]: https://github.com/fabi1cazenave/termopen.vim [2]: https://github.com/fabi1cazenave
karimknaebel [1] has done a fantastic job with nvim-lspinstall [2]. Highly recommend taking a look. Provides the missing :LspInstall for nvim-lspconfig References: [1]: https://github.com/karimknaebel [2]: https://github.com/karimknaebel/nvim-lspinstall
I’m impressed by nvim-lspinstall [1] from kabouzeid [2]. Provides the missing :LspInstall for nvim-lspconfig References: [1]: https://github.com/kabouzeid/nvim-lspinstall [2]: https://github.com/kabouzeid
Looking for inspiration? dotfiles [1] by Conni2461 [2]. Current dotfiles and scripts References: [1]: https://github.com/Conni2461/dotfiles [2]: https://github.com/Conni2461

How to Install micromamba on linux (from the comamnd line only)

I really like using conda (miniconda) as my python virtual environment [1] manager of choice. It’s simple and it includes its own python interpreter using the version that I specify at creation. Mamba # [2] from their readme [3] --- Mamba is a reimplementation of the conda package manager in C++. - parallel downloading of repository data and package files using multi-threading - libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE - core parts of mamba are implemented in C++ for maximum efficiency At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible. --- Installing Micromamba # [4] Similar to miniconda micromamba can be installed with a few lines of bash wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba ./bin/...
Check out nvim-treesitter [1] and their project nvim-treesitter-textobjects [2]. No description available. References: [1]: https://github.com/nvim-treesitter [2]: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
telescope-project.nvim [1] by nvim-telescope [2] is a game-changer in its space. Excited to see how it evolves. No description available. References: [1]: https://github.com/nvim-telescope/telescope-project.nvim [2]: https://github.com/nvim-telescope
I came across lspsaga.nvim [1] from nvimdev [2], and it’s packed with great features and ideas. improve neovim lsp experience References: [1]: https://github.com/nvimdev/lspsaga.nvim [2]: https://github.com/nvimdev
rmagatti [1] has done a fantastic job with auto-session [2]. Highly recommend taking a look. A small automated session manager for Neovim References: [1]: https://github.com/rmagatti [2]: https://github.com/rmagatti/auto-session

Vim Wsl Clipboard

I’ve long used neovim from within windows wsl, and for far too long, I went without a proper way to get text out of it and into windows. wsl has access to cmd applications # [1] wsl can access clip.exe. You can do some cool things with it, such as cat a file into the clipboard, sending output from a command to the clipboard, or set an autocmd group in vim to send yank to the windows clipboard. using clip.exe # [2] Let’s say you want to send a teammate the tail of a log file over chat. You can tail the file into clip.exe. tail -n 1 info.log | clip.exe pipe streams of text into clip.exe make it a bit more natural # [3] I recently made mine feel a bit more natural by aliasing it to clip. alias clip=clip.exe pop this in your ~/.bashrc or ~/.zshrc yanking to windows clipboard from vim # [4] I use neovim as my daily text editor and its a pain to share code with a teammate over chat, stack overflow, into a gist, or whatever you need. The following snippet has been quite useful ...
I’m impressed by onebuddy [1] from Th3Whit3Wolf [2]. Light and dark atom one theme References: [1]: https://github.com/Th3Whit3Wolf/onebuddy [2]: https://github.com/Th3Whit3Wolf
I’m impressed by awesome-streamerrc [1] from awesome-streamers [2]. Dotfiles for various streamers on Twitch. References: [1]: https://github.com/awesome-streamers/awesome-streamerrc [2]: https://github.com/awesome-streamers
If you’re into interesting projects, don’t miss out on telescope-fzf-native.nvim [1], created by nvim-telescope [2]. FZF sorter for telescope written in c References: [1]: https://github.com/nvim-telescope/telescope-fzf-native.nvim [2]: https://github.com/nvim-telescope
Looking for inspiration? ltreesitter [1] by euclidianAce [2]. Standalone tree sitter bindings for the Lua language References: [1]: https://github.com/euclidianAce/ltreesitter [2]: https://github.com/euclidianAce
I’m impressed by hop.nvim [1] from hadronized [2]. Neovim motions on speed! References: [1]: https://github.com/hadronized/hop.nvim [2]: https://github.com/hadronized
I’m impressed by gitmux [1] from arl [2]. 💻 Git [3] in your tmux status bar References: [1]: https://github.com/arl/gitmux [2]: https://github.com/arl [3]: /glossary/git/
Check out bidict [1] by jab [2]. It’s a well-crafted project with great potential. The bidirectional mapping library for Python. References: [1]: https://github.com/jab/bidict [2]: https://github.com/jab
photopea [1] by photopea [2] is a game-changer in its space. Excited to see how it evolves. Photopea is online image editor References: [1]: https://github.com/photopea/photopea [2]: https://github.com/photopea
I’m really excited about lolcat [1], an amazing project by tehmaze [2]. It’s worth exploring! Rainbows and unicorns (without Ruby! jay!) References: [1]: https://github.com/tehmaze/lolcat [2]: https://github.com/tehmaze
I’m really excited about bubbles [1], an amazing project by charmbracelet [2]. It’s worth exploring! TUI components for Bubble Tea 🫧 References: [1]: https://github.com/charmbracelet/bubbles [2]: https://github.com/charmbracelet
Check out charmbracelet [1] and their project lipgloss [2]. Style definitions for nice terminal layouts 👄 References: [1]: https://github.com/charmbracelet [2]: https://github.com/charmbracelet/lipgloss
plenary.nvim [1] by nvim-lua [2] is a game-changer in its space. Excited to see how it evolves. plenary: full; complete; entire; absolute; unqualified. All the lua functions I don’t want to write twice. References: [1]: https://github.com/nvim-lua/plenary.nvim [2]: https://github.com/nvim-lua

Pytest capsys

Testing print/log statements in pytest can be a bit tricky, capsys makes it super easy, but I often struggle to find it. capsys # [1] capsys is a builtin pytest fixture that can be passed into any test to capture stdin/stdout. For a more comprehensive description check out the docs on capsys [2] using capsys # [3] Simply create a test function that accepts capsys as an argument and pytest will give you a capsys opject. def test_print(capsys): print('hello') captured = capsys.readouterr() assert 'hello' in captured.out print('world') captured = capsys.readouterr() assert 'world' in captured.out References: [1]: #capsys [2]: https://docs.pytest.org/en/stable/capture.html#accessing-captured-output-from-a-test-function [3]: #using-capsys
1 min read
I’m impressed by kedro-diff [1] from WaylonWalker [2]. quickly diff kedro history References: [1]: https://github.com/WaylonWalker/kedro-diff [2]: https://github.com/WaylonWalker
I like ThePrimeagen’s [1] project git-worktree.nvim [2]. No description available. References: [1]: https://github.com/ThePrimeagen [2]: https://github.com/ThePrimeagen/git-worktree.nvim
Check out nvim [1] by kuator [2]. It’s a well-crafted project with great potential. There are many neovim configurations, but this one is mine… References: [1]: https://github.com/kuator/nvim [2]: https://github.com/kuator
Looking for inspiration? awsimple [1] by jamesabel [2]. Simple API for basic AWS services References: [1]: https://github.com/jamesabel/awsimple [2]: https://github.com/jamesabel

Building Rich a Dev Server

Draft Post I’ve really been digging [1]@willmcgugan [2]’s rich [3] library for creating TUI like interfaces in python. I’ve only recently started to take full advantage of it. Dev Server # [4] I am working on a project in which I want to have a dev server running continuously in the background. I really like dev servers theat automatically chooose an unused port and list out the running pid so that I can kill it if I need to. - automatic port number - auto-restart - display ( port, pid, uptime ) finding the port # [5] I am very novice at best when it comes to sockets, the following function came from searching StackOverflow for how to tell if a port is in use. I recursively check if a port is being used, if it is I increment by one until I find an unused port to return. def find_port(port=8000): """Find a port not in ues starting at given port""" import socket with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: if s.connect_ex(("localhost", port)) == 0: retur...
Looking for inspiration? telescope.nvim [1] by nvim-telescope [2]. Find, Filter, Preview, Pick. All lua, all the time. References: [1]: https://github.com/nvim-telescope/telescope.nvim [2]: https://github.com/nvim-telescope
If you’re into interesting projects, don’t miss out on harpoon [1], created by ThePrimeagen [2]. No description available. References: [1]: https://github.com/ThePrimeagen/harpoon [2]: https://github.com/ThePrimeagen
The work on maggieappleton.com [1] by MaggieAppleton [2]. ⚠️ Now retired. My previous, poorly constructed digital garden built with Gatsby and MDX. Updated garden here: https://github.com/MaggieAppleton/maggieappleton.com-V2 References: [1]: https://github.com/MaggieAppleton/maggieappleton.com [2]: https://github.com/MaggieAppleton
Check out tmate-io [1] and their project tmate [2]. Instant Terminal Sharing References: [1]: https://github.com/tmate-io [2]: https://github.com/tmate-io/tmate
The work on cookiecutter-data-science [1] by drivendataorg [2]. A logical, reasonably standardized, but flexible project structure for doing and sharing data science work. References: [1]: https://github.com/drivendataorg/cookiecutter-data-science [2]: https://github.com/drivendataorg

Site Down During Build

Recently I noticed a new netlify site of mine was down while I was checking to see if new content was live. Later found out this was consistent after each and every push the site would go gown as soon as I hit push, and would not come back until the build finished. Is this normal? # [1] Do other Netlify sites go down during build??? Short Answer NO. All of my google fu lead me to believe I was alone and none of my other sites do this. Digging into my build # [2] My deploy script ends with the following. After resetting keys and watching it build half a dozen times I determined that everything was working as normal here. - name: Deploy to Netlify uses: nwtgck/[email protected] with: publish-dir: "./markout" production-branch: markout production-deploy: true deploy-message: "Deploy markout from GitHub Actions" env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} Opening the Nelify Console # [3] After poking at t...

Kedro pipeline_registry.py

With the realease of kedro==0.17.2 came a new module in the project template pipeline_registry.py. Here are some notes that I learned while playing with this new module. migrating to pipeline_registry.py # [1] - create a src/<package-name>/pipeline_registry.py file create a - register_pipelines function in pipeline_registry.py that mirrors the - register_pipelines method from your hooks.py module do not bring the - hook_impl decorator remove register_pipelines method on your ProjectHooks - class You should now have something that looks like this in your src/<package-name>/pipeline_registry.py. """Project pipelines.""" from typing import Dict from kedro.pipeline import Pipeline def register_pipelines() -> Dict[str, Pipeline]: """Register the project's pipelines. Returns: A mapping from a pipeline name to a ``Pipeline`` object. """ return {"__default__": Pipeline([])} pipeline_registry only works in kedro>=0.17.2 Conflict Resolution # [2] What happens If I register p...
Check out smitajit [1] and their project bufutils.vim [2]. bufutils.vim provide utilities to open, close, refresh, move, resize, zoom buffers faster References: [1]: https://github.com/smitajit [2]: https://github.com/smitajit/bufutils.vim
I like Rigellute’s [1] project spotify-tui [2]. Spotify for the terminal written in Rust 🚀 References: [1]: https://github.com/Rigellute [2]: https://github.com/Rigellute/spotify-tui
I like swyxio’s [1] project technical-community-builders [2]. companies hiring technical community builders References: [1]: https://github.com/swyxio [2]: https://github.com/swyxio/technical-community-builders
Just starred Minyus [1] by Minyus [2]. It’s an exciting project with a lot to offer. No description available. References: [1]: https://github.com/Minyus/Minyus [2]: https://github.com/Minyus
I like uranusjr’s [1] project simpleindex [2]. No description available. References: [1]: https://github.com/uranusjr [2]: https://github.com/uranusjr/simpleindex
I came across lorenabalan [1] from lorenabalan [2], and it’s packed with great features and ideas. Personal repo References: [1]: https://github.com/lorenabalan/lorenabalan [2]: https://github.com/lorenabalan
I came across vim.wasm [1] from rhysd [2], and it’s packed with great features and ideas. Vim editor ported to WebAssembly References: [1]: https://github.com/rhysd/vim.wasm [2]: https://github.com/rhysd
I recently discovered de1-python [1] by dataengineerone [2], and it’s truly impressive. Curated collection of DE1’s favorite kedro pieces. References: [1]: https://github.com/dataengineerone/de1-python [2]: https://github.com/dataengineerone
I recently discovered markserv [1] by markserv [2], and it’s truly impressive. 🏁 serve markdown as html [3] (GitHub style), index directories, live-reload as you edit References: [1]: https://github.com/markserv/markserv [2]: https://github.com/markserv [3]: /html/
facelessuser [1] has done a fantastic job with pymdown-extensions [2]. Highly recommend taking a look. Extensions for Python Markdown References: [1]: https://github.com/facelessuser [2]: https://github.com/facelessuser/pymdown-extensions