This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# A small script to check if Nirila Misskey is healthy, and send alert to a discord webhook if it's not. | |
# | |
# Optionally, you can send webhook even if it's healthy to confirm that the script is working. | |
# | |
# This script is depending on /healthz endpoint of Misskey added in 2024.5.0 so your Misskey must be at least that version. | |
# | |
# This script is Published at https://gist.github.com/anatawa12/95dfcbe21271bbc6b6ad58398f2ba284. | |
# You may get the latest version from there. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Reflection Explorer | |
* An inspector that can see all fields with reflection | |
* https://gist.github.com/anatawa12/299d87404c99a12cafb7311c586912ae | |
* | |
* `Tools/anatawa12 gists/Reflection Explorer` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2025 anatawa12, Planeta K.K. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Bake Override Controller | |
* The tool to bake Animator Override Controller to Animator Controller. | |
* https://gist.github.com/anatawa12/10b3ac3b4e7f6603e5ca5a91e50fe2b7 | |
* | |
* Click `Tools/anatawa12 gists/ApplyOverrideController` to open this window, | |
* and set Animator Override Controller to `Override Controller` field, and click `Bake` button. | |
* | |
* MIT License | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
UNITY="/Applications/Unity/Hub/Editor/2022.3.6f1/Unity.app/Contents/MacOS/Unity" | |
UNITY="/Applications/Unity/Hub/Editor/2022.3.22f1/Unity.app/Contents/MacOS/Unity" | |
clear_and_install() { | |
local FOLDER="$1" | |
local PACKAGE="$2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SaveIconTextureOfAsset | |
* tool to save asset icon to png file | |
* | |
* | |
* https://gist.github.com/anatawa12/06751ee6e6b64cc30cee89b8dd2c3ea4 | |
* | |
* Click `Tools/anatawa12 gists/SaveIconTextureOfAsset` to open this window. | |
* | |
* MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Quick search with typing file name in project window. | |
* https://gist.github.com/anatawa12/f64acfa804d285f5640dca79536d9937 | |
* | |
* Typing file name in project window will select the file starts with the name. | |
* This is very similar to finder's quick search. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* RemoveUnusedAnimatorParameters | |
* Simple tool to remove unused animator parameter from animator controller | |
* https://gist.github.com/anatawa12/9d6d69fdb042d636cc640f85ce0c5fae | |
* | |
* Click `Tools/anatawa12 gists/RemoveUnusedAnimatorParameters` to open this window. | |
* | |
* MIT License | |
* | |
* Copyright (c) 2023 anatawa12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
":" /* | |
exec deno run --allow-read --allow-write "$0" "$@" | |
exit $? | |
":" */ | |
const folder = Deno.args[0]; | |
if (!folder) { | |
console.error("Usage: shuffle-guid-in-folder.ts <folder>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* This script removes all entries in the asset file that are not needed. | |
* Please note that this doesn't consider external references. | |
*/ | |
const fs = require('fs'); | |
const path = process.argv[2]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CreateEmptyVRChatAvatar | |
* Fast way to create a new empty VRChat avatar. | |
* https://gist.github.com/anatawa12/2acd16939ef597895d8298ae97ba4122 | |
* | |
* Left Click hierarchy and select `Create Empty VRChat Avatar` to create a new empty VRChat avatar. | |
* | |
* Empty VRChat Avatr will have: | |
* - VRC Avatar Descriptor | |
* - Pipeline Manager |
NewerOlder