対応ファイル
- zip
- rar
- 7z
- tar
- gz
// @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)); | |
} |