I hereby claim:
- I am xowap on github.
- I am xowap (https://keybase.io/xowap) on keybase.
- I have a public key ASC37lc_Cup93wSKmGt4SSwNZ-tAAQ6bTbyNbOXbUpZRUwo
To claim this, I am signing this object:
[Unit] | |
Description=xxx gunicorn server | |
Requires=xxx.socket | |
After=network.target | |
[Service] | |
User=www-data | |
Group=www-data | |
EnvironmentFile=/var/apps/xxx/env | |
WorkingDirectory=/var/apps/xxx/ |
[tool.ruff.lint] | |
select = [ | |
# -- Core -- | |
"E", # pycodestyle (errors) | |
"W", # pycodestyle (warnings) | |
"F", # Pyflakes | |
"I", # isort | |
"C90", # McCabe Complexity | |
"D1", # Mandatory docstrings | |
"S", # Bandit |
[ | |
{ | |
"title": "Dawn or dusk?", | |
"answers": [ | |
{ | |
"title": "Dawn", | |
"scores": { | |
"g": 100, | |
"r": 100, | |
"h": 0, |
I hereby claim:
To claim this, I am signing this object:
from pydantic import BaseModel, ValidationError | |
from typing import Union | |
class A(BaseModel): | |
a: Union["A", "B"] | |
class B(BaseModel): | |
a: Union["A", "B"] |
from argparse import ArgumentParser, Namespace | |
from base64 import b64encode | |
from json import dumps | |
from pprint import pprint | |
from typing import Optional, Sequence, Text | |
from urllib.parse import ParseResult, urljoin, urlparse | |
from requests_html import HTMLSession | |
""" | |
This is a monkey patch of the requests-html module so it can download chrome | |
and store its data in a custom location and not in the home directory (which | |
is not writable on servers and also we do not want chrome stored there). | |
""" | |
from os.path import ( | |
join, | |
) | |
from pathlib import ( |
#!/usr/bin/env python3 | |
from argparse import ArgumentParser | |
from sys import stdin, stdout | |
import re | |
SER_STR = re.compile(r"s:(\d+):(\\*\")(.*?)(\\*\");") | |
def parse_args(): |
--- | |
# List here all data controllers | |
controllers: | |
- name: Control Corporation | |
address: 42 control road, 75000 Paris, France | |
organisational_part: Control Part | |
contact_person: Jean-Claude Control | |
# That's all recipients for this data, wether internal database or an |