Skip to content

Instantly share code, notes, and snippets.

View kevinkk525's full-sized avatar

Kevin Köck kevinkk525

  • Germany
View GitHub Profile
@kevinkk525
kevinkk525 / storj_exporter_dashboard.json
Last active November 20, 2020 22:27
storj-exporter dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@kevinkk525
kevinkk525 / .env
Created October 29, 2020 11:16 — forked from Graf-Zahl/.env
jitsi meet for nginx-proxy and letsencrypt-proxy
# Directory where all configuration will be stored.
CONFIG=./jitsi-meet-cfg
# System time zone.
TZ=Europe/Amsterdam
# Public URL for the web service.
PUBLIC_URL=https://mydomain.org
# Virtual host for nginx proxy
@kevinkk525
kevinkk525 / wait_for_testcase.py
Created March 25, 2020 15:11
Testcases for wait_for uasyncio extmod
# Author: Kevin Köck
# Copyright Kevin Köck 2019 Released under the MIT license
# Created on 2019-11-11
###
# This test can be run on micropython and Cpython3.
# The results should be the same otherwise there's a bug in the micropython implementation.
###
@kevinkk525
kevinkk525 / heap_isr_test.py
Last active February 28, 2020 21:09
Test if the new uasyncio heap implementation is ISR proof
from time import ticks_diff, ticks_ms as ticks
import uasyncio as asyncio
from uasyncio.core import _queue
async def ph_meld(h1, h2):
if h1 is None:
# print("h1 none")
return h2
if h2 is None: