View アセットを依存関係を保ったまま一括コピーするやつ.cs
/* | |
Forked from https://qiita.com/k7a/items/eb5a3ee4ed6448343543 by k7a | |
Copyright (c) 2020 Narazaka | |
This software is provided 'as-is', without any express or implied | |
warranty. In no event will the authors be held liable for any damages | |
arising from the use of this software. | |
Permission is granted to anyone to use this software for any purpose, |
View type_struct.ts
const productAnalyticsPreset = { | |
id: 'number', | |
name: 'string', | |
start_at: 'string', | |
end_at: 'string', | |
name2: ['number', 'string'], | |
items: ['array', { | |
id: 'number', | |
name: ['string', 'undefined'], | |
it: { |
View es-base.ts
// https://qiita.com/shin_hayata/items/41c07923dbf58f13eec4 | |
// http://319ring.net/blog/archives/2906/ | |
// https://medium.com/hello-elasticsearch/elasticsearch-833a0704e44b | |
// http://blog.shibayu36.org/entry/2016/08/31/110000 | |
// https://gist.github.com/karmi/4526141 | |
export const settings = { | |
index: { | |
analysis: { | |
tokenizer: { |
View find_by_name.js
//=========================================================================== | |
// find_by_name.js | |
//=========================================================================== | |
/*: | |
* @plugindesc 配列要素の名前検索 | |
* @author Narazaka | |
* | |
* @help | |
* 配列を要素のnameプロパティで探すfindByNameメソッドを追加します。 |
View be_named.js
//=========================================================================== | |
// be_named.js | |
//=========================================================================== | |
/*: | |
* @plugindesc $gameVariables, $gameSwitchesを名前参照できる$namedVariables, $namedSwitchesを定義します。 | |
* @author Narazaka | |
* | |
* @help | |
* ONにするだけで下記のように使えます。 |
View TMMapHpGauge.js
//============================================================================= | |
// TMPlugin - マップHPゲージ | |
// バージョン: 1.3.0 | |
// 最終更新日: 2017/02/02 | |
// 配布元 : http://hikimoki.sakura.ne.jp/ | |
//----------------------------------------------------------------------------- | |
// Copyright (c) 2016 tomoaky | |
// Released under the MIT license. | |
// http://opensource.org/licenses/mit-license.php | |
//============================================================================= |
View shell_api.d.ts
export class Directory { | |
} | |
export class Descript { | |
} | |
export class ShellData { | |
static async buildFromDirectory(directory: Directory): Promise<ShellData>; | |
constructor(surfaceResources, surfaceDefinitions); | |
unload(): void; |
View dic.cs
public enum SkillEffectType { | |
ChangeCharacterHP, | |
ChangeAllEnemyHP, | |
//... | |
} | |
public partial class SkillEffect { | |
private static Dictionary<SkillEffectType, Type> skill_types = new Dictionary<SkillEffectType, Type> { |
View allfat32.pl
#!/usr/bin/perl | |
use utf8; | |
use strict; | |
use warnings; | |
use 5.006; # not checked | |
binmode STDOUT, ':encoding(cp932)'; | |
binmode STDERR, ':encoding(cp932)'; | |
use File::Spec::Functions qw/catfile/; | |
use Time::Piece; |
View gist:6cffe0b25431ce5340fd
on: (event, callback) -> | |
unless event? and callback? then throw Error 'on() event and callback required' | |
unless @listener? | |
@listener = {} | |
unless @listener[event]? | |
@listener[event] = [] | |
if -1 == @listener[event].indexOf(callback) | |
@listener[event].push(callback) | |
off: (event, callback) -> | |
if event? and callback? |
NewerOlder