Create a directory for Python development
$ mkdir -p ~/sandbox/python
$ cd ~/sandbox/python
Setup a virtual Python environment (http://pypi.python.org/pypi/virtualenv/)
$ sudo apt-get install curl
Create a directory for Python development
$ mkdir -p ~/sandbox/python
$ cd ~/sandbox/python
Setup a virtual Python environment (http://pypi.python.org/pypi/virtualenv/)
$ sudo apt-get install curl
Install git
$ sudo apt-get install git
User settings
$ git config --global user.name "Dwayne R. Crooks"
$ git config --global user.email "me@dwaynecrooks.com"
| set autoindent | |
| set tabsize 2 |
https://live.gnome.org/GeditPlugins
$ sudo apt-get install gedit-plugins
https://github.com/dtrebbien/gedit-trim-trailing-whitespace-before-saving-plugin
$ git clone git://github.com/dtrebbien/gedit-trim-trailing-whitespace-before-saving-plugin.git
$ cd gedit-trim-trailing-whitespace-before-saving-plugin/src
Navigate to http://nodejs.org/download/ and on the Linux Binaries (.tar.gz) row click to download the 64-bit version of the current latest release.
Say you've downloaded node-v0.10.7-linux-x64.tar.gz into the Downloads directory. Then, open the terminal and type the following:
$ cd ~/Downloads
$ mkdir -p ~/local/node
$ tar xzf node-v0.10.7-linux-x64.tar.gz -C ~/local/node --strip-components=1
$ echo '# Node Enviroment Setup' >> ~/.bashrc
$ echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc| # Exclude files that don't need to be on the server | |
| # Used by rsync when deploying code to the server | |
| .excludes | |
| .git | |
| .gitignore | |
| log/ | |
| tmp/ |
| # References | |
| # * https://github.com/sstephenson/stitch | |
| # * http://arcturo.github.com/library/coffeescript/06_applications.html | |
| # A possible directory structure | |
| # | |
| # app [application code] | |
| # |-- model | |
| # |-- view | |
| # |-- controller |
| require 'net/http' | |
| month = 'Apr' # Mmm | |
| year = '11' # yy | |
| host = 'nlcb.co.tt' | |
| path = 'search/pwq/countdateCash.php' | |
| uri = URI("http://#{host}/#{path}") |
| #lang racket | |
| (define (continued-fraction p q) | |
| (letrec ([cf (lambda (p q) | |
| (cond [(= p 1) (list q)] | |
| [(< p q) | |
| (cons (quotient q p) | |
| (cf (remainder q p) p))] | |
| [else | |
| (cons (quotient p q) |