Skip to content

Instantly share code, notes, and snippets.

@satosystems
Last active May 16, 2017 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satosystems/ff4376c623015167b34c to your computer and use it in GitHub Desktop.
Save satosystems/ff4376c623015167b34c to your computer and use it in GitHub Desktop.
Mac Book Pro セットアップメモ ref: http://qiita.com/satosystems/items/075c3f4429c7ae374354
$ defaults write com.apple.spotlight CalculationEnabled -boolean false
$ killall Spotlight
$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
export PS1="\[\033[32m\]\w\[\033[0m\] $ "
$ brew update
Already up-to-date.
$ brew install bash-completion
$ brew install rmtrash
$ echo "alias rm='rmtrash'" >> ~/.bashrc
$ brew tap brona/iproute2mac
$ brew install iproute2mac
$ brew install ghc cabal-install
$ cd ~/IdeaProjects
$ cabal sandbox init
$ cabal update
$ cabal install happy
$ cabal install ghc-mod-5.2.1.2
$ cabal install remote-debugger
Not in scope: data constructor ‘ExplicitForall’
$ git config --global core.editor 'vim -c "set fenc=utf-8"'
$ brew install scala
Not in scope: data constructor ‘ExplicitForall’
$ sudo xcodebuild -license
[ attr.file.unknown-encoding ]
encoding=shift_jis
$ /usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
$ export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk
$ open /Applications/Android\ Studio.app
export PATH=$PATH:$HOME/Library/Android/sdk/tools:$HOME/Library/Android/sdk/platform-tools
cd $HOME/Library/Android/sdk/tools
chmod +x *
chmod -x *.txt *.properties
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
$ brew doctor
Your system is ready to brew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment