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
# -*- coding: utf-8 -*- | |
module ActiveRecord | |
class Relation | |
def initialize(klass, table, values = {}) | |
@klass = klass | |
@table = table | |
@values = values | |
@loaded = false | |
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 <UIKit/UIKit.h> | |
#import "AppDelegate.h" | |
int main(int argc, char * argv[]) | |
{ | |
@autoreleasepool { | |
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"UIDisableLegacyTextView"]; | |
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); |
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
public class AssetBundleNameGenerator | |
{ | |
[MenuItem("AssetBundles/Set XXX")] | |
public static void SetXXX() | |
{ | |
foreach (var file in Directory | |
.GetFiles("Assets/XXX/XXX/", | |
"*.xxx", SearchOption.TopDirectoryOnly)) | |
{ | |
var importer = AssetImporter.GetAtPath(file); |
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
targets = { | |
'3.5' => '540x960 -bordercolor "#F5F5F5" -border 50x0', | |
'4.0' => '640x1136!', | |
'4.7' => '750x1334!', | |
'5.5' => '1242x2208!' | |
} | |
targets.each do |k, v| | |
(1..4).each do |i| | |
system "mkdir #{k}inch" |
OlderNewer