Last active
November 4, 2016 21:02
-
-
Save micheleorsi/40b0277aaf200cb3642e to your computer and use it in GitHub Desktop.
config & reminders for Mac OS X development machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)" | |
export HOMEBREW_GITHUB_API_TOKEN=<token> | |
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin | |
export ANDROID_HOME=/usr/local/opt/android-sdk | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
# Amazon AWS | |
#export AWS_ACCESS_KEY="<key>" | |
#export AWS_SECRET_KEY="<secret>" | |
export EC2_HOME="/usr/local/Cellar/ec2-api-tools/1.6.13.0/libexec" | |
export EC2_AMITOOL_HOME="/usr/local/Cellar/ec2-ami-tools/1.5.2/libexec" | |
# The next line updates PATH for the Google Cloud SDK. | |
source '<full-path>/google-cloud-sdk/path.bash.inc' | |
# The next line enables bash completion for gcloud. | |
source '<full-path>/google-cloud-sdk/completion.bash.inc' | |
# https://gorails.com/setup/osx/10.10-yosemite | |
# To use Homebrew's directories rather than ~/.rbenv add to your profile: | |
export RBENV_ROOT=/usr/local/var/rbenv | |
# To enable shims and autocompletion add to your profile: | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- pictures (double backup) | |
- maven settings.xml | |
- private key | |
- certificates | |
- password in Keychain | |
- cyberduck bookmarks | |
- git repos (all the branches must be pushed) | |
commands: | |
brew list > homebrew.txt | |
cat homebrew.txt| xargs brew uninstall | |
brew tap > homewbrew_tap.txt | |
cat homewbrew_tap.txt| xargs brew untap | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- XCode | |
- Homebrew: http://brew.sh | |
- cask: https://caskroom.github.io | |
- Java | |
- command line tools | |
commands | |
cat homebrew.txt| xargs brew install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment