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
<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; |
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
<?php | |
system('pwd'); |
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
#include <stdio.h> | |
int main(){ | |
char input[256]; | |
char output[256]; | |
int i=0; | |
puts("Input raw text"); | |
scanf("%256s",input); |
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
ブラウザで読み込み済みのJavaScriptファイルを、再編集しブラウザで読み込むとヌル文字がファイルの文末に挿入される | |
![nginxfuck](http://d3j5vwomefv46c.cloudfront.net/photos/large/822626869.png?1384823858) | |
【解かっている事】 | |
・どこを編集しても文末に挿入される。ファイルは編集前の状態である。 | |
・サーバのOSを再起動すると戻る | |
・ブラウザのキャッシュを削除しても駄目 | |
・Nginxのキャッシュをoffにしても駄目 | |
・Silexでキャッシュを無効にしても駄目(よく考えると意味がなかった) | |
・Twigのキャッシュを無効にしても駄目 |
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
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. |
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 <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]; |
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
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 |
ヘヴィメタ
- http://www.slideshare.net/hondallica/yapcasia-2014 POEM
- サービスを作るとき
- モチベーション
- 1日で作る
- 最小で作る
- モチベーション
- ユーザーこっそり見守る
- Twitterの擬人化アカウントを作る
OlderNewer