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
$>./scripts/docker-compose-compose | |
INFO:root:Dependencies file: /home/thein/Documents/stack/docker-compose-files/v2/dependencies.json | |
INFO:root:Found stack: {'name': 'butler', 'render_file': 'butler_stack.yml', 'services': ['butler']} | |
INFO:root:Found stack: {'name': 'portal-frontend', 'description': 'The Fucking Portal', 'render_file': 'portal_stack.yml', 'services': ['portal-frontend']} | |
INFO:root:Found stack: {'name': 'foundry', 'render_file': 'foundry_stack.yml', 'services': ['foundry']} | |
INFO:root:Found stack: {'name': 'mint', 'render_file': 'mint_stack.yml', 'services': ['mint']} | |
INFO:root:Found stack: {'name': 'scribe', 'render_file': 'scribe_stack.yml', 'services': ['scribe']} | |
INFO:root:Found service: {'name': 'aqa-reporting-site', 'depends': []} | |
INFO:root:Found service: {'name': 'billing', 'depends': ['core', 'portal-mysql']} | |
INFO:root:Found service: {'name': 'butler', 'depends': ['core']} |
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/sh | |
# removes all docker containers and volumes | |
# useful for resetting the state on a hosted socker machine | |
docker ps -a --format {{.ID}} | xargs docker rm -fv | |
docker volume prune -f |
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 | |
# a confirm utility for use with xargs | |
# we read the arguments up to the "--" as the command to run. | |
# and then everything after the "--" is interpreted as an argument to the thing before the "--" | |
# input="$@" | |
# echo "input: ${input}" |
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
The virgin goat different help more "goat virgin" near vicinity. Neither of which goat help more goat virgin. I will virgin goat help more? I will sacrifice it quite unlikely are complete different virgin goat |
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
-----BEGIN RSA PRIVATE KEY----- | |
MIIEowIBAAKCAQEAuLfXF4ZFNRH1Gc4eSS5blJ/qe64NLHzv1kHIeQqFxCJ8jGBY | |
E1dq+RttyFNKD+D1w36V8tyoJrFry1GxsBFgTCrd1/uWxfgv21RbUvBTSmiYHWAW | |
eTEmXUqvsODWkPDaJivY33+p8VeRHL5sNFwoIAHec+Uy757xTY+juj0ai5x2yMxy | |
gqKEyRSDYlX0YrXLy8j8x0w1jaGBPucGdcUQG2BzLEJLi/UsfVS5TiOKE/OoGnRk | |
NEf01ETA9tcuKVioP0LogCgCQ3Z22zwhNa/UhD37czwU03FZx7GrMI2bErZFMAqe | |
asNJ51ZXEEDtDS9gqQkZRNqU2IrLMXacIXe5KQIDAQABAoIBAAls1/zLTRy4HdmD | |
OuhhBStAPaax6toqRdKY6LHEZ67qU5CWGehivYKYc7GVDmJhCClBfEU4HRxcUTO+ | |
p2JkgJViWo96tubDEy4Nz9sbiCRz0c8t5/enGl4IQY606j3bDEaGVjqROQqnfTAK | |
R1skmKeJcOBZAZBYe9eJTMFj/MbCztpQr9YZdUgZ26nqojkx2go28PmTSSx9e7rv |
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 | |
# shows which docker containers currently depend on a given docker volume | |
volume_name="${1}"; | |
if [ -z "${volume_name}" ]; then | |
echo "ERROR: require volume name as input parameter."; | |
exit 1; | |
fi; |
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 | |
# Cisco Anyconnect CSD wrapper for OpenConnect | |
# Enter your vpn host here | |
if [[ -z ${CSD_HOSTNAME} ]] | |
then | |
echo "Define CSD_HOSTNAME with vpn-host in script text. Exiting." | |
exit 1 | |
fi |
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
(`) | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
(_)_) |