Ties together Polymer and Reflux
Is a demo of using Polymer with Reflux via funk
These are thoughts pre-funk!
module.exports = function (graph, root) { | |
var traversal = graph.traverse(); | |
var edges = []; | |
var stack = [root]; | |
var current = null; | |
while (stack.length) { | |
traversal.hop(stack.pop()); |
# from http://unix.stackexchange.com/a/168582 | |
supertouch() { | |
for p in "$@"; do | |
_dir="$(dirname -- "$p")" | |
[ -d "$_dir" ] || mkdir -p -- "$_dir" | |
touch -- "$p" | |
done | |
} |
Ties together Polymer and Reflux
Is a demo of using Polymer with Reflux via funk
These are thoughts pre-funk!
var Hapi = require('hapi'); | |
// Keep track of the server's init state | |
var internals = { | |
initialized: false | |
}; | |
var server = new Hapi.Server(); | |
server.connection(); |
'use strict'; | |
const Knex = require('./knex'); | |
const knex = Knex({ | |
dialect: 'postgres', | |
connection: { | |
adapter: 'postgresql', | |
database: 'test', | |
user: 'postgres' |
# from https://github.com/hapijs/contrib/issues/90#issuecomment-224889568 | |
tar -tf $(npm pack) && rm *.tgz |
model
is a redux store.model.subscribe()
.model.dispatch()
.ReactRedux.connect()
and selectors (i.e. reselect).document.write('i was pushed!'); |
{"web-app": { | |
"servlet": [ | |
{ | |
"servlet-name": "cofaxCDS", | |
"servlet-class": "org.cofax.cds.CDSServlet", | |
"init-param": { | |
"configGlossary:installationAt": "Philadelphia, PA", | |
"configGlossary:adminEmail": "ksm@pobox.com", | |
"configGlossary:poweredBy": "Cofax", | |
"configGlossary:poweredByIcon": "/images/cofax.gif", |
'use strict'; | |
const Hapi = require('hapi'); | |
const Underdog = require('underdog'); | |
const Vision = require('vision'); | |
const Handlebars = require('handlebars'); | |
const Spdy = require('spdy'); | |
const Http2 = require('http2'); | |
const agent = new Http2.Agent({ rejectUnauthorized: false }); |