Skip to content

Instantly share code, notes, and snippets.

Avatar

Dr. Matthias Jung myzinsky

  • Fraunhofer IESE, University of Kaiserslautern
  • Kaiserslautern
View GitHub Profile
@myzinsky
myzinsky / incidens_and_newcases.js
Created Oct 23, 2020 — forked from oliverandrich/incidens_and_newcases.js
Kombination der Covid-19 Neuinfektionen und der Inzidenz-Zahl für die aktuelle Location. Inspiriert von https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664
View incidens_and_newcases.js
// 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`;
@myzinsky
myzinsky / sc_main.cc
Created Aug 26, 2020
TLM-LT Benchmark
View sc_main.cc
/*
* 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 / # qt-webkit - 2020-02-08_14-51-47.txt
Created Feb 8, 2020
qt-webkit (kde-mac/kde/qt-webkit) on macOS 10.15.2 - Homebrew build logs
View # qt-webkit - 2020-02-08_14-51-47.txt
Homebrew build logs for kde-mac/kde/qt-webkit on macOS 10.15.2
Build date: 2020-02-08 14:51:47