Skip to content

Instantly share code, notes, and snippets.

View mickr's full-sized avatar
🦕
WFH in Alpharetta

Mick Ryan mickr

🦕
WFH in Alpharetta
View GitHub Profile
### 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:
@mickr
mickr / Docker
Created July 23, 2018 22:51 — forked from mitchwongho/Docker
Docker 'run' command to start an interactive BaSH session
# Assuming an Ubuntu Docker image
$ docker run -it <image> /bin/bash
@mickr
mickr / Enhance.js
Created January 29, 2017 07:04 — forked from sebmarkbage/Enhance.js
Higher-order Components
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {
@mickr
mickr / EmbeddedGist.js
Created January 16, 2017 01:35 — forked from aVolpe/EmbeddedGist.js
EmbeddedGist allows a gist to be embedded in a React application
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 = {
@mickr
mickr / README.md
Last active August 29, 2015 14:19 — forked from joyrexus/README.md

Demo of multipart form/file uploading with hapi.js.

Usage

npm install
npm run setup
npm run server

Then ...

@mickr
mickr / designer.html
Created July 10, 2014 18:09
designer
<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;