NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.
NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.
NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.
sudo apt-get install python-setuptoolswget http://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.0-alpha1/s3cmd-1.5.0-alpha1.tar.gztar xvfz s3cmd-1.5.0-alpha1.tar.gzcd s3cmd-1.5.0-alpha1python setup.py installs3cmd --configure| # Install with: | |
| # bash < <(curl -L https://raw.github.com/gist/2767174) | |
| echo "Installing S3cmd..." | |
| wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add - | |
| sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.list | |
| sudo apt-get update && sudo apt-get install s3cmd | |
| echo "Done" |
| #!/bin/bash | |
| # | |
| # PostgreSQL Backup Script Ver 1.0 | |
| # http://autopgsqlbackup.frozenpc.net | |
| # Copyright (c) 2005 Aaron Axelsen <[email protected]> | |
| # | |
| # This script is based of the AutoMySQLBackup Script Ver 2.2 | |
| # It can be found at http://sourceforge.net/projects/automysqlbackup/ | |
| # | |
| # The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9 |
| ;; Code folding | |
| (add-hook 'ruby-mode-hook | |
| (lambda () (hs-minor-mode))) | |
| (eval-after-load "hideshow" | |
| '(add-to-list 'hs-special-modes-alist | |
| `(ruby-mode | |
| ,(rx (or "def" "class" "module" "do" "{" "[")) ; Block start | |
| ,(rx (or "}" "]" "end")) ; Block end | |
| ,(rx (or "#" "=begin")) ; Comment start |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
emacs --daemon to run in the background.
emacsclient.emacs24 <filename/dirname> to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/C-?M-c
2. Upper Case : M-uM-l