Skip to content

Instantly share code, notes, and snippets.

View eai04191's full-sized avatar
🦀

y.takahashi eai04191

🦀
View GitHub Profile
@eai04191
eai04191 / booth-order-analysis.js
Last active November 17, 2024 08:00
Boothの購入金額とかを集計するスクリプト
// @ts-check
// ---
//
// Boothの購入金額とかを集計するスクリプト
//
// ---
//
// 自己責任で実行してください
//
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>deviceorientation sample</title>
</head>
<body>
<div id="output">waiting...</div>
<button id="requestPermission">Request Permission</button>
/* ==UserStyle==
@name Mastodon プライバシーに配慮するやつ 2024
@namespace mizle.net
@version 1.0.3
@author Eai
@license MIT
@preprocessor stylus
==/UserStyle== */
@-moz-document regexp("https://.+/deck/.+") {
:root {
using UnityEditor;
using UnityEngine;
public class ObjectMoverWindow : EditorWindow
{
private GameObject targetObject;
private float moveSpeed = 2f;
private Vector3 moveDirection = Vector3.forward;
private Vector3 initialPosition;
private bool isMoving = false;
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Anatawa12.AvatarOptimizer.Processors.SkinnedMeshes.RemoveMeshByMaskProcessor+<>c__DisplayClass3_1.<Process>g__GetValue|1 (System.Single u, System.Single v) [0x0002a] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\SkinnedMeshes\RemoveMeshByMaskProcessor.cs:80
at Anatawa12.AvatarOptimizer.Processors.SkinnedMeshes.RemoveMeshByMaskProcessor+<>c__DisplayClass3_1.<Process>b__6 (System.Single u, System.Single v) [0x00000] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\SkinnedMeshes\RemoveMeshByMaskProcessor.cs:92
at Anatawa12.AvatarOptimizer.Processors.SkinnedMeshes.RemoveMeshByMaskProcessor+<>c__DisplayClass3_1.<Process>b__7 (Anatawa12.AvatarOptimizer.Processors.SkinnedMeshes.Vertex v) [0x00000] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\SkinnedMeshes\RemoveMeshByMaskProcessor.cs:100
at System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable`1[T] source, S
/**
* Git Staged Files Cleaner for FaceEmo Imported Files
*
* This script processes staged files in a Git repository and removes
* unneeded .meta files and their corresponding files in Unity projects.
*
* Author: ChatGPT (OpenAI)
*
* Usage: npx tsx script.ts
*/
export interface ZipInfo {
compressedSize: number;
fileNameLength: number;
extraFieldLength: number;
fileName: string;
files: ZipFile[];
}
export interface ZipFile {
filename: string;
(() => {
const reactRandomKey = Object.keys(document.querySelector("#root"))
.find((key) => key.startsWith("__reactContainer$"))
.split("$")[1];
const fiberKey = `__reactFiber$${reactRandomKey}`;
const propsKey = `__reactProps$${reactRandomKey}`;
function filterReactFibers(elements) {
return [...elements].filter((e) => Object.keys(e).includes(fiberKey));
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Comfortaa:[email protected]&display=swap"

7-Zip GUIをLhaplus的にダブルクリックで展開するために使うやつ

2024-05-03_11-42-48_explorer-ezgif com-speed

対応ファイル

  • zip
  • rar
  • 7z
  • tar
  • gz