Tag Blogumentation

Verifying Signed JWTs (JWS) with Node.JS

How to use the jsonwebtoken and node-jose libraries to verify the signature of a Signed JSON Web Token (JWS) with Node.JS.

Performing a No-Op with chef-client using JSON

How to perform a chef-client run without executing anything.

Using Git refs to check out GitHub Pull Requests, from your local repo

How to pull the Git refs for Pull Requests to your GitHub repo.

Using Git refs to check out GitLab Merge Requests, from your local repo

How to pull the Git refs for Merge Requests to your GitLab repo.

Using Git refs to help track your GitLab Environments, from your local repo

How to pull the Git refs that GitLab Environments exposes in your GitLab repo.

Performing Code Review on Your own Merge/Pull Requests

Why the first step to getting others to review your code is to review it yourself.

Automating Promotion of Jekyll Posts from Draft to Post

The handy script I've created to automate publishing a draft in Jekyll, with handy Zsh + Bash autocomplete.

Pretty Printing JSON using Node.JS on the Command Line

Using Node.JS's JSON module to pretty print JSON objects from the command line.

Converting X.509 and PKCS#8 .pem file to a JWKS (in Node.JS)

Converting X.509 and PKCS#8 files to JWKS format, using the node-jose library.

Using git commit --fixup= to track changes that need to be applied on top of another commit

Using git commit --fixup= and git rebase --autosquash to easily track and squash fix commits.