Skip to content

Instantly share code, notes, and snippets.


Sean M seanmcmills

View GitHub Profile
seanmcmills / mockingspongebob.rb
Last active Aug 8, 2019
Change Sentence into a Mocking SpongeBob Sentence!
View mockingspongebob.rb
def mockingspongebob str{|w|w.split('').map{|c|c.send(%w(upcase downcase).sample)}.join}.join(' ')
# 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!
View rails useful rake aliases
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"
seanmcmills / sublime key bindings - user
Last active Aug 29, 2015
sublime key bindings - user
View sublime key bindings - user
{ "keys": ["alt+shift+r"], "command": "reveal_in_side_bar"},
{ "keys": ["ctrl+r"], "command": "find_results_apply_changes" },
{ "keys": ["super+alt+down"], "command": "goto_definition" }
View capybara cheat sheet
=Clicking links and buttons=
click_link('Link Text')
click('Link Text') # Click either a link or a button
click('Button Value')
View .gitconfig-aliases
name = Sean McMills
email =
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
View zeus.json
"command": "ruby -rubygems -r./custom_plan -eZeus.go",
"plan": {
"boot": {
"default_bundle": {
"development_environment": {
"prerake": {"rake": []},
"console": ["c"],
"server": ["s"]
seanmcmills / sublime-text-3-settings.json
Last active Dec 22, 2015 — forked from olivierlacan/sublime-text-2-settings.json
use as the entire "Settings — User" file in Sublime Text 3. thanks olivierlacan!
View sublime-text-3-settings.json
"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,
You can’t perform that action at this time.