Skip to content

Instantly share code, notes, and snippets.

jeremy avnet brainsik

Block or report user

Report or block brainsik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
marvinpinto /
Created Jul 6, 2015
Python script to clean up and update the Jenkins AMIs after a successful Packer run
import requests
import os
import boto.ec2
import sys
import re
build_url = os.environ['BUILD_URL']
jenkins_base_url = os.environ['JENKINS_URL']
codification /
Last active Apr 29, 2019
Graphite client in python
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))
def now():
return int(time.time())
View growlnotificationswithmessagesforcampfireandfluid.user.js
// ==UserScript==
// @name Growl notifications with messages for Campfire and
// @namespace
// @description If your name is mentioned in a message, a growl notification shows what was said.
// @author Tim Harper
// @homepage
// @include **
// ==/UserScript==
// Changes:
You can’t perform that action at this time.