Guides · Archive

2025

  1. Deploying Jenkins with infrastructure as code (IaC) Introduction Many guides start by showing how to build an application locally, but entirely omit guidance for deploying that application to a production environment – often because each organization has unique needs/preferences for a production deployment. In contrast, this initial guide will create a “walking skeleton” of a production-like Jenkins deployment. In more words, this guide will describe not only how to run Jenkins on your local machine, but also how to configure all the tooling required to provision a cloud server, deploy Jenkins on that server, and make the instance available to the world wide web.
  2. The emoji that broke my file uploads Detect Unicode characters outside the Basic Multilingual Plane (e.g. emoji) with one line of Python.
  3. Removing stopped Docker containers A one-line shell command to clean up old, discarded containers
  4. Exploring Git’s built-in website Git ships with a built-in web interface for a code repository. Here’s how to set it up!
  5. Python Script Output Redirection Integrate Python scripts into the Unix philosophy

2024

  1. Search GitHub Issues by label prefix, suffix, and contains On the new GitHub Project Boards, you can use wildcard characters to search issue labels.1
  2. Finding Python performance problems 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 decorator which will add profiling metrics to the decorated function:
  3. Using Quasar in a custom Vue component library How to build a Vue component library that uses Quasar internally, including testing with Storybook.
  4. Creating a custom Vue component library with Storybook and Vitest 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 share custom components. A large project which is hard to test. This comprehensive, step-by-step guide1 will take you from a new, empty folder all the way to a fully-functional component library with robust automated testing tools which follow software engineering best practices. The techniques described here are neither theoretical nor a mere “proof-of-concept” – they have been used successfully in critical production applications.

2023

  1. Automatically merging trusted pull requests on GitHub You can increase development velocity by automatically merging pull requests from individuals or bots you trust. Here’s how… Enable Allow auto-merge pull requests in repository settings The default settings for GitHub repositories block auto-merging any Pull Requests. This is a beneficial security measure which makes it harder for untrusted actors to integrate malicious code into your repository.

Years