Perl::Lint
gitを使ったツール開発
-
http://motemen.hatenablog.com/entry/2014/08/29/talked-at-yapc-asia-2014
-
ghq https://github.com/motemen/ghq
-
git-unifyは怖い
Perl::Lint
gitを使ったツール開発
http://motemen.hatenablog.com/entry/2014/08/29/talked-at-yapc-asia-2014
ghq https://github.com/motemen/ghq
git-unifyは怖い
ヘヴィメタ
NSLog(@"%@",nil); // (null) | |
NSLog(@"%@",NULL); // (null) | |
NSLog(@"%@",[NSNull null]); // <null> | |
NSLog(@"%@",@"\0"); // (null) | |
NSLog(@"%u",NULL == nil); // 1 | |
NSLog(@"%u",NULL == [NSNull null]); // 0 | |
NSLog(@"%u",nil == [NSNull null]); // 0 | |
NSLog(@"%u",[NSNull null] == [NSNull null]); // 1 | |
NSLog(@"%u",[[NSNull alloc] init] == [NSNull null]); // 1 |
#import <Foundation/Foundation.h> | |
@interface Finder : NSObject | |
+ (NSString*)findFile:(NSString*)name In:(NSString*)dirname; | |
@end | |
@implementation Finder | |
+ (NSString*)findFile:(NSString*)name In:(NSString*)dirname | |
{ | |
NSFileManager *file_manager = [NSFileManager defaultManager]; |
Test Suite 'All tests' started at 2013-12-19 18:29:49 +0000 | |
Test Suite 'HakobusTests.xctest' started at 2013-12-19 18:29:49 +0000 | |
Test Suite 'HakobusTests' started at 2013-12-19 18:29:49 +0000 | |
Test Case '-[HakobusTests testAllocation]' started. | |
Test Case '-[HakobusTests testAllocation]' passed (0.000 seconds). | |
Test Suite 'HakobusTests' finished at 2013-12-19 18:29:49 +0000. | |
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds | |
Test Suite 'HakobusTests.xctest' finished at 2013-12-19 18:29:49 +0000. | |
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds | |
Test Suite 'All tests' finished at 2013-12-19 18:29:49 +0000. |
ブラウザで読み込み済みのJavaScriptファイルを、再編集しブラウザで読み込むとヌル文字がファイルの文末に挿入される | |
![nginxfuck](http://d3j5vwomefv46c.cloudfront.net/photos/large/822626869.png?1384823858) | |
【解かっている事】 | |
・どこを編集しても文末に挿入される。ファイルは編集前の状態である。 | |
・サーバのOSを再起動すると戻る | |
・ブラウザのキャッシュを削除しても駄目 | |
・Nginxのキャッシュをoffにしても駄目 | |
・Silexでキャッシュを無効にしても駄目(よく考えると意味がなかった) | |
・Twigのキャッシュを無効にしても駄目 |
#include <stdio.h> | |
int main(){ | |
char input[256]; | |
char output[256]; | |
int i=0; | |
puts("Input raw text"); | |
scanf("%256s",input); |
<?php | |
system('pwd'); |
<style> | |
h4{ | |
border-bottom: 1px #339900 dashed; | |
padding-bottom: 2px; | |
color: #000; | |
} | |
h3{ | |
border-left:7px solid #ccc; | |
border-bottom:1px dashed #ccc; | |
padding:.2em .3em; |