View class_v_module.py
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
import module | |
from classmethod import Thing | |
Thing.do_the_thing() | |
module.do_the_thing() |
View permissions.py
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
class Permissions(object): | |
_permissions = { | |
'read': 'lol', | |
'write': 'rotflmao', | |
'delete': 'wat', | |
'update': 'omg' | |
} | |
@classmethod |
View fms_check.rb
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/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' |