This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/lsb-release | |
#DISTRIB_ID=Ubuntu | |
#DISTRIB_RELEASE=20.04 | |
#DISTRIB_CODENAME=focal | |
#DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS" | |
uname -a | |
#Linux docker-vm 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:17:58 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AccessibilityPlatformTranslation.framework | |
ActionPredictionHeuristics.framework | |
ActivityAchievements.framework | |
ActivityAchievementsUI.framework | |
AOPHaptics.framework | |
AppleCV3DModels.framework | |
AppleMediaServices.framework | |
AppNotificationsLoggingClient.framework | |
AppPredictionUI.framework | |
AppServerSupport.framework |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.apple.DiagnosticExtensions.Messages, | |
com.apple.DiagnosticExtensions.HangTracer, | |
com.apple.mobilecal.diagnosticextension, | |
com.apple.DiagnosticExtensions.Sandbox, | |
com.apple.mobilemail.DiagnosticExtension, | |
com.apple.BiometricKit.BioLogDiagnostic, | |
com.apple.DiagnosticExtensions.Phone, | |
com.apple.DiagnosticExtensions.BackgroundAppRefresh, | |
com.apple.news.diagnosticextension, | |
com.apple.CloudDocsDaemon.diagnostic, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/xpc /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/xpc | |
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/launch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/launch.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
po [[[PLXPCService alloc] init] clientNames] | |
{ | |
AdSheet = 9; | |
AirDrop = 21; | |
AirPlay = 29; | |
AirTrafficController = 17; | |
ApplePushService = 2; | |
AssertionsD = 39; | |
BackgroundTaskAgent = 6; | |
BatteryUI = 50; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties config-number | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties serial-number | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties mlb-serial-number | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties IOPlatformSerialNumber | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties IOPlatformUUID | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties BootSessionUUID | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties SleepWakeUUID | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[0] <Notice>: Sandbox: IOKitBrowser(1306) deny(1) iokit-get-properties IOCPUID | |
Sep 28 22:49:11 iPhone-6S-Plus kernel[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT sum(cpu_seconds) FROM | |
( SELECT case when diff_raw < -10 then value else diff_raw end as cpu_seconds | |
FROM ( SELECT *, value - prevVal as diff_raw FROM ( SELECT ID, ProcessName, value, ( SELECT t2.value FROM PLProcessMonitorAgent_EventBackward_ProcessMonitor_Dynamic t2 where t2.ID < t1.ID and ProcessName == "kernel_task" order by t2.ID desc limit 1 ) as prevVal FROM PLProcessMonitorAgent_EventBackward_ProcessMonitor_Dynamic t1 WHERE ProcessName == "kernel_task" ) ) WHERE cpu_seconds IS NOT NULL ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>abs-client</key> | |
<string>1478344997</string> | |
<key>aps-connection-initiate</key> | |
<true/> | |
<key>com.apple.BTServer.programmaticPairing</key> | |
<true/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSBundle *bundle = [NSBundle bundleWithPath:@"/System/Library/PreferenceBundles/BatteryUsageUI.bundle"]; | |
[bundle load]; | |
Class BatteryUsageQueryModuleClaszz = NSClassFromString(@"BatteryUsageQueryModule"); | |
Class BatteryUIControllerClazz = NSClassFromString(@"BatteryUIController"); | |
if (BatteryUIControllerClazz) { | |
self.batteryUIController = (BatteryUIController*)[[BatteryUIControllerClazz alloc] init]; | |
[self.batteryUIController setBatteryUIType:2]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, os.path, sys, urllib2, requests | |
class PyPiError(Exception): | |
def __init__(self, value): | |
self.value = value | |
def __str__(self): | |
return repr(self.value) | |
def _chunk_report(bytes_so_far, chunk_size, total_size): | |
if (total_size != None): |
NewerOlder