Skip to content

Instantly share code, notes, and snippets.

@netoht
Forked from zenorocha/.hyper.js
Last active January 4, 2016 09:29
Show Gist options
  • Save netoht/8602833 to your computer and use it in GitHub Desktop.
Save netoht/8602833 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Moving some big folders from home user in the hard disk SSD for hard disk SATA
HDD_SATA='/Volumes/300'
folders=('Desktop' 'Documents' 'Dropbox' 'Downloads' 'Movies' 'Music' 'Pictures' 'Public' 'Screenshots')
mkdir Dropbox
for folder in ${folders[@]}
do
mv ~/$folder $HDD_SATA
ln -s $HDD_SATA/$folder ~/$folder
done

Setup Mac OS X

Mavericks

1. Run Software Update

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
  3. Then go to the terminal and install "Command Line Tools":
xcode-select --install

Notice this only works for Mac OS X Mavericks (10.9). For earlier versions, continue to use the in-app download in Xcode.

3. Install Dotfiles

Visit zenorocha's Dotfiles repo for instructions.

This will install some useful stuff like zsh shell and lots of plugins using oh-my-zsh. Besides that, it will also set a new theme and some useful aliases for the terminal.

4. Install Softwares

Before all you need install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Many softwares can be installed through homebrew-cask which makes the process way simpler:

curl -L https://gist.github.com/netoht/8602833/raw/softwares.sh | sh

Just make sure to move all apps from /opt/homebrew-cask/Caskroom/ to /Applications. And to remove all installations files from /Library/Caches/Homebrew.

What's included?

Browser
Development
Other

Unfortunately some apps aren't available through homebrew-cask, so you need to install it manually.

App Store
Manually

5. Generate SSH keys for GitHub

Visit GitHub's official guide for instructions.

From that point on you're going to be able to do some git operations with GitHub \o/

6. Set Chrome Canary as default browser

  1. Launch Safari
  2. Apple ➜ Preferences
  3. General ➜ Default Web Browser
  4. Select “Chrome Canary” from the drop-down menu

7. Configure Sublime Text

Visit my Sublime Text preferences repo for instructions.

There you can find the whole list of plugins, preferences and snippets.

8. Install Alfred Workflows

Visit my Alfred workflow collection repo for instructions.

9. Set NPM user

npm adduser zenorocha

10. Download IE test VMs for VirtualBox

These take a while to download, so maybe do it on a separate day as a background process.

# IE8 - XP
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_XP/IE8.XP.For.MacVirtualBox.ova"

# IE9 - Win7
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"

# IE10 - Win8
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}"

11. Profit!

:)

#!/bin/sh
# homebrew-cask
brew tap phinze/homebrew-cask
brew install brew-cask
# browser
brew cask install firefox
brew cask install google-chrome
brew cask install opera-next
# development
brew cask install java
brew cask install sublime-text
brew cask install filezilla
brew cask install kaleidoscope
brew cask install iterm2
brew cask install sourcetree
brew cask install virtualbox
brew cask install vmware-fusion
brew cask install vagrant
brew cask install mamp
brew cask install mysql-workbench
brew cask install pgadmin3
# other
brew cask install alfred
brew cask install dropbox
brew cask install mou
brew cask install skype
brew cask install spotify
brew cask install utorrent
brew cask install dash
brew cask install cloudapp
brew cask install vlc
brew cask install silverlight
brew cask install tunnelbear
brew cask install the-unarchiver
brew cask install teamviewer
brew cask install xtrafinder
brew cask install flash
brew cask install trim-enabler
brew cask install ntfs-free
brew cask install evernote
brew cask install caffeine
brew cask install licecap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment