My Blog Posts

Grepping Python Version Sometimes Fails

Posted on
Another quick one. I was recently trying to verify that the Python version I expect to be installed actually was while in a CI environment. The command python --version | grep "<version>" does the job…. most of the time. I found out that for some reason, Python 2 outputs the version info to stderr instead of stdout. This meant that my grep check would fail even when the Python version was correct. continue reading β†’

Forking pyenv Part 2: Creating a Baseline

Posted on

Whenever I start a significant amount of work on a codebase, I like to push up to GitHub a baseline branch. I’ve written about this before but to summarize, I like to get the lay of the land before I start creating changes. This allows me to build confidence in the CI process and makes debugging future problems easier.

With forking pyenv, I decided it would be smart to create a solid baseline here as well. Here’s what I did.

continue reading β†’

Starbucks WiFi Not Working? Using Tailscale?

Posted on

Here’s a really quick one I wanted to share. Today I rode to Starbucks to get a nice weekend work session in. I’m working on some fun stuff such as Pungi, Revidian Auto, etc. I logged in to my MacBook Pro, connected to “Starbucks WiFi”, and the WiFi login/redirect screen never popped up. This happens on occasion and there’s a few troubleshooting steps you can do to fix it. I won’t go over them here (let me know in the comments if you want me to) but I will go over how I fixed this weird Tailscale and captive portal issue.

continue reading β†’

Forking pyenv Part 1: A Learning Exercise

Posted on

pyenv is a very popular Python version manager that is maintained by people who are most certainly more knowledgable in Python than I am. So I decided I am going to fork the project all by myself. πŸ˜„ It may sound silly but I actually have some practical use cases that can come from this exploratory fork. I decided that I’ll document my journey with this project as I go. Let’s start with part 1, the “why”.

continue reading β†’

Stable to Oldstable, the Quick Debian 10 Apt Fix

Posted on
During my day job at CircleCI, I’ve noticed more and more users running into an issue. With the recent release of Debian 11 “Bullseye”, the maintainers made a change to the Debian 10 repositories that is causing a breaking issue. The Error Here’s the error you’d see: | InRelease’ changed its ‘Suite’ value from ‘stable-updates’ to ‘oldstable-updates The Fix To fix it, you just need to run: apt-get update --allow-releaseinfo-change continue reading β†’

Import Public SSH Keys From GitHub

Posted on

Here’s a quick one.

Recently I needed to give one of my co-workers access to my personal Linux server. SSH felt like the easiest way to do that but I needed his public key. GitHub makes that easy.

continue reading β†’

Install Minecraft on Ubuntu

Posted on

I tried doing this today and ran into a small hitch. The official Minecraft website gives you a .deb file to install. No package manager or instructions. A couple blog posts I found had instructions that worked, but gave instructions which I felt were too long or installed unnecessary things.

Here’s how to install Minecraft Java Edition on Ubuntu, short and sweet.

continue reading β†’

Introducing arc: A Helpful CircleCI and GitHub tool

Posted on

I use CircleCI, GitHub, and git pretty much daily. Even on the weekends. So, I’m always coming up with ways I could make my life easier and small tasks faster. This is where arc comes in. Small features to make the daily workflow a little bit better.

continue reading β†’

Breaking up With Linux Snaps

Posted on

The honeymoon period is over and quite frankly, I’m done with Linux Snaps.

I’ve been an intrigued fan of Snaps for about 4 years and have been a Snap developer for about 3. It’s on the development side where love has been lost. Here’s why.

continue reading β†’

Keep the Bits Flowing, Get Ubuntu 21.04 β€œHirsuit” via Torrent

Posted on
Congratulations to everyone who worked on and shipped Ubuntu 21.04 “Hirsuit Hippo”. A special thanks to Martin Wimpress who recently left Canonical and Alan Pope who will be at the end of this month. Both men put enormous amounts of time into the community from inside and out of Canonical. This is in addition to the superb Ubuntu Podcast they put out every week. Thank you gentlemen for your service. continue reading β†’
< Newer Posts Older Posts >