Environment Configuration / Common Software Collection

✍🏼 Written on Jul 8, 2016   
❗️ Note: it has been days since this article was written, please be aware of its timeliness

Preface

Every time I get a new computer, I always scramble to install a bunch of tools, and sometimes forget to install certain software until I actually need it. When starting a new job, the first task my supervisor often assigns is “Familiarize yourself with the environment and set up your computer.” Therefore, this article documents the software I commonly use for future reference.

Main Content

QQ/OneNote/WeChat/NetEase Cloud Music can be downloaded directly from the “Top Free” section of the Mac App Store.

  1. Shadowsocks is stored on Baidu Netdisk for downloading Chrome in the next step.

  2. Thunder: Using Safari’s built-in download tool for subsequent software downloads is extremely slow.

  3. Chrome

  4. WebStorm activation server: `http://idea.iteblog.com/key.php``

  5. Sublime3

    1. Activation key:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
       —– BEGIN LICENSE —–
    Nicolas Hennion
    Single User License
    EA7E-866075
    8A01AA83 1D668D24 4484AEBC 3B04512C
    827B0DE5 69E9B07A A39ACCC0 F95F5410
    729D5639 4C37CECB B2522FB3 8D37FDC1
    72899363 BBA441AC A5F47F08 6CD3B3FE
    CEFB3783 B2E1BA96 71AAF7B4 AFB61B1D
    0CC513E7 52FF2333 9F726D2C CDE53B4A
    810C0D4F E1F419A3 CDA0832B 8440565A
    35BF00F6 4CA9F869 ED10E245 469C233E
    —— END LICENSE ——
    1. Install the sidebar enhancement tool SideBarEnhancements:
      Press command+shift+p, type install, and hit Enter. Then repeat command+shift+p, type SideBarEn, and hit Enter.

    2. Install the Sublime plugin Terminal (to open Terminal in Sublime):
      Press command+shift+p, type Terminal, and hit Enter.

      Set "terminal": "iTerm2-v3.sh" to open the current file with iTerm2.

  6. iTerm2

    1
    ssh -p 端口 用户名@ip
  7. Node

  8. Oh My Zsh

    1
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  9. git

    1
    2
    3
    公钥配置: ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    配置用户: git config --global user.name "Xheldon"
    配置邮箱: git config --global user.email "c1006044256@gmail.com"
  10. Sogou Input Method

  11. Charles packet capture tool. Download the patch and replace charles.jar to crack it.

  12. XCode (some dependencies rely on its CLI)

  13. Install homebrew

    1
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  14. Set up a local Jekyll environment

    Ruby version 2.1 or higher is required.

    1. Install rvm (takes a while; the machine may heat up):

      1
      \curl -sSL https://get.rvm.io \| bash -s stable --ruby

      After installation, close all shell sessions before proceeding, or run source /Users/Xheldon/.rvm/scripts/rvm and then continue.

    2. Check known ruby versions:

      1
      rvm list known
    3. Install ruby2.2.0:

      1
      rvm install 2.2.0

      Requires mkdir -p /tec/openssl permissions during installation, so you’ll need to enter your password.

    4. Change gem source:

      1
      2
      3
      gem sources -l //查看当前源
      gem source --remote https://rubygems.org/ //移除当前源
      gem source -a https://gems.ruby-china.org //新增源
    5. Install bundler:

      1
      gem install bundler
    6. Install jekyll and other dependencies.

      Navigate to the project root directory (assuming you’ve already cloned the jekyll blog) and execute:

      1
      bundle install

      Once completed, run bundle exec jekyll serve to view the locally hosted jekyll (if the bundle command is not found, repeat steps 5 and 6).

Additional Notes

Possible required operations:

  1. Allow installations from any source:
    1
    sudo spctl --master-disable
- EOF -
Originally published at: Environment Configuration / Common Software Collection - Xheldon Blog