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
bak 1.2.1 Backs up given file or directory
brew_update 1.3.1 Does a thorough update of all installed Homebrew packages
build_go 1.3.1 Generic script to compile Go programs
certls 1.2.1 Given an FQDN show all assigned SSL certificates
dl 1.2.1 A simple yt-dlp, the famous video downloader, stub driver
get_oidc_tokens.py 1.0.1 See https://que.one/git/oidc-azure.html
git_cloneall 1.3.1 Clone all repos for given Github Org or Username
git_pullall 1.3.1 Do pull on all git repos
git_remotev 1.3.1 List remote sources of all git repos
git_statall 1.3.1 Run status on all git repos
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
pman 1.4.1 Azure REST API caller
prepublish_go 1.4.1 Tidy up and run checks before publishing Go pkg
reindex 1.5.1 Generates table of scripts
resize_image 1.3.1 Resizes given HEIC, JPEG, or JPG image file by 10% or compresses MP4 video file
rn 1.3.1 Renames all files in current directory
rncap 1.3.1 Capitalizes each filename in current working directory
rnlower 1.3.1 Lowercases each file in current working directory
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. )