I hereby claim:
- I am deardooley on github.
- I am deardooley (https://keybase.io/deardooley) on keybase.
- I have a public key whose fingerprint is 5969 9C3F 1F93 B12C 3DCB 59F4 4486 8378 4860 6209
To claim this, I am signing this object:
#!/bin/bash | |
###################################################################### | |
# | |
# figexec | |
# | |
# Author: Rion Dooley <deardooley@gmail.com> | |
# Description: | |
# This script emulates the functionality one would expect if `docker exec` | |
# functionality were supported in fig. Simply run this from your project |
#!/bin/bash | |
# | |
# Name: jsonpki.sh | |
# | |
# Author: Rion Dooley - deardooley | |
# | |
# Description: This is a utility script to serialize keys and passwords into | |
# strings that can be included safely in json objects and sent to a remote | |
# server. There are surely other ways to do this, but this seems to work well | |
# in situations such as creating system descriptions for use in the Agave |
<VirtualHost *:80> | |
ServerAdmin admin@example.com | |
DocumentRoot /var/www | |
ServerName docker.example.com | |
ErrorLog logs/docker.example.com_error.log | |
CustomLog logs/docker.example.com_access.log combined | |
ProxyPreserveHost On | |
ProxyRequests off | |
<Location /> |
web: | |
image: php:5.6-apache | |
hostname: docker.example.com | |
ports: | |
- "80:80" | |
- "443:443" | |
links: | |
- mysql | |
- ftpd | |
- slurm |
FROM alpine:latest | |
ADD start.sh /docker_entrypoint.sh | |
RUN chmod +x /docker_entrypoint.sh | |
CMD ["sh", "/docker_entrypoint.sh"] |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Use these in your .dotfiles to help make Docker more manageable | |
#alias dip='dmachine ip 2> /dev/null' | |
alias drund="docker run -d -P" | |
alias drun="docker run -t -i -P" | |
alias dimg="di" | |
alias dexec='dx' | |
alias dc='docker-compose' |
#!/usr/bin/env bash | |
# ldap2json.sh | |
# | |
# Example shell script showing how to parse LDIF output from the | |
# ldapsearch command into a json array. Please note that this | |
# script almost certainly does not handle every edge case, and | |
# is best used to pull a handful of fields a user or group | |
# record in a FreeIPA ldap server and format them as JSON for use | |
# in other tools. |
#!/usr/bin/env bash | |
# http://stackoverflow.com/questions/13400312/linux-create-random-directory-file-hierarchy | |
set -o errexit #abort if any command fails | |
usage() { | |
echo -n "$(basename $0) [OPTIONS] | |
This script creates a directory tree of random depth, width and file size. All parameters are |