Recent Posts

Simple Command Line Function to Decode JWTs

1 minute read

I come across a lot of JSON Web Tokens (JWTs) these days, and I often want a quick way to see what information is encoded in them. An easy solution is to vis...

JDBI With Custom Types

less than 1 minute read

I’ve been using JDBI recently for interacting with a database in Java and I generally like it. It lets you write explicit queries, and it is relatively simpl...

Vim Function for GitHub Links

1 minute read

Update (1/31/2018): I extracted this code to a vim plugin and made a few improvements to it: https://github.com/pgr0ss/vim-github-url