- メインスピーカー:マシューさん(@matthewmccull)
- サブスピーカー:ジョンさん(@johndbritton)
従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。
| var randomNumbers = [42, 12, 88, 62, 63, 56, 1, 77, 88, 97, 97, 20, 45, 91, 62, 2, 15, 31, 59, 5] | |
| func partition(v: Int[], left: Int, right: Int) -> Int { | |
| var i = left | |
| for j in (left + 1)..(right + 1) { | |
| if v[j] < v[left] { | |
| i += 1 | |
| (v[i], v[j]) = (v[j], v[i]) | |
| } | |
| } |
従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。
| # set up flags for Numpy C extentions compiling | |
| export CFLAGS="-arch i386 -arch x86_64" | |
| export FFLAGS="-m32 -m64" | |
| export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64" | |
| export CC=gcc-4.2 | |
| export CXX="g++ -arch i386 -arch x86_64" | |
| pip install numpy | |
| # success! |
| - (void)fetchWithRequest:(NSFetchRequest *)request | |
| completion:(void(^)(NSArray *results, NSError *error))handler | |
| { | |
| [request setResultType:NSManagedObjectIDResultType]; | |
| void (^executeHandler)(NSArray *, NSError *) = ^(NSArray *results, NSError *error){ | |
| dispatch_async(dispatch_get_main_queue(), ^{ | |
| if (handler) handler(results, error); | |
| }); | |
| }; | |
| [self.backgroundContext performBlock:^{ |
https://github.com/allending/Kiwi/wiki
| [UIView animateWithDuration:0.3 animations:^() { | |
| self.commentContentLabel.alpha = (editing)? 0.0 : 1.0; | |
| }]; | |
| //////////////// | |
| [UIView beginAnimations:nil context:nil]; | |
| [UIView setAnimationDuration:1.0]; | |
| [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.commentContentLabel cache:YES]; | |