I hereby claim:
- I am fronbasal on github.
- I am fronbasal (https://keybase.io/fronbasal) on keybase.
- I have a public key whose fingerprint is 0CD0 E229 DA22 4C4A 7560 4E6F A9F6 A553 F4CC F339
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| operator | operator_owned_restaurants |
|---|---|
| McDonald's Deutschland LLC | 118 |
| Autobahn Tank & Rast QSR GmbH | 31 |
| Willy Dany Restaurantbetriebsgesellschaft mbH & Co. Service KG | 29 |
| Systemgastronomie Christian Eckstein GmbH & Co. KG | 28 |
| Heinritzi GmbH & Co. Restaurant KG | 28 |
| Mike Kraft Systemgastronomie e. K. | 15 |
| Hubertus Elster e.K. Systemgastronomie | 15 |
| Frank Mosher Restaurants e.K. |
| import github3 | |
| import click | |
| @click.command() | |
| @click.argument('access_token', required=True, type=str) | |
| def main(access_token): | |
| gh = github3.login(token=access_token) | |
| username = gh.me().login |
Instructions on fixing Traktor >= 3.9.0 on MacOS with M1/M2/M3 chips:
cd /Applications/Native\ Instruments/Traktor\ Pro\ 3/Traktor.app/Contents/MacOScp Traktor Traktor.baksudo lipo -thin x86_64 Traktor.bak -output TraktorThis will extract the x86_64 binary from the universal binary with 2 architectures.
This is a quick write-up on how to configure Pretix (based on the Small-scale manual deployment documentation by Pretix) to use S3 (or another supported django-storages backend) to speed up page hits.
The process of this and additional steps to undertake are underlined in Pretix' scaling guide.
I wrote this to make it easier for myself and you to do this again ;)
DJANGO_SETTINGS_MODULE as outlined in the scaling guide| from pathlib import Path | |
| import requests | |
| from bs4 import BeautifulSoup | |
| # Inspired by https://github.com/stormsuresh92/Bulk-download-Sci-Hub-papers | |
| class SciHub: | |
| def __init__(self, doi: str, path: Path, url='https://sci-hub.se/', timeout=60): | |
| self.url = url | |
| self.timeout = timeout |
compress (django-compressor) to it syncs the new assets to S3sudo -u pretix -i
source venv/bin/activate
export $(cat .env)
pip3 install -U --upgrade-strategy eager pretix gunicorn| { | |
| "name": "com.1password.1password", | |
| "description": "1Password BrowserSupport", | |
| "path": "/Applications/1Password.app/Contents/Library/LoginItems/1Password Browser Helper.app/Contents/MacOS/1Password-BrowserSupport", | |
| "type": "stdio", | |
| "allowed_origins": [ | |
| "chrome-extension://hjlinigoblmkhjejkmbegnoaljkphmgo/", | |
| "chrome-extension://gejiddohjgogedgjnonbofjigllpkmbf/", | |
| "chrome-extension://khgocmkkpikpnmmkgmdnfckapcdkgfaf/", | |
| "chrome-extension://aeblfdkhhhdcdjpifhhbdiojplfjncoa/", |
| Metric | IONOS 1&1 (beta.txt) | Hetzner (pretix.txt) | Netcup (detroit.txt) |
|---|---|---|---|
| Read IOPS | 5010 (+99.3% vs Netcup, +17.5% vs Hetzner) | 4264 (+69.6% vs Netcup) | 2514 (baseline) |
| Write IOPS | 2150 (+99.1% vs Netcup, +17.5% vs Hetzner) | 1830 (+69.4% vs Netcup) | 1080 (baseline) |
| Read Bandwidth (MB/s) | 20.5 (+99.0% vs Netcup, +17.1% vs Hetzner) | 17.5 (+69.9% vs Netcup) | 10.3 (baseline) |
| Write Bandwidth (MB/s) | 8.8 (+104.7% vs Netcup, +20.5% vs Hetzner) | 7.3 (+69.8% vs Netcup) | 4.3 (baseline) |
| Avg Latency Read (us) | 167 (-27.4% vs Netcup, -1.2% vs Hetzner) | 169 (-26.5% vs Netcup) | 230 (baseline) |
| Avg Latency Write (us) | 73 (-80.9% vs Netcup, -50.7% vs Hetzner) | 148 (-61.3% vs Netcup) | 382 (baseline) |