Tips

Scripts

Useful shell scripts.

To use a script, download it locally by clicking on its respective link below. You can then run the script from its download location or move it to a directory in your system’s PATH for easier access. To view the source code of these scripts directly, go to Github.

Script Name Version Comment
build_go 1.3.1 Generic script to compile Go programs
checkusr-github3.go 1.0.0 Checks available 3-letter usernames in Github.com
checkusr-github4.go 1.0.0 Checks available 4-letter usernames in Github.com
checkusr-lichess4.go 1.0.0 Checks available 4-letter usernames in liches.org
get_oidc_tokens.py 1.0.2 See https://que.one/git/oidc-azure.html
gitbranch.sh 1.0.0 Fast git branch PS1 indicator in bash
install_go 1.3.1 Install and setup Go
install_tf 1.3.1 Install Terraform binary
install_vault 1.2.1 Install HashiCorp Vault binary
mac_screencap 1.2.1 Adjusts macOS SHIFT-CMD-4 screen capture settings
prepublish_go 1.4.1 Tidy up and run checks before publishing Go pkg
reindex 1.6.6 Generates table of scripts
resize_image 1.3.1 Resizes given HEIC, JPEG, or JPG image file by 10% or compresses MP4 video file
runner 1.4.1 Run scripts hosted remotely, executing the latest version locally
webm2mp4 1.3.1 Converts WEBM format files to MP4 format

( REMINDER: Don’t edit this index.md file directly – run the reindex script instead. )