Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🛒

Jonas Boserup boserup

💭
🛒
View GitHub Profile
@boserup
boserup / apple-event.js
Created Sep 15, 2020 — forked from marco79cgn/apple-event.js
Widget which opens the Apple Event Stream on YouTube
View apple-event.js
let widget = new ListWidget()
widget.setPadding(0,0,0,0)
widget.url = "https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/m3u8/main.m3u8"
widget.backgroundColor = new Color("#FFFFFF")
await loadImage("https://cdn.vertexreport.com/wp-content/uploads/2020/09/Apple-Event-September.jpg")
Script.setWidget(widget)
Script.complete()
@boserup
boserup / Tweak.xm
Created Oct 14, 2015 — forked from steventroughtonsmith/Tweak.xm
iOS 9 Enable Splitscreen Jailbreak Tweak (Theos)
View Tweak.xm
/* How to Hook with Logos
Hooks are written with syntax similar to that of an Objective-C @implementation.
You don't need to #include <substrate.h>, it will be done automatically, as will
the generation of a class list and an automatic constructor.
%hook ClassName
// Hooking a class method
+ (id)sharedInstance {