Skip to content

Instantly share code, notes, and snippets.

View boserup's full-sized avatar
💭
🛒

Jonas Boserup boserup

💭
🛒
View GitHub Profile
@boserup
boserup / Tweak.xm
Created October 14, 2015 11:22 — forked from steventroughtonsmith/Tweak.xm
iOS 9 Enable Splitscreen Jailbreak Tweak (Theos)
/* 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 {

Keybase proof

I hereby claim:

  • I am boserup on github.
  • I am boserup (https://keybase.io/boserup) on keybase.
  • I have a public key ASBPZBU-h_rpM2k9iX_uh8XZ4lfMa7qxFat9-g-yrvpg_Ao

To claim this, I am signing this object:

00000000 4b df fe 7f ff ff ff dd 2f 7f f9 ff ff ff ff ff |K......./.......|
00000010 ff ff ff cd 2f 7f f9 ff ff ff ff ff ff ff ff ff |..../...........|
00000020 fd d2 f7 ff 9f ff ff ff ff ff ff ff ff fd 5f 48 |.............._H|
00000030 97 bf fc ff ff ff ff 84 bd ff e7 ff ff ff ff ff |................|
00000040 ff ff ff cb f3 b4 bd ff e7 ff ff ff ff ff ff ff |................|
00000050 ff e1 2f 7f f9 ff ff ff ff ff ff ff ff f4 |../...........|
0000005e
@boserup
boserup / apple-event.js
Created September 15, 2020 20:01 — forked from marco79cgn/apple-event.js
Widget which opens the Apple Event Stream on YouTube
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()
(fec0ded)^8
XOR
6861636b696e67d3ac
bfbdc26e8293efadb7
c36e949ca5acb38d63
898da8b1b3886899
public static List<User> All() {
return PersistentObject.INSTANCE.Fetch(
new Dictionary<string, object>(),
"users",
typeof(Book)
).ConvertAll(x => (Book)x);
}
SELECT *,
ts_rank(
SETWEIGHT(
TO_TSVECTOR(
'english',
COALESCE(search_view.name, '')
),
'A'
) || SETWEIGHT(
TO_TSVECTOR(
/*
*Contains data about the concept of a book.
*
*/
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations;
using CentralServer.ObjectMapper;
using CentralServer.Utilities;
catalogue.getEntries().parallelStream().forEach(
e -> {
try {
Product product = e.getProduct();
// ...
} catch (RemoteException exn) {
throw new Error("Remote failure: " + exn);
} catch (BadLocationException e) {