#linux

Customize a Raspberry Pi image without any hardware

Brett Weir 18 min read

Jun 26, 2023 — Preparing SD card images is toilsome and fraught with difficulty, but there's a better way! In this article, I'll show you a method for configuring a Raspberry Pi that doesn't require hardware at all. What!

Read more»

Installing things with style

Brett Weir 8 min read

Mar 27, 2023 — The install command is profoundly useful and profoundly underrated. Learn how this tiny unassuming command can save a ton of scripting and make your installations cleaner and more robust.

Read more»

The apt sandwich

Brett Weir 5 min read Part of the Dockerfile idioms series

Mar 2, 2023 — Learn how to make your Debian-based containers dramatically smaller without having to switch to another base image.

Read more»

Transfer files with ssh

Brett Weir 14 min read

Feb 20, 2023 — Unix tools are designed to be useful in new ways that tool authors don't anticipate. In this article, we'll use ssh to re-create the functionality of scp.

Read more»

Write great command line utilities with Python

Brett Weir 18 min read

Feb 13, 2023 — Learn how to create simple, standalone, useful Python CLI tools to solve even the most mundane infrastructure problems, so that you can start automating everything.

Read more»

Use pyenv for local Python development

Brett Weir 6 min read

Jan 27, 2023 — Learn how to use pyenv to bootstrap isolated Python installations, so that you can have the best of containers and local development.

Read more»

Find missing files in Linux

Brett Weir 7 min read

Jan 9, 2023 — Not every missing file requires a trip to StackOverflow. With a little knowledge of your system, you can often troubleshoot problems faster and without leaving the terminal.

Read more»