Skip to content

Instantly share code, notes, and snippets.

@jontelang
jontelang / snippet.txt
Created March 18, 2013 08:47
console
Mar 18 16:39:21 Jonathans-iPhone kernel[0] <Debug>: [HPark] RcMgr::AddTuning() {'gsm ' 'wb ' ' '} added to resources
Mar 18 16:39:22 Jonathans-iPhone installd[45] <Error>: 0x201000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1cd4b0d0 [0x3954d100]>{type = mutable set, count = 18,
entries =>
0 : <CFString 0x395399f4 [0x3954d100]>{contents = "CFBundlePackageType"}
1 : <CFString 0x1ce347e0 [0x3954d100]>{contents = "BuildMachineOSBuild"}
2 : <CFString 0x3953aa44 [0x3954d100]>{contents = "CFBundleResourceSpecification"}
3 : <CFString 0x1cd4fc30 [0x3954d100]>{contents = "DTPlatformBuild"}
4 : <CFString 0x39537794 [0x3954d100]>{contents = "DTCompiler"}
5 : <CFString 0x39539564 [0x3954d100]>{contents = "CFBundleSignature"}
6 : <CFString 0x3953a224 [0x3954d10
@jontelang
jontelang / snippet.txt
Created March 18, 2013 08:47
crashlog
Incident Identifier: 02F26FE2-71C3-4CFA-B8C9-458F45447217
CrashReporter Key: 0f58b80d8ef7360e9e87eced597f72cb9966bd92
Hardware Model: iPhone4,1
OS Version: iPhone OS 6.1.1 (10B145)
Kernel version: Darwin Kernel Version 13.0.0: Sun Dec 16 19:58:44 PST 2012; root:xnu-2107.7.55~11/RELEASE_ARM_S5L8940X
Date: 2013-03-18 16:41:05 +0800
Exception Code: 0xfaded321
Reason: Watchdog timeout: 120.015961s since last successful ping: 1225b50 1225r1508000 1200m0 1200m0 1200u0 1000m10004003 1000u0 1000m0 1000u0 800m10004003 800u0 800m0 800u0 600m10004003 600u0 600m0 600u0 400m10004003 400u0 400m0 400u0 200m10004003 200u0 200m0 200u0 0m10000004 0c8b
Thermal Level: 0
@jontelang
jontelang / snippet.txt
Created March 18, 2013 12:45
crashuihang
Incident Identifier: 1A53AB7F-721C-4BAC-9D4C-C421AFF08686
CrashReporter Key: 0f58b80d8ef7360e9e87eced597f72cb9966bd92
Hardware Model: iPhone4,1
Process: SpringBoard [420]
Path: /System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: SpringBoard
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
@interface UIConcreteLocalNotification
@end
@interface UIApplication ()
-(BOOL)launchApplicationWithIdentifier:(id)arg1 suspended:(BOOL)arg2;
@end
%hook Alarm
- (void)handleAlarmFired:(id)arg1
{
@jontelang
jontelang / snippet.txt
Created March 21, 2013 14:09
view on lockscreen
@interface SBAwayController
-(void)undimScreen;
@end
@interface SBAwayView : UIView
// Nothing
@end
@jontelang
jontelang / Tweak.xm
Created March 21, 2013 15:19
kill pid
if( [a isRunning] )
{
int pid = [a pid];
NSLog(@"pid: %i", pid);
NSString *cmd = [NSString stringWithFormat:@"kill %i",pid];
NSLog(@"%@",cmd);
const char *command = [cmd UTF8String];
NSLog(@"%s",command);
0 CoreFoundation 0x33c98fec __CFStringAppendFormatCore + 2196
1 CoreFoundation 0x33c125e2 _CFStringCreateWithFormatAndArgumentsAux + 70
2 Foundation 0x34521710 +[NSString stringWithFormat:] + 56
3 UIKit 0x35ad6d96 _UICacheNameForImageAtPath + 106
4 UIKit 0x35ad6bc2 _UIImageAtPath + 46
5 ScrollingBoard.dylib 0x019c0dda 0x19bb000 + 24026
6 UIKit 0x35d35a14 -[UIPageControl setNumberOfPages:] + 252
7 ScrollingBoard.dylib 0x019c13be 0x19bb000 + 25534
8 SpringBoard 0x00121d94 0x5000 + 1166740
9 SpringBoard 0x00125cba 0x5000 + 1182906
static UIView *pianoView;
static int count = 0;
static NSString* PIN = @"";
static int PINLength;
@interface key : UIView <UIGestureRecognizerDelegate>
{
UIView *touches;
}
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>
@interface JWLPiano : UIView <UIGestureRecognizerDelegate>
{
NSString *PIN;
int PINLength;
#include "Preferences/Preferences.h"
@interface PSTableCell ()
- (id)initWithSpecifier:(PSSpecifier *)specifier;
- (id)initWithStyle:(UITableViewCellStyle)x reuseIdentifier:(id)y specifier:(id)z;
@end
@interface CustomCell : PSTableCell {//<PreferencesTableCustomView> {
UILabel *_label;
}