Skip to content

Instantly share code, notes, and snippets.

View myzinsky's full-sized avatar

Matthias Jung myzinsky

  • University of Würzburg, Fraunhofer IESE
  • Kaiserslautern
View GitHub Profile
@myzinsky
myzinsky / # qt-webkit - 2020-02-08_14-51-47.txt
Created February 8, 2020 14:12
qt-webkit (kde-mac/kde/qt-webkit) on macOS 10.15.2 - Homebrew build logs
Homebrew build logs for kde-mac/kde/qt-webkit on macOS 10.15.2
Build date: 2020-02-08 14:51:47
@myzinsky
myzinsky / sc_main.cc
Created August 26, 2020 12:48
TLM-LT Benchmark
/*
* Copyright 2017 Matthias Jung
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
@myzinsky
myzinsky / incidens_and_newcases.js
Created October 23, 2020 20:45
Kombination der Covid-19 Neuinfektionen und der Inzidenz-Zahl für die aktuelle Location. Inspiriert von https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
// Define URLs based on the corona.rki.de webpage
const newCasesApiUrl = `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_COVID19/FeatureServer/0/query?f=json&where=NeuerFall%20IN(1%2C%20-1)&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&outStatistics=%5B%7B%22statisticType%22%3A%22sum%22%2C%22onStatisticField%22%3A%22AnzahlFall%22%2C%22outStatisticFieldName%22%3A%22value%22%7D%5D&resultType=standard&cacheHint=true`;
const incidenceUrl = (location) =>
`https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=${location.longitude.toFixed(
3
)}%2C${location.latitude.toFixed(
3
)}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json`;