I hereby claim:
- I am aethant on github.
- I am atelischak (https://keybase.io/atelischak) on keybase.
- I have a public key ASA6RcQgtJW9VumgfIw7MR54FwRAArlIT4lbWbnehs4N-Qo
To claim this, I am signing this object:
FROM node:6.1 | |
RUN groupadd -r application && useradd -r -g application application | |
ENV HOME=/home/application | |
COPY package.json $HOME/mc/ | |
RUN chown -R application:application $HOME/* && chown -R application:application $HOME/* | |
RUN /bin/su application |
I hereby claim:
To claim this, I am signing this object:
const a = [ 23, 3, [ 5, 12, ], 11, ] | |
const b = [ [23, [233, 9, ], 11, ], 13, ] | |
const c = [ [ [ 222, 34, 55, 1, 7, ], 9, 1500, ], ] | |
const shallowify = arr => { | |
let results = [] | |
arr.forEach(arrEl => { | |
if (arrEl.constructor === Array) { | |
results = [...results, ...shallowify(arrEl), ] | |
} else { |
import React from 'react' | |
import { render } from 'react-dom'; | |
import { Router, Route } from 'react-router-dom'; | |
import LazyRoute from 'lazy-route'; | |
const App = () => { | |
render() { | |
return ( | |
<Router> | |
<Route |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
const postingStates = { | |
initial: 'posting', | |
states: { | |
posting: { // posting processing starts | |
entry: ['handlePost'], // handle POST | |
on: { | |
SUCCESS: "success", // POST succeeded | |
ERROR: "error", // POST failed |