Skip to content

Instantly share code, notes, and snippets.

Sam Roberts sam-github

Block or report user

Report or block sam-github

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View issue.tap
TAP version 13
1..2701
ok 1 async-hooks/test-async-await
---
duration_ms: 0.547
...
ok 2 async-hooks/test-disable-in-init
---
duration_ms: 0.178
...
View BuildCache
#!/bin/sh
N=$1
set -x
# set -e
git f
git co master && git reset --hard upstream/master
View ossl-1.1.0-node-master-errors
../../src/node_crypto.cc: In function ‘v8::Maybe<bool> node::crypto::error::Decorate(node::Environment*, v8::Local<v8::Object>, long unsigned int)’:
../../src/node_crypto.cc:313:22: error: ‘ERR_LIB_OSSL_STORE’ was not declared in this scope
#define V(name) case ERR_LIB_##name: lib = #name "_"; break;
^~~~~~~~
../../src/node_crypto.cc:302:5: note: in expansion of macro ‘V’
V(OSSL_STORE) \
^
../../src/node_crypto.cc:316:33: note: in expansion of macro ‘OSSL_ERROR_CODES_MAP’
switch (ERR_GET_LIB(err)) { OSSL_ERROR_CODES_MAP(V) }
^~~~~~~~~~~~~~~~~~~~
View gist:125e3ef3d87afd7a5f15d457ffc59ea9
core/build (centos7-python-3.7 % u=) % parallel-ssh -i -h hosts/hosts.test-osuosl-aix61-ppc64_be du -s /ramdisk0
[1] 14:31:08 [SUCCESS] test-osuosl-aix61-ppc64_be-3
0 /ramdisk0
[2] 14:31:09 [SUCCESS] test-osuosl-aix61-ppc64_be-1
39200 /ramdisk0
[3] 14:31:09 [SUCCESS] test-osuosl-aix61-ppc64_be-2
315264 /ramdisk0
core/build (centos7-python-3.7 % u=) % parallel-ssh -i -h hosts/hosts.test-osuosl-aix61-ppc64_be "df | grep ramdisk"
[1] 14:31:22 [SUCCESS] test-osuosl-aix61-ppc64_be-1
/dev/ramdisk0 20000000 12209264 39% 111228 6% /home/iojs/build
View gist:e8e9b9a801ccb96c6f59a8bda0358623
|0x1e190da <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+26> larl %r1,0x3782c70 <_ZN2v88internal12_GLOBAL__N_121sticky_embedded_blob_E> |
|0x1e190e0 <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+32> lgrl %r9,0x376fd30 |
|0x1e190e6 <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+38> lrl %r12,0x33d2492
* |0x1e190ec <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+44> ltg %r1,0(%r1) |
|0x1e190f2 <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+50> je 0x1e191bc <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+252> |
|0x1e190f6 <_ZN2v88internal7Isolate29InitializeDefaultEmbeddedBlobEv+54> larl %r1,0x3782c78 <_ZN2v88internal12_GLOBAL__N_137current_embedded_blob_refcount_mutex|
|0x1e190fc <_ZN2v88internal7Isolate29InitializeDefaultEmbed
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-session-client.js
const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const tls = require('tls');
const util = require('util');
function read(file, encoding) {
return fs.readFileSync(path.resolve(__dirname, file), encoding);
}
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",
You can’t perform that action at this time.