Skip to content

Instantly share code, notes, and snippets.

View exalted's full-sized avatar
🏠
Working from home

Ali Servet Donmez exalted

🏠
Working from home
View GitHub Profile
gpg --output <output path> --decrypt <encrypted file path>
# show without importing
gpg --import --import-options show-only foo.key

# import
gpg --import foo.key

# list all public & private keys (see what’s imported)
gpg --list-keys
@exalted
exalted / healthcheck.sh
Last active February 18, 2021 09:05
healthcheck.sh
#
# USAGE: `healthcheck <name> <URL>`
#
# Minify using http://bash-minifier.appspot.com
healthcheck() {
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
RED='\033[0;31m'
COLOR_RESET='\033[0m'