Skip to content

Instantly share code, notes, and snippets.

View dasistrobert's full-sized avatar
💭
Working on Marqer.app

Robert Schröder dasistrobert

💭
Working on Marqer.app
View GitHub Profile
@dasistrobert
dasistrobert / telekom.js
Last active October 24, 2020 15:29 — forked from Sillium/telekom.js
const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status"
let widget = await createWidget()
// Add background gradient
let gradient = new LinearGradient()
gradient.locations = [0, 1]
gradient.colors = [
new Color("E20074"),
new Color("b80460")
]
@dasistrobert
dasistrobert / incidence.js
Last active October 24, 2020 15:27 — forked from rphl/incidence.js
COVID-19 Inzidenz-Widget für iOS innerhalb Deutschlands 🇩🇪 (Kreis/Stadt + Bundesland + Trend)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: light-gray; icon-glyph: magic;
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
const outputFields = 'GEN,cases_per_100k,cases7_per_100k,cases7_bl_per_100k,last_update,BL';
const apiUrl = (location) => `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=${outputFields}&geometry=${location.longitude.toFixed(3)}%2C${location.latitude.toFixed(3)}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json`
const apiUrlStates = 'https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/Coronaf%E4lle_in_den_Bundesl%E4ndern/FeatureServer/0/query?where=1%3D1&outFields=LAN_ew_GEN,cases7_bl_per_100k&returnGeometry=false&outSR=4326&f=json'
const apiUrlNewCases = 'https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_COVID19/FeatureServer/0/query?f=json&wh

Keybase proof

I hereby claim:

  • I am dasistrobert on github.
  • I am dasistrobert (https://keybase.io/dasistrobert) on keybase.
  • I have a public key ASBw8QPL-EGAxHR6mfRE7YGhz3Ab9mStD_YCL2Ltw3f1iAo

To claim this, I am signing this object: