CASE #1 - Changing which revision of a dependency a feature branch depends on
Current process:
cd parent-repo
git checkout master
git pull --rebase
git checkout -b feature_branch
cd gem
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global |
app: | |
build: . | |
command: python manage.py runserver 0.0.0.0:8000 | |
volumes: | |
- .:/app | |
ports: | |
- "8000:8000" | |
links: | |
- db | |
- redis |
# prevent the creation of .DS_Store files on network drives | |
# http://hints.macworld.com/article.php?story=2005070300463515 | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
#--------------------------------------------------------------------- | |
# Disable/enable Dashboard: | |
# http://hints.macworld.com/article.php?story=20050723123302403 | |
defaults write com.apple.dashboard mcx-disabled -boolean YES |
### Keybase proof | |
I hereby claim: | |
* I am stevepereira on github. | |
* I am stevepereira (https://keybase.io/stevepereira) on keybase. | |
* I have a public key whose fingerprint is 9188 D2A7 E7E2 9D1A 0895 588A 9F63 1DD5 0AD2 1480 | |
To claim this, I am signing this object: |
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'> | |
<h2>Broadcasting Your</h3> | |
<h1>Reveal.js</h1> | |
<h2>Slideshow Presentations</h2> | |
<img style="disply:block;border:none;background:none;box-shadow:none;width:35%;" alt='Docker-logo' src='https://gist.githubusercontent.com/ryanj/7ebf56442930b4c2188b/raw/6a6e03247efb03a0eee24a12f7beaf1ab4634563/Docker-whale.png'/> | |
<p class='fragment'><small><a href='http://gist-reveal.it/'>gist-reveal.it</a><br/> | |
<a class='fragment' href='http://github.com/ryanj/gist-reveal.it'>github.com/ryanj/gist-reveal.it</a> | |
<br/> <a class='fragment' href='https://registry.hub.docker.com/u/ryanj/gist-reveal.it/'>registry.hub.docker.com/u/ryanj/gist-reveal.it</a></small></p> | |
</section> | |
<section data-background-transition='zoom' data-transition='linear'> |
CASE #1 - Changing which revision of a dependency a feature branch depends on
Current process:
cd parent-repo
git checkout master
git pull --rebase
git checkout -b feature_branch
cd gem
#TODO: replace with: tar xvz < <(curl -L https://github.com/stevepereira/macbook-ansible/archive/master.tar.gz) && ansible-playbook macbook-ansible-master/install.yml -K | |
#https://github.com/revans/bash-it | |
#https://github.com/mathiasbynens/dotfiles | |
# nopasswd sudo: add 'stevepereira ALL=(ALL) NOPASSWD: ALL' to /etc/sudoers | |
# disable smart quotes and smart dashes | |
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false | |
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false | |
# textEdit |
echo "+------------------------------+" | |
echo "| Running VMTools Install |" | |
echo "+------------------------------+" | |
#!/usr/bin/env bash | |
mkdir /mnt/cdrom | |
# Check which Packer builder type is being used | |
if [ $PACKER_BUILDER_TYPE = "virtualbox-iso" ]; then | |
# Required for the VirtualBox Guest Additions for Linux |
<a href="https://www.linkedin.com/shareArticle?mini=true&url=http://hitch.waveapps.com&title=Hitch%20by%20Wave&summary=Find%20your%20match%20with%20Wave's%20new%20online%20dating%20service!&source=">Share on LinkedIn</a> |
--- | |
# This has been tested with ansible 1.3 with these commands: | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts" | |
# NB: The type of the variable is crucial! | |
- name: Ansible Conditionals Examples | |
hosts: $hosts | |
vars_files: |