Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arkilis/286a15dc4b6881a7fa1dbd58cc300e27 to your computer and use it in GitHub Desktop.
Save arkilis/286a15dc4b6881a7fa1dbd58cc300e27 to your computer and use it in GitHub Desktop.
我的環境安裝 (Mac)

Mac 環境安裝


Bash 環境調整

$ brew install git && brew install bash-completion
$ pip install speedtest-cli

Google Chrome 擴充功能

Firefox 插件

Android 環境

iOS 環境

Python 環境

  • pip
    https://pip.pypa.io/en/stable/installing/

     $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py ; sudo python get-pip.py
    
  • iPython

     $ sudo pip install --ignore-installed six
     $ sudo pip install ipython
     $ alias ipython="python -m IPython"
    

NodeJS 環境

Sublime text 套件

Command + Shift + P (Mac OS X / Linux)
Ctrl + Shift + P (Windows)

搜尋 Package Control: Install Package

雜項

Presentions tools

修正 App 無法開啟

How To Fix “App is Damaged Can’t Be Opened” Error Message (XXX can't be opened. You should move it to trash.)

# Method 1
$ sudo xattr -cr /Applications/[LockedApp].app

# Method 2
$ sudo xattr -rd com.apple.quarantine /Applications/[LockedApp].app

# Method 3
$ sudo spctl --master-disable

Homebrew

$ xcode-select --install
$ brew install gcc
$ brew cask install iina

System Preferences

  • Keyboard -> Text

    • Uncheck: Correct spelling automatically
    • Uncheck: Capitalize words automatically
    • Uncheck: Add period with double-space
    • Uncheck: Use smart quotes and dashes
  • Keyboard -> Shortcuts

    • Input Sources
      • Select the previous input source: Cmd - Space
    • Spotlight
      • Uncheck: Show Spotlight search
      • Uncheck: Show Finder search window
  • To remove the Eject Menu

    1. Press and hold the Apple/Command key.
    2. Click and drag the Eject menu icon off the menu bar.
    3. Once you start dragging the Eject icon, you can release the Apple/Command key.
    4. Release the mouse button when the Eject menu no longer appears in the menu bar.
    5. The Eject icon will disappear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment