Categories
Development DevOps

Git Rebase Is The Pikmin Of Source Control

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 […]

Categories
Automation

Dynamic Profile And Badge Switching Without Shell Integrations In iTerm2

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 […]

Categories
Automation

How To Create A Custom, Dynamic Inventory Script for Ansible

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 […]

Categories
Containers

Spacewalk–Containerized And Running In Kubernetes

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 […]

Categories
Automation

Tame Your Patreon Shipping Problem With Ansible

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 […]

Categories
System Administration

Fully Automated: DeployStudio Dual Boot

I was recently tasked with deploying dual-boot Macs to all new staff.  Naturally, I wanted this to be as automated as possible so it was repeatable and consistent.  I already knew how to use an answer file to fully-automate the Windows side of the deployment.  And I also knew how to fully automate the Mac […]

Categories
System Administration

How To Make An Automagic Windows 10 Boot Camp Install .pkg

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 […]

Categories
System Administration

Run PJL Commands From A Shell Script

I love learning obscure and under-utilized things in the tech world; PJL commands fit that bill.  You can use PJL commands to get and set printer preferences.  This includes getting the page count, setting the serial number, and changing the LCD display message. I was recently tasked with evaluating our printer usage to determine if […]

Categories
Tips and Tricks

Using Dropbox For An Easy Restore Of All Your Computer’s Settings

Just to be clear, Dropbox isn’t backup software; it’s a syncing service.  If you delete a file and that change is synced, and your file no longer exists. I really love the things you can do with Dropbox.  And since I’m stingy, I wanted to use Dropbox for backing up–and more importantly–restoring my computer. One thing […]

Categories
Tips and Tricks

Roll-your-own Anonymizing Email Server

This post isn’t about a specific security breach, but rather a post to educate you on how to better protect your online identity.  The term “anonymize” is used loosely for lack of a better word. TL;DR Create a unique email address that forwards to your real email for every site you sign up for. Create […]