I hereby claim:
- I am saumiko on github.
- I am saumiko (https://keybase.io/saumiko) on keybase.
- I have a public key whose fingerprint is 87F4 3D88 6F65 127F AE22 269A 29BA 8C5F 7CFA 1A10
To claim this, I am signing this object:
version: '3' | |
services: | |
master: | |
image: locustio/locust | |
ports: | |
- "8089:8089" | |
volumes: | |
- ./:/mnt/locust | |
command: -f /mnt/locust/locustfile.py --master -H http://master:8089 |
import random | |
from locust import HttpUser, task, between | |
class WebsiteUser(HttpUser): | |
wait_time = between(5, 9) | |
@task(2) | |
def index(self): | |
self.client.get("/") | |
self.client.get("/ajax-notifications/") |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def dicEncoder(d): | |
stringed = '' | |
for key, value in d.items(): | |
stringed += value | |
hash_object = hashlib.sha1(stringed.encode()) | |
hex_dig = hash_object.hexdigest() | |
return hex_dig |
import string | |
def gen_dic(key): | |
cap_map = {} | |
small_map = {} | |
cap_shift = list(string.ascii_uppercase) | |
small_shift = list(string.ascii_lowercase) | |
cap_append = cap_shift[:key] | |
small_append = small_shift[:key] |