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
{ | |
"draw_white_space": "all", | |
"translate_tabs_to_spaces": true, | |
"draw_centered": true, | |
"trim_trailing_white_space_on_save": true, | |
"ensure_newline_at_eof_on_save": true, | |
"save_on_focus_lost": true, | |
"animation_enabled": false, | |
"highlight_modified_tabs": true, | |
"bold_folder_labels": true, |
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
{ | |
"command": "ruby -rubygems -r./custom_plan -eZeus.go", | |
"plan": { | |
"boot": { | |
"default_bundle": { | |
"development_environment": { | |
"prerake": {"rake": []}, | |
"console": ["c"], | |
"server": ["s"] |
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
[user] | |
name = Sean McMills | |
email = seanmcmills@me.com | |
[core] | |
quotepath = false | |
excludesfile = /Users/seanmcmills/.gitignore_global | |
[difftool "Kaleidoscope"] | |
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\" | |
[mergetool "sourcetree"] | |
cmd = /usr/local/bin/ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot |
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
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
[ | |
{ "keys": ["alt+shift+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["ctrl+r"], "command": "find_results_apply_changes" }, | |
{ "keys": ["super+alt+down"], "command": "goto_definition" } | |
] |
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
alias rs="rails s" | |
alias rc="rails c" | |
alias rd="rails db" | |
alias rdp="rake db:phoenix" | |
alias rdm="rake db:migrate" | |
alias rdm0="rake db:migrate VERSION=0" | |
alias rdmr="rake db:migrate:redo" | |
alias rdr="rake db:rollback" | |
alias rdk="rake db:kapow" | |
alias rr="rake routes" |
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
def mockingspongebob str | |
str.split.map{|w|w.split('').map{|c|c.send(%w(upcase downcase).sample)}.join}.join(' ') | |
end | |
# cHAnge sentEnCE inTO a mocKING spOnGEBob SENTEnce! | |
# ChANGe senTENce INto A moCKing SPongEBOb senTenCe! | |
# CHaNgE SENtenCe IntO A MocKING sPongebOB sENTEnCe! | |
# ChanGE sEnTenCE INTO a MoCKIng Spongebob SENtEnCe! |