This file has moved to Technical Maxims
View cleanup-ami.py
#!/usr/bin/python | |
import requests | |
import os | |
import boto.ec2 | |
import sys | |
import re | |
build_url = os.environ['BUILD_URL'] | |
jenkins_base_url = os.environ['JENKINS_URL'] |
View graphite-client.py
import time | |
import socket | |
def collect_metric(name, value, timestamp): | |
sock = socket.socket() | |
sock.connect( ("localhost", 2003) ) | |
sock.send("%s %d %d\n" % (name, value, timestamp)) | |
sock.close() | |
def now(): | |
return int(time.time()) |
View growlnotificationswithmessagesforcampfireandfluid.user.js
// ==UserScript== | |
// @name Growl notifications with messages for Campfire and Fluid.app | |
// @namespace https://gist.github.com/882569 | |
// @description If your name is mentioned in a message, a growl notification shows what was said. | |
// @author Tim Harper | |
// @homepage http://userscripts.org/scripts/show/22891 | |
// @include *.campfirenow.com/room* | |
// ==/UserScript== | |
// Changes: |