This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in config/application.rb | |
if ENV['RAISE_WARNINGS'] | |
ActiveSupport::Deprecation.behavior = Proc.new do |message, backtrace| | |
puts message | |
puts backtrace | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader="," | |
let maplocalleader="," | |
nnoremap ; : | |
nmap <silent> <leader>c :tabnew<CR> | |
nmap <silent> <leader>t :tabnext<CR> | |
nmap <silent> <leader>p :tabprev<CR> | |
nmap <silent> <leader>/ :nohlsearch<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding | |
defutf8 on | |
defkanji utf-8 | |
encoding utf-8 utf-8 | |
defencoding utf-8 | |
# Keys | |
# \233 is "Meta-Ctrl-[", or "Meta-Esc". | |
escape \233\233 | |
escape ^Tt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VHOME=/home/vagrant | |
sudo apt-get -y install curl wget unzip exuberant-ctags ack tree screen | |
curl -k https://gist.github.com/jaronson/6892004/raw/37e4872e85e6e2c998971ab2eca8b33e1e917e15/.vimrc -o $VHOME/.vimrc | |
curl -k https://gist.github.com/jaronson/6892032/raw/63d6b162f3a84396fe9ef7c0da089b8107611af7/.screenrc -o $VHOME/.screenrc | |
curl -k https://gist.github.com/jaronson/6903803/raw/088e95bcca30ead24bcab4f0561c618842b659e6/debian.profile -o $VHOME/.profile | |
curl -k https://gist.github.com/jaronson/6903796/raw/ef5f976fcff0ea50e4aa38191cb86a8ee4a1b38d/debian.bash_profile -o $VHOME/.bash_profile | |
curl -k https://gist.github.com/jaronson/6893402/raw/38751e33b7ab47a9175508a6e0b202d766b6de6e/debian.bashrc -o $VHOME/.bashrc | |
curl -k https://gist.github.com/jaronson/6903833/raw/afcb3ed0e95b302f2f95b9cabb5743698237ff07/debian.bash_aliases -o $VHOME/.bash_aliases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host github.com | |
HostName github.com | |
User git | |
StrictHostKeyChecking no | |
IdentityFile /home/vagrant/.ssh/id_rsa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get --purge remove ruby-rvm | |
sudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh | |
export rvm_path= | |
\curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
OlderNewer