Skip to content

Instantly share code, notes, and snippets.

View pbnj's full-sized avatar
🖖
"May the Force ever be in your favor, Harry" -Gandalf

Peter Benjamin pbnj

🖖
"May the Force ever be in your favor, Harry" -Gandalf
View GitHub Profile
@pbnj
pbnj / README.md
Created July 15, 2022 16:18
Night Owl Theme for Cool-Retro-Term

Night Owl Theme for Cool-Retro-Term

[cool-retro-term][] is a retro terminal emulator.

Install

To install the theme:

  1. Download the JSON file.
  2. In cool-retro-term settings, click Import, find and select the downloaded JSON file. The theme should now appear in the list of available themes.
#!/bin/bash
# Download terraform docs to search through them locally, because registry.terraform.io is shit!
# set -x
provider=${1:-"aws"}
refs=${2:-"heads"} # or "tags"
version=${3:-"main"} # or "v4.44.0"
@pbnj
pbnj / Makefile
Created December 6, 2022 20:36 — forked from SteveByerly/Makefile
Makefile for managing a Terraform project
MAKEFLAGS += --warn-undefined-variables
SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := help
.SUFFIXES:
# ---------------------------------------------------------
# Local Variables
# ---------------------------------------------------------
@pbnj
pbnj / crate-health.md
Created December 19, 2022 21:13 — forked from repi/crate-health.md
Guidelines on evaluating health & quality of third-party crates at Embark

note: I wrote this for our internal documentation & guidelines at Embark so not all of it is likely relevant for other companies, but sharing here as others expressed interest in seeing it


What to evaluate and consider before adding usage of new third-party crates.

These are not exact requirements but questions to investigate and discuss to help reason around the health, safety, maintainability, and more around crates.

This can also be read as an opinionated guide for crate authors of what our (Embark's) guidelines and recommendations are, though should not be taken too literally.

@pbnj
pbnj / .tmux.conf
Last active March 2, 2025 16:42
Toggle-able Terminal in Tmux
bind-key -n 'C-\' run-shell -b ${HOME}/.local/bin/tmux-toggle-term