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
<knip> | |
Tele2 zegt:Dank je wel. Ik kan kijken of er een Tele2 klantenservice medewerker beschikbaar is om dit chatgesprek over te nemen, wil je dat? | |
Jij zegt:ja | |
Tele2 zegt:Voordat ik je kan doorverbinden heb ik nog enkele gegevens van je nodig, dan kan de klantenservice gelijk je gegevens erbij pakken. Wat zijn je voorletters en achternaam? | |
Jij zegt: <knip> | |
Tele2 zegt:Prima, dank je. Wat is je straatnaam en huisnummer? | |
Jij zegt: <knip> | |
Tele2 zegt:Prima, en wat is de bijbehorende postcode? | |
Jij zegt: <knip> | |
Tele2 zegt:Duidelijk! We zijn er bijna. Wat is je telefoonnummer? |
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
var fs = require('fs'); | |
var buf = new Buffer(1024*1024); | |
buf.fill(42); | |
var fd = fs.openSync('file1', 'a+'); | |
console.log("fd A: " + fd); | |
for (i = 0; i < 100; i++) { |
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
From 2073d2f220029129444e5cdd39b314d0ead165d7 Mon Sep 17 00:00:00 2001 | |
From: Nicolas LaCasse <[email protected]> | |
Date: Fri, 20 Jan 2012 15:36:28 +0100 | |
Subject: [PATCH 1/1] Fix zlib crashes on error due to improper use of | |
removeListener in the error handler | |
Closes GH-2365 | |
--- | |
lib/zlib.js | 20 ++++++++++------ | |
test/simple/test-zlib-invalid-input.js | 38 ++++++++++++++++++++++++++++++++ |
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
// An express router | |
app.get('/view/{file}', function(req, res, o) { | |
var d = domain(function() { | |
var renderer = new MyTemplateRenderer(o.file); | |
renderer.on('data', function(buf) { | |
// is this allowed? | |
res.write(buf, function() { | |
// In which domain does this run? |
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
-----BEGIN CERTIFICATE----- | |
MIIKDAIBAzCCCcwGCSqGSIb3DQEHAaCCCb0Eggm5MIIJtTCCBe4GCSqGSIb3DQEH | |
AaCCBd8EggXbMIIF1zCCBdMGCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcN | |
AQwBAzAOBAjvKR72zFwQXgICB9AEggTITD+9vwaG17P+M0Y3bJjjo9xhXv+uM2AC | |
pGoSFTa2lJ8q5x3q9zK9o/HCO+Ai5xCKP+jVAxAcbvwSG9Sr7XbYxW+k8WqOBGPp | |
MxiT3sJ9+IV4NbWmg3Bpo+I9i7zZ+/o37VUldT9AwM58sP3uGeBc5CJx8+/O5TMl | |
axN6DK7qwPZbUg0czemXrPL9rq+go0vtHxq1aU7OebdSPs2x99b7RfbPlkVpc85D | |
xwVkmb3BJT5FQX/qXQ+DKzVPH2IlkQs4VCmmFCTDwiiEFzWraaw0SePLbA1wiY3U | |
HqcC8Yl80PjCS2RbuHXPpbS+NUXIX3ICUmvuvIEPxuCzk+s7b51d16VEWA96jpXM | |
4nSvEQzm6jm8aOuVIORvWdUOwbd41/AinAD1bl6XJpUs83cQMPkWY+Jj4yqcNdcq |
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
diff --git a/src/node_zlib.cc b/src/node_zlib.cc | |
index 7c07ef3..952fc26 100644 | |
--- a/src/node_zlib.cc | |
+++ b/src/node_zlib.cc | |
@@ -125,7 +125,7 @@ template <node_zlib_mode mode> class ZCtx : public ObjectWrap { | |
ctx->chunk_size_ = out_len; | |
// build up the work request | |
- uv_work_t* work_req = new uv_work_t(); | |
+ uv_work_t* work_req = &req_wrap->req_; |
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
From db8adac19321504530e6794771ae534a238c1648 Mon Sep 17 00:00:00 2001 | |
From: Bert Belder <[email protected]> | |
Date: Fri, 30 Dec 2011 14:36:31 +0100 | |
Subject: [PATCH 1/1] Partial support for hash randomization | |
- Doesn't play nice with snapshots | |
- Breaks ARM and MIPS | |
--- | |
deps/v8/src/flag-definitions.h | 3 +++ | |
deps/v8/src/ia32/code-stubs-ia32.cc | 18 ++++++++++++++---- |
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
D:\node4\deps\v8>D:\node4\deps\v8\obj\test\debug\cctest.exe test-serialize/Deser | |
ializeAndRunScript2 --testing_serialization_file=D:\node4\deps\v8\obj\test\relea | |
se\serdes_DeserializeAndRunScript2__nocrankshaft --nocrankshaft --test | |
# | |
# Fatal error in src\serialize.cc, line 1017 | |
# CHECK_EQ(kSynchronize, data) failed | |
# Expected: 112 | |
# Found: 2 |
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
var count = 3e6, | |
values = new Array(count), | |
repeats = 10; | |
console.log('generating numbers'); | |
for (var i = 0; i < count; i++) { | |
values[i] = ~~(Math.random() * 10); // <-- integers | |
//values[i] = Math.random() * 10 // <-- doubles | |
} | |
console.log('done generating numbers'); |
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
var url = "https://registry.npmjs.org/cloud9/-/cloud9-0.5.1.tgz"; | |
var request = require('url').parse(url); | |
require('https').get(request, function(response) { | |
response.pipe(require('fs').createWriteStream('out.tgz')); | |
response.on('data', function(b) { console.log('received ' + b.length); }); | |
}); |