个人Mac配置
正在加载今日诗词....
2020-11-17

常用软件

  1. Mac 自动化软件: Keyboard Maestro (必备软件)
  2. Markdown 编辑器:Typora
  3. 云文件同步坚果云
  4. 代码编辑:Visual Studio Code
  5. 抓包软件:Charles
  6. 按键显示:keycastr
  7. 图片压缩:imageoptim
  8. Git 版本管理:SourceTree
  9. FTP:Filezila
  10. 数据库:Navicat

终端配置

  1. item2

  2. on-my-zsh

    $ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    or
    $ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
    
  3. xcode-select --install
    
  4. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    

开启终端代理

开启终端代理

  1. 测试终端是否翻墙: curl www.google.com

  2. vim ~/.zshrc

  3. function proxy_on(){
    	export http_proxy="http://127.0.0.1:41091"
    	export https_proxy="http://127.0.0.1:41091"
      export ALL_PROXY='socks5://127.0.0.1:1087'
        echo '*** 开始终端代理 ***'
    }
    
    function proxy_off(){
    	unset http_proxy
    	unset https_proxy
    	unset ALL_PROXY
        echo '*** 关闭终端代理 ***'
    }
    
  4. source ~/.zshrc