The azure cli tool is used to do this publication. To install it follow below. For further questions see Azure CLI Install
# add ~/bin and add it to path
mkdir -p ~/bin/
[ "${PATH#*$HOME/bin}" = "$PATH" ] || PATH=$HOME/bin:$PATH
The azure cli tool is used to do this publication. To install it follow below. For further questions see Azure CLI Install
# add ~/bin and add it to path
mkdir -p ~/bin/
[ "${PATH#*$HOME/bin}" = "$PATH" ] || PATH=$HOME/bin:$PATH
| class Foo(object): | |
| def __init__(self): | |
| self._endpoint = None | |
| @property | |
| def endpoint(self): | |
| if self._endpoint is None: | |
| self._endpoint = self._find_endpoint() | |
| return self._endpoint |
| class MyTestCase(unittest.TestCase): | |
| def setUp(self): | |
| self.foo_patcher = patch('__main__.Class', spec=True) | |
| self.foo_patcher.start() | |
| def tearDown(self): | |
| self.foo_patcher.stop() | |
| class TestThingie(MyTestCase): |
Features of uvp-monitor:
| #!/usr/bin/env python2 | |
| import json | |
| import os | |
| import re | |
| import scrapy | |
| from scrapy.crawler import CrawlerProcess | |
| RELEASE_MAP = { |
| f = open(...) | |
| try: | |
| json.loads(f.read()) | |
| except ValueError: | |
| print "Invalid JSON" | |
| raise | |
| finally: | |
| f.close() |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -m | |
| cleanup () { | |
| jobs -p | xargs kill -INT | |
| } | |
| python source.py & | |
| python target.py & |
| ### Keybase proof | |
| I hereby claim: | |
| * I am OddBloke on github. | |
| * I am odd_bloke (https://keybase.io/odd_bloke) on keybase. | |
| * I have a public key whose fingerprint is 5848 D31C A3C4 2D64 609F 49EB DDAA DAB0 E8A4 14F6 | |
| To claim this, I am signing this object: |