Skip to content

Instantly share code, notes, and snippets.

View jkbecker's full-sized avatar
🦀
getting rusty

Johannes Becker jkbecker

🦀
getting rusty
View GitHub Profile
import subprocess
import time
from typing import Optional
import requests
TELEGRAM_BOT_API_KEY = '<telegram_api_key>'
TELEGRAM_CHAT_ID = '<telegram_chat_id>'
@gitsper
gitsper / nocovid
Created September 9, 2020 19:36
script that you can hook up to cron or systemd so you don't have to fill out the damn survey
#!/usr/bin/python
"""
file : nocovid
author : Kacper
"""
import sys
assert sys.version_info.major == 3, 'Tested with python 3, so use that'