MAC禁用Adobe Creative Cloud自启状态栏
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
https://getcomposer.org/download/ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" 执行完以上命令会将composer安装到当前目录,然后再将composer拷贝到bin目录 mv composer.phar /usr/local/bin/composer
homebrew默认官方源托管在github上,国内访问奇慢无比,可更换成中科大或者清华大学的镜像 中国科大替换命令 # 中国科大: # 替换brew.git: $ cd "$(brew --repo)" $ git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # 替换homebrew-core.git: $ cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" $ git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git # 替换homebrew-bottles: $ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile $ source ~/.bash_profile # 应用生效: $ brew update 清华大学替换命令 # 清华大学: # 替换brew.git: $ cd "$(brew --repo)" $ git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git # 替换homebrew-core.git: $ cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" $ git remote set-url origin https://mirrors....
MacOS软件推荐 NO.9999 Keyboard Maestro 键盘大师 NO.9998 DaisyDisk 磁盘清理 No.9997 pdf plus