Seth Walker, Etsy, @sethwalker
Tool: Supergrep
A contents <<< | |
send this to a | |
this goes to a | |
a, I forgot to add this | |
<<< | |
B contents <<< | |
this goes to b | |
b, please | |
<<< |
require 'active_record' | |
require 'activerecord-import' | |
require 'benchmark' | |
require 'pg' | |
include ActiveRecord | |
Base.establish_connection adapter: 'postgresql', | |
encoding: 'unicode', | |
pool: 5, |
Tool: Supergrep
In React's terminology, there are five core types that are important to distinguish:
React Elements
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
function increment(props, state) { | |
return { | |
value: state.value + props.step, | |
}; | |
} | |
function decrement(props, state) { | |
return { | |
value: state.value - props.step, | |
}; |
const bypass = [ | |
// function names to avoid logging | |
]; | |
const collapsed = [ | |
// function names to groupCollapsed | |
]; | |
module.exports = function(babel) { | |
const { types: t } = babel; | |
const wrapFunctionBody = babel.template(`{ |