Skip to content

Instantly share code, notes, and snippets.

View freinold's full-sized avatar
🏠
Working from home

Fabian Reinold freinold

🏠
Working from home
View GitHub Profile
@freinold
freinold / bash.py
Last active April 8, 2020 11:35
python3 bash call (Subprocess)
import subprocess
def _bash(cmd: str) -> str:
logging.debug("Bash Command: {0}".format(cmd))
output: str = subprocess.run(
cmd,
shell=True,
check=True,
executable="/bin/bash",
@freinold
freinold / munichDistricts.geo.json
Last active October 31, 2019 13:24
Munich Districts GeoJson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.