dabing1022 / Blog

BLOG MARKDOWN BAK AND SOME EXERCISES
http://dabing1022.github.io
85 stars 23 forks source link

说真的,文章写在这里也挺不错。 #1

Closed dabing1022 closed 9 years ago

dabing1022 commented 10 years ago

说真的,文章写在这里也挺不错。测试下:)

ImageTest

64965070201304181125484061603230163_003

CodeHighlight

UIApplication *application = [UIApplication sharedApplication];

__block UIBackgroundTaskIdentifier bgTask = [application beginBackgroundTaskWithExpirationHandler:^{
    [application endBackgroundTask:bgTask];
    bgTask = UIBackgroundTaskInvalid;
}];

[MagicalRecord saveWithBlock:^(NSManagedObjectContext *localContext) {
    //这里做存储操作
} completion:^(BOOL success, NSError *error) {
    [application endBackgroundTask:bgTask];
    bgTask = UIBackgroundTaskInvalid;
}];
dabing1022 commented 10 years ago

Also, you can comment here:)

zrong commented 10 years ago

一直是这样写的啊。

On Sat, Jul 26, 2014 at 12:24 PM, ChildhoodAndy notifications@github.com wrote:

Also, you can comment here:)

— Reply to this email directly or view it on GitHub https://github.com/dabing1022/Blog/issues/1#issuecomment-50222939.

曾嵘/Jacky Tsang Blog:http://zengrong.net

dabing1022 commented 10 years ago

@zrong 哈哈,github issue用来写文章,tags用来分类,不知道这样做好不好。只是这么想下。不搭博客,不用github pages,就只用issue。但是这么做,还没考虑到有何不妥。

lifesinger的issue博客

zrong commented 10 years ago

issue估计不好备份。

2014-07-27 14:17 GMT+08:00 ChildhoodAndy notifications@github.com:

@zrong https://github.com/zrong 哈哈,github issue用来写文章,tags用来分类,不知道这样做好不好。只是这么想下。不搭博客,不用github pages,就只用issue。但是这么做,还没考虑到有何不妥。

lifesinger的issue博客 https://github.com/lifesinger/lifesinger.github.com/issues?labels=blog&state=open

— Reply to this email directly or view it on GitHub https://github.com/dabing1022/Blog/issues/1#issuecomment-50256955.

曾嵘/Jacky Tsang Blog:http://zengrong.net