This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mechanize' | |
URL_PRELOADER = 'https://customer.comcast.com/Secure/Preload.aspx?backTo=%2fSecure%2fUsers.aspx&preload=true' | |
URL_USERS = 'https://customer.comcast.com/Secure/Users.aspx' | |
abort "Usage: #{$0} <username> <password>" unless ARGV.length == 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use threads; | |
my %tracks = (); | |
$tracks{'106019300'} = 'I are thread 1'; | |
$tracks{'106019299'} = 'I are thread 2'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am brianfehrle on github. | |
* I am freakinweirdo (https://keybase.io/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: |