Skip to content

Instantly share code, notes, and snippets.

@rjjakes
rjjakes / es6-babel-npm-module.md
Last active December 2, 2017 20:48
Create and publish an ES6 npm module using yarn and babel.

Create and publish an ES6 npm module using yarn and babel.

Create a new npm project:

npm init 

Create source/ and distribution/ directories/

@rjjakes
rjjakes / portforwarding.md
Created November 9, 2016 15:11 — forked from kujohn/portforwarding.md
Port forwarding in Mavericks

Port Forwarding in Mavericks


Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file Create an anchor file under /etc/pf.anchors/<anchor file> with your redirection rule like: