Skip to content

Instantly share code, notes, and snippets.

@fastred
fastred / UIKit.diff
Created June 7, 2017 16:50
UIKit.diff
This file has been truncated, but you can view the full file.
diff --git a/UIKit/CDStructures.h b/UIKit/CDStructures.h
index 56bd9915..c4061249 100644
--- a/UIKit/CDStructures.h
+++ b/UIKit/CDStructures.h
@@ -6,14 +6,35 @@
@class NSString, NSTimer, UIWebPDFView;
-#pragma mark Function Pointers and Blocks
-
tell application "System Events"
tell appearance preferences
set willBeDark to not dark mode
set dark mode to willBeDark
end tell
end tell
set terminalTheme to "Tomorrow16"
if willBeDark then
set terminalTheme to "TomorrowNight16"
2021-11-07 16:43:14 +0100 Notification Display is turned off
2021-11-07 16:43:14 +0100 Assertions PID 315(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:00:51 id:0x0x100008007 [System: DeclUser BGTask SysAct SRPrevSleep IPushSrvc kCPU kDisp]
2021-11-07 16:43:14 +0100 Assertions PID 315(powerd) Summary UserIsActive "com.apple.powerd.ws.initialize" 00:00:51 id:0x0x900008008 [System: DeclUser BGTask SysAct SRPrevSleep IPushSrvc kCPU kDisp]
2021-11-07 16:43:14 +0100 Assertions PID 375(WindowServer) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:1000008f5 name:NULL product:Apple Internal Keyb eventType:11" 00:00:06 id:0x0x900008029 [System: DeclUser BGTask SysAct SRPrevSleep IPushSrvc kCPU kDisp]
2021-11-07 16:43:14 +0100 Assertions PID 344(apsd) Summary ApplePushServiceTask "com.apple.apsd-lastpowerassertionlinger" 00:00:00 id:0x0xb000081e7 [System: DeclUser BGTask SysAct SRPrevSleep IPushSrvc