Skip to content

Instantly share code, notes, and snippets.

@JoeGit42
JoeGit42 / Daily Dilbert.js
Last active November 26, 2020 17:37
Gist of DilbertWidget to discuss - Repository is here: [https://github.com/JoeGit42/DilbertWidget]
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: cyan; icon-glyph: user-tie;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: image;
// Platform: iOS 14
// Application: Scriptable app
@JoeGit42
JoeGit42 / forked-telekom.js
Last active January 9, 2022 23:02 — forked from LupusArgentum/telekom-widget-link.md
iOS-Widget für Datenverbrauch im Telekom-Netz (Forked from Sillium/telekom.js)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: pink; icon-glyph: signal;
// creator: https://github.com/Sillium | changed by https://github.com/LupusArgentum | change again by me, https://github.com/JoeGit42
const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status"
const logoIsWanted = (args.widgetParameter == "logo")
const colorTimeToSignalEndOfMonth = false
const showIndicationIfAPIOffline = false
const showAvailableVolume = true