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 urllib3 | |
| urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
| from multiprocessing import Process | |
| import requests | |
| import sys | |
| import datetime | |
| def get(url, timeout): |
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
| #!/bin/bash | |
| # the script to make tables like this | |
| # +----------+--------+--------------------+ | |
| # |col1 |col2 |col3 | | |
| # +----------+--------+--------------------+ | |
| # |val1 |val3 |val4 | | |
| # +----------+--------+--------------------+ | |
| # |valqeefnkl|val3wekj|val4 | | |
| # |1 |bkjwvsaj| | |
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 Jumpscale import j | |
| builder_method = j.baseclasses.builder_method | |
| class BuilderKeepalived(j.baseclasses.builder): | |
| __jslocation__ = "j.builders.network.keepalived" | |
| def _init(self, **kwargs): | |
| self.BUILDDIR = self._replace("{DIR_VAR}/build/keepalived") |