start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |
#!/bin/sh | |
# | |
# Too many crusty old git branches? Run this to find likely candidates for deletion | |
# It lists all the remote branches and sorts them by age. | |
# | |
# Folks at pivotal shared this with me | |
# | |
#$ . show-remote-branch-info.sh | |
# 2012-05-04 09:42:29 -0700 4 minutes ago Ted & Bill \torigin/hey_Bill |
In order of first appearance in The Morning Paper.
nexus-data: | |
container_name: nexus-data | |
image: sonatype/nexus:oss | |
command: echo "data-only container for Nexus" | |
nexus: | |
container_name: nexus | |
image: sonatype/nexus:oss | |
environment: | |
- CONTEXT_PATH=/nexus |
#!/bin/bash | |
export SEMVER_LAST_TAG=$(git describe --abbrev=0 --tags 2>/dev/null) | |
export SEMVER_RELEASE_LEVEL=$(git log --oneline -1 --pretty=%B | cat | tr -d '\n' | cut -d "[" -f2 | cut -d "]" -f1) | |
#curl -o /tmp/hub.tgz https://github.com/github/hub/releases/download/v2.2.9/hub-linux-arm64-2.2.9.tgz | |
#tar -xvzf /tmp/hub.tgz -C /tmp | |
if [ -z $SEMVER_LAST_TAG ]; then | |
>&2 echo "No tags defined" |
# Install doctl (DigitalOcean CLI tool) | |
brew install doctl | |
# Install kubectl | |
brew install kubernetes-cli | |
# Log into DigitalOcean | |
export DO_ACCESS_TOKEN=... | |
doctl auth login init --access-token ${DO_ACCESS_TOKEN} |