Skip to content

Instantly share code, notes, and snippets.

View ctwhome's full-sized avatar
🌍

Jes Gonzalez ctwhome

🌍
View GitHub Profile
@ctwhome
ctwhome / Dockerfile
Last active April 21, 2020 07:52 — forked from RinatMullayanov/Dockerfile
Ubuntu Node.js Dockerfile
#
# Ubuntu Node.js Git Dockerfile
#
# https://github.com/dockerfile/ubuntu/blob/master/Dockerfile
# https://docs.docker.com/examples/nodejs_web_app/
#
# Pull base image.
FROM ubuntu
@ctwhome
ctwhome / component.js
Created October 21, 2017 15:02 — forked from efernandesng/component.js
react-intl injectIntl decorator
import React, {Component, PropTypes} from 'react';
import {intlShape} from 'react-intl';
import {injectIntl} from './decorator';
@injectIntl()
class Xpto extends Component {
static propTypes = {
intl: intlShape.isRequired
};