Virtualized development http://vagrantup.com/
$ gem install vagrant
$ mkdir vagrant-box && cd vagrant-box # (optional)
$ vagrant box add {title} {url}
$ vagrant init {title}
Virtualized development http://vagrantup.com/
$ gem install vagrant
$ mkdir vagrant-box && cd vagrant-box # (optional)
$ vagrant box add {title} {url}
$ vagrant init {title}
http://guides.rubyonrails.org/association_basics.html
http://guides.rubyonrails.org/migrations.html
[user] | |
email = [email protected] | |
name = Adrian Mejia | |
[color] | |
ui = auto | |
interactive = true | |
[alias] | |
ci = commit | |
di = diff --color-words |
# bash | |
alias b='vi ~/.bash_login' | |
alias u='source ~/.bashrc' | |
#ls | |
alias l='ls -CF' | |
alias ll='ls -alFc' | |
alias la='ls -A' | |
alias lt='ls -lart' |
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration | |
# which adjusts automatically to the width of the terminal. | |
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png | |
# Michal Kottman, 2012 | |
RESET="\[\033[0m\]" | |
RED="\[\033[0;31m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" | |
YELLOW="\[\033[0;33m\]" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
set -e # exit on error | |
### README | |
# * installs your desired ruby versions using rbenv | |
# ** including openssl (needed by bundler) | |
# ** including sqlite (probably needed for rails apps) | |
# | |
# Before you start: | |
# * put ssh-keys in place |
amejia@DEVCOOPPC-W7 /C/amr/tickets/ticket_2109_SQR_OK_TO_RELEASE (master) | |
$ echo $PS1 | |
\[\033]0;$MSYSTEM:\w\007 \033[32m\]\u@\h \[\033[33m\w$(__git_ps1)\033[0m\] $ |
# | |
# Jekyll migrator for Drupal 7+ | |
# adrianmejia.com | |
# | |
require 'rubygems' | |
require 'sequel' | |
require 'fileutils' | |
require 'yaml' |