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
$ cordova platform rm ios |
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
>>> l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
>>> double_l = [] | |
>>> for i in l: | |
... double_l.append(i * 2) | |
... | |
>>> double_l | |
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20] |
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
#pragma strict | |
var aspectRatioCtrl : Fixed_Aspect_Ratio = null; // 解像度固定スクリプト | |
var x : float = 0.0f; // 表示位置(X座標) | |
var y : float = 0.0f; // 表示位置(Y座標) | |
var width : float = 1.0f; // 横幅 | |
var height : float = 1.0f; // 縦幅 | |
function Update() | |
{ |
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
http_proxy=http://${xxx.xxx.xxx.xxx}:${pp}/ | |
proxy_user=${user} | |
proxy_password=${pass} |
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 offset : Vector2 = Vector2(0.0f, 0.0f); // 中心からのずれ | |
var scale : Vector2 = Vector2(1.0f, 1.0f); // カメラの拡大率 | |
var cam : Camera = null; // アスペクト比を固定化するカメラ | |
private var width : float = 640.0f; // 横幅 (目標解像度) | |
private var height : float = 960.0f; // 高さ (目標解像度) | |
var targetAspect : float; // 目標のアスペクト比 | |
var curAspect : float; // 補正前の「Scene」のアスペクト比 | |
var ratio : float; // 補正前の「Scene」のアスペクト比 ÷ 目標のアスペクト比 |
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
# メイン関数 | |
if __name__ == "__main__": | |
register() |
NewerOlder