Skip to content

Instantly share code, notes, and snippets.


Myles Borins MylesBorins

Block or report user

Report or block MylesBorins

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 do-this-instead.js
const {createServer} = require('http');
const {once} = require('events');
const hostname = '';
const port = 3000;
const server = createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World');
MylesBorins /
Last active Jan 16, 2020
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 /
Last active Jan 23, 2020
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 / index.js
Last active Oct 22, 2019
List Projects w/ googleapis
View index.js
* 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
* Unless required by applicable law or agreed to in writing, software
View eek.js
Module.createRequire = (file) => {
let path;
try {
path = fileURLToPath(file);
catch (e) {
if (e.code === 'ERR_INVALID_URL_SCHEME') {
throw e;
path = file;
CALENDAR_FILTER="Joint Foundation Bootstrap Team meeting"
GROUP_NAME="Bootstrap Team"
JOINING_INSTRUCTIONS="* link for participants:
* For those who just want to watch:"
# MEETING_TIME="2019-03-25T18:00:00.000Z"
INVITEES="* OpenJS Foundation Project Maintainers

Keybase proof

I hereby claim:

  • I am mylesborins on github.
  • I am mylesborins ( on keybase.
  • I have a public key whose fingerprint is C4F0 DFFF 4E8C 1A82 3640 9D08 E73B C641 CC11 F4C8

To claim this, I am signing this object:

View test.js
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const { createServer, connect } = require('http2');
const server = createServer();
server.on('stream', (stream) => {
You can’t perform that action at this time.