Install zplug
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh| git config --global url."https://ghproxy.com/https://github.com".insteadOf "https://github.com" | |
| export GOPROXY=https://proxy.golang.com.cn,direct |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "$0 is not running as root. Try using sudo." | |
| exit 2 | |
| fi | |
| set -e | |
| DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| OFFLINE=0 | |
| MAX_POD_CNT=0 |
| import ( | |
| "fmt" | |
| "sync/atomic" | |
| ) | |
| const ( | |
| total = 30 | |
| threads = 3 | |
| ) |