Documenting my specific tweaks here. I feel this doc does a great job of covering the basics of virtualenv and virtualenvwrapper.
brew update
brew install pythonDocumenting my specific tweaks here. I feel this doc does a great job of covering the basics of virtualenv and virtualenvwrapper.
brew update
brew install pythonTo install Kivy, you must:
vi hello.py
| var express = require('express') | |
| var directory = require('serve-index') | |
| var logger = require('morgan') | |
| var app = express() | |
| app | |
| .use(logger()) | |
| // enable direcotry listing | |
| .use(directory('public', {'icons': true})) | |
| // serve files |
| # this script started the remote rails app ready to attach a rubymine remote debugging session | |
| # see: http://www.jetbrains.com/ruby/webhelp/remote-debugging.html | |
| PATH_TO_RAILS="/path/to/rails/web/root" | |
| echo "removing existing debug gems and intalling rubymine debug gems" | |
| echo | |
| sudo gem uninstall ruby-debug-base -aIx | |
| sudo gem install ruby-debug-base --pre --no-rdoc --no-ri | |
| sudo gem uninstall ruby-debug-ide -aIx |
| #!/bin/bash | |
| # | |
| # (1) copy to: ~/bin/ssh-host-color | |
| # (2) set: alias ssh=~/bin/ssh-host-color | |
| # | |
| # Inspired from http://talkfast.org/2011/01/10/ssh-host-color | |
| # Fork from https://gist.github.com/773849 | |
| # | |
| set_term_bgcolor(){ |
| [mysqld] | |
| socket=/var/lib/mysql/mysql.sock | |
| ############### | |
| ## query log # | |
| ############### | |
| # < 5.1.6 format turn on general log and accepts a path | |
| # log = /usr/local/mysql/data/queries.log | |
| # > 5.1.6 |
Examples of superb Data UX on the web
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
| # $ cd ~ | |
| # $ wget https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh -O .git-prompt.sh | |
| # Setup git auto-complete and branch | |
| source .git-prompt.sh | |
| # curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash | |
| . ~/.git-completion.bash | |
| if [ -f $(brew --prefix)/etc/bash_completion ]; then |