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
### Keybase proof | |
I hereby claim: | |
* I am ofek on github. | |
* I am ofek (https://keybase.io/ofek) on keybase. | |
* I have a public key whose fingerprint is FFB6 B92B 30B1 7848 546E 9912 972F E913 DAD5 A46E | |
To claim this, I am signing this object: |
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 json | |
from collections import namedtuple | |
try: | |
import requests | |
except ImportError: | |
raise ImportError('This program requires ' | |
'https://github.com/kennethreitz/requests') | |
ENDPOINT = 'https://backend-challenge-fall-2017.herokuapp.com/orders.json' |
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 multiprocessing | |
import os | |
import psutil | |
pid = os.getpid() | |
p = psutil.Process(pid) | |
def _yaml_load(config): |
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
BEGIN MESSAGE. | |
l2lMGzgWPRoAFVC GhLXrKi0txn23Cj SprmEIdDINXhxyC DVxBti9wzlg7yjE | |
X9yrT3QWgSiKggn C4fOKSsWYJ9TCKq 6Xr2MZHgg6vBBpL eKRyrfuULEBvTDR | |
LhRR5GD2QCftYv7 TAWnwBKT5yki3hC MCORiih9mEi7w0o 86rQnWl30VchRU2 | |
DdCMcAXP5TXMR7n 3mDReLu7QbQ5XoU YFC9. | |
END MESSAGE. |
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
{ | |
"listeners": [ | |
{ | |
"address": "tcp://0.0.0.0:80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", |