Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
group :development, :test do | |
gem 'pry-rails' # Causes rails console to open pry | |
# https://github.com/rweng/pry-rails | |
gem 'pry-debugger' # Adds step, next, finish, and continue commands and breakpoints | |
# https://github.com/nixme/pry-debugger | |
gem 'pry-stack_explorer' # Navigate the call-stack | |
# https://github.com/pry/pry-stack_explorer | |
gem 'annotate' # Annotate all your models, tests, fixtures, and factories | |
# https://github.com/ctran/annotate_models | |
gem 'quiet_assets' # Turns off the Rails asset pipeline log |
$(window).scroll(function() { | |
// Cache our jQuery selector for window | |
var win = $(window); | |
// Infinite scroll math! | |
if(win.height() + win.scrollTop() >= $(document).height()) { | |
populateCountries(); | |
} | |
}); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Backbone.JS-powered Blog</title> | |
<link href="styles.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<!-- This will be our main container --> |
# README-README: A Style Guide for README files | |
## Contents | |
The `README.md` file and supporting documents should describe the following, in this order. If the file starts getting long, break it into pieces | |
* **Project Titles** as a level-1 heading | |
- with descriptive tagline: I should be informed and intrigued. Examples: | |
- "Sinatra is a DSL for quickly creating web applications in Ruby with minimal | |
effort" |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl |
# Change from zsh to bash | |
chsh | |
change /bin/zsh to /bin/bash | |
# .bash_profile | |
# Exports | |
# ======= | |
# Make sublime our editor of choice |
add the following lines to ~/.ssh/config | |
ServerAliveCountMax 3 | |
ServerAliveInterval 10 |
"AlignTab", | |
"BeautifyRuby", | |
"Block Cursor Everywhere", | |
"BracketHighlighter", | |
"CTags", | |
"Decent Color Scheme", | |
"Git", | |
"GitGutter", | |
"Haml", | |
"Neon Color Scheme", |