I hereby claim:
- I am n0coast on github.
- I am n0coast (https://keybase.io/n0coast) on keybase.
- I have a public key ASB2cXjR87ILXcLHyasYMwl_AEUC7Kx0Nf5m2CCq00N02Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Installation:
sudo curl https://gist.github.com/n0coast/bd95a4d7d06aff0159fcf98fb6fcc44a/raw/e24e42d9d14c70f5be4ce2b385f1c42f62ace7a4/browser -o /usr/local/bin/browser
sudo chmod +x /usr/local/bin/browser
Usage:
echo 'hi mom!' | browser
| #!/bin/bash | |
| # define location to dump docker/md5sum output | |
| dockerSum="/tmp/dockerSum.out" | |
| # Verify that docker and newrelic agent are running | |
| isRunning=$(systemctl is-active newrelic-sysmond.service docker.service) | |
| active="active | |
| active" | |
| [[ $isRunning != $active ]] && exit 1; |
| #!/bin/bash | |
| # Use this to quickly generate and sign certs for docker hosts, using the -c | |
| # option creates a cert that will allow client auth to the docker node. | |
| # | |
| # Before you use this you need to create the docker-ca certificates using | |
| # commands similart to this: | |
| # openssl genrsa -aes256 -out docker-ca-key.pem 2048 | |
| # openssl req -new -x509 -days 3650 -key docker-ca-key.pem -sha256 -out docker-ca.pem | |
| # | |
| # Then create the docker-ca.pass file and echo the docker-ca key password |