Skip to content

Instantly share code, notes, and snippets.

View lncan's full-sized avatar
🎯
Focusing

lncan

🎯
Focusing
View GitHub Profile
@lncan
lncan / x-ssh-docker
Last active October 20, 2022 04:16
SSH tunnel for Docker process
#!/usr/local/bin/zsh
function sdocker() {
E_RED='\033[0;31m'
E_GREEN='\033[0;32m'
E_YELLOW='\033[1;33m'
E_NORMAL='\033[0m'
function prinfo() {
echo "${E_GREEN}=i=${E_NORMAL} $*"