Skip to content

Instantly share code, notes, and snippets.

@benleivian
Last active April 8, 2016 22:15

Revisions

  1. benleivian revised this gist Jun 26, 2015. 1 changed file with 77 additions and 13 deletions.
    90 changes: 77 additions & 13 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,21 +1,85 @@
    # Macbook Setup

    ### Composer
    `$ curl -sS https://getcomposer.org/installer | php`

    ### Homebrew
    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.
    #### Generate Key

    ### Node
    `$ brew install node`
    $ ssh-keygen -t rsa -b 4096

    ### Vagrant
    #### ZSH

    $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    #### Composer

    $ curl -sS https://getcomposer.org/installer | php

    #### Homebrew

    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.

    #### Node

    $ brew install node

    #### Vagrant

    #### iTerm

    * Install [color scheme](https://github.com/chriskempson/base16-iterm2).

    #### Lightpaper

    #### Sublime Text

    ### Sublime Text
    * [Sync](https://packagecontrol.io/docs/syncing) sublime text settings.

    ### Homestead
    * Ruby
    * Sass
    * Import datbases with `$ mysql -u homestead -p < Sites/db.sql`

    # Homestead Setup

    #### Generate Key

    $ ssh-keygen

    Add ssh-agent to zsh plugins

    $ .vim ~/.zshrc
    plugins=(git ssh-agent)
    export SSH_KEY_PATH="~/.ssh/id_rsa"

    Add SSH config for bitbucket

    Host bitbucket.org
    IdentityFile ~/.ssh/id_rsa

    Confirm

    $ ssh-add -l
    $ ssh -T [email protected]

    #### Git Config

    $ git config --global color.ui true
    $ git config --global user.email [email protected]
    $ git config --global user.name Ben Leivian


    #### Update NPM (2.11.3)

    $ sudo npm install npm -g

    #### Ruby

    $ sudo apt-get install ruby

    #### Sass

    $ gem install sass

    #### Import Databases:

    $ mysql -u homestead -p < Sites/db.sql

    #### Drush

    $ composer global require drush/drush:7.*
  2. benleivian revised this gist Jun 26, 2015. 1 changed file with 13 additions and 7 deletions.
    20 changes: 13 additions & 7 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,21 @@
    # Macbook Setup

    * Composer
    * `$ curl -sS https://getcomposer.org/installer | php`
    * Homebrew
    ### Composer
    `$ curl -sS https://getcomposer.org/installer | php`

    ### Homebrew
    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.
    * Node
    * `$ brew install node`
    * Vagrant

    ### Node
    `$ brew install node`

    ### Vagrant

    ### Sublime Text
    * [Sync](https://packagecontrol.io/docs/syncing) sublime text settings.
    * Homestead

    ### Homestead
    * Ruby
    * Sass
    * Import datbases with `$ mysql -u homestead -p < Sites/db.sql`
  3. benleivian revised this gist Jun 26, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,5 @@
    * [Sync](https://packagecontrol.io/docs/syncing) sublime text settings.
    * Homestead
    * Ruby
    * Sass
    * Sass
    * Import datbases with `$ mysql -u homestead -p < Sites/db.sql`
  4. benleivian revised this gist Jun 26, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    # Macbook Setup

    * Composer
    * `$ curl -sS https://getcomposer.org/installer | php`
    * Homebrew
    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.
  5. benleivian revised this gist Jun 26, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,10 @@
    * Homebrew
    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.
    * Node
    * `$ brew install node`
    * Vagrant
    * [Sync](https://packagecontrol.io/docs/syncing) sublime text settings.
    * Homestead
    * Ruby
    * Sass
  6. benleivian revised this gist Jun 26, 2015. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    # Macbook Setup

    - Homebrew
    1. [Install](http://brew.sh).
    2. Run `$ brew doctor` and fix any permission errors.
    - Vagrant
    - Homestead
    - Ruby
    - Sass
    * Homebrew
    * [Install](http://brew.sh).
    * Run `$ brew doctor` and fix any permission errors.
    * Vagrant
    * Homestead
    * Ruby
    * Sass
  7. benleivian revised this gist Jun 26, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    # Macbook Setup

    - Homebrew
    - Run [installer](http://brew.sh).
    - Run `$ brew doctor` and fix any permission errors.
    1. [Install](http://brew.sh).
    2. Run `$ brew doctor` and fix any permission errors.
    - Vagrant
    - Homestead
    - Ruby
  8. benleivian revised this gist Jun 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Macbook Setup

    - Homebrew
    - `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - Run [installer](http://brew.sh).
    - Run `$ brew doctor` and fix any permission errors.
    - Vagrant
    - Homestead
  9. benleivian revised this gist Jun 26, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,8 @@
    # Macbook Setup

    - Homebrew
    `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - Run `$ brew doctor` and fix any permission errors.
    - Vagrant
    - Homestead
    - Ruby
  10. benleivian revised this gist Jun 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Macbook Setup

    - Homebrew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - Vagrant
    - Homestead
    - Ruby
  11. benleivian revised this gist Jun 26, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    # Macbook Setup

    - Homebrew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    - Vagrant
    - Homestead
    - Ruby
  12. benleivian revised this gist Jun 26, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    # Macbook Setup

    - Homebrew
    - Vagrant
    - Homestead
  13. benleivian revised this gist Jun 26, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    - Install Homebrew
    - Homebrew
    - Vagrant
    - Homestead
    - Ruby
    - Sass
  14. benleivian created this gist Jun 26, 2015.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    - Install Homebrew