botanikanet / get_prj_name_by_id.sh
0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
| 1 | #!/bin/bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # ── Colors ─────────────────────────────────────────────────────────── |
| 5 | RED='\033[0;31m' |
| 6 | YELLOW='\033[1;33m' |
| 7 | NC='\033[0m' |
| 8 | |
| 9 | # ── Logging ────────────────────────────────────────────────────────── |
| 10 | log_error() { printf "${RED}[ERR]${NC} %s\n" "$*" >&2; } |
botanikanet / get_group_src.sh
0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
| 1 | #!/bin/bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # ── Colors ─────────────────────────────────────────────────────────── |
| 5 | RED='\033[0;31m' |
| 6 | GREEN='\033[0;32m' |
| 7 | YELLOW='\033[1;33m' |
| 8 | CYAN='\033[0;36m' |
| 9 | NC='\033[0m' |
botanikanet / get_all_src.sh
0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
| 1 | #!/bin/bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # ── Colors ─────────────────────────────────────────────────────────── |
| 5 | RED='\033[0;31m' |
| 6 | GREEN='\033[0;32m' |
| 7 | YELLOW='\033[1;33m' |
| 8 | CYAN='\033[0;36m' |
| 9 | NC='\033[0m' |
botanikanet / k8s_get_all
0 喜歡
0 分支
1 檔案
最後活躍 1 year ago
| 1 | (echo KIND NAMESPACE NAME UID CREATED; kubectl api-resources --verbs=list --namespaced -o name | xargs -I {} kubectl get {} --namespace dns-manager --ignore-not-found -o custom-columns=KIND:.kind,NAMESPACE:.metadata.namespace,NAME:.metadata.name,UID:.metadata.uid,CREATED:.metadata.creationTimestamp --sort-by=.kind --no-headers) | column -t |
botanikanet / replace apt repo
0 喜歡
0 分支
1 檔案
最後活躍 1 year ago
| 1 | sed -i "s/\/[a-z]\+\.ubuntu\.com/\/mirror\.yandex\.ru/g" /etc/apt/sources.list |
上一頁
下一頁