How to remove all stopped Docker containers
TL;DR docker rm $(docker ps -a | grep Exited | cut -d " " -f 1) How it works Recently, I forgot to include --rm when running a bunch of throwaway containers, so my system was cluttered with load...
TL;DR docker rm $(docker ps -a | grep Exited | cut -d " " -f 1) How it works Recently, I forgot to include --rm when running a bunch of throwaway containers, so my system was cluttered with load...
Today I learned that Git ships with a built-in web interface for a code repository. Here’s how to set it up! Open a terminal Navigate to a Git repository on your computer Start the instaweb...
“Write programs to handle text streams, because that is a universal interface.” – Doug McIlroy, the inventor of Unix pipes (source) Today, for the Nth time I got stuck while trying to redir...
Solved a really involved bug today… Some of our B2B customers were unable to email invoices to their clients, delaying incoming payments. My coworker traced the problem to the built-in Python fun...
Every product management course I have taken emphasizes the importance of writing down the attributes of your target customer (aka a “user persona”) to guide product development. But three recent p...
On the new GitHub Project Boards, you can use wildcard characters to search issue labels. label:"prefix*" // i.e. Label starts with label:"*suffix" // i.e. Label ends with label:"*contains*" //...
New developers often ask me how they can start contributing to open-source software. My typical recommendations are succinct: start small, contribute to what you use, follow the project’s CONTRIBUT...
When a Python program is running too slowly, use a profiler to measure which parts of the code are hurting performance the most. Measure Code Performance with cProfile Start by writing a decorato...
Quasar is a popular Vue framework with a large component library and best-in-class support for building apps for web/mobile/browser extension/electron/etc. from the same codebase. Yet, despite sign...
Many developers are familiar with using a component library (e.g. Vuetify, Quasar, PrimeVue, etc.), but there comes a time when it’s useful to create your own. Multiple projects which should sha...