代码语言:javascript复制
gmake
brew install make
export
gnu find
brew install findutils
/usr/local/Cellar/findutils/4.8.0_1/bin:/usr/local/Cellar/make/4.3/bin:/usr/local/opt/make/libexec/gnubin:$PATH
创建内存盘
代码语言:javascript复制30*1024*1024*1024/512
62914560 = 30G
hdiutil attach -nomount ram://62914560
在MacOS上创建大小写敏感文件分区
代码语言:javascript复制newfs_hfs -s -v 'OpenWrt' /dev/disk2
代理
代码语言:javascript复制vim ~/.zshrc
# proxy list
注意这里的端口号,要写成你自己的
代码语言:javascript复制alias proxy='export all_proxy=socks5://127.0.0.1:1080'
alias unproxy='unset all_proxy'
source ~/.zshrc
proxy
curl cip.cc