Instantly share code, notes, and snippets.

View gist:97f376a0622a894c86d8dde38e350586
make -C out BUILDTYPE=Release V=1
touch d6a97d927244121b490e50fb236a2a940b280263.intermediate
LD_LIBRARY_PATH=/home/sam/w/core/node/out/Release/lib.host:/home/sam/w/core/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p /home/sam/w/core/node/out/Release/obj/gen/src; python ../third_party/inspector_protocol/CheckProtocolCompatibility.py --stamp "/home/sam/w/core/node/out/Release/obj/gen/src/js_protocol.stamp" ../src/inspector/js_protocol.json
touch c8eaca2fd41a0a4ac1d87c52bdf44326cc41915f.intermediate
LD_LIBRARY_PATH=/home/sam/w/core/node/out/Release/lib.host:/home/sam/w/core/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p /home/sam/w/core/node/out/Release/obj/gen/torque-generated; "/home/sam/w/core/node/out/Release/torque" ../src/builtins/base.tq ../src/builtins/array.tq ../src/builtins/array-copywithin.tq ../src/builtins/array-foreach.tq ../src/builtins/array-lastindexof.tq ../src/builtins/arra
View gist:129d11b95294bfbd003517464cc29b71
core/node (master *% u=) % make V8_IMMINENT_DEPRECATION_WARNINGS=0 V8_DEPRECATION_WARNINGS=0 2>&1 | grep V8_DEPRE
g++ -o /home/sam/w/core/node/out/Release/obj.target/v8_snapshot/geni/embedded.o /home/sam/w/core/node/out/Release/obj.target/v8_snapshot/geni/embedded.cc '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DOPENSSL_THREADS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.5"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_EMBEDDED_BUILTINS' '-DV8_EMBEDDED_BYTECODE_HANDLERS' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/v8 -I../. -I/home/sam/w/core/node/out/Release/obj/gen -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fno-strict-aliasing -m64 -O3 -fno-om
View ex-tls.js
const crypto = require('crypto');
const fs = require('fs');
const tls = require('tls');
const util = require('util');
// console.log('getCiphers', tls.getCiphers());
// console.log('getCurves', crypto.getCurves());
console.log('DEFAULT_ECDH_CURVE', tls.DEFAULT_ECDH_CURVE);
const server = tls.createServer({
View fabric-node4-support.diff
diff --git a/fabric-ca-client/package.json b/fabric-ca-client/package.json
index b4f0ffb..2642c3d 100644
--- a/fabric-ca-client/package.json
+++ b/fabric-ca-client/package.json
@@ -7,11 +7,9 @@
"url": "http://gerrit.hyperledger.org/r/fabric-sdk-node"
},
"engines": {
- "node": ">=6.9.0 <7.0",
+ "node": ">=4.5.0",
View package.json
{
"name": "fu",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sam Roberts <vieuxtech@gmail.com>",
"license": "MIT",
View v6.10.3-did-not-land.md
  • [757bf484ff] - doc/tools: fix more type inconsistencies (Roman Reiss) #11697
  • [18599fc3d7] - doc/url: various improvements to WHATWG API (Timothy Gu)
  • [e7d37a3f09] - tools/doc: add more intrinsic and custom types (Timothy Gu)
  • [1043f5d08e] - assert: name anonymous functions (Miguel Angel Asencio Hurtado) #9051
  • [94c4323d56] - async_wrap: close the destroy_ids_idle_handle_ (René Schünemann) #10385
  • [5379b9da11] - async_wrap: call destroy() callback in uv_idle_t (Trevor Norris) #9753
  • [[`5157a5cee
View v6.10.3-did-not-land.md

{ _: [ 'upstream/v6.10.3-proposal', 'upstream/v7.x' ], g: true, 'filter-release': true, 'exclude-label': 'semver-major,semver-minor,meta,dont-land-on-v6.x' }

View v6-10.3-did-not-land.txt
* [ba23506419] - build: --without-ssl implies --without-inspector (Ben Noordhuis) https://github.com/nodejs/node/pull/12200
* [9162316ef5] - test: add arrow functions to test-util-inspect (Alexey Orlenko) https://github.com/nodejs/node/pull/11781
* [16048480e7] - doc: fix stylistic issues in api/net.md (Alexey Orlenko) https://github.com/nodejs/node/pull/11786
* [0dfb9daa04] - doc: add supported platforms list for v6.x (Michael Dawson) https://github.com/nodejs/node/pull/11943
* [b9766bdd1b] - doc: add supported platforms list (Michael Dawson) https://github.com/nodejs/node/pull/11943
* [64fc5a4541] - Revert "Revert "repl: disable Ctrl+C support..." (Myles Borins) https://github.com/nodejs/node/pull/12123
* [1ff512c185] - deps: backport e427300 from upstream V8 (Michaël Zasso) https://github.com/nodejs/node/pull/12037
* [8dfc710a06] - deps: cherry-pick b9f682b from upstream V8 (Michaël Zasso) https://github.com/nodejs/node/pull/12037
* [52bdb8f246] - deps: backport 2cabc86 from upstream V8 (Michaël Zasso) htt
View v4.8.3-did-not-land.md
View -
lib/_http_client.js: throw new TypeError('Request path contains unescaped characters');
lib/_http_client.js: throw new TypeError('Method must be a string');
lib/_http_client.js: throw new TypeError('Method must be a valid HTTP token');
lib/_http_outgoing.js: throw new TypeError(
lib/_http_outgoing.js: throw new TypeError('The header content contains invalid characters');
lib/_http_outgoing.js: throw new TypeError(
lib/_http_outgoing.js: throw new TypeError('The header content contains invalid characters');
lib/_http_outgoing.js: throw new TypeError('"name" argument must be a string');
lib/_http_outgoing.js: throw new TypeError('"name" argument must be a string');
lib/_http_outgoing.js: throw new TypeError('First argument must be a string or Buffer');