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 →
This is handy to prevent typos because this option will halt your script as soon as an unset variable is found.
This is really handy to avoid having to add a source path as a comment or ignore SC1091 every time you source a file.
You can use this workflow to help convert feature requests, user stories and vague ideas into fully working code.
If I'm trying to research something or solve a specific problem I typically reach for the same resources with different search terms.
Even if you're using a Bash shebang you can run ShellCheck with the --shell flag to supply a different shell to check against.
This could be useful to locally rewrite history before pushing your changes up or before making a pull request.
Even if you plan to use set -e it feels like a reasonable idea to add this to most cd commands you use in a script.
Here's a recap of a few things that went wrong around pushing invalid Python packages while maintaining Flask-DebugToolbar.
This is handy when you configured your Dockerfile to run as a non-root user but you need to temporarily debug or test something out.
Reading comprehension is a valuable skill to practice as a software developer. Break down paragraphs into sentences and then words.
This can be really handy to set up a few mappings to toggle spell check, relative line numbers, white space characters and more.
More specifically a bare bones health check and another separate check that connects to databases and other services you might have.
Sometimes quickly copying a file's relative path is exactly what you need. Here's one way to do that.
Docker Compose up by itself is smart enough to only recreate containers that need to change based on a new image or env variable.
This is a quick and dependable way to make sure your load balancer or web server is serving the correct certificate.
We're going to look at a Phoenix LiveView app for this example but this applies to any web app using any web framework.
Sometimes it's useful to run parallel jobs and wait until they all finish before moving on, we can easily do this on the command line.
These 12 methodologies help you build flexible and resilient web applications with any tech stack.
I recently upgraded to the latest major release of the Terraform EKS module, got a little stuck and opened a PR to clarify things.
I tend to use what's in muscle memory for running adhoc commands in a terminal but long flags when writing scripts or documentation.
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.