国内软件源加速

国内软件源加速brewcd "$(brew --repo)" git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git cd "$(brew --repo)/Library/Tap...

MacOS Valet 开启 PHP Xdebug

本教程适用于 homebrew 安装的 php@7.2首先安装 xdebug 扩展:sudo pecl install xdebug 创建 xdebug 配置文件:在 /usr/local/etc/php/7.2/conf.d 目录下创建 xdebug.ini 文件,并写入以下内容:[xdeb...

Brew 删除无用的包

brew rmrecThis is a brew command to remove a package and all of its dependencies recursively. Only removes packages that are not depended on by oth...