From: paulr Date: Sun, 30 Dec 2012 11:00:22 +0000 (+1100) Subject: cleaning up some file space X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=c2f8834a9f472b1d2a61ee0f899fc695f43c63a4;p=nodejsws.git cleaning up some file space --- diff --git a/ibby b/ibby deleted file mode 100644 index 657f149..0000000 --- a/ibby +++ /dev/null @@ -1,611 +0,0 @@ -Server running on port: 9999 -testing url: /asfd/asdf/asfd/asdf?asdlfkjasd=3245 -testing url: /asfd/asdf/asfd/asdf?asdlfkjasd=3245 -testing url: /asfd/asdf/asfd/asdf?asdlfkjasd=3245 -testing url: /asfd/asdf/asfd/asdf?asdlfkjasd=3245 -testing url: /asfd/asdf/asfd/asdf?asdlfkjasd=3245 -request: { domain: null, - _events: null, - _maxListeners: 10, - socket: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 797, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] } }, - connection: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 797, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] } }, - httpVersion: '1.1', - complete: false, - headers: - { host: 'localhost:9999', - connection: 'keep-alive', - 'cache-control': 'max-age=0', - accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', - 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.40 Safari/537.17', - 'accept-encoding': 'gzip,deflate,sdch', - 'accept-language': 'en-US,en;q=0.8', - 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', - cookie: 'ci_session=a95426ae6fa70a2c4982d8f116e7cfff; PHPSESSID=j01g55avjp6k676m84thn7hv14; JSESSIONID=5FD12B7AB73A36463DF02320830487EC; sid=ygmsdxO4mQTVJamxPLDXVVySQtUif8181Xt4OGn75fmxpv8O1D9SA9ZI6OfUuVX9UbWLw6GRjPJcaB5wUQfl9ZqiETmtLXGtIEocDwU8x4mVYAXFweR6r8QOj8WTbQ7u; connect.sid=s%3AAXdx9n%2F%2BnYLqcIZkDEvi99q%2F.Iizw66w83IZi1AbSS9Xvn9e%2FbBi1ogEdH4x9YxlmiPI' }, - trailers: {}, - readable: true, - _paused: false, - _pendings: [], - _endEmitted: false, - url: '/asfd/asdf/asfd/asdf?asdlfkjasd=3245', - method: 'GET', - statusCode: null, - client: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 797, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] } }, - httpVersionMajor: 1, - httpVersionMinor: 1, - upgrade: false } -testing url: /favicon.ico -testing url: /favicon.ico -testing url: /favicon.ico -testing url: /favicon.ico -testing url: /favicon.ico -request: { domain: null, - _events: null, - _maxListeners: 10, - socket: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 1484, - _bytesDispatched: 136, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] }, - _paused: false }, - connection: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 1484, - _bytesDispatched: 136, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] }, - _paused: false }, - httpVersion: '1.1', - complete: false, - headers: - { host: 'localhost:9999', - connection: 'keep-alive', - accept: '*/*', - 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.40 Safari/537.17', - 'accept-encoding': 'gzip,deflate,sdch', - 'accept-language': 'en-US,en;q=0.8', - 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', - cookie: 'ci_session=a95426ae6fa70a2c4982d8f116e7cfff; PHPSESSID=j01g55avjp6k676m84thn7hv14; JSESSIONID=5FD12B7AB73A36463DF02320830487EC; sid=ygmsdxO4mQTVJamxPLDXVVySQtUif8181Xt4OGn75fmxpv8O1D9SA9ZI6OfUuVX9UbWLw6GRjPJcaB5wUQfl9ZqiETmtLXGtIEocDwU8x4mVYAXFweR6r8QOj8WTbQ7u; connect.sid=s%3AAXdx9n%2F%2BnYLqcIZkDEvi99q%2F.Iizw66w83IZi1AbSS9Xvn9e%2FbBi1ogEdH4x9YxlmiPI' }, - trailers: {}, - readable: true, - _paused: false, - _pendings: [], - _endEmitted: false, - url: '/favicon.ico', - method: 'GET', - statusCode: null, - client: - { domain: null, - _events: - { drain: [Function: ondrain], - timeout: [Object], - error: [Function], - close: [Object] }, - _maxListeners: 10, - _handle: - { writeQueueSize: 0, - owner: [Circular], - onread: [Function: onread] }, - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 1484, - _bytesDispatched: 136, - allowHalfOpen: true, - writable: true, - readable: true, - server: - { domain: null, - _events: [Object], - _maxListeners: 10, - _connections: 2, - connections: [Getter/Setter], - allowHalfOpen: true, - _handle: [Object], - httpAllowHalfOpen: false, - _connectionKey: '4:0.0.0.0:9999' }, - _idleTimeout: 120000, - _idleNext: - { domain: null, - _events: [Object], - _maxListeners: 10, - _handle: [Object], - _pendingWriteReqs: 0, - _flags: 0, - _connectQueueSize: 0, - destroyed: false, - errorEmitted: false, - bytesRead: 0, - _bytesDispatched: 0, - allowHalfOpen: true, - writable: true, - readable: true, - server: [Object], - _idleTimeout: 120000, - _idleNext: [Object], - _idlePrev: [Circular], - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: [Object], - ondata: [Function], - onend: [Function] }, - _idlePrev: - { _idleNext: [Circular], - _idlePrev: [Object], - ontimeout: [Function] }, - _idleStart: Mon Dec 17 2012 07:09:43 GMT+1100 (EST), - parser: - { _headers: [], - _url: '', - onHeaders: [Function: parserOnHeaders], - onHeadersComplete: [Function: parserOnHeadersComplete], - onBody: [Function: parserOnBody], - onMessageComplete: [Function: parserOnMessageComplete], - socket: [Circular], - incoming: [Circular], - maxHeaderPairs: 2000, - onIncoming: [Function] }, - ondata: [Function], - onend: [Function], - _httpMessage: - { domain: null, - _events: [Object], - _maxListeners: 10, - output: [], - outputEncodings: [], - writable: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: true, - _hasBody: true, - _trailer: '', - finished: false, - socket: [Circular], - connection: [Circular] }, - _paused: false }, - httpVersionMajor: 1, - httpVersionMinor: 1, - upgrade: false } diff --git a/tokeniser.js b/tokeniser.js deleted file mode 100644 index 749b95f..0000000 --- a/tokeniser.js +++ /dev/null @@ -1,48 +0,0 @@ -var mys = "1 this is for \n\n\n the second one its end here "; - - -//var tool = mys.split("")[0].trim(); - console.log("calling: '%s'", calling); -} -*/ - -function splitandcall(thisstring) { - var tool = thisstring.split(""); - dummy_call(calling[0].trim(), function() { - thisoffset++; - if(thisoffset < tool.length) { - console.log("output: '%s'", calling[1]); - calloffset(); - } else { - console.log("output: '%s'", calling[1]); - console.log("at end"); - return; - } - }); - } - - calloffset(); -} - -function dummy_call(name, callback) -{ - console.log("in '%s' for name", name); - callback(); -} - -console.log("mys: '%s'", mys); -splitandcall("start:" + mys + ":end");