Skip to content

Instantly share code, notes, and snippets.

View katai5plate's full-sized avatar

Hadhad / HanoHano katai5plate

View GitHub Profile
@katai5plate
katai5plate / bsod-checker.ps1
Last active August 28, 2026 19:40
Windows 11 BSOD Checker
# ============================================================
# 汎用 BSOD 診断情報 一括採取 v4(1ファイル版 / PowerShell ISE用)
#
# 目的:
# Wi-Fiに限らず、GPU / Audio / Storage / USB / PCIe / Network /
# WHEA / Driver / Power / Filter Driver / Windows Update 等を
# まとめて採取する「初動診断」用。
#
# 使い方:
# 1) PowerShell ISE を「管理者として実行」
@katai5plate
katai5plate / HUMANS.md
Created August 24, 2026 03:07
HUMANS.md for Vibe Coding

Human Notes

This file records project-specific working rules for humans collaborating with Codex.

Codex can inspect, implement, review, test, and document large portions of the project. The human remains responsible for product intent, subjective UX judgment, real-world interaction testing, and deciding when a result is actually acceptable.

Do not treat Codex as either an autocomplete tool or an unquestionable autonomous developer. Treat it as a capable project worker that can investigate and make decisions, but whose understanding must be grounded in the project documents and observable results.

@katai5plate
katai5plate / misskey-deco.js
Created February 22, 2023 05:18
Misskeyデコ文字ブックマークレット
javascript:console.log([...prompt("テキスト")??""].map(a=>{let o={あ:"_a",い:"_i",う:"_u",え:"_e",お:"_o",か:"_ka",き:"_ki",く:"_ku",け:"_ke",こ:"_ko",さ:"_sa",し:"_shi",す:"_su",せ:"_se",そ:"_so",た:"_ta",ち:"_ti",つ:"_tsu",て:"_te",と:"_to",な:"_na",に:"_ni",ぬ:"_nu",ね:"_ne",の:"_no",は:"_ha",ひ:"_hi",ふ:"_fu",へ:"_he",ほ:"_ho",ま:"_ma",み:"_mi",む:"_mu",め:"_me",も:"_mo",や:"_ya",ゆ:"_yu",よ:"_yo",ら:"_ra",り:"_ri",る:"_ru",れ:"_re",ろ:"_ro",わ:"_wa",を:"_wo",ん:"_n",が:"_ga",ぎ:"_gi",ぐ:"_gu",げ:"_ge",ご:"_go",ざ:"_za",じ:"_zi",ず:"_zu",ぜ:"_ze",ぞ:"_zo",だ:"_da",ぢ:"_di",づ:"_du",で:"_de",ど:"_do",ば:"_ba",び:"_bi",ぶ:"_bu",べ:"_be",ぼ:"_bo",ぱ:"_pa",ぴ:"_pi",ぷ:"_pu",ぺ:"_pe",ぽ:"_po",ぁ:"_la",ぃ:"_li",ぅ:"_lu",ぇ:"_le",ぉ:"_lo",ゃ:"_lya",ゅ:"_lyu",ょ:"_lyo",っ:"_ltsu","、":"_ten","。":"_maru","(":"_kkb",")":"_kka","(":"_kkb",")":"_kka",ー:"_wave","~":"_wave"}[a];return o?`:${o}:`:";"===a?"\n":`$[fg.color=00AFFF $[x2 $[position.y=0.3 ${a}]]]`}).join(""));
@katai5plate
katai5plate / WIP_H2A_TileOptimizedScreen.js
Last active June 17, 2022 19:57
タイルサイズに合わせて画面サイズを最適化するプラグイン
/*:ja
* @plugindesc [WIP] タイルサイズに合わせて画面サイズを最適化
*
* @target MZ
* @author Had2Apps
* @url https://github.com/katai5plate/RPGMakerPlugins
*
* @param _scaleWidth
* @text 横拡大倍率
* @type number
const getParetteZeroColor = async (url) => {
// 画像のバッファを取得
const u8 = new Uint8Array(await (await fetch(url)).arrayBuffer());
// パレット情報ヘッダ
const ptag = "PLTE";
// パレット情報のインデックスを取得
const pindex =
u8.findIndex(
7zip 19.0
7zip.commandline 16.02.0.20170209
7zip.install 19.0
7zip.portable 19.0
adwcleaner 8.0.8
aimp 4.70.2239
androidstudio 4.1.2.0
audacity 2.4.2
audacity-lame 3.100.0.20190331
autohotkey 1.1.33.02
@katai5plate
katai5plate / 1-1-0.patch
Created October 30, 2020 09:24
RPGツクールMZ 1.0.2 -> 1.1.0 コアスクリプト差分
From 21dd3f9a791fc7c9b33bba8df8057690bcff8fc0 Mon Sep 17 00:00:00 2001
From: katai5plate <katai5plate.sub@gmail.com>
Date: Fri, 30 Oct 2020 18:35:53 +0900
Subject: [PATCH] 1.1.0
---
js/main.js | 2 +-
js/rmmz_core.js | 4 ++--
js/rmmz_managers.js | 11 ++++++-----
js/rmmz_objects.js | 16 ++++++++++------
@katai5plate
katai5plate / mos.js
Last active October 17, 2020 07:40
MOS Calc
const getMOS = (
edo, // 平均律(オクターブ分割数)
tonics = 7, // 音数(nLms の n+m)
noLimit = false
) => {
const UNKNOWN = "Unknown";
const FAIR_ = "Fair ";
const UNFAIR_ = "UnFair ";
const _HAPPY_ = "Happy (-> Porcupine)";
const _MISH_ = "Mish (-> Amity)";
@katai5plate
katai5plate / php-cheatsheet.md
Last active July 12, 2020 13:40
PHP 自分用チートシート

まだ

  • クラス
  • 名前空間
  • エラー
  • 例外
  • ジェネレータ
  • 組み込みグローバル変数, 定数, 関数など

基本構文