This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:69075D66EFBFFBC9CC292AC48465E3EAA38FE080]
| !/usr/bin/env bash | |
| ## Forked from https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c | |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' | # Pluck JSON value | |
| tr -d 'v' # Remove v | |
| } |
| #!/usr/bin/env sh | |
| ## https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c | |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' | # Pluck JSON value | |
| tr -d 'v' # Remove v | |
| } |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:69075D66EFBFFBC9CC292AC48465E3EAA38FE080]
| #!/usr/bin/env bash | |
| ## Forked from https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c | |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' | # Pluck JSON value | |
| tr -d 'v' # Remove v | |
| } |
| set number | |
| set autoindent | |
| set tabstop=4 | |
| set shiftwidth=4 |
| syntax on | |
| set number | |
| set autoindent | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| " YAML - 2 space indent, no tabs | |
| autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 expandtab | |
| " Lua - 2 space indent, no tabs |
| plugin_cache_dir = "$HOME/.terraform.d/plugin-cache" |
| #!/usr/bin/env python | |
| import sys | |
| import gnupg | |
| import pykeepass | |
| from getpass import getpass | |
| from pykeepass import PyKeePass | |
| from os import walk | |
| from os.path import isfile, join |
| #!/usr/bin/env bash | |
| docker images | grep '<none>' | awk '{ print $3 }' | xargs -I{} docker rmi {} |
| #!/usr/bin/env bash | |
| docker ps -a | awk '{ print $1 }' | grep -v 'CONTAINER' | xargs -I{} docker stop {} | |
| docker ps -a | awk '{ print $1 }' | grep -v 'CONTAINER' | xargs -I{} docker rm {} |