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
Just let Heroku know what your public keys are: | |
heroku keys:add ~/.ssh/id_rsa.pub |
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 ll="ls -lahG" | |
alias cdr='cd ~/rails' | |
alias gs='git status' | |
alias gl='git pull' | |
alias gp='git push' | |
alias gm='git merge' | |
alias gap='git add -p' | |
alias gaa='git add .' | |
alias gd='git diff | mate' |
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
> gem install 'compass' | |
add to Gemfile in app - assets block | |
group :assets do | |
gem 'compass' | |
gem 'sass-rails', '~> 3.1.4' | |
# gem 'coffee-rails', '~> 3.1.1' | |
# gem 'uglifier', '>= 1.0.3' | |
end | |
> bundle install |
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
git remote add origin [email protected]:joncode/wibble.git | |
you have to include the word 'origin' for this to work |
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
$('.guitarClick1 a').click(function() { | |
$('h2.chooseInstrument').replaceWith('<h2 class="chooseInstrument">Step 2: Choose a body style</h2>'); | |
}) |
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
using the old argument style of controller: "#", action: "#" , must put them in a hash to avoid id confusion | |
<%= link_to 'STORE',{ controller: 'store', action: 'new'}, :id => "storeClick" %> | |