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
| (base) ✘ will@wills-mbp ~/git/t/myavant main docker compose -f docker-compose.yml -f avant-basic/docker-compose.yml up web | |
| [+] Running 4/4 | |
| ⠿ Container myavant-db-1 Running 0.0s | |
| ⠿ Container myavant-redis-1 Recreated 0.4s | |
| ⠿ Container myavant-minio-1 Running 0.0s | |
| ⠿ Container myavant-web-1 Recreated |
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 random | |
| from collections import Counter | |
| class MyDict: | |
| def __init__(self): | |
| self._dict = dict() | |
| self._key_cache = list() | |
| self._values_counter = Counter() | |
| self._values_cache = list() |
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 time | |
| import requests | |
| import threading | |
| class HTTPBencher(threading.Thread): | |
| def __init__(self, span): | |
| super(HTTPBencher, self).__init__() | |
| self.span=span | |
| self.final_count = None |
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 stores import Safeway | |
| from ingredients import Meats, Oils, Vegetables, Spices | |
| from kitchen import Pan, Stove, Plate | |
| from life import Girlfriend, Me | |
| import common_steps, units, time | |
| class Recipe(object): | |
| def __init__(self, name, description=None, cook_time=None): | |
| self.name = name | |
| self.description = description |