Skip to content

Instantly share code, notes, and snippets.

View phrawzty's full-sized avatar
🕺
probably karaoke

Daniel Maher phrawzty

🕺
probably karaoke
View GitHub Profile
@phrawzty
phrawzty / compare_base_s3.py
Last active August 29, 2015 14:11 — forked from rhelmer/gist:7d3507bd0921fd9939f4
crash reports hbase / s3 comparison test
#!/usr/bin/env python
import hashlib
import logging
import boto
import config
import happybase
logger = logging.getLogger(__name__)
@phrawzty
phrawzty / Questions
Created September 7, 2011 13:46
GOTO Amsterdam
Day job: System Administration (with Devops tendencies).
What is your language of choice: Ruby (recently), Perl (traditionally).
Open Source contributions: Lots of little scripts, plugins, and so forth over the years.
How do you use GitHub: Handy way to maintain and distribute my modest contributions to the OSS community.
@phrawzty
phrawzty / check_repli.rb
Created February 18, 2011 15:20
Same as pyr's, but with Nagios-correct exit codes.
#!/usr/bin/env ruby
require 'mysql'
require 'yaml'
require 'optparse'
def parse argv
env = {:path => 'check_repli.yml'}
env[:path] = ENV['CHECK_REPLI_CONFIG'] if ENV.include? 'CHECK_REPLI_CONFIG'