ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
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
1.http://stackoverflow.com/questions/7787494/adding-bounce-effect-to-appearance-of-uiimageview | |
2.http://stackoverflow.com/questions/20637140/animation-slows-down-as-it-ends/20637179#20637179 |
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
1.UIRefreshControl without UITableViewController? | |
http://stackoverflow.com/questions/12497940/uirefreshcontrol-without-uitableviewcontroller | |
http://stackoverflow.com/questions/10291537/pull-to-refresh-uitableview-without-uitableviewcontroller?lq=1 | |
2.UITableView - scroll to the top? | |
http://stackoverflow.com/questions/724892/uitableview-scroll-to-the-top | |
3.How to disable back swipe gesture in UINavigationController on iOS 7? | |
http://stackoverflow.com/questions/17209468/how-to-disable-back-swipe-gesture-in-uinavigationcontroller-on-ios-7 |
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
1.How do I convert an NSString value to NSData? | |
NSString* str = @"teststring"; | |
NSData* data = [str dataUsingEncoding:NSUTF8StringEncoding]; | |
2.How to check iOS version? | |
[[UIDevice currentDevice].systemVersion floatValue] | |
3.How do I create delegates in Objective-C? | |
http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c |
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
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l |
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 UIButton (antiMultiplyTouch) | |
- (void)antiMultiplyTouch:(NSTimeInterval)delay block:(void(^)(void))operation; | |
@end | |
== .m文件 | |
#import "UIButton+AntiMultiplyTouch.h" |
NewerOlder