Skip to content

Instantly share code, notes, and snippets.

Roger rogthefrog

  • San Francisco Bay Area
Block or report user

Report or block rogthefrog

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
@rogthefrog
rogthefrog / class_v_module.py
Created Sep 7, 2016
Class method v. module
View class_v_module.py
import module
from classmethod import Thing
Thing.do_the_thing()
module.do_the_thing()
View permissions.py
class Permissions(object):
_permissions = {
'read': 'lol',
'write': 'rotflmao',
'delete': 'wat',
'update': 'omg'
}
@classmethod
@rogthefrog
rogthefrog / fms_check.rb
Created Jun 7, 2012
Nagios plugin for Flash Media Server monitoring
View fms_check.rb
#!/usr/bin/ruby
# nagios plugin for Flash Media Server monitoring
# roger 2012-06-04
require 'rubygems'
require 'open-uri'
require 'optparse'
require 'ostruct'
require 'set'
require 'xmlsimple'
You can’t perform that action at this time.