This re-styles your sublime text 2 sidebar to be darker, so it doesn't blind you when using a dark theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
| # https://registry.hub.docker.com/_/node/ | |
| FROM buildpack-deps:jessie | |
| # verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc | |
| # gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>" | |
| # gpg: aka "Julien Gilli <jgilli@fastmail.fm>" | |
| RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7937DFD2AB06298B2293C3187D33FF9D0246406D 114F43EE0176B71C7BC219DD50A3051F888C628D | |
| ENV NODE_VERSION 0.12.4 | |
| ENV NPM_VERSION 2.11.1 |
| apt-get update | |
| apt-get install -y software-properties-common | |
| add-apt-repository -y ppa:chris-lea/node.js | |
| apt-get update | |
| apt-get install -y nodejs |
| #update | |
| apt-get update | |
| # synapse app launcher | |
| add-apt-repository ppa:synapse-core/ppa | |
| apt-get update | |
| apt-get install synapse | |
| # gnome classic | |
| apt-get install gnome-session-fallback |
| # Ubuntu 14.04 | |
| sudo apt-get update | |
| # vim | |
| sudo apt-get install vim | |
| # chromium | |
| sudo apt-get install chromium-browser | |
| # sublime text | |
| sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
| sudo apt-get update | |
| sudo apt-get install sublime-text |
| # virtualvent | |
| activate_this = '/home/user/workspace/yourapp/venv/bin/activate_this.py' | |
| execfile(activate_this, dict(__file__=activate_this)) | |
| import sys | |
| import os | |
| sys.path.append('/home/user/workspace/yourapp') | |
| # this is optional |
| <VirtualHost *:80> | |
| ServerName example.com | |
| # WSGIDaemonProcess yourapplication user=www-data group=www-data threads=5 | |
| WSGIDaemonProcess yourapplication threads=5 | |
| # WSGIScriptAlias /wsgi /var/www/wsgi/yourapplication.wsgi | |
| # https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScriptAlias | |
| WSGIScriptAlias /wsgi/ /var/www/wsgi/ | |
| <Directory /var/www/wsgi> |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| # curl https://raw.github.com/gist/5977116 | bash & exit | |
| gnome-terminal --geometry 160x11+0+650 & \ | |
| sublime_text & \ | |
| exit |
| // Karma configuration | |
| // Generated on Tue Jul 09 2013 18:28:28 GMT+0200 (CEST) | |
| // base path, that will be used to resolve files and exclude | |
| basePath = ''; | |
| // list of files / patterns to load in the browser | |
| files = [ |