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
ant | |
asciinema | |
autoconf | |
cabextract | |
cmake | |
cscope | |
gdbm | |
gmp | |
go | |
gpm |
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
brew update; brew cleanup; brew cask cleanup |
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
# A START DOCKER HOST. | |
# 1. List all docker-hosts. By default, you shall see `default`, named docker-host. | |
docker-machine ls | |
#NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS | |
#default - virtualbox Stopped Unknown | |
# 2. Start your docker-host | |
docker-machine start default | |
#Starting "default"... |
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
brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskr | |
oom/cask; brew update; brew cleanup; brew cask cleanup |
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
$ brew cask install virtualbox --force # this forces upgrades too. | |
$ brew cask install docker-toolbox --force # this installs everything in docker: docker-compose/docker-machine/docker-swarm |
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 | |
set -o nounset # referencing undefined variables (which default to "") | |
set -o errexit # ignoring failing commands | |
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 -e | |
echo ' | |
PATH=$HOME/go/bin:$PATH | |
export GOPATH=$HOME | |
export CDPATH=.:$HOME/src/golang.org/x:$HOME/go/src:$HOME/src/github.com:$HOME/src/github.com/nf:$HOME/src/github.com/adg | |
export EDITOR=vim | |
' >> ~/.profile | |
sudo apt-get update |
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
# install CLI for eb (aka. elastic-beanstalk) | |
$ brew install awsebcli | |
# cd to your project directory, which contains Dockerfile. And initialize eb | |
$ eb init | |
# followed by a prompt to enter credentials. | |
aws-id: # your user-id | |
aws-key: # your user-secret. |
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
# install CLI for eb (aka. elastic-beanstalk) | |
$ brew install awsebcli | |
# cd to your project directory, which contains Dockerfile. And initialize eb | |
$ eb init | |
# followed by a prompt to enter credentials. | |
aws-id: # your user-id | |
aws-key: # your user-secret. |
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
{ | |
"containerDefinitions": [ | |
{ | |
"command": [ "string" ], | |
"cpu": number, | |
"disableNetworking": boolean, | |
"dnsSearchDomains": [ "string" ], | |
"dnsServers": [ "string" ], | |
"dockerLabels": { | |
"string" : "string" |