Skip to content

Instantly share code, notes, and snippets.

Brian Fehrle BrianFehrle

Block or report user

Report or block BrianFehrle

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
View gist:ae06a819084345cc0f55
### Keybase proof
I hereby claim:
* I am brianfehrle on github.
* I am freakinweirdo ( on keybase.
* I have a public key whose fingerprint is 17C2 CF25 44A5 A398 4F60 97AF 88C2 63BC 8E20 2D4B
To claim this, I am signing this object:
View gist:3252063
use strict;
use warnings;
use threads;
my %tracks = ();
$tracks{'106019300'} = 'I are thread 1';
$tracks{'106019299'} = 'I are thread 2';
BrianFehrle /
Created Mar 22, 2012 — forked from jacobian/
Nagios plugin to check PostgreSQL 9 streaming replication lag.
#!/usr/bin/env python
Nagios plugin to check PostgreSQL 9 streaming replication lag.
Requires psycopg2 and nagiosplugin (both installable with pip/easy_install).
MIT licensed:
Copyright (c) 2010 Jacob Kaplan-Moss. All rights reserved.
View capmon.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'mechanize'
abort "Usage: #{$0} <username> <password>" unless ARGV.length == 2
BrianFehrle / gist:1175937
Created Aug 27, 2011
Retrieves the name of a spell using the spell id from
View gist:1175937
import lxml.html
from string import replace
# define a list of mount spell id's
mount_id_lst = ['61470','13819']
# loop through each id
for mount_id in mount_id_lst:
You can’t perform that action at this time.