Skip to content

Instantly share code, notes, and snippets.

View Leibinger015's full-sized avatar

Leibinger015

View GitHub Profile
@Leibinger015
Leibinger015 / Scriptable LockScreen-Widget: „tileCAL“-Calendar v1.2g
Last active November 21, 2024 18:13
An LockScreen widget for your iPhone, it’s shows a mnml calendar.
// This code is a script for the iPhone app Scriptable.
// It's shows a mnml “tileCAL” calendar-widget on your iPhone LockScreen.
//
// Script-Code: ©️anb030.de
// Script-Date: 02.11.2024
// Script-Last-Edit: 14.11.2024
// Version: 1.2g - BugFixes: Minor fixes, dark mode adjustments, country code for weekdays with only 2 letters and fine-tuning.
//
//
// Set the language code for the short weekdays here, "de-DE" for German, "en-US" for English, "tr-TR" for Turkish ... and so on!
@Leibinger015
Leibinger015 / Scriptable Homescreen-Widget: „wishAPP“ v1.3b
Last active November 10, 2024 16:19
iPhone widget "APPwish": Keep an eye on price alerts for premium apps!
// This code is a script for the iPhone app Scriptable.
// An widget named “APPwish” for a paid Premium WishApp. This way you can keep an eye on the price for a discount promotion.
//
// Script-Code: ©️anb030.de
// Script-Date: 28.10.2024
// Script-Last-Edit: 10.11.2024
// Version: 1.3b - Minor code fixes, fullscreen AppIcon cover with txt layer, country code for the right Apple AppStore with only 2 letters, edit the parameter in the widget for the AppID and design fine-tuning.
//
//
// Standard AppStore App-ID: Example app without parameters -> HomeDash (Please enter your desired AppID in the Wigdet parameter!)
@Leibinger015
Leibinger015 / Scriptable Homescreen-Widget: Tidal Rings v1.5e
Last active November 10, 2024 16:20
An HomeScreen widget for a Concentric circle calendar.
// This is a "Concentric circle calendar" widget script for the iPhone app "Scriptable".
// Script-Code: ©️anb030.de
// Script-Datum: 26.10.2024
// Script-Last-Edit: 01.11.2024
// Version: 1.5e: BugFixes: The script has been slightly revised. Integration for calc of leap years and years with 52 or 53 calendar weeks. Fine tuning of the circular ring values. Note: Switching between light or dark mode can take a few seconds in automatic mode because the value in the script is dynamic and iOS 18.x is currently causing problems. For reason: New with manual Light/Dark mode selection per Parameter Widget-Setup.
// Start-Script
// Parameter einlesen
let mode = args.widgetParameter;
@Leibinger015
Leibinger015 / Scriptable Homescreen-Widget: AM Hörspiele
Last active November 10, 2024 16:23
An HomeScreen widget for direct linking to a fav AppleMusic genre.
// This code was written for the iPhone and iPad app "Scriptable" to create a quick home screen widget link to your favourite Apple Music genre, such as AudioBooks.
//
// Scriptable-App: https://apps.apple.com/de/app/scriptable/id1405459188
//
// Created on 12.10.2024 by www.anb030.de
//
// Widget erstellen & Hintergrundfarbe setzen
let widget = new ListWidget();
widget.backgroundColor = new Color("#fc3c44"); // <- BackColor of AppleMusic
widget.setPadding(10, 10, 10, 10);
@Leibinger015
Leibinger015 / Scriptable LockScreen-Widget: Sunrise & -set with GEO
Last active November 10, 2024 16:27
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 / Scriptable Homescreen-Widget: Luftqualität with GEO
Last active November 10, 2024 16:30
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 / Scriptable Homescreen-Widget: Post-It Widget
Last active November 10, 2024 16:32
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
//
// #################################