Grailbox

Fridge Door Part 2: Building a Service in Rocket and Rust

This article is part 2 in a multipart series that makes a message board using a Raspberry Pi and a Tidbyt. Here are the parts in the series: Describe what we’re building (Part 1) Create a ReST service using Rocket (this article). Create a React application to …

Read more →

Set Upstream Branch for Git

Update 8/17/2022: I just learned about the new git setting: push.autoSetupRemote – I learned it from here, and so can you! You’ve seen it many times: There is no tracking information for the current branch. Please specify which branch you want to rebase …

Read more →

Supercharging asdf with FZF

Update (August 12, 2022): Just noticed this commit that changes the output format for the current version in asdf list – updated accordingly. Update (August 11, 2022): I’ve added more intelligent version sorting and support for asdf’s “latest” alias in both …

Read more →

Displaying Your Kitty Theme Colors

Update (12/15/21): So I hadn’t updated kitty in awhile, and now themes are built in. Everything is mostly the same, except that the file containing your colors has a different name. And you don’t have to install kitty-themes. I’ve updated accordingly. Nothing …

Read more →

Insert UUIDs in Vim / Neovim

In my forays with Deequ, I found myself frequently inserting UUIDs into test JSON files. Although Online UUID Generator worked for this purpose, copy-pasta between browser and editor started to feel clunky. Time to create a key mapping in Vim. I targeted …

Read more →

Switch Among Java Versions: FZF and SDKMAN!

The bang in the subject belongs to SDKMAN!, not me. It’s a tool for managing versions of various Java-world tools. Think nvm for Java, Maven, Groovy, et al. I’ve been back in Java world lately for work, using Apache NiFi to create RDF Triples and push to …

Read more →

Using sed to Update Markdown Headers

I’m in the process of migrating an existing set of markdown documents to an internal Docusaurus blog. The markdown-to-html rendering with Docusaurus has proved decidedly less forgiving than our existing renderer, so I’ve been running the markdown files through …

Read more →

The Lambda function result failed validation

I’ve been working with Lambda@Edge a lot lately. Throwing compute to the edge of a CloudFront distribution is handy for things like authorizing requests. Development can be frustrating, however, with slow turnaround times for changes. Usual strategies apply, …

Read more →