xcode-select: error: command line tools are already installed, use "Software Update" to install updates 报错如下: 12xcode-select --installxcode-select: error: command line tools are already installed, use "Software Update" to install updates 解决方法: 12sudo rm -rf /Library/Developer/CommandLineToolsxcode-sele 2020-05-27 Mac Mac Xcode
brew 和 brew cask 的区别 brewbrew 是从下载源码解压然后 ./configure && make install ,同时会包含相关依存库。并自动配置好各种环境变量,而且易于卸载。 这个对程序员来说简直是福音,简单的指令,就能快速安装和升级本地的各种开发环境。 brew cask而 brew cask 是 已经编译好了的应用包 (.dmg/.pkg),仅仅是下载解压,放在统一的目录中(/opt/hom 2020-05-26 Mac Mac Homebrew
Homebrew 更换国内镜像源 更换仓库源12345678910cd $(brew --repo)git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.gitcd $(brew --repo)/Library/Taps/homebrew/homebrew-coregit remote set-url origin http 2020-05-26 Mac Mac Homebrew
Win10 hosts 文件的默认内容 hosts 文件被修改坏了,不记得之前默认内容是什么了,上网搜索到后特此记录一下。 文件路径:C:\Windows\System32\drivers\etc\hosts 1234567891011121314151617181920# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Micr 2020-05-24 PC PC Win10