As configured in my dotfiles.
start new:
tmux
start new with session name:
FROM ubuntu:12.04 | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-6-jdk curl git-core build-essential bzr | |
RUN mkdir -p /tmp/downloads | |
# install go | |
RUN curl -sf -o /tmp/downloads/go1.1.1.linux-amd64.tar.gz -L https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | |
RUN mkdir -p /opt && cd /opt && tar xfz /tmp/downloads/go1.1.1.linux-amd64.tar.gz | |
# install jenkins | |
RUN curl -sf -o /opt/jenkins-1.523.war -L http://mirrors.jenkins-ci.org/war/1.523/jenkins.war |
description "service" | |
start on filesystem | |
stop on runlevel S | |
respawn | |
respawn limit 10 5 | |
oom never | |
kill timeout 86400 #If it's given a stop order, this is how long it will take to stop. |
#!/bin/bash | |
# ssh-multi | |
# D.Kovalov | |
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html | |
# a script to ssh multiple servers over multiple tmux panes | |
starttmux() { | |
if [ -z "$HOSTS" ]; then |
import java.util.List; | |
import java.util.Set; | |
import javax.servlet.http.HttpServletRequest; | |
import org.codehaus.jackson.map.Module; | |
import org.junit.After; | |
import org.junit.Before; | |
import com.google.common.collect.Lists; |
This playbook has been removed as it is now very outdated. |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
# Install riak-0.14.2rc8 to Ubuntu 10.04 LTS on Amazon EC2. | |
# AMI ID: ami-3202f25b on US East | |
# see http://uec-images.ubuntu.com/releases/lucid/release/ | |
ERLANG_PKG=otp_src_R13B04 | |
RIAK_PKG=riak-0.14.2rc8 | |
sudo apt-get update |