None of this is really necessary now that the Docker team is releasing official Mac OS X binary builds. Please see moby/moby#3337 for details.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'Starting setup...' | |
echo 'Adding repositories..' | |
sudo add-apt-repository -y ppa:tiheum/equinox | |
sudo add-apt-repository -y ppa:openshot.developers/ppa | |
## Ubuntu tweaks | |
sudo add-apt-repository -y ppa:tualatrix/ppa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/Application\ Support/VMware\ Fusion/vmrun | |
vmrun version 3.1.1 build-282344 | |
Usage: vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS] | |
AUTHENTICATION-FLAGS | |
-------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start and stop headless VMs | |
# put this on your path as save it as vm or vm.sh. | |
# no need to turn your vmware on when running on Mac | |
# just run as vm start and it will list all the available vm images. | |
# then choose which one you want to start. perfect for running Linux under OSX | |
# in headless mode for development | |
# Note:, some of this script is from gist (72638254422dc741b299) | |
# Some rework and enhancement to make it work better and handle windows | |
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg.autoAnswer = “TRUE” |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg.autoAnswer = “TRUE” |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In case you had some strange python installation | |
# NOTE: .pydistutils.cfg seems to be not compatible with brew install python | |
# areas I needed to clean before installation | |
# clean up ~/Library/Python | |
# clean up .local | |
# preconditions: | |
# xcode with command line tools installed | |
xcode-select --install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from boto import route53 | |
r53 = route53.connect_to_region(region_name='us-east-1') | |
dev_aws = r53.get_zone('my-domain.local') | |
with open('hosts') as host: | |
i = 0 | |
rrs = route53.record.ResourceRecordSets(r53, dev_aws.id) | |
for line in host.readlines(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
EC2 external inventory script | |
================================= | |
Generates inventory that Ansible can understand by making API request to | |
AWS EC2 using the Boto library. | |
NOTE: This script assumes Ansible is being executed where the environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ElasticSearch Dockerfile | |
FROM centos:6.4 | |
RUN yum install -q -y which java-1.7.0-openjdk java-1.7.0-openjdk-devel | |
RUN update-alternatives --set java /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java | |
RUN yum install -y -q https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.noarch.rpm | |
EXPOSE 9200 9300 | |