redis设置密码后,默认可远程连接
打开~/.config/fish/config.fish
nano ~/.config/fish/config.fish
set -x HOMEBREW_BREW_GIT_REMOTE "https://mirrors.ustc.edu.cn/brew.git"
set -x HOMEBREW_CORE_GIT_REMOTE "https://mirrors.ustc.edu.cn/homebrew-core.git"
set -x HOMEBREW_BOTTLE_DOMAIN "https://mirrors.ustc.edu.cn/homebrew-bottles"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package validate | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "net/url" | |
| "reflect" | |
| "strconv" | |
| "strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # 第一步:设定安装镜像 | |
| echo "设定安装镜像源为清华大学镜像..." | |
| export DOWNLOAD_URL="https://mirrors.tuna.tsinghua.edu.cn/docker-ce" | |
| # 第二步:脚本一键安装 | |
| echo "开始一键安装 Docker..." | |
| wget -O- https://gitee.com/tech-shrimp/docker_installer/releases/download/latest/linux.sh | sudo -E sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: extract a zip file # 工作流程的名称 | |
| on: | |
| push: # 当有代码推送时触发 | |
| paths: # 触发条件:指定的文件路径 | |
| - '**/*.zip' # 当任何文件夹下的 .zip 文件发生变化时触发 | |
| workflow_dispatch: # 允许手动触发工作流程 | |
| jobs: | |
| unzip-and-organize: # 工作流程中的任务名为 unzip-and-organize |