Skip to content

Instantly share code, notes, and snippets.

View piaoapiao's full-sized avatar

piaoapiao

  • china shanghai
View GitHub Profile
@piaoapiao
piaoapiao / gist:3636097
Created September 5, 2012 12:51
rorate
http://xiaohui3837843.blog.163.com/blog/static/5438874020121764447974/
@piaoapiao
piaoapiao / gist:3671641
Created September 8, 2012 03:46
设置边缘
[cell.layer setBorderWidth:1];
[cell.layer setBorderColor:RGBCOLOR(205,205,205).CGColor];
[cell.layer setShadowOpacity:0.5];
[cell.layer setShadowOffset:CGSizeMake(1,0)];
[cell.layer setShadowColor:RGBCOLOR(221, 221, 221).CGColor];
@piaoapiao
piaoapiao / gist:3672780
Created September 8, 2012 08:27
文件去影藏
defaults write com.apple.Finder AppleShowAllFiles YES
defaults write com.apple.Finder AppleShowAllFiles NO
@piaoapiao
piaoapiao / gist:3711561
Created September 13, 2012 02:59
动画开始时机 在block
http://stackoverflow.com/questions/1808320/iphone-setanimationwillstartselector-setanimationdidstopselector-not-working-a
@piaoapiao
piaoapiao / gist:3736159
Created September 17, 2012 08:23
真机调适
http://www.cnblogs.com/likwo/archive/2012/04/16/2451577.html
@piaoapiao
piaoapiao / gist:3753408
Created September 20, 2012 01:16
ASIHttpRequest Quene
quene = [[ASINetworkQueue alloc] init];
//quene.delegate = self;
ASIHTTPRequest *request =[[ASIHTTPRequest alloc] initWithURL:[[[NSURL alloc] initWithString:@"http://www.baidu.com"]autorelease]];
[request setQueue:quene];
request.delegate = self;
ASIHTTPRequest *request2 =[[ASIHTTPRequest alloc] initWithURL:[[[NSURL alloc] initWithString:@"http://www.google.com"]autorelease]];
request2.delegate = self;
[quene addOperation:request];
[quene addOperation:request2];
@piaoapiao
piaoapiao / gist:3760036
Created September 21, 2012 06:34
net library
http://code.google.com/p/gtm-http-fetcher/
http://stackoverflow.com/questions/8317662/asihttprequest-request-sent-twice?answertab=active#tab-top
request.shouldAttemptPersistentConnection = NO;
@piaoapiao
piaoapiao / gist:3786469
Created September 26, 2012 06:47
svn 冲突解决
http://www.logicaltrinkets.com/wordpress/?p=178
@piaoapiao
piaoapiao / gist:3792247
Created September 27, 2012 05:01
apple open source code
http://www.opensource.apple.com/release/mac-os-x-105/
http://llvm.org/
http://lldb.llvm.org/
@piaoapiao
piaoapiao / gist:3800719
Created September 28, 2012 16:08
资源
http://mac.pcbeta.com/
http://mac.pcbeta.com/thread-106993-1-1.html