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.
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
Process: MacDown [4349] | |
Path: /opt/homebrew-cask/*/MacDown.app/Contents/MacOS/MacDown | |
Identifier: com.uranusjr.macdown | |
Version: 0.5.5 (715) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: MacDown [4349] | |
User ID: 502 | |
Date/Time: 2016-01-31 18:55:45.140 +1100 |
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
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 |
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
# place this in lib/fakeout.rb | |
require 'ffaker' | |
module Fakeout | |
class Builder | |
FAKEABLE = %w(User Product) | |
attr_accessor :report |
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
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 |
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
if ($('input[name=wallpost]').val()==1){ | |
//do something here | |
} |