Skip to content

Instantly share code, notes, and snippets.

View index.html
<!doctype html>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
<link rel="stylesheet" href="^1.0.0/dist/cms.css" />
qfox /
Created Jan 24, 2018
Import one git repo as a subdirectory to another (monorepo maker)


How to use

cd git-monorepo
env PACKAGE_NAME=babel/babel-bridge node import | bash
beaugunderson /
Last active Aug 29, 2016
cool modules from nodeconf

from streams session

  • end-of-stream - specify a callback to be called when a stream ends (which is surpsingly hard to get right)
  • duplexify - compose a Duplex stream from a Readable and a Writable stream
  • pump - pipe streams together and close all of them if one of them closes
  • pumpify - combine an array of streams into a single duplex stream using pump and duplexify
  • through2 - tools for making Transform streams
  • from2 - tools for making Readable streams

from "participatory modules" session

View gist:0b211b9253c376f9cfa5

BEM Cheatsheet


Block encapsulates a standalone entity that is meaningful on its own.

While blocks can be nested and interact with each other, semantically they remain equal; there is no precedence or hierarchy.

Holistic entities without DOM representation (such as controllers or models) can be blocks as well.