mo templating library for bash
curl -sSL https://git.io/get-mo
https://github.com/tests-always-included/mo
Blog
-
tests-always-included mo
-
slack shortcuts
command + k unread
-
2022读书清单
目标30本书,单线程模式,切记不要并发,不要同时读多本书
月份 技术书 非技术书 2022-08 精准表达 2022-10 冷血 2022-10 被讨厌的勇气 -
vim delete current file
:!rm %
-
home network
home network monitoring
router => switch => wireless ap 192.168.1.123
\-=> wired 1000MB machine1 192.168.1.66
\-=> wired 1000MB machine2 192.168.1.x -
kubectl config
查看 contexts clusters
kubectl config get-contexts kubectl config get-clusters kubectl config get-contexts -o name kubectl config get-users
删除 context cluster
kubectl --kubeconfig=./KUBECONFIG_of_my config delete-context gke_europe-west2_123 kubectl --kubeconfig=./KUBECONFIG_of_my config delete-cluster gke_europe-west2_123 kubectl --kubeconfig=./KUBECONFIG_of_my config delete-user gke_europe-west2_123
kubectl via ssh tunnel
https://blog.scottlowe.org/2020/06/16/using-kubectl-via-an-ssh-tunnel/#:~:text=To%20use%20kubectl%20via%20an,to%20reflect%20the%20tunnel%20details.