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 |
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' |
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() |