This file contains 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
NSString *imageName =[NSString stringWithString:[(Tweet*)[tweets objectAtIndex:indexPath.row] author]]; | |
NSString *userImage =[NSString stringWithString:[(Tweet*)[tweets objectAtIndex:indexPath.row] profileImage]]; | |
NSArray *myArray = [userImage componentsSeparatedByString: @"/"]; | |
NSString *fileName = (NSString*)[myArray lastObject]; | |
NSString *picName =[NSString stringWithFormat:@"%@:%@", imageName, fileName]; | |
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); | |
NSString *documentsDirectory = [paths objectAtIndex:0]; | |
NSString *dataPath = [documentsDirectory stringByAppendingPathComponent:@"/ProfilePictures"]; | |
NSString* path = [dataPath stringByAppendingPathComponent:picName]; |
This file contains 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
NSString *imageName =[NSString stringWithString:[(Tweet*)[tweets objectAtIndex:indexPath.row] author]]; | |
NSString *userImage =[NSString stringWithString:[(Tweet*)[tweets objectAtIndex:indexPath.row] profileImage]]; | |
NSArray *myArray = [userImage componentsSeparatedByString: @"/"]; | |
NSString *fileName = (NSString*)[myArray lastObject]; | |
NSString *picName =[NSString stringWithFormat:@"%@:%@", imageName, fileName]; | |
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); | |
NSString *documentsDirectory = [paths objectAtIndex:0]; | |
NSString *dataPath = [documentsDirectory stringByAppendingPathComponent:@"/ProfilePictures"]; | |
NSString* path = [dataPath stringByAppendingPathComponent:picName]; |
This file contains 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
%hook SpringBoard | |
%class SBStatusBarDataManager | |
-(void)applicationDidFinishLaunching:(id)application { | |
id statusBarDataManager = [%c(SBStatusBarDataManager) sharedDataManager]; | |
[statusBarDataManager toggleSimulatesInCallStatusBar]; | |
} |
This file contains 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
dispatch_async( dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ | |
//PUT HERE THE CODE YOU WANT TO RUN IN ANOTHER THREAD | |
} | |
dispatch_async( dispatch_get_main_queue(), ^{ | |
//PUT HERE THE BACKGROUND THREAD RESULTS FOR SHOWING THEM ON MAIN APP | |
}); | |
}); |
This file contains 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
/* | |
* Generated by class-dump 3.3.3 (64 bit). | |
* | |
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. | |
*/ | |
#import "NSObject.h" | |
@class UIView, UIWindow; |
This file contains 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 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk |
This file contains 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 <UIKit/UIKit.h> | |
@interface UIImage (DBMaskedImageAdditions) | |
- (UIImage *)maskedImageWithMask:(UIImage *)maskImage; | |
@end |
This file contains 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
<p id="code"> | |
<span class="if">if</span>(<span class="string">$zad0xsis</span> == <span class="string">$dev</span>) { | |
<br> <span class="if">return</span> <span class="text">"welcome :D"</span>; | |
<br> } <span class="if">else</span> { <br> | |
<span class="if">return</span> <span class="text">"parse error"</span>; | |
<br> }</p> | |
<div id="goodimg"><br><p id="title">zad0xsis</p><hr>links</div> |
This file contains 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
#title { | |
position: absolute; | |
right: 300px; | |
top: 25px; | |
visibility: visible; | |
z-index: 0; | |
text-align: right; | |
font-weight: bold; | |
font-size: 50px; | |
font-family: Helvetica; |
This file contains 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
#title { | |
position: absolute; | |
right: 300px; | |
top: 25px; | |
visibility: visible; | |
z-index: 0; | |
text-align: right; | |
font-weight: bold; | |
font-size: 50px; | |
font-family: Helvetica; |
OlderNewer