- Compare list of existing stacks with cluster config files in s3:
- make a note of orphans
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
const car = { | |
honked: 0, | |
honk() { | |
console.log('beep!'); | |
this.honked += 1; | |
}, | |
}; | |
console.log(car.honked); | |
car.honk(); |
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
const findInstance = (instances, name) => { | |
const found = instances.find((inst) => { | |
return inst.Tags.some((tag) => { | |
return tag.Key === `opsworks:layer:${name}`; | |
}); | |
}); | |
console.log(found); | |
return found; | |
}; |
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
function oc-ips { | |
aws_profile=${1:-test} | |
cluster_name=$(sed -n 's/cluster=cluster_config-\([^\.]\+\)\.json/\1/p' .ocopsworks.rc) | |
aws --profile $aws_profile ec2 describe-instances \ | |
--output text \ | |
--filters "Name=tag:opsworks:stack,Values=$cluster_name" \ | |
--query "Reservations[].Instances[].[Tags[?Key=='opsworks:instance']|[0].Value,PublicIpAddress]" \ | |
> .oc-ips |
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
[Desktop Entry] | |
Version=1.0 | |
Name=Todoist | |
Exec=firefox --class Todoist -P Todoist --no-remote https://todoist.com/app/#start | |
Terminal=false | |
Type=Application | |
Icon=~/.local/share/icons/hicolor/32x32/apps/todoist.svg |
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
asm.js type error: Asm.js optimizer disabled because no suitable wasm compiler is available 4.7c990e0b.chunk.js | |
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. thinEngine.ts:821:41 | |
Babylon.js v4.2.0 - WebGL2 instrument.ts:129:35 | |
TypeError: a is undefined | |
lc token.ts:205 | |
vc Token.tsx:451 | |
hr react-reconciler.production.min.js:74 | |
bo react-reconciler.production.min.js:181 | |
ta react-reconciler.production.min.js:167 | |
Zo react-reconciler.production.min.js:167 |
gists | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
OlderNewer