This file contains hidden or 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
Ensure blah-test-uswest2 elb exists: | |
boto_elb.present: | |
- name: blah-test-uswest2 | |
- scheme: internet-facing | |
- region: us-west-2 | |
- security_groups: | |
- my_balancer_security | |
- availability_zones: | |
- us-west-2a | |
- us-west-2b |
This file contains hidden or 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
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/site-packages/salt/utils/reactor.py", line 53, in render_reaction | |
data=data) | |
File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 257, in render_template | |
template, self.rend, self.opts['renderer'], **kwargs) | |
File "/usr/local/lib/python2.7/site-packages/salt/template.py", line 79, in compile_template | |
ret = render(input_data, saltenv, sls, **render_kwargs) | |
File "/usr/local/lib/python2.7/site-packages/salt/renderers/pyobjects.py", line 358, in render | |
'pillar': __salt__['pillar.get'], | |
KeyError: 'pillar.get' |
This file contains hidden or 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
Stop test components: | |
salt.function: | |
- name: state.single | |
- tgt: '{{ pillar['env'] }}-test*' | |
- arg: | |
- service.dead | |
- kwarg: | |
- name: test-server |
This file contains hidden or 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
package io.intercom.problems.flatten; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Set; | |
import java.util.Stack; | |
/** |
This file contains hidden or 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
package io.intercom.problems.flatten; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Set; | |
import java.util.Stack; | |
/** |
This file contains hidden or 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
package io.intercom.problems.proximity; | |
import static java.lang.Math.acos; | |
import static java.lang.Math.cos; | |
import static java.lang.Math.sin; | |
import static java.lang.Math.toRadians; | |
/** | |
* <code>Coordinates</code> is a simple class to encapsulate a latitude and longitude and | |
* the great circle based logic to calculate the distance between two instances. |
This file contains hidden or 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
package io.intercom.problems.proximity; | |
import static java.lang.Math.acos; | |
import static java.lang.Math.cos; | |
import static java.lang.Math.sin; | |
import static java.lang.Math.toRadians; | |
/** | |
* <code>Coordinates</code> is a simple class to encapsulate a latitude and longitude and | |
* the great circle based logic to calculate the distance between two instances. |
This file contains hidden or 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
import DS from 'ember-data'; | |
export default DS.RESTAdapter.extend({ | |
}); |
This file contains hidden or 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
alias a='ack ' | |
alias ae='a --ignore-dir=./log --ignore-dir=./assets --ignore-dir=out --ignore-dir=db --ignore-dir=bower_components --ignore-dir=node_modules --ignore-dir=dist --ignore-dir=tmp ' | |
alias ae='a --ignore-dir=log --ignore-dir=assets --ignore-dir=out --ignore-dir=db --ignore-dir=bower_components --ignore-dir=node_modules --ignore-dir=dist --ignore-dir=tmp ' | |
alias ai='a --ignore-dir=log --ignore-dir=out ' | |
alias akey='ssh-add /Users/sgargan/devroot/projects/devops/ansible/keys/ansible' | |
alias ala='history | grep "alias .*=.*"| tail -1 | cut -c 8- >> ~/.omz/custom/aliases.zsh;sort ~/.omz/custom/aliases.zsh | uniq | sort -o ~/.omz/custom/aliases.zsh' | |
alias amend='git commit --amend' | |
alias anp="ansible-playbook" | |
alias ap='ack --passthru ' | |
alias ap='ack-grep --passthru' |
OlderNewer