memory memory

View s3.py
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python -u
#
# The S3 Acquire Method
#
# Author: Nathan Mehl <n@climate.com>
# Date: 2013-10-07
# License: GPLv2
#
# Copyright (c) 1999--2012 Red Hat, Inc.
# Copyright (c) 2013 The Climate Corporation
View gist:2830217
1 2 3 4 5 6 7 8 9 10
#!/bin/bash -e
 
# just in case (some parts of the ruby build will honor this...)
unset DESTDIR
 
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
1 2 3 4 5 6 7 8 9 10
[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
1 2 3 4 5 6 7 8 9 10
# 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))
View python-supervise.py
1 2 3 4 5 6 7 8 9 10
#! /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
example::
View python-uschedule.py
1 2 3 4 5 6 7 8 9
#! /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::
Something went wrong with that request. Please try again.