Skip to content

Instantly share code, notes, and snippets.

@duro
duro / Setup.md
Last active December 2, 2015 13:41

Getting Started

  1. Download and install Docker Toolbox

  2. Setup new docker machine

    docker-machine start default
    eval "$(docker-machine env default)"
    
import React, {Component} from 'react';
import invariant from 'invariant';
function getDisplayName(Component) {
return Component.displayName || Component.name || 'Component';
}
export default function ConnectTransitionWrapper() {
return function wrapConnectedComponent(ConnectedComponent) {
@duro
duro / Vagrantfile
Last active August 29, 2015 14:14
ZG Vagrant DockerHost VM Proxy
# Vagrantfile for the proxy VM
Vagrant.configure("2") do |config|
config.vm.define "zg-docker-host", primary: true do |dhost|
dhost.vm.box = "yungsang/boot2docker"
dhost.vm.box_version = "= 1.4.1"
dhost.vm.network :private_network, ip: "192.168.100.100"

As a user I can authenticate via Twitter OAuth

ACCEPTANCE

As a logged-in user I see my latest tweets

ACCEPTANCE
================================================================================
Error executing action `run` on resource 'execute[/opt/tennis-ace/shared/env/bin/pip install -r requirements.txt]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/tennis-ace/shared/env/bin/pip install -r requirements.txt ----
STDOUT: Downloading/unpacking git+git://github.com/ZG-Tennis/django-curation (from -r requirements.txt (line 27))