Looking for inspiration? vim-matchup by andymass. vim match-up: even better % 👊 navigate and highlight matching words 👊 modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
Published
All published posts
2717 posts
latest post 2026-11-11
Publishing rhythm
treesitter-unit by David-Kunz is a game-changer in its space. Excited to see how it evolves. A Neovim plugin to deal with treesitter units
Running your Kedro Pipeline from the command line
Running your kedro pipeline from the command line could not be any easier to get started. This is a concept that you may or may not do often depending on your workflow, but its good to have under your belt. I personally do this half the time and run from ipython half the time. In production, I mostly use docker and that is all done with this cli. https://youtu.be/ZmccpLy-OEI What is Kedro 👆 Unsure what kedro is? Check out this post. Kedro run To run the whole darn project all we need to do is fire up a terminal, activate our environment, and tell kedro to run. Specific Pipelines Running a sub pipeline that we have created is as easy as telling kedro which one we want to run. Single Nodes While developing a node or a small list of nodes in a larger pipeline its handy to be able to run them one at a time. Besides the use case of developing a single node I would not reccomend leaning very heavy on running single nodes, let the DAG do the work of figuring out which nodes to run for you. So…
kedro Virtual Environment
Avoid serious version conflict issues, and use a virtual environment anytime you are running python, here are three ways you can setup a kedro virtual environment. https://youtu.be/ZSxc5VVCBhM conda venv pipenv conda I prefer to use conda as my virtual environment manager of choice as it give me both the interpreter and the packages I install. I don’t have to rely on the system version of python or another tool to maintain python versions at all, I get everything in one tool. stores environment in a root directory i.e. conda can use its own way to manage environments the python interpreter is packaged with the environment virtualenv Virtual env (venv) is another very respectable option that is built right into python, and requires no additional installs or using a different distribution of pytyhon. environments are typically stored in the project directory does not package the interpreter pipenv Pipenv is another virtual enviroment tool that comes with its own system for managing depen…
I’m impressed by circles.nvim from projekt0n. uniform icons for neovim
Kedro Install
Kedro comes with an command to install and manage all of your projects dependencies. https://youtu.be/IWimEs-hHQg cd into your project directory and activate env You must start by having your kedro project either cloned down from an existing project or created from kedro new. Then activate your environment. Kedro New this post covers kedro new kedro Virtual Environment This post covers creating your virtual environment for kedro install kedro Make sure you have kedro installed in your current environment, if you dont already have it. pip-tools Kedro uses the package under the hood to pin dependencies in a very robust way to ensure that the project will continue to work on everyone’s machine day, including production, day in and day out. No matter what happens to the dependencies you have installed. pip-compile The command that kedro uses from is. It will look at what you have in a file, compile the dependencies down to exact versions, and create a requirements.txt that is fully pinned…
Kedro Git Init
Immediately after, before you start running or your first line of code the first thing you should always do after getting a new kedro template created is to. https://youtu.be/IGba3ytf_6U git init Its as simple as these three commands to get started. I don’t care if this project is for learning, if it will never have a remote or not, use git.
Kedro New
https://youtu.be/uqiv5LAiJe0 Kedro new is simply a wrapper around the cookiecutter templating library. The kedro team maintains a ready made template that has everything you need for a kedro project. They also maintain a few kedro starters, which are very similar to the base template. What is Kedro Unsure what kedro is, Check out yesterdays post on What is Kedro. pipx I reccomend using when running kedro new. is designed for system level cli tools so that you do not need to maintain a virtual environment or worry about version conflicts, manages the environment for you. The kedro team does not reccomend in their docs as they already feel like there is a bit of a tool overload for folks that may be less familiar with I like using as it gives you better control over using a specific version or always the latest version, unlike when you run what you have on your system depends on when you last installed or upgraded. Kedro New The kedro team also has a set of starters, by passing in you ca…
Check out AckslD and their project nvim-neoclip.lua. Clipboard manager neovim plugin with telescope integration
What is Kedro
Kedro is an unopinionated Data Engineering framework that comes with a somewhat opinionated template. It gives the user a way to build pipelines that automatically take care of io through the use of abstract that the user specifies through entries. These entries are loaded, ran through a function, and saved by. The order that these are executed are determined by the, which is a DAG. It’s the ’s job to manage the execution of the. https://youtu.be/Wf4rnFsaFFU What is Kedro This is an updated version of my original what-is-kedro article Hot Take If you are doing a series of operations to data with python, especially if you are using something as supported as pandas, you should be using a framework that gives you a pipeline as a DAG and abstracts io. Orchestrators Like I said, is unopinionated it does determine where or how your data should be ran. The kedro team does support the following Orchestrators with very little add on to the base template. Argo Workflows Prefect Kubeflow Workflow…
How I Kedro
https://youtu.be/bw5_FWDVRpU Ubuntu I recently switched over to using Ubuntu, it works well pretty much out of the box for me. I am using gnome with a dark theme. Gnome Terminal I am still using the built in default gnome terminal, it just works. It does all the things that I need it to do. It supports transparency renders my fonts and allows me to highlight things well. One Dark Theme dotfiles You can find my dotfiles on github. Feel free to read through and take anything that you find useful. I would encourage you not to steal them, but to integrate the parts that you want into your own dotfiles. dotfiles are a very personal thing. They are an extension of ones fingertips designed for how you think and type. zsh I use zsh as my default shell. I like to use it as my interactive shell. It works, and does a bit better with things like tab completion out of the box. starship I use the starship prompt for my shell. It works well out of the box. It looks good and includes all of the inform…
tmux show-messages
https://youtu.be/LLk94fKpGg4 As we push the limits of tmux further and further you are bound to end up in a situation where you are mashing down a hotkey and it’s just not doing what you want it to do, and you have no idea why. is a tmux command that can be used to show what tmux is actually doing behind the scenes. This might highlight any hot key conflicts you might have in your. man page for show-messages In case you wnat more information about show-messages, here is the man page. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
tmux ta
https://youtu.be/nT0FA1RNZEs Now your creating, jumping, and killing sessions like a boss. You are slicing through projects with ease, let me show you one more thing that can be the cream on top of this silky smooth setup we have been working towards. Chris Toomey’s Tmux Course This script is simply my fork of Chris Toomey’s script straight out of his course. It helps us create or jump to project specific sessions with ease. a directory of projects My version of the script will let you pass it a directory, and it will give you a fuzzy popup. setting up a keybinding default layout By default I have my projects open with a vertical split, vim is on top, with my file finder open and the lower split is set to just my terminal. This is what I do 90% of the time that I open a project anyways. More projects I also have a directory setup that is a symlink-gallery of all of my projects, both private and public. This makes it easy to have one key that lets me see all of my projects. https://wayl…
tmux display-message
https://youtu.be/utfLA6L8o5s You’ve got some long running tasks, and you’re trying to stay productive and knock tasks off that board, but you keep finding that your processes finish and you stay on other tasks for longer than you should. You were in the flow and just did not check back in on it. With you can send yourself a notification when that long running task is complete. from the man page Here is a snippet of from the tmux man page. I rarely need to do anything other than just display message, but there are other flags for it. notifier With we can do things like setup notifications that will work cross platform. Without setting the target-pane defaults to the active pane. This is a very handy feature that allows us to switch windows, or sessions and still recieve the message. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
If you’re into interesting projects, don’t miss out on python_code_tips, created by heathdbrown. No description available.
killing tmux
https://youtu.be/QWPyYx54JbE Now it’s time to switch gears, we are onto a different part of our day and there are just too many sessions running and we need to clean up shop. kill-server One viable option is to nuke the whole dang thing. I actually do this more than you might think. save and commit your work diligently before kill-session A more reasonable option might be to kill a single session. choose-tree Killing sessions one by one from the command line can be a bit tedious, and involve more keystrokes than necessary. Another option built right into tmux is. By default is bound to, that’s pressing control+b then s. Once you are in, you can navigate around with your configured navigation scheme, press to kill a session, or pane or window then to confirm. You can also batch delete by tagging items with t, and killing them all at once with. tmux choose-tree check out this post for a bit more information on choose-tree fuzzy matcher Here is my preferred way, using a fuzzy matcher. I r…
tmux has-session
https://youtu.be/XucVVgGmesM I see you there, trying to script out your tmux layouts. Tryig to get each project setup just perfect with a script, but you keep stumbling over yourself with error messages The tmux command is a handy tool to prevent this error message when scripting your tmux layouts. command line The command is pretty straight forward, you simply ask tmux if the session name you are looking for exists. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
I’m impressed by htmx from bigskysoftware. </> htmx - high power tools for HTML
tmux list-keys
https://youtu.be/Y1MYmL8ZolE Tmux list keys can be a useful tool to help remind you of what kebindings you have setup. You can search for them and scroll just like in tmux copy-mode. command line You can call list-keys from the command line but the interface is not very usable by itself. It might be nice to mix with grep or a pager in some circumstances. tmux command line Running from within the tmux command line puts you into a much more pleasant. default keybinging By default tmux comes with bound to prefix+?. list-keys man page You can see the additional flags provided by tmux in the man page for. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
tmux status-bar
https://youtu.be/mvgM8UH11_U The tmux status bar can be a handy tool to remind yourself where you are within tmux. It can also include a bunch of system information like battery status, cpu, mem, whatever you can get from the command line. Honestly I like to keep it minimal, and actually keep it turned off most of the time. I find that it helps a little bit for others to follow along if I keep it on in certain circumstances. show the status bar You can set a hotkey to show or hide the status bar. setting the background transparent I really want a minimal status bar with very little bling, I want it to get out of the way an not draw too much attention, so step one is to set the background to transparent. setting default colors I want my status bar to somewhat match the rest of my theme, so I set the default foreground as magenta and the default background as transparent. my status bar Honestly I set this up quite awhile ago, and it does everything I need it to for now. It shows me the c…
Calendar data could not load. Try again.