Skip to content

Instantly share code, notes, and snippets.

@gitcrtn
gitcrtn / Form1.cs
Created November 22, 2025 13:52
Token Speed Test for llama-server with port 10000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
@gitcrtn
gitcrtn / AvatarPedestalAutoPlacer.cs
Created August 2, 2025 13:59
VRC Avatar Pedestal Auto Placer for Unity
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using VRC.SDK3.Components;
namespace VRChatTools
{
[System.Serializable]
public class AvatarData
{
@gitcrtn
gitcrtn / DumpFavWorldsSnippet.js
Last active August 2, 2025 05:33
VRC Portal Auto Placer for Unity
// VRChat Favorite Worlds ID Extractor
// Chrome DevTools Snippetで実行してください
(function() {
console.log('VRChat Favorite Worlds ID Extractor - 開始');
// 詳細なDOM解析を行う関数
function deepScanForWorldIds() {
@gitcrtn
gitcrtn / PrefabFavoriteManager.cs
Created August 2, 2025 03:16
Prefab Favorite Manager for Unity
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.IO;
using System.Linq;
public class PrefabFavoriteManager : EditorWindow
{
private List<GameObject> favoritePrefabs = new List<GameObject>();
private Vector2 scrollPosition;
@gitcrtn
gitcrtn / jxr2jpg.cs
Last active July 14, 2025 02:10
JXR to JPG Converter for Windows11
/*
* JXR to JPG Converter for Windows11.
*
* Author: Carotene
*
* License: MIT
*
* Requires:
* Windows11
* Visual Studio 2022
@gitcrtn
gitcrtn / myshelf.py
Created February 22, 2025 11:45
Gallery node selector for houdini
import myutils
myutils.put_gallery_node('something')
@gitcrtn
gitcrtn / ComplicationController.swift
Created September 18, 2024 05:32
digital crown test by apple watch (2022/1/9)
import ClockKit
class ComplicationController: NSObject, CLKComplicationDataSource {
// MARK: - Complication Configuration
func getComplicationDescriptors(handler: @escaping ([CLKComplicationDescriptor]) -> Void) {
let descriptors = [
CLKComplicationDescriptor(identifier: "complication", displayName: "WatchBlock", supportedFamilies: CLKComplicationFamily.allCases)
@gitcrtn
gitcrtn / Dockerfile
Created December 8, 2023 18:06
A cross compiler of bevy project for aarch64
FROM debian:bookworm
ENV USER root
RUN rm /bin/sh \
&& ln -s /bin/bash /bin/sh
RUN mkdir /build \
&& cd \
&& apt update \
&& apt install -y curl build-essential pkg-config \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& source $HOME/.cargo/env \
@gitcrtn
gitcrtn / Dockerfile
Created December 8, 2023 18:03
A cross compiler of rust-sdl2 project for aarch64
FROM debian:bookworm
ENV USER root
RUN rm /bin/sh \
&& ln -s /bin/bash /bin/sh
RUN mkdir /build \
&& cd \
&& apt update \
&& apt install -y curl build-essential \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& source $HOME/.cargo/env \
@gitcrtn
gitcrtn / battery_monitor.py
Last active August 8, 2023 11:06
Battery Monitor for Windows Laptop
"""
Battery Monitor
Author: Carotene
License: LGPLv3
Requirements:
PySide6
pyqtgraph (optional)