This file contains hidden or 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
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Font | |
:set guifont=Source\ Code\ Pro:h14 | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason? | |
:set laststatus=0 | |
:set noshowmode "don't show --INSERT-- | |
:set noruler "don't show line numbers/column/% junk |
This file contains hidden or 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
VAGRANTFILE_API_VERSION = '2' | |
GUEST_IP = ENV['VM_IP'] || '172.17.8.100' | |
PROJECT_NAME = File.basename(Dir.pwd).downcase | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.provider 'virtualbox' do |v| | |
v.memory = 2048 | |
v.cpus = 2 | |
end |
I hereby claim:
- I am pedrofernandezm on github.
- I am pedrito (https://keybase.io/pedrito) on keybase.
- I have a public key whose fingerprint is 5039 1419 B8E1 7201 943E DE8F DF66 8BF7 4F24 06ED
To claim this, I am signing this object:
This file contains hidden or 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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="gallois" | |
# Example aliases |
This file contains hidden or 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
# NOTE: only doing this in development as some production environments (Heroku) | |
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper | |
# NOTE: to have a dev-mode tool do its thing in production. | |
if(Rails.env.development?) | |
task :set_annotation_options do | |
ENV['position_in_class'] = "before" | |
ENV['position_in_fixture'] = "before" | |
ENV['position_in_factory'] = "before" | |
ENV['show_indexes'] = "true" | |
ENV['include_version'] = "false" |
This file contains hidden or 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
defaults: &defaults | |
adapter: postgresql | |
template: template0 | |
host: 'localhost' | |
encoding: utf8 | |
test: | |
<<: *defaults | |
database: "app_test" |
This file contains hidden or 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
alias gs='git status' | |
gc() { | |
git commit -m "$1"; | |
} | |
gp(){ | |
git pull $@; | |
} |
This file contains hidden or 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
class CreateUsers < ActiveRecord::Migration | |
def change | |
create_table :users do |t| | |
t.string :email | |
t.string :password_digest | |
t.timestamps | |
end | |
end | |
end |