Skip to content

Instantly share code, notes, and snippets.

@dokterbob
Last active August 13, 2018 00:47
Show Gist options
  • Save dokterbob/6410844 to your computer and use it in GitHub Desktop.
Save dokterbob/6410844 to your computer and use it in GitHub Desktop.

Revisions

  1. dokterbob revised this gist Sep 3, 2013. 1 changed file with 16 additions and 0 deletions.
    16 changes: 16 additions & 0 deletions README.rst
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,22 @@

    #. Install `SublimeText <http://www.sublimetext.com/>`_.

    #. Add the following SublimeText configuration options (to User settings)::

    // Set to true to insert spaces when tab is pressed
    "translate_tabs_to_spaces": true,
    // Columns in which to display vertical rulers
    "rulers": [78],

    // Set to true to removing trailing white space on save
    "trim_trailing_white_space_on_save": true,

    // Set to true to ensure the last line of the file ends in a newline
    // character when saving
    "ensure_newline_at_eof_on_save": true


    #. Install SublimeText `Package Control <https://sublime.wbond.net/installation>`_.

    #. Install `Sublime Linter <https://github.com/SublimeLinter/SublimeLinter>`_.
  2. dokterbob revised this gist Sep 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.rst
    Original file line number Diff line number Diff line change
    @@ -63,7 +63,7 @@

    #. Install Python packages::

    pip install virtualenv ipython Pillow pep8 ipdb South Django Fabric Pygments mercurial surlex sorl-thumbnail readline raven nose lxml gunicorn coverage django-extensions beautifulsoup4 six selenium Sphinx PyYAML docutils WebTest
    pip install virtualenv ipython Pillow pep8 ipdb South Django Fabric Pygments mercurial surlex sorl-thumbnail readline raven nose lxml gunicorn coverage django-extensions beautifulsoup4 six selenium Sphinx PyYAML docutils WebTest pytz

    #. Install Node.js packages::

  3. dokterbob revised this gist Sep 2, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.rst
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #. Install `XCode <https://developer.apple.com/xcode/>`_ from the App Store.

    #. Install the XCode command line tools from the 'Downloads' pane in XCode.
    #. Install the XCode command line tools from the 'Downloads' pane in the XCode settings.

    #. Install `SublimeText <http://www.sublimetext.com/>`_.

    @@ -20,7 +20,7 @@

    #. Install common Unix packages using Homebrew::

    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git node tidy-html5 xmllint
    brew install wget mc bash-completion gnupg graphicsmagick links readline git node

    #. Install HTML5-tidy linter (see https://github.com/Homebrew/homebrew-dupes/pull/150)::

  4. dokterbob renamed this gist Sep 2, 2013. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions gistfile1.rst → README.rst
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    #. Install XCode and XCode command line tools.
    #. Install `XCode <https://developer.apple.com/xcode/>`_ from the App Store.

    #. Install the XCode command line tools from the 'Downloads' pane in XCode.

    #. Install `SublimeText <http://www.sublimetext.com/>`_.

    #. Install SublimeText `Package Control <https://sublime.wbond.net/installation>`_.
    @@ -18,7 +20,7 @@

    #. Install common Unix packages using Homebrew::

    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git node tidy-html5
    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git node tidy-html5 xmllint

    #. Install HTML5-tidy linter (see https://github.com/Homebrew/homebrew-dupes/pull/150)::

  5. dokterbob revised this gist Sep 2, 2013. 1 changed file with 18 additions and 2 deletions.
    20 changes: 18 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@

    #. Install SublimeText `Package Control <https://sublime.wbond.net/installation>`_.

    #. Install 'Sublime Linter <https://github.com/SublimeLinter/SublimeLinter>`_.
    #. Install `Sublime Linter <https://github.com/SublimeLinter/SublimeLinter>`_.

    #. Installing Homebrew::

    @@ -18,7 +18,11 @@

    #. Install common Unix packages using Homebrew::

    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git
    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git node tidy-html5

    #. Install HTML5-tidy linter (see https://github.com/Homebrew/homebrew-dupes/pull/150)::

    brew install --HEAD tidy

    #. Some additional changes to `~/.bash_profile`::

    @@ -49,9 +53,21 @@
    # SublimeText 2 as default editor (optional)
    export EDITOR='subl -w'

    # Node binaries
    export PATH="/usr/local/share/npm/bin:$PATH"

    # Set nice colors for terminal (optional)
    export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '

    #. Install Python packages::

    pip install virtualenv ipython Pillow pep8 ipdb South Django Fabric Pygments mercurial surlex sorl-thumbnail readline raven nose lxml gunicorn coverage django-extensions beautifulsoup4 six selenium Sphinx PyYAML docutils WebTest

    #. Install Node.js packages::

    npm install -g jshint require grunt

    #. Install Ruby packages::

    gem update --system
    gem install compass
  6. dokterbob revised this gist Sep 2, 2013. 1 changed file with 53 additions and 1 deletion.
    54 changes: 53 additions & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,57 @@
    #. Install XCode and XCode command line tools.

    #. Install `SublimeText <http://www.sublimetext.com/>`_.

    #. Install SublimeText `Package Control <https://sublime.wbond.net/installation>`_.

    #. Install 'Sublime Linter <https://github.com/SublimeLinter/SublimeLinter>`_.

    #. Installing Homebrew::

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

    #.
    #. Follow Homebrew setup instructions.

    #. Install Python with Homebrew::

    brew install python --framework

    #. Install common Unix packages using Homebrew::

    brew install screen wget mc bash-completion gnupg graphicsmagick links readline git

    #. Some additional changes to `~/.bash_profile`::

    # Homebrew over local packages (should only occur once)
    PATH="/usr/local/bin:$PATH"

    # --- Make PIP faster
    # Use mirrors when central package repository is down
    PIP_USE_MIRRORS=true

    # Use crate.io for the package index export
    PIP_INDEX_URL=https://simple.crate.io/

    # Cache previously downloaded packages locally
    PIP_DOWNLOAD_CACHE=~/.pip/download_cache

    # Export to make these available in your working environment
    export PIP_USE_MIRRORS PIP_INDEX_URL PIP_DOWNLOAD_CACHE

    # --- Homebrew bash completion
    if [ -f $(brew --prefix)/etc/bash_completion ]; then
    . $(brew --prefix)/etc/bash_completion
    fi

    # PIP command line completion
    eval "`pip completion --bash`"

    # SublimeText 2 as default editor (optional)
    export EDITOR='subl -w'

    # Set nice colors for terminal (optional)
    export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '

    #. Install Python packages::

    pip install virtualenv ipython Pillow pep8 ipdb South Django Fabric Pygments mercurial surlex sorl-thumbnail readline raven nose lxml gunicorn coverage django-extensions beautifulsoup4 six selenium Sphinx PyYAML docutils WebTest
  7. dokterbob created this gist Sep 2, 2013.
    5 changes: 5 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #. Installing Homebrew::

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

    #.