git isn’t easy to learn, and once you do, the git rebase command seems to invoke fear and confusion in many people. But once you learn how to use it effectively, you’ll wish you had learned it sooner–both for your solo projects and while working on a fast moving development team.
I’m going to use Pikmin to describe git rebase for you. Not only will it make things fun, but it also expertly illustrates what you’ll be doing with your code: manipulating it to achieve a certain goal, just like you’d do in the video game.
I use iTerm2 for all my terminal work. One very nice feature it has is dynamic profiles. But I usually don’t want to install shell integrations on every server. Instead, I use my dotfiles and an SSH config to change profiles. While working across different local, development, and production systems, it’s helps my mental state to know when I’m on a dev or prod system. I have my system setup so when I:
SSH to a local vagrant box, my terminal turns purple
Writing a dynamic inventory script for Ansible can be useful for more than just getting a list of hosts to run a play against. It can also function as a standalone command line utility for your infrastructure.
The first time I wrote one, I had a difficult time finding information on how to actually do it so I wanted to write about how to make one and then show an example of how it can be extended beyond a simple inventory script by adding additional flags to the scripts.
Spacewalk is a decent open source project for patch management but there is no native support for running it in a container. I’m a fan of Spacewalk and use it daily but it falls short in a few areas–namely, it’s a large monolithic application, which I’m not a fan of. I thought it could benefit from running in a container and on Kubernetes.
This blog post explains how you can run Spacewalk 2.8 or 2.9 in Kubernetes and how I accomplished it. Whether or not you should, is a question you need to answer yourself after reading through this. The work I’ve done is all in a repo and I have images created on DockerHub (for Spacewalk v2.8 and v2.9) or you can generate them yourself from the provided Dockerfiles: Continue reading “Spacewalk–Containerized And Running In Kubernetes”
My work on the Pi-hole project led me to a start a Patreon page. Like many creators, I spent a while determining what rewards users would want. But unlike most users, I did not have a problem fulfilling orders.
Apparently, this is a big problem: project creators spend more time shipping and fulfilling orders than actually working on their project. But for me, fulfilling the orders my patrons took me all of 5 minutes. In this post, I’ll explain how I did it using an API. Continue reading “Tame Your Patreon Shipping Problem With Ansible”
I spent a long time trying to automate a dual-boot deployment of macOS and Windows 10. The reason being is that it’s very useful to only buy a single piece of hardware (Apple) and have it run Windows and macOS (and maybe Linux, too). But getting two completely different operating systems to deploy to a single piece of hardware in an automated fashion is a challenge.
I was recently tasked with evaluating our printer usage to determine if we could save money by removing low-usage printers. Like many companies, the majority of our printers were HPs, and we were on a tight budget, so something like Papercut was out of the question. I also wasn’t about to go around to each printer and print out the usage report, nor did I want to enter the Web interface of every printer to manually get this information. Continue reading “Run PJL Commands From A Shell Script”