Skip to content

Instantly share code, notes, and snippets.

Adam Duro duro

Block or report user

Report or block duro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Setup.md

Getting Started

  1. Download and install Docker Toolbox

  2. Setup new docker machine

    docker-machine start default
    eval "$(docker-machine env default)"
    
View ConnectTransitionWrapper.js
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 Aug 29, 2015
ZG Vagrant DockerHost VM Proxy
View Vagrantfile
# 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"
View gist:595bd306629d16be1792

As a user I can authenticate via Twitter OAuth

ACCEPTANCE

As a logged-in user I see my latest tweets

ACCEPTANCE
View gist:da91c44e17fc41976994
================================================================================
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))
You can’t perform that action at this time.