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
@protocol CoverManagerDelegate | |
-(void)didFinishComplete:(id)manager; | |
@optional | |
-(void)progressLoadCount:(int)count manager:(id)manager; | |
@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
-optimize=true | |
-omit-trace-statements=true |
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
- (void)viewDidLoad{ | |
[super viewDidLoad]; | |
//全notificationの解除 | |
[[UIApplication sharedApplication] cancelAllLocalNotifications]; | |
//notificationを登録 | |
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:[self getDiffFromTodayWithFormat:@"201208152113"]]; | |
[self registNotification:date message:@"時間になったよ"]; |
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
var template = new t("<div>Hello {{=name}}</div>"); | |
document.body.innerHtml = template.render({name: "World!"}); |
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
<script src="raphael.2.1.0.min.js"></script> | |
<script src="justgage1.0.min.js"></script> | |
//.. | |
<div id="gauge" class="200x160px"></div> | |
//.. | |
<script> |
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
//findで探してパイブwhile回す | |
find ... | while read f; do | |
echo $f | |
echo $(basename $f) | |
done |
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
//https://github.com/gruntjs/grunt/ | |
module.exports = function(grunt){ | |
grunt.initConfig({ | |
//execタスクとしてjasmine-headless-webkitを追加。 | |
exec:{ | |
jasmine:{ | |
command:"jasmine-headless-webkit", | |
stdout:true | |
} |
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
module.exports = function(grunt){ | |
grunt.initConfig({ | |
htmllint:{ | |
all:['index.html'] | |
}, | |
watch:{ | |
files:['index.html'], | |
tasks:'htmllint' | |
} | |
}); |
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
var assert = require("assert") | |
var Browser = require("zombie") | |
describe("description", function() { | |
var browser = new Browser(); | |
var window = null; | |
var $ = null; | |
beforeEach(function(done){ | |
browser.visit("http://private.localhost/private/test/zombie-mocha/",function(){ |
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
" カーソルを自動的に()の中へ | |
imap {} {}<Left> | |
imap [] []<Left> | |
imap () ()<Left> | |
imap "" ""<Left> | |
imap '' ''<Left> | |
imap <> <><Left> | |
imap // //<left> | |
imap /// ///<left> |