Skip to content

Instantly share code, notes, and snippets.

View chiedo's full-sized avatar

Chiedo John chiedo

  • GitHub
  • Harrisonburg, VA
View GitHub Profile
let React = require('react');
class ClothingSizePicker extends React.Component {
constructor() {
super();
this.state = {size: 'S'};
this._handleChange = this._handleChange.bind(this);
@chiedo
chiedo / docker-compose-web-up.sh
Last active August 29, 2015 14:16
Have your docker container start wait for your to enter it with the command it provides.
# Tested on Docker 1.5
# make the following the command for docker-compose.yml
# You will obviously first need to do a chmod +x on docker-compose-web-up.sh and add it to your docker container.
# command: bash docker-compose-web-up.sh
# See https://github.com/chiedojohn/django-starter for implementation example.
# Wait a couple seconds to make sure this output is the last thing in the console
sleep 2
# Get the container ID