Grailbox

Hijacked by Malware: My Wife's Perpetual Search Woes

I’ve used Macs since 2004. I’ve never gotten a virus. I’ve never had a virus try to trick me into installing it. I’ve never sniffed any malware on any of my Macs, and Friends was still on the air when I started using Macs. The Curse of the Bambino hadn’t been …

Read more →

Use FZF to Show the Contents of an AWS S3 Object

Once you discover fzf, you want to use it everywhere. It’s clean, powerful, and versatile. In this post, I show you how to use fzf to display the contents of a file in S3. Dependencies fzf AWS Command Line Interface (CLI) An AWS account One or more S3 buckets …

Read more →

Git GUIs: A Tale of Two Source Models

I’ll confess: I use a GUI for Git. Not always, and not even most of the time. The CLI is usually quicker, and I’m usually in the terminal anyway, but yet I also use a GUI. Why? Primarily for reviewing diffs and history, or for performing rarely used …

Read more →

JavaScript Destructuring: Renaming AND Nesting

While addressing some linter issues today, I couldn’t figure out how to destructure from a JavaScript object while: Renaming a field and Destructuring nested fields from that same field Renaming, I could do. Nested fields, no problem. But to do both, for the …

Read more →

How to Set Up a Domain in Amazon Route 53 with Terraform

Edit: Oct 12, 2021 Please note the comment by Chris Harrison, below, regarding a breaking change with lists vs sets. Original Start: I’ve lately used Terraform to set up several domains in Route 53. My searches on the topic found posts more ambitious than this …

Read more →

Trying to Get My NZXT Kraken X52 to Light Up

If you read through to the end of my The Ultimate Linux Developer Desktop 2020 post, instead of just copying the PCPartPicker list, you saw that I couldn’t get my CPU Cooler to light up. It just sat there, reflecting other light sources but providing no light …

Read more →

The Ultimate Linux Developer Desktop 2020

Excuse the hyperbolic title. That’s what I googled when doing my research. My goal: build a blazing machine for developing software using: JavaScript / Node Go Rust Python AWS My late-2013 MacBook Pro is still serviceable, so I didn’t need portability. I’m …

Read more →

Reformatting X12 in Vim

I’ve been working with a lot of ANSI X12 files lately. Often, they come to me formatted either as a single line, or as multiple lines with line breaks at 80 columns. They’re much easier to work with when they’re formatted as multiple lines, but with line …

Read more →

Using fzf and oc to rsh into an OpenShift Pod

Getting a remote shell on an OpenShift pod is simple enough; you type: $ oc rsh <pod name>\ Pod names can be long and complex, however. Here’s an example: mysql-coolapp-5-rg59c\ Only a luddite would willingly type all of that, and mousing around a terminal to …

Read more →

Please Don't Ask Me How I'm Doing

Back in the 1970s, my father and his partner ran a small consulting firm. Their accountant, a man named Morty or Artie or some other name that conjures images of a perm, polyester, and a butterfly collar, charged by the minute. I think each minute cost a …

Read more →