Mac使用Colima运行Docker

Mac使用Colima运行Docker Container runtimes on macOS (and Linux) with minimal setup Installation 1 2 # Homebrew brew install colima 安装Docker 1 brew install docker 启动 1 colima start Colima 会使用 QEMU 虚拟机; 启动时指定参数 create

更改 MySQL 用户密码的三种方法

在MySQL中,可以使用 UPDATE , SET PASSWORD 和 ALTER USER 语句更改 MySQL 用户密码。 UPDATE 使用 UPDATE 语句更新 mysql 数据库中的 user 表。 执行完 UPDATE 语句后,还需要执行 FLUSH PRIVILEGES 语句从 mysql 数据库中的

fatal: couldn't find remote ref refs/heads/master

fatal: couldn’t find remote ref refs/heads/master brew 更新提示失败如下: 1 2 3 4 5 > brew update Warning: No available formula with the name "ca-certificates". ==> Searching for similarly named formulae and casks... Error: No formulae or casks found for ca-certificates. fatal: Couldn't find remote ref refs/heads/master 解决方法: 1 2 /usr/local/Homebrew/Library/Taps/homebrew git:(master) > git pull origin master 更新

Shell 工具和脚本

Shell 工具和脚本 shell 基于空格分割命令并进行解析,然后执行第一个单词代表的程序,并将后续的单词作为程序可以访问的参数。 如果您希望传递的参数中包含空格