Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →
Here's one way to support switching between MySQL and MariaDB with an environment variable.
Bash has an x flag or you can use set -x in a script to print a trace of commands and variables. It's really handy!
We'll go over how to do the above as well as auto-remove index gaps after closing a window. Your index counts will always be in order.
Here's how you can change your Vim cursor depending on which mode you're in. It should work with most terminal emulators.
If you've aliased a command with extra flags, once in a while it might be useful to run the raw command. Here's 5 ways to do that.
Here's a video going over how to set up a Shell alias to preview files. It also works out of the box with Vim using the fzf.vim plugin.
You may have a more complicated when condition where it's not obvious on how convert it into a handler. Here's what I did.
This is a live coding video that goes over how I tackle Dockerizing a project without any prior experience with FastAPI.
I made the switch from Bash to Zsh, and with that I made a dotfiles install script that works on most Linux distros and macOS.
Braces are often optional but they're almost always worth using for consistency, reducing confusion and using certain features.
This command is available on Linux and macOC by default and it lets you template out files with ENV vars to create dynamic config files.
Tailkit has 300+ responsive TailwindCSS UI components, layouts and pages. We'll go over how I'm using it in a few projects.
We'll go over running a few docker-compose.yml files at once, even with custom file names. We'll also use the COMPOSE_FILE env variable.
I recorded every step of the way when updating a bunch of packages and services. From the idea to tweeting out the end result.
Here's 2 ways to re-run a previous command. We'll also cover how to edit a root owned file in Vim without needing to run Vim with sudo.
Here's a Shell script I created to automate a task that used to take a bunch of steps to do manually.
Here's a few patterns I've picked up based on using Docker since 2014. I've extracted these from doing a bunch of freelance work.
In this video we'll go over an example of how writing shell scripts can help save you a lot of time for things you do regularly.
In this video we'll go over 3 pull requests that fix a few deprecation warnings in 3 popular Flask extensions.
This is a plugin for tmux that persists your sessions, windows, panes and more. It's controlled by hotkeys to save and restore everything.
Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.