View Dockerfile.fpm
FROM ubuntu:trusty
RUN apt-get update
RUN apt-get install -yy build-essential ruby-dev
RUN mkdir -p /tmp/gems
RUN gem install --no-ri --no-rdoc --install-dir /tmp/gems fpm -v 1.8.0
RUN gem install --no-ri --no-rdoc --local --force /tmp/gems/cache/*.gem
RUN find /tmp/gems -name \*.gem | xargs -rn1 /usr/local/bin/fpm --deb-no-default-config-files -d ruby --prefix `gem environment gemdir` -s gem -t deb
#!/usr/bin/env python -u
# The S3 Acquire Method
# Author: Nathan Mehl <>
# Date: 2013-10-07
# License: GPLv2
# Copyright (c) 1999--2012 Red Hat, Inc.
# Copyright (c) 2013 The Climate Corporation
View gist:2830217
#!/bin/bash -e
# just in case (some parts of the ruby build will honor this...)
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin
export INSTALLPREFIX=/export/disk0/wb/bin/ruby-env
export ENVNAME=$1
View gist:2711504
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Jenkins GIT plugin
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [hpi:validate {execution: default-validate}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_31 normalized as: 1.6.0-31
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32-344-ec2
View screen_reattach.bash
# a quick and dirty little hack: never get screwed by the fact that you forgot to
# run "screen" on a remote host ever again!
# put this into your .bash_profile at the very end, or in a separate file and source
# it (again as the last action) from .bash_profile.
if [ "$TERM" != "screen" ]; then
output=$(screen -ls | grep ached)
screens=($(echo "$output" | awk '{print $1}'|xargs))
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
Python supervise
This module provide a methods to handle runit [1]_ or daemontools [2]_ based
supervised services, using the control file provided. Here are a small
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
Python uschedule handler
This module provide a methods to handle uschedule_ scheduler by Uwe Ohse,
which is similar to cron, but safer. Here is an usage example::