This file contains hidden or 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
| {# | |
| Renders Bokeh models into a basic .html file. | |
| :param title: value for ``<title>`` tags | |
| :type title: str | |
| :param plot_resources: typically the output of RESOURCES | |
| :type plot_resources: str | |
| :param plot_script: typically the output of PLOT_SCRIPT |
This file contains hidden or 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
| from AbstractServiceClass import AbstractServiceClass | |
| class HeartBeater(AbstractServiceClass): | |
| def __init__(self): | |
| AbstractServiceClass.__init__(self) | |
| def __doit__(self): | |
| self.log('.') |
This file contains hidden or 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 json | |
| from datetime import date, timedelta | |
| from collections import Counter | |
| import unicodedata | |
| from time import sleep |
This file contains hidden or 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
| from configparser import ConfigParser | |
| LOGDIR = '/etc/php5/apache2' | |
| ### Overload ConfigParser _read method to generate a comment parser | |
| class CommentParser(ConfigParser): | |
| def __init__(self,*args,**kwargs): | |
| super(ConfigParser,self).__init__(*args,**kwargs) | |
NewerOlder