I hereby claim:
- I am clcollins on github.
- I am clcollins (https://keybase.io/clcollins) on keybase.
- I have a public key whose fingerprint is 923E 0218 77DB 3F70 F614 6F62 F575 2BA1 4623 4FD4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| > [email protected] install /usr/local/lib/node_modules/http-master/node_modules/http-auth/node_modules/htpasswd/node_modules/apache-crypt | |
| > node-gyp rebuild | |
| child_process: customFds option is deprecated, use stdio instead. | |
| make: Entering directory `/usr/local/lib/node_modules/http-master/node_modules/http-auth/node_modules/htpasswd/node_modules/apache-crypt/build' | |
| CXX(target) Release/obj.target/crypt3/deps/crypt3.o | |
| ../deps/crypt3.cc: In function 'const char* GetApacheSalt()': | |
| ../deps/crypt3.cc:18:20: error: 'time' was not declared in this scope | |
| srand(time(NULL)); | |
| ^ |
| testCmd = "/sbin/iptables -n -L %s" | |
| # <snip> | |
| def checkChain(): | |
| cmd = testCmd % chain | |
| check = subprocess.Popen(cmd, | |
| shell=True, |
| Other Stuff to Cover | |
| ==================== | |
| (Used in conjunction with [Linux@Duke Intro To Docker](https://github.com/LinuxAtDuke/Intro-To-Docker)) | |
| * Processes Inside/Outside | |
| * Env Vars | |
| * Naming | |
| * Linking | |
| * Logging |
| #!/bin/bash | |
| # Version 1.2 - 2015-01-07 | |
| # https://gist.github.com/clcollins/cfab1f63dc1aa927bf9f | |
| # REQUIRES: | |
| # | |
| # Software - | |
| # 1. Docker: https://docker.com | |
| # |
| #!/bin/bash | |
| # | |
| # TODO: | |
| # How to handle NOT running the DB upgrade if it's not needed? | |
| HOSTNAME="$(/bin/hostname)" | |
| TMPDIR='/tmp' | |
| MAILFROM="patch.adams@$HOSTNAME" | |
| MAILTO="$@" |
| #!/bin/bash | |
| # Set to true to just see what command | |
| # would be run | |
| DRY_RUN=false | |
| TITLE='MY-TEST-CONTAINER' | |
| IMAGE='MY-IMAGE' | |
| # Local volume to be mapped into the container any time you run it | |
| # usually with config files or whatnot |
| #!/bin/bash | |
| error () { | |
| local msg="${1}" | |
| echo "${msg}" | |
| exit 1 | |
| } | |
| make_tempdir () { |
| #!/bin/sh | |
| systemctl enable <path-to-mountpoint>.automount | |
| systemctl start <path-to-mountpoint>.automount |