Category: Development

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...

Installing Go 1.12 on MacOS High Sierra

Go 1.12 was released three days ago (Feb 25, 2019). I upgraded my personal MacBook Pro, which runs Mojave, with: The upgrade failed with the error: The upgrade ran fine. Then, I tried to...

Building Microservices in Go Using Go Kit

Last August, I spoke at Code on the Beach on building microservices in Go using Go kit. Here’s the video: The repo I used is available at https://github.com/hoop33/roster and the Node CLI is available...

Restricting ripgrep to certain file types

I’ve been using ripgrep to search files for awhile, but I hadn’t figured out how to recursively search only certain file types. Anytime I needed to search, say, for any occurrence of “doFoo” in Go...

Ctags for GraphQL Schemas

I’ve been developing some GraphQL services lately. Since I use Neovim (and fzf) for editing, I wanted Ctags support for my schema files. Here’s what I came up with: I’d love feedback — thanks!