Skip to content

Instantly share code, notes, and snippets.

View dguyhasnoname's full-sized avatar
🎯
Focusing

dguyhasnoname dguyhasnoname

🎯
Focusing
View GitHub Profile
#!/bin/bash
[[ "$1" = -v || "$1" = --version ]] && { echo "0.1.2"; exit; }
for d in jq watch curl kubectl; do which "$d" >/dev/null || { echo "Missing dependency: $d"; exit 1; }; done
ns=${1:-default}; res=${2:-pods}
c() { echo -e "\033[$1m"; }
cc() { echo -e "\033[$1;1m"; }
printf Loading && while true; do printf . && sleep 0.1; done &