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
after rake cucumber: | |
uninitialized constant ActiveRecord (NameError) | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/rspec-expectations-2.0.0.beta.19/lib/rspec/expectations/backward_compatibility.rb:6:in `const_missing' | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.0.beta.19/lib/rspec/core/backward_compatibility.rb:20:in `const_missing' | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/pickle-0.3.4/lib/pickle/adapter.rb:115:in `factories' | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/pickle-0.3.4/lib/pickle/config.rb:23:in `block in factories' | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/pickle-0.3.4/lib/pickle/config.rb:22:in `each' | |
/Users/evanburchard/.rvm/gems/ruby-1.9.2-head/gems/pickle-0.3.4/lib/pickle/config.rb:22:in `inject' |
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
http://codeulate.com/2010/02/installing-fuzzyfinder_textmate-textmates-cmdt-in-vim/ |
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
In the view with the tooltip: | |
%h1 | |
.some_class{:title => "display this text"} | |
:javascript | |
$(function(){ | |
$(".some_class").tipTip(); | |
}); | |
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
$: << File.expand_path(File.dirname(FILE) + “/../lib”)) |
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
gem-this (creates rakefile) | |
rake package (creates gemspec) | |
gem build x.gemspec (creates x.[version].gem) | |
gem push x.[version].gem |
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
ubuntu@server:~/.rvm/gems$ which ruby | |
/usr/local/bin/ruby | |
ubuntu@server:~/.rvm/gems$ ruby -v | |
ruby 1.9.2dev (2010-07-02 revision 28524) [i686-linux] | |
ubuntu@server:~/.rvm/gems$ gem -v | |
1.3.7 | |
ubuntu@server:~/.rvm/gems$ which gem |
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
=================================This is the file================================= | |
class UserSessionsController < ApplicationController | |
before_filter :login_required, :only => [ :destroy ] | |
# omniauth callback method | |
def create | |
omniauth = request.env['omniauth.auth'] | |
user = User.find_by_uid(omniauth['uid']) |
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
// api/controllers/AuthController.js | |
var passport = require('passport'); | |
var AuthController = { | |
login: function (req,res) | |
{ | |
res.view(); | |
}, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<map version="1.0" orientation="orthogonal" width="200" height="20" tilewidth="70" tileheight="70"> | |
<tileset firstgid="1" name="Tiles" tilewidth="70" tileheight="70" spacing="2"> | |
<image source="../images/tiles.png" width="914" height="936"/> | |
<tile id="8"> | |
<properties> | |
<property name="points" value="0,0 1,1 0,1"/> | |
</properties> | |
</tile> | |
<tile id="19"> |