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
// @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 / 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
@Narazaka
Narazaka / LICENSE
Last active January 9, 2024 09:18
NDMFMantisLODCustomEditor.cs
MIT
https://booth.pm/ja/items/5409262
@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
/*
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,
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 / 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にするだけで下記のように使えます。
@Narazaka
Narazaka / TMMapHpGauge.js
Last active March 22, 2017 16:23
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
//=============================================================================