Skip to content

Instantly share code, notes, and snippets.

@thedrow
thedrow / gist:5810230
Created June 18, 2013 22:51
Dependency management using vagrant-plugin-bundler
config.plugin.deps do
depend 'vagrant-omnibus', '1.0.2'
depend 'vagrant-cachier', '0.1.0'
depend 'vagrant-aws', '0.2.2'
end
@thedrow
thedrow / gist:5810429
Created June 18, 2013 23:25
How to add one plugin dependency with vagrant plugin bundler.
config.plugin.depend 'vagrant-omnibus', '1.0.2'
@thedrow
thedrow / gist:5853214
Created June 24, 2013 20:15
How to install distribute 0.7.x
pip install https://bitbucket.org/pypa/setuptools/downloads/distribute-0.7.3.zip
@thedrow
thedrow / gist:5853264
Created June 24, 2013 20:20
How to install tox 1.5.0
pip install tox>=1.5.0 --upgrade
@thedrow
thedrow / gist:7068833
Created October 20, 2013 12:25
issue 7918 stateconf & pydsl files
################################
# dev-linux-toolchain/init.sls #
################################
linux-dev-toolchain:
pkg.installed:
- pkgs:
- build-essential
- python2.7-dev
- python3-dev
@thedrow
thedrow / gist:7069032
Created October 20, 2013 12:39
stateconfs for issue 7918
################################
# dev-linux-toolchain/init.sls #
################################
linux-dev-toolchain:
pkg.installed:
- pkgs:
- build-essential
- python2.7-dev
- python3-dev
@thedrow
thedrow / valgrind.log
Last active August 29, 2015 14:01
Valgrind log for r3 tests
==15304== Memcheck, a memory error detector
==15304== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==15304== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==15304== Command: ./lt-check_tree -v --trace-children=yes --show-leak-kinds=full --leak-check=full
==15304==
Running suite(s): blah
==15305==
==15305== HEAP SUMMARY:
==15305== in use at exit: 1,596 bytes in 38 blocks
==15305== total heap usage: 50 allocs, 12 frees, 2,076 bytes allocated
broker-cluster:
vpc.exists:
tags:
- Environment: Production
dhcp_options:
- Custom DHCP options:
- ...
subnets:
- Broker Cluster Subnet:
- ...
sudo apt-get install libprotobuf-dev protobuf-compiler
sudo apt-get install gccxml build-essential autotools-dev libtool automake