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
(function( $ ){ | |
var totals = []; | |
var current; | |
var teams = $("tr td a").each(function( index ){ | |
if( this.innerHTML.toLowerCase() == "speedo" ){ | |
current = index; | |
} | |
}); |
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
<script> | |
(function(d,n){var e =d.createElement(n),s=d.getElementsByTagName(n)[0];e.async=true;e.src="//speedo.no.de/client.js#{'account':'6686927203821'}";s.parentNode.insertBefore( e, s);})(document,"script"); | |
</script> |
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
// check if the client has been assigned to a channel yet, if this is not the case make it happen :D | |
// this allow us to broadcast messages to appropiate connections | |
if( !client.channel ){ | |
client.channel = resp.domain + ":" + resp.channel + resp.account; | |
} |
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
// instead of using .broadcast we are looping of the clients to see if they are in the correct channel | |
broadcast = function( response ){ | |
var clientList = client.listener.clients, | |
length = clientList.length, i; | |
for( i = 0; i < length; i++ ){ | |
if( clientList[i] && ( clientList[i].sessionId && clientList[i].sessionId !== sessionId && clientList[i] !== client ) && clientList[i].channel && clientList[i].channel == client.channel ){ | |
clientList[i].send( response ); | |
} | |
} |
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
ms = require('connect/middleware/session/memory'), | |
memory = new ms({ reapInterval: conf.sessionInterval, maxAge: conf.sessionMaxAge }); |
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
Arnout-Kazemiers-iMac:~ arnout$ ssh -vvv [email protected] | |
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 | |
debug1: Reading configuration data /etc/ssh_config | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to speedo.no.de [8.19.40.193] port 22. | |
debug1: Connection established. | |
debug1: identity file /Users/arnout/.ssh/identity type -1 | |
debug3: Not a RSA1 key file /Users/arnout/.ssh/id_rsa. | |
debug2: key_type_from_name: unknown key type '-----BEGIN' | |
debug3: key_read: missing keytype |
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
2 Sep 19:55:10 - Client 5081818955950439 disconnected | |
2 Sep 19:55:10 - Client 10417915764264762 disconnected | |
2 Sep 19:55:10 - Initializing client with transport "flashsocket" | |
Caught exception: TypeError: Object #<a ServerResponse> has no method 'setTimeout' | |
[ 'TypeError: Object #<a ServerResponse> has no method \'setTimeout\'' | |
, ' at [object Object]._onConnect (/home/node/node-service/releases/20100830000043/vendor/io.server/lib/socket.io/transports/websocket.js:23:18)' | |
, ' at [object Object].<anonymous> (/home/node/node-service/releases/20100830000043/vendor/io.server/lib/socket.io/client.js:17:7)' | |
, ' at [object Object].<anonymous> (/home/node/node-service/releases/20100830000043/vendor/io.server/lib/socket.io/transports/websocket.js:7:9)' | |
, ' at new <anonymous> (/home/node/node-service/releases/20100830000043/vendor/io.server/lib/socket.io/transports/flashsocket.js:7:12)' | |
, ' at [object Object]._onConnection (/home/node/node-service/releases/20100830000043/vendor/io.server/lib/socket.io/list |
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
[ Sep 5 09:37:43 Stopping because service disabled. ] | |
[ Sep 5 09:37:44 Executing stop method (:kill). ] | |
[ Sep 5 09:37:44 Rereading configuration. ] | |
[ Sep 5 09:37:44 Rereading configuration. ] | |
[ Sep 5 09:37:44 Enabled. ] | |
[ Sep 5 09:37:44 Executing start method ("env `cat /home/node/node-service/profile` /usr/nodejs/v0.2.0/bin/node /home/node/node-service/releases/20100905093743/server.js"). ] | |
Speedo is booting up.... | |
5 Sep 09:37:44 - socket.io ready - accepting connections | |
Speedo is awaiting for commands on port 80. |
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
elementToCSS3 = function( e ){ | |
// optimized for id lookups | |
if( e.id ){ return { selector:"#" + e.id, index:0 }; } | |
var nodeName = e.nodeName.toLowerCase(), | |
css3 = { selector: nodeName + ( e.className ? "." + e.className.split(" ").join(".") : ""), index:0 }, | |
node = e; | |
// speedup for parent lookups | |
var parent = node.parentNode; |
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
if( json.css3 ){ | |
var css = json.css3, | |
qsa = document.querySelectorAll( css.selector ), | |
element = qsa[ css.index ]; | |
// https://developer.mozilla.org/en/DOM/document.createEvent | |
// https://developer.mozilla.org/en/DOM/event.initMouseEvent | |
if( element ){ | |
var evt = document.createEvent("MouseEvents"); | |
evt.initMouseEvent( |