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
/* | |
* simple SQLite3 wrapper for Objective-C. | |
* | |
* @author mootoh | |
*/ | |
#import <sqlite3.h> | |
@implementation LocalCache | |
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
# -------------------------------------------------------------------------- | |
# 拡張子の異なる同じファイル名の内容を検査 | |
# "*"はコメント扱い | |
# | |
# 例) HogeHoge.csv HogeHoge.csv2 | |
# | |
# -------------------------------------------------------------------------- | |
$KCODE = "S" | |
require 'pp' |
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
// self.nameが新しい値に更新されると呼び出される | |
KVOBlock blockFunc = ^( | |
NSString *keyPath, | |
id object, | |
NSDictionary *change, | |
id identifier) | |
{ | |
NSString *text = [change valueForKey:@"new"]; | |
// 変更された値で書き換え |
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
@interface CCSprite ( hd ) | |
+(id)spriteWithSpriteFrameName:(NSString*)spriteFrameName; | |
@end |
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
// | |
// CCGaussianBlurSprite.h | |
// AWTextureFilter | |
// | |
// Created by Keisuke Hata on 11/01/19. | |
// | |
#import <Foundation/Foundation.h> | |
#import "AWTextureFilter.h" | |
#import "CCTexture2DMutable.h" |
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
/* | |
* cocos2d for iPhone: http://www.cocos2d-iphone.org | |
* | |
* Copyright (c) 2008-2010 Ricardo Quesada | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
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
Dir.glob("*.aif").each do |fname| | |
%x{afconvert -f caff -d ima4 #{fname}} | |
end |
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
// | |
// HelloWorldLayer.m | |
// CCSendMessageTest | |
// | |
// Created by Keisuke Hata on 11/06/04. | |
// | |
// Import the interfaces | |
#import "HelloWorldLayer.h" |
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
Titanium.UI.setBackgroundColor('#000'); | |
// ウィンドウ作成 | |
var win = Titanium.UI.createWindow({ | |
title:'サウンドテスト', | |
backgroundColor:'#fff', | |
barColor:'#3366ff' | |
}); | |
var button = Ti.UI.createButton({ |
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
Titanium.UI.setBackgroundColor('#000'); | |
var notification; | |
var fireDate = null; | |
var hasNotification = true; | |
var win = Titanium.UI.createWindow({ | |
title:'OpenReeder', | |
backgroundColor:'#fff' | |
}); |
OlderNewer