Skip to content

Instantly share code, notes, and snippets.

View leoluk's full-sized avatar

leoluk leoluk

View GitHub Profile
[Service]
ExecStart=/usr/local/bin/folding_exporter -teamID 257832 -listen [::1]:8080
User=prometheus
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
# .config/i3/config
exec xrandr --dpi 144
# .Xresources
Xft.dpi: 144
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.antialias: 1
@leoluk
leoluk / shadowcalc.py
Created August 11, 2021 16:56
Converts geojson with polygon features to a JSON blob readable by http://shadowcalculator.eu
#!/usr/bin/env python3
"""
Converts geojson with polygon features to a JSON blob readable by http://shadowcalculator.eu
Usage: ./shadowcalc.py trees.geojson
"""
import sys
import json
import time
[gerrit]
replicateOnStartup = true
[remote "github-monogon"]
url = [email protected]:monogon-dev/${name}
projects = monogon
projects = infralib
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
timeout = 30