Skip to content

Instantly share code, notes, and snippets.

🙃
lol

Myles Borins MylesBorins

🙃
lol
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 = '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 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
View diff.md
@MylesBorins
MylesBorins / diff.md
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
View diff.md
@MylesBorins
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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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;
View bootstrap.sh
CALENDAR_FILTER="Joint Foundation Bootstrap Team meeting"
CALENDAR_ID="nodejs.org_nr77ama8p7d7f9ajrpnu506c98@group.calendar.google.com"
USER="openjs-foundation"
REPO="bootstrap"
GROUP_NAME="Bootstrap Team"
JOINING_INSTRUCTIONS="* link for participants: https://zoom.us/j/779273015
* For those who just want to watch: https://www.youtube.com/c/nodejs+foundation/live"
MEETING_TIME="2019-04-01T13:00:00.000Z"
# MEETING_TIME="2019-03-25T18:00:00.000Z"
INVITEES="* OpenJS Foundation Project Maintainers
View change.md
View keybase.md

Keybase proof

I hereby claim:

  • I am mylesborins on github.
  • I am mylesborins (https://keybase.io/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.