I hereby claim:
- I am mrtazz on github.
- I am mrtazz (https://keybase.io/mrtazz) on keybase.
- I have a public key whose fingerprint is 2645 C34D 6808 41B6 DEA1 460B 5718 2B38 86AE 7F3C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
> echo -n "foo.bar:1|c" | nc -w0 -u 127.0.0.1 8125 | |
> echo -n "foo.lerl:3|g" | nc -w0 -u 127.0.0.1 8125 | |
> echo -n "foo.lol:33|ms" | nc -w0 -u 127.0.0.1 8125 | |
> echo -n "foo.lol:43|ms" | nc -w0 -u 127.0.0.1 8125 | |
> echo -n "foo.lol:53|ms" | nc -w0 -u 127.0.0.1 8125 |
{ | |
graphitePort: 2003 | |
, graphiteHost: "127.0.0.1" | |
, port: 8125 | |
, debug: true | |
, backends: ['./backends/graphite'] | |
, histogram: [{ metric: "foo", bins: [0, 10, 20, 30] }] | |
, keyFlush: { | |
interval: "10000" | |
, log: "top-keys.log" |
# Rakefile for building tex file | |
require "rake/clean" | |
require 'yaml' | |
# variables | |
BASE = "thesis" | |
TYPE = ".tex" | |
OUT = ".pdf" | |
TEXFILE = FileList[BASE+TYPE] |
" | |
" File: ham.vim | |
" | |
" When you need to go HAM | |
" | |
if &cp || (exists('g:loaded_ham_vim') && g:loaded_ham_vim) | |
finish | |
endif | |
let g:loaded_ham_vim = 1 |
#!/usr/bin/env python | |
""" | |
small script to check for unread count on imap inbox | |
""" | |
import imaplib | |
IMAPSERVER = '' | |
USER = '' | |
PASSWORD = '' |
[general] | |
accounts = mail | |
maxsyncaccounts = 5 | |
ui = ttyui | |
socktimeout = 90 | |
[Account mail] | |
localrepository = maillocal | |
remoterepository = mailremote | |
autorefresh = 2 |
require 'rubygems' | |
require 'syslog-logger' | |
log_level :info | |
Logger::Syslog.class_eval do | |
attr_accessor :sync, :formatter | |
end | |
log_location Logger::Syslog.new("chef-client") |
module Bundler | |
class Dsl | |
def gem(name, *args) | |
['Vendetta', 'Fight for NY', 'Icon'].sample | |
end | |
end | |
end |
# | |
# shell function to print graphite graphs as sparklines in the terminal | |
# needs https://github.com/holman/spark | |
# | |
function graphline() { | |
GRAPHITEHOST="graphite.example.com" | |
if [ ! -n "$1" ]; then print "Usage: $0 metric [minutes]"; return 1; fi | |
if [ ! -n "$2" ]; then MINUTES=10 ; else MINUTES=$2; fi | |
curl -s "${GRAPHITEHOST}/render?from=-${MINUTES}minutes&target=${1}&format=raw" | cut -d"|" -f 2 | spark ; | |
} |