This file contains hidden or 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
// | |
// ViewController.m | |
// EstimoteSample | |
// | |
// Created by Takatomo Okitsu on 2013/12/08. | |
// Copyright (c) 2013年 Takatomo Okitsu. All rights reserved. | |
// | |
#import "ViewController.h" |
This file contains hidden or 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
[SkyLab abTestWithName:@"Title" A:^{ | |
self.titleLabel.text = NSLocalizedString(@"Hello, World!", nil); | |
} B:^{ | |
self.titleLabel.text = NSLocalizedString(@"Greetings, Planet!", nil); | |
}]; |
This file contains hidden or 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 "AFURLResponseSerialization.h" | |
@interface AFTextResponseSerializer : AFHTTPResponseSerializer | |
@end |
This file contains hidden or 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 "KIFTestCase.h" | |
#import <KIF/KIF.h> | |
@interface GoToNextTests : KIFTestCase | |
@end |
This file contains hidden or 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
{ | |
"currently": { | |
"cloudCover": 0.29, | |
"dewPoint": 16, | |
"humidity": 0.84, | |
"icon": "partly-cloudy-night", | |
"ozone": 327.31, | |
"precipIntensity": 0, | |
"pressure": 1014.47, | |
"summary": "Partly Cloudy", |
This file contains hidden or 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
class Hello { | |
public static void main(String[] argv){ | |
String test = "test"; | |
System.out.println("before: " + test); | |
testToNull(test); | |
System.out.println("after: " + test); | |
} | |
public static void testToNull(String test){ | |
test = null; |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- 利用する言語にあわせて、lang と xml:lang の両方を記述します - A.7 --> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<title>Example Portable XHTML</title> | |
<!-- サーバーで文字エンコーディングを指定できない場合に、次の指定を記述します - A.9 --> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> |
This file contains hidden or 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
@charset "UTF-8"; | |
/* reset styles */ | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { | |
margin:0; | |
padding:0; | |
} | |
table { | |
border-collapse:collapse; |
This file contains hidden or 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
//ファイルのダウンロード名を制御する | |
header("Content-disposition: attachment; filename={$fname}"); | |
header("Content-type: application/octet-stream; name={$fname}"); |
This file contains hidden or 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
//jquery ready | |
$(function() { | |
// Stuff to do as soon as the DOM is ready; | |
}); |
NewerOlder