Web Development

需求场景 有时候下载部分软件,需要使用代理,比如homebrew,所以需要终端网络走代理。 解决方案 alias setproxy="export ALL_PROXY=socks5://127.0.0.1:1080" alias unsetproxy="unset ALL_PROXY" Windows 终端 s...

发布 0 条评论

需求场景 由于墙的原因,brew update速度可能会比较慢,所以可以更换国内镜像源加快更新速度。 解决方案 cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git cd "$(brew --repo)/Li...

发布 1 条评论