Demo of multipart form/file uploading with hapi.js
.
npm install
npm run setup
npm run server
Then ...
### Keybase proof | |
I hereby claim: | |
* I am mickr on github. | |
* I am mickr (https://keybase.io/mickr) on keybase. | |
* I have a public key ASCpbb7n-aWAnvQSXOqrm7MKoXAhCuGAT8y4F9x5-aBr5go | |
To claim this, I am signing this object: |
# Assuming an Ubuntu Docker image | |
$ docker run -it <image> /bin/bash |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
import React, { Component } from 'react'; | |
class EmbeddedGist extends Component { | |
constructor(props) { | |
super(props); | |
this.gist = props.gist; | |
this.file = props.file; | |
this.stylesheetAdded = false; | |
this.state = { |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#paper_toast { | |
left: 750px; | |
top: 370px; |