Skip to content

Instantly share code, notes, and snippets.

View m-rossi's full-sized avatar

Marco Rossi m-rossi

View GitHub Profile
@m-rossi
m-rossi / vaccination-stats.js
Created January 10, 2021 20:33 — forked from marco79cgn/vaccination-stats.js
A Scriptable widget that shows the amount of people who have received the corona vaccination in Germany
// Mit Caching und Fallback
const cacheMinutes = 60; // 60 min
const today = new Date();
const neededTotalVaccinations = 116400000;
let result;
let resultDe;
let width;
const h = 5;
if (config.widgetFamily === "small") {
width = 100;
@m-rossi
m-rossi / dm-toilet-paper.js
Last active May 21, 2021 20:14 — forked from marco79cgn/dm-toilet-paper.js
iOS Widget, das die Anzahl an Klopapier Packungen in deiner nächsten dm Drogerie anzeigt (für die scriptable.app)
// dm Klopapier Widget
//
// Copyright (C) 2020 by marco79 <marco79cgn@gmail.com>
//
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
// IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
### Keybase proof
I hereby claim:
* I am m-rossi on github.
* I am mrossi (https://keybase.io/mrossi) on keybase.
* I have a public key ASC8mLzUPsHOMhRN_SVji9If_KIXZLWQ_dL-F5srSIpUCAo
To claim this, I am signing this object: