Skip to content

Instantly share code, notes, and snippets.

@mariusa
Last active February 9, 2025 23:21

Revisions

  1. mariusa revised this gist Nov 18, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -41,4 +41,6 @@ alias l="ls -al"
    alias dm="du -m -d 1"
    export EDITOR=nano
    export PATH="/Applications/Postgres93.app/Contents/MacOS/bin/:$PATH"
    ```
  2. mariusa revised this gist Nov 18, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@
    * Heroku https://toolbelt.heroku.com/
    * NodeJS http://nodejs.org/download/
    * Code editor http://www.lighttable.com/
    * Postgres http://postgresapp.com/



  3. mariusa revised this gist Nov 18, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,7 @@ sudo ipfw add 100 fwd 127.0.0.1,5000 tcp from any to any 80 in
    ```
    nano ~/.bash_profile
    # copy-paste these
    alias l="ls -al"
    alias dm="du -m -d 1"
  4. mariusa revised this gist Nov 18, 2013. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -31,3 +31,12 @@ jekyll serve --watch
    sudo ipfw add 100 fwd 127.0.0.1,5000 tcp from any to any 80 in
    ```

    ### bash
    ```
    nano ~/.bash_profile
    alias l="ls -al"
    alias dm="du -m -d 1"
    export EDITOR=nano
    ```
  5. mariusa revised this gist Nov 7, 2013. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -24,5 +24,10 @@ jekyll serve --watch
    # now browse to http://localhost:4000
    ```

    ## Misc

    ### Forward port 5000 to port 80
    ```
    sudo ipfw add 100 fwd 127.0.0.1,5000 tcp from any to any 80 in
    ```

  6. mariusa revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    * Xcode

    ## Install from web
    * Terminal http://www.iterm2.com/#/section/home
    * Terminal http://www.iterm2.com/
    * Heroku https://toolbelt.heroku.com/
    * NodeJS http://nodejs.org/download/
    * Code editor http://www.lighttable.com/
  7. mariusa revised this gist Nov 7, 2013. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,11 @@
    * Xcode

    ## Install from web
    * https://toolbelt.heroku.com/
    * http://nodejs.org/download/
    * http://www.iterm2.com/#/section/home
    * Terminal http://www.iterm2.com/#/section/home
    * Heroku https://toolbelt.heroku.com/
    * NodeJS http://nodejs.org/download/
    * Code editor http://www.lighttable.com/




  8. mariusa revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-dev.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@



    # Site content management tool
    ## Site content management tool
    Open Terminal. Paste these commands:
    ```
    sudo su -
  9. mariusa renamed this gist Nov 7, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  10. mariusa revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Basics
    # How to setup OSX dev environment

    ## Install from App Store
    * Xcode
  11. mariusa revised this gist Nov 7, 2013. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,6 @@
    * http://www.iterm2.com/#/section/home


    Open Xcode > Preferences > Downloads > Command Line Tools (???)


    # Site content management tool
    Open Terminal. Paste these commands:
  12. mariusa revised this gist Nov 7, 2013. 1 changed file with 9 additions and 10 deletions.
    19 changes: 9 additions & 10 deletions osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,15 @@
    # Basics

    Open App Store, install Xcode
    ## Install from App Store
    * Xcode

    Open Xcode > Preferences > Downloads > Command Line Tools
    ## Install from web
    * https://toolbelt.heroku.com/
    * http://nodejs.org/download/
    * http://www.iterm2.com/#/section/home


    Open Xcode > Preferences > Downloads > Command Line Tools (???)


    # Site content management tool
    @@ -17,13 +24,5 @@ jekyll serve --watch
    # now browse to http://localhost:4000
    ```

    # Local dev env

    Install
    * https://toolbelt.heroku.com/
    * http://nodejs.org/download/
    * http://www.iterm2.com/#/section/home




  13. mariusa revised this gist Nov 7, 2013. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -22,3 +22,8 @@ jekyll serve --watch
    Install
    * https://toolbelt.heroku.com/
    * http://nodejs.org/download/
    * http://www.iterm2.com/#/section/home




  14. mariusa revised this gist Nov 7, 2013. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,8 @@ jekyll serve --watch
    # now browse to http://localhost:4000
    ```

    # Local dev env

    Install
    * https://toolbelt.heroku.com/
    * http://nodejs.org/download/
  15. mariusa renamed this gist Nov 7, 2013. 1 changed file with 9 additions and 3 deletions.
    12 changes: 9 additions & 3 deletions osx-devtools.txt → osx-devtools.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,20 @@
    # Basics

    Open App Store, install Xcode

    Open Xcode > Preferences > Downloads > Command Line Tools

    Open Terminal. Paste these commands:

    # Site content management tool
    Open Terminal. Paste these commands:
    ```
    sudo su -
    gem update --system
    gem install jekyll jekyll-contentblocks -V

    # from site folder
    jekyll serve --watch
    # browse to http://localhost:4000
    # now browse to http://localhost:4000
    ```


  16. mariusa revised this gist Sep 10, 2013. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions osx-devtools.txt
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,6 @@
    Open App Store, install Xcode


    XCode Preferences > Downloads > Command Line Tools

    Open Xcode > Preferences > Downloads > Command Line Tools

    Open Terminal. Paste these commands:

  17. mariusa revised this gist Sep 10, 2013. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions osx-devtools.txt
    Original file line number Diff line number Diff line change
    @@ -10,3 +10,7 @@ sudo su -
    gem update --system
    gem install jekyll jekyll-contentblocks -V


    jekyll serve --watch
    # browse to http://localhost:4000

  18. mariusa revised this gist Sep 10, 2013. 1 changed file with 2 additions and 7 deletions.
    9 changes: 2 additions & 7 deletions osx-devtools.txt
    Original file line number Diff line number Diff line change
    @@ -1,17 +1,12 @@
    Open App Store, install Xcode


    XCode Preferences > Downloads
    Command Line Tools
    XCode Preferences > Downloads > Command Line Tools


    Open Terminal
    ruby --version
    Open Terminal. Paste these commands:

    sudo su -
    gem update --system
    gem install jekyll jekyll-contentblocks -V


    #rails
    #TODO how to update ruby
  19. mariusa revised this gist Sep 9, 2013. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion osx-devtools.txt
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,8 @@ ruby --version

    sudo su -
    gem update --system
    gem install jekyll jekyll-contentblocks rails -V
    gem install jekyll jekyll-contentblocks -V


    #rails
    #TODO how to update ruby
  20. mariusa created this gist Sep 9, 2013.
    13 changes: 13 additions & 0 deletions osx-devtools.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    Open App Store, install Xcode


    XCode Preferences > Downloads
    Command Line Tools


    Open Terminal
    ruby --version

    sudo su -
    gem update --system
    gem install jekyll jekyll-contentblocks rails -V