Skip to content

Instantly share code, notes, and snippets.

View Narazaka's full-sized avatar
🐫
Just Another **** Hacker,

Narazaka Narazaka

🐫
Just Another **** Hacker,
View GitHub Profile
@Narazaka
Narazaka / ActualPerformanceWindow.cs
Created January 9, 2024 11:21 — forked from anatawa12/ActualPerformanceWindow.cs
A window to see actual performance rank on building avatars.
/*
* Actual Performance Info Window
* https://gist.github.com/anatawa12/a4bb4e2e5d75b4fa5ba42e236aae564d
*
* Copy this cs file to anywhere in your asset folder is the only step to install this tool.
*
* A window to see actual performance rank on building avatars.
* When you click the `Build & Publish` button, this class will compute actual performance rank show you that.
*
* MIT License
// @ts-check
setInterval(() => {
const tweets = document.querySelectorAll('article[data-testid="tweet"]');
for (let i = 0; i < tweets.length; i++) {
const tweet = tweets[i];
if(tweet.querySelector('.spam-button') != null){
// 追加済ならスキップ
continue;
}
@Narazaka
Narazaka / LICENSE
Last active January 9, 2024 09:18
NDMFMantisLODCustomEditor.cs
MIT
https://booth.pm/ja/items/5409262
/*
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,
@echo off
set KEY=HKEY_CURRENT_USER\SOFTWARE\VRChat\VRChat
reg query %KEY% /f "FriendsPerLocation*" > VRChat_FriendsPerLocation_raw.txt
find "FriendsPerLocation" < VRChat_FriendsPerLocation_raw.txt > VRChat_FriendsPerLocation_filtered.txt
del VRChat_FriendsPerLocation_raw.txt
for /f %%t in (VRChat_FriendsPerLocation_filtered.txt) do (
reg delete %KEY% /v "%%t" /f
)
del VRChat_FriendsPerLocation_filtered.txt
const productAnalyticsPreset = {
id: 'number',
name: 'string',
start_at: 'string',
end_at: 'string',
name2: ['number', 'string'],
items: ['array', {
id: 'number',
name: ['string', 'undefined'],
it: {
// 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: {
@Narazaka
Narazaka / shell_api.d.ts
Created July 9, 2016 17:41
Ukagaka Shell API v2?
export class Directory {
}
export class Descript {
}
export class ShellData {
static async buildFromDirectory(directory: Directory): Promise<ShellData>;
constructor(surfaceResources, surfaceDefinitions);
unload(): void;
@Narazaka
Narazaka / find_by_name.js
Last active July 29, 2017 03:48
ツクールMVプラグイン 配列要素の名前検索 find_by_name.js
//===========================================================================
// find_by_name.js
//===========================================================================
/*:
* @plugindesc 配列要素の名前検索
* @author Narazaka
*
* @help
* 配列を要素のnameプロパティで探すfindByNameメソッドを追加します。
@Narazaka
Narazaka / be_named.js
Last active March 26, 2017 11:10
ツクールMVプラグイン $gameVariables, $gameSwitchesを名前参照できるようにする be_named.js
//===========================================================================
// be_named.js
//===========================================================================
/*:
* @plugindesc $gameVariables, $gameSwitchesを名前参照できる$namedVariables, $namedSwitchesを定義します。
* @author Narazaka
*
* @help
* ONにするだけで下記のように使えます。