Skip to content

Instantly share code, notes, and snippets.

View MylesBorins's full-sized avatar

Myles Borins MylesBorins

View GitHub Profile
@MylesBorins
MylesBorins / backtrace
Last active July 21, 2020 20:43
oh noes
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007fff7180933a libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff718c5e60 libsystem_pthread.dylib`pthread_kill + 430
frame #2: 0x00007fff71790808 libsystem_c.dylib`abort + 120
frame #3: 0x00007fff7178fac6 libsystem_c.dylib`__assert_rtn + 314
frame #4: 0x00000001011d7ee3 node`uv_close.cold.1 + 35
frame #5: 0x00000001009363d8 node`uv_close(handle=<unavailable>, close_cb=<unavailable>) at core.c:178:5 [opt]
frame #6: 0x0000000102de1065 fse.node`fse::FSEvents::Stop(Nan::FunctionCallbackInfo<v8::Value> const&) [inlined] fse::FSEvents::asyncStop(this=<unavailable>) at async.cc:42:3 [opt]
frame #7: 0x0000000102de104a fse.node`fse::FSEvents::Stop(info=0x00007ffeefbfe968) at methods.cc:33 [opt]
frame #8: 0x0000000102de238d fse.node`Nan::imp::FunctionCallbackWrapper(info=0x00007ffeefbfe9f0) at nan_callbacks_12_inl.h:176:3 [opt]
@MylesBorins
MylesBorins / audit-12.x.md
Created April 2, 2020 04:33
branch-diff v12.x-staging upstream/v13.x --exclude-label semver-major,semver-inor,dont-land-on-v12.x,backport-requested-v12.x,backported-to-v12.x,baking-for-lts --filter-release
@MylesBorins
MylesBorins / audit-12.x.md
Created April 2, 2020 04:33
branch-diff v12.x-staging upstream/v13.x --exclude-label semver-major,semver-inor,dont-land-on-v12.x,backport-requested-v12.x,backported-to-v12.x,baking-for-lts --filter-release
@MylesBorins
MylesBorins / do-this-instead.js
Last active January 29, 2020 07:04
lol whoops
const {createServer} = require('http');
const {once} = require('events');
const hostname = '127.0.0.1';
const port = 3000;
const server = createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World');
@MylesBorins
MylesBorins / diff.md
Last active January 23, 2020 16:05
branch-diff v12.x-staging upstream/v13.x --exclude-label semver-major,dont-land-on-v12.x,backport-requested-v12.x,backported-to-v12.x --filter-release
@MylesBorins
MylesBorins / diff.md
Last active January 16, 2020 06:36
branch-diff v13.x-staging upstream/master --exclude-label semver-major,dont-land-on-v13.x,backport-requested-v13.x,backported-to-v13.x --filter-release
@MylesBorins
MylesBorins / audit.md
Last active December 12, 2019 18:19
UGHHHH
  • [a945244830] - doc: add 2016-08-10 CTC meeting minutes (Josh Gavant) #8229
  • [1ffdee7c86] - test: mark pseudo-tty/no_dropped_stdio as flaky (Michael Dawson) #8385
  • [ed640ae4cb] - crypto: make malloc failure check cross-platform (Rich Trott) #8352
  • [a00ccb0fb9] - src: normalize malloc, realloc (Michael Dawson) #7564
  • [a290ddfdc9] - src: unbreak build when compiling against uclibc (Ben Noordhuis) #8308
  • [a01e8bcf18] - src: moving f function call co
@MylesBorins
MylesBorins / index.js
Last active October 22, 2019 03:15
List Projects w/ googleapis
/*!
* Copyright 2019 Google LLC. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@MylesBorins
MylesBorins / why-not-import-await.md
Last active June 5, 2019 08:41
Why not import await?
Module.createRequire = (file) => {
let path;
try {
path = fileURLToPath(file);
}
catch (e) {
if (e.code === 'ERR_INVALID_URL_SCHEME') {
throw e;
}
path = file;