Prem Pillai premjg

View gist:3769770
1 2 3 4 5 6 7 8 9 10
info: Creating snapshot 0.0.1-1
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET http://nj-npm.irisnpm.com/express
npm http GET http://nj-npm.irisnpm.com/jade
npm http GET http://nj-npm.irisnpm.com/stylus
npm http GET http://nj-npm.irisnpm.com/moment
npm http GET http://nj-npm.irisnpm.com/coffee-script
npm http GET http://nj-npm.irisnpm.com/redis
npm http GET http://nj-npm.irisnpm.com/hiredis
View README.md

Getting started

First add your twitter username and password. Then server.rb and once it's started open websocket.html in your browser. You should see some tweets appear. If not take a look at the javascript console.

View index.md

Sets =~ Arrays

A set is basically an array of unique items.

(A,B)

Ordered set.

[1, 2] != [2, 1]
View fakeout.rb
1 2 3 4 5 6 7 8 9 10
# place this in lib/fakeout.rb
 
require 'ffaker'
 
module Fakeout
class Builder
 
FAKEABLE = %w(User Product)
 
attr_accessor :report
View gist:1012204
1 2 3 4 5 6
I have these models:
Note has_one Author
Author belongs_to Note
Some notes do not have authors in my database.
 
Now, I need to pull all Notes such that I only get records which have Authors
View check checkbox status jquery.js
1 2 3
if ($('input[name=wallpost]').val()==1){
//do something here
}
Something went wrong with that request. Please try again.