Skip to content

Instantly share code, notes, and snippets.

View jakawell's full-sized avatar

Jesse Kawell jakawell

View GitHub Profile
/* eslint-disable no-console */
import { PassThrough, Transform } from 'stream';
import { pipeline } from 'stream/promises';
type ChunkyBoi = { thingy: number }
class OptimusPrime extends Transform {
constructor() {
super({ objectMode: true });
}
@jakawell
jakawell / wsl2_vpns.md
Last active July 7, 2020 16:23
How to setup WSL2 to function with VPNs running on the host
  1. Update to Windows 10, version 2004
  2. Install the Windows Linux kernal and a Linux distro (these steps are tested with Ubuntu 20.04)
  3. Log in to your WSL distro and create the /etc/wsl.conf file with the following values:
[network]
generateHosts = false
generateResolvConf = false

[interop]
appendWindowsPath = false