start new:
tmux
start new with session name:
tmux new -s myname
| #!/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 |
| import hudson.model.* | |
| import com.tikal.jenkins.plugins.multijob.*; | |
| void log(msg) { | |
| manager.listener.logger.println(msg) | |
| } | |
| threshold = Result.SUCCESS | |
| void aggregate_results() { |
| This is a silly example for dinking around with the Docker API on a link-local dummy interface. |
| #!/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 \ |
| set ts=4 | |
| set sw=4 | |
| set expandtab | |
| set background=dark | |
| set modeline | |
| highlight Normal guifg=white guibg=black | |
| syntax on |
| curl -OL -H "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| "http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz" |
| 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 |