Skip to content

Instantly share code, notes, and snippets.

View Leibinger015's full-sized avatar

Leibinger015

View GitHub Profile
@Leibinger015
Leibinger015 / Deutsch - Sperrbildschirm Sonnenzeit mit GEO
Last active November 23, 2022 10:45
Revised version for the new iOS 16.x lockscreen widgets for the Sunset or Sunrise time.
// Revised version (by www.anb030.de) for the new iOS 16 lockscreen widgets. Edit date: 23.11.2022
///////////////////////////////////////////////////////////////////////
// Quelle: https://gist.github.com/HendrikRunte/4b5d03cb26e31508bc96553ad3c10f47
// Lokalisiert: Deutsch
// Datum: 05.11.2020
///////////////////////////////////////////////////////////////////////
// Extending the JavaScritp Date object.
// Usage:
// const sunriseDateObject = new Date().sunrise(lat, long);
@Leibinger015
Leibinger015 / Deutsch - „Corona-Ampel-Berlin“ 4-Werte Widget
Last active November 22, 2021 22:21
This is a Scriptable Widget Script for iOS. A „Corona-🚦-Berlin“ Icon for your Homescreen.
// "Corona-Ampel-Berlin" iOS Scriptable Widget
//
// Original Quelle: https://gist.github.com/m4p/20cc77b6d9f1f422b75bc3ab6eed0ff3
//
// Editing: https://gist.github.com/Leibinger015
//
// Skript: Angepasst am 19.11.2021 von www.anb030.de/
//
// What's new: Hospitalisierungsrate, Inzidenz, ITS-Betten, Geimpft!
@Leibinger015
Leibinger015 / Deutsch - Luftqualitäts Widget
Created November 20, 2020 09:00
This is a Scriptable Widget Script for iOS. A World Air Quality Index Icon for your Homescreen.
// Das Skript habe ich auf Deutsch lokalisiert und es stammt aus der Quelle -> https://gist.github.com/SuperC1r0/a8aef6ec73108d03862aa96f278a72d7
//
//
//
// ***Air Quality Widget***
//
// Copyright (C) 2020 by SuperC1r0
//
// Permission to use, copy, modify, and/or distribute this software is hereby granted.
// However you have to respect the Terms of Service of the Air Quality Open Data Platform: https://aqicn.org/api/tos/
@Leibinger015
Leibinger015 / Deutsch - Post-It Widget
Created November 5, 2020 08:42
This is a Scriptable Widget Script for iOS. A Post-It Icon for your Homescreen.
// Scriptable script for iOS 14 Widgets
// #################################
//
// Post-It Notizen Widget
//
// Datum 05.11.2020
// Lokalisiert auf Deutsch
// Quelle: https://gist.github.com/Leibinger015
//
// #################################
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: yellow; icon-glyph: magic;
// Widget Params
// Don't edit this, those are default values for debugging (location for Cupertino).
// You need to give your locations parameters through the widget params, more info below.
//const widgetParams = JSON.parse((args.widgetParameter != null) ? args.widgetParameter : '{ "LAT" : "37.32" , "LON" : "-122.03" , "LOC_NAME" : "Cupertino, US" }')
// WEATHER API PARAMETERS !important
// API KEY, you need an Open Weather API Key