2012-10-12 14:53:55 +00:00
## Prerequisites
* [Command Line Tools for Xcode ](https://developer.apple.com/downloads )
2012-10-25 21:07:19 +00:00
## :skull: Bootstrap :skull:
2012-10-19 11:54:20 +00:00
2012-10-23 08:56:16 +00:00
Run `./bootstrap.sh` (or separate scripts in this folder) and make you some coffee. Then open Chrome (now it’ s your default browser) and install [all needed apps ](https://github.com/sapegin/dotfiles/wiki/Mac-OS-Apps ).
2012-10-19 11:54:20 +00:00
2012-10-26 13:58:40 +00:00
**Warning**. Your Mac can turns into a pumpkin.
2012-10-25 21:07:19 +00:00
## Scripts
2012-10-26 13:55:57 +00:00
### stuff
2012-10-25 21:07:19 +00:00
2012-10-26 13:55:57 +00:00
Installs Homebrew, Git, [git-extras ](https://github.com/visionmedia/git-extras ), [git-friendly ](https://github.com/jamiew/git-friendly ), Node.js, JSHint, Grunt, configures Apache, PHP, MySQL, etc.
2012-10-25 21:07:19 +00:00
### bash
2012-10-26 13:55:57 +00:00
Installs Bash 4 and registers it as a default shell. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### consolas
2012-10-26 13:55:57 +00:00
Installs Consolas font. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### imgo
2012-10-26 13:55:57 +00:00
Installs [imgo ](https://github.com/imgo/imgo ) CLI image optimizer. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### osx
Sane OSX defaults. Based on [~/.osx ](http://mths.be/osx ) by @mathiasbynens .
### sublime-settings
Enables Sublime settings syncronization (see `../sublime/User` folder).
### sublime-packages
Installs/updates Sublime packages from Package Control (listed in `../sublime/User/Package Control.sublime-settings` ) and GitHub (listed in script itself).
### apps
Installs Chrome and makes it default browser.
## Tips & Tricks
2012-10-19 11:54:20 +00:00
2012-11-28 08:21:17 +00:00
### Local Git identity
```
git config -f ~/.gitlocal user.email "artem@sapegin.ru"
git config -f ~/.gitlocal user.name "Artem Sapegin"
```
2012-10-12 08:53:13 +00:00
### How to remove US English keyboard layout on Mac OS X
2012-10-12 14:53:55 +00:00
Useful when you use some kind of [typography layout ](http://ilyabirman.ru/projects/typography-layout/ ).
2012-10-12 08:53:13 +00:00
```bash
bash < (curl -fsSkL raw.github.com/bolknote/shellgames/master/us_layout_remover.sh)
```
2012-10-12 14:53:55 +00:00
2012-10-25 21:07:19 +00:00
## Misc
2012-10-12 14:53:55 +00:00
* [OSX Python developer guide ](https://gist.github.com/902296 )