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
/** | |
* The community cards that everyone uses in combination with their pocket | |
* cards to form the best hand. | |
*/ | |
type board = { | |
flop1: Card.t, | |
flop2: Card.t, | |
flop3: Card.t, | |
turn: option<Card.t>, | |
river: option<Card.t>, |
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
2013-09-12T20:28:01.301085+00:00 app[worker.1]: 2013-09-12T20:28:01Z 2 TID-ow22h5tp4 INFO: Thread TID-ow22h5tp4 | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: 2013-09-12T20:28:01Z 2 TID-ow22h5tp4 INFO: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/lib/sidekiq/cli.rb:117:in `backtrace' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/lib/sidekiq/cli.rb:117:in `block in handle_signal' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/lib/sidekiq/cli.rb:114:in `each' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/lib/sidekiq/cli.rb:114:in `handle_signal' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/lib/sidekiq/cli.rb:75:in `run' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.14.0/bin/sidekiq:8:in `<top (required)>' | |
2013-09-12T20:28:01.301186+00:00 app[worker.1]: / |
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
17:03:40 worker.1 | 2013-09-12T00:03:40Z 81119 TID-oveev2pv8 INFO: Thread TID-ovefino60 | |
17:03:40 worker.1 | 2013-09-12T00:03:40Z 81119 TID-oveev2pv8 INFO: /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/socket.rb:51:in `select' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/socket.rb:51:in `rescue in read' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/socket.rb:39:in `read' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/ssl_socket.rb:86:in `read' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/response.rb:36:in `parse' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/excon-0.25.0/lib/excon/connection.rb:350:in `response' | |
17:03:40 worker.1 | /Users/ekosz/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/exc |
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
// Setup | |
var userHTML = function(data) { | |
}, | |
createUser = function(name) { | |
localStorage[name] = JSON.stringify({name: name, stars: null, notes: '', lastViewed: null}); | |
}, | |
getUser = function(name) { | |
if(localStorage[name]) { | |
} else { createUser(name); } | |
return JSON.parse(localStorage[name]); |
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
JAVASCRIPT | |
========== | |
var c; | |
client.send({ | |
otherClients: (function() { | |
var _i, _len, _results; | |
_results = []; | |
for (_i = 0, _len = clients.length; _i < _len; _i++) { | |
c = clients[_i]; |