I like sbidoul’s [1] project hatch-pip-deepfreeze [2].
A hatch virtual environment [3] plugin to lock dependencies with pip-deepfreeze
References:
[1]: https://github.com/sbidoul
[2]: https://github.com/sbidoul/hatch-pip-deepfreeze
[3]: /virtual-environment/
Published
All published posts
2493 posts
latest post 2026-05-11
Publishing rhythm
yazgoo [1] has done a fantastic job with vmux [2]. Highly recommend taking a look.
helper for multiplexing terminals with vim/neovim
References:
[1]: https://github.com/yazgoo
[2]: https://github.com/yazgoo/vmux
Give github actions the -e flag in the shebang #! so they fail on any one
command failure. Otherwise each line will set the exit status, but only the
last one will be passed to ci.
#!/bin/bash -e
What is -e # [1]
The -e flag to the bash command allows your script to exit immediately if any
command within the script returns a non-zero exit status. This can be useful
for ensuring that your script exits with an error if any of the commands it
runs fail, which can help you identify and debug issues in your script. For
example, if you have a script that runs several commands and one of those
commands fails, the script will continue running without the -e flag, but will
exit immediately if the -e flag is present. This can make it easier to
troubleshoot your script and ensure that it runs correctly.
Solution for Windows # [2]
In windows the solution is not quite as simple. You can define a function in a
Windows batch script that wraps an if statement to check the exit status of a
command and handle any errors that may have occurred. Here is an example of how
you might define a function called “check_error” that does this:
:check_error
if errorlevel 1 (
echo An error occurred!
ex...
minecraft documentary
This is my first time journaling a Minecraft hardcore world, my son Wyatt is
also documenting his journey in a survival world on
wyattbubbylee.com [1].
Day 0 # [2]
init
[3]
I logged into a brand new hardcore world. I was welcomed by a great Acacia
biome spawn full of resources. I quickly cut my first tree, crafted an axe and
set out to find my first sheep. I was able to find enough sheep for a bed,
several cows and pigs.
I crafted a set of wooden tools, and farmed out a wheat farm till my wooden
hoed died at the shore of a nearby stream. I found a small stone outcropping
in the side of a hill and harvested nearly a full stack of cobblestone from my
first wooden pick.
I ended the first day by sleeping in my bed safe from mobs.
Achievements # [4]
- bed
- furnace
- stone
- wheat farm
Day 1 # [5]
[6]
Thoughout the course of day one I collected wood and started the framework for
my new house.
Day 2 # [7]
[8]
The sun sets over the new frame of my house on Day 1
Day two...
Looking for inspiration? sshfs [1] by libfuse [2].
A network filesystem client to connect to SSH servers
References:
[1]: https://github.com/libfuse/sshfs
[2]: https://github.com/libfuse
I recently setup some vm’s on my main machine and got sick of signing in with
passwords.
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub virt
Moving panes between tmux sessions is something that makes tmux a very flexible
and powerful tool. I don’t need this feature very often, but it comes in
clutch when you need it.
Pull a pane from any other session # [1]
Using choose-window I was able to come up with a way to select any pane
withing any other session and join it into my current session.
# Choose a pane to join in horizontally
bind f choose-window -Z 'join-pane -h -s "%%"'
Push/Pull from scratch # [2]
I’ve long had this one in my tmux config, I always have a “scratch” session
that I’m running, I often use for looking at things like k9s accross repos
within a popup.
This use case puts a pane into the scratch session, then pulls it back out. I
will use this to move a pane between sessions in the rare cases I need to do
this.
# push the active pane into the scratch session horizonally
bind -n M-f join-pane -ht scratch
# pull the last active pane from the scratch session horizonally into this session
bind -n M-F join-pane -hs scratch
References:
[1]: #pull-a-pane-from-any-other-session
[2]: #pushpull-from-scratch
joehillen [1] has done a fantastic job with sysz [2]. Highly recommend taking a look.
An fzf terminal UI for systemctl
References:
[1]: https://github.com/joehillen
[2]: https://github.com/joehillen/sysz
I like eth-p’s [1] project bat-extras [2].
Bash scripts that integrate bat with various command line tools.
References:
[1]: https://github.com/eth-p
[2]: https://github.com/eth-p/bat-extras