Skip to content

Instantly share code, notes, and snippets.

#Title 商標公開2020-124414
#Title2 出願者:群馬電機株式会社
!!bg @6 V125 ?o4c ; bass drum
!!sg @8 V127 ?o4c ; snare drum 1
!!Sg @7 V120 ?o4c ; snare drum 2
!!ng @8 V127 ?o4c
!!og @9 V110 ?o4c ; open H.H.
!!hg @10 V110 ?o4c ; closeH.H.
!!cg @11 V120 ?o4c ; crush cymbal
[TITLE]
EchiRoom - Assets
[END]
[SUBTITLE]
World / Model
[END]
[CONTENT]
【VRChatワールド】Apartment01-Room\n
@autch
autch / RefreshSBParams.cs
Created November 27, 2023 13:06
UniVRM-1.x で Play 中に SpringBone パラメータの変更を反映させる
using UnityEngine;
using UniVRM10;
public class RefreshSBParams : MonoBehaviour
{
public GameObject target;
public bool updateEveryFrame;
private Vrm10Instance inst;
// Start is called before the first frame update
@autch
autch / Dockerfile
Created August 9, 2022 20:38
Dockerfile for buiding Linux 5.19-sof for Donki NANOTE NEXT with SOF Audio (Everest ES8336) enabled
FROM debian:bullseye
RUN sed "/^deb /{s/^deb /deb-src /}" < /etc/apt/sources.list > /etc/apt/sources.list.d/bullseye-src.list
RUN bash -c 'echo -e "deb http://deb.debian.org/debian experimental main\n \
deb-src http://deb.debian.org/debian experimental main"' > /etc/apt/sources.list.d/experimental.list
RUN apt-get update \
&& apt-get install -y build-essential git make ccache cpio xz-utils bison flex debhelper-compat dh-exec dh-python openssl bc dwarves \
&& apt-get install -y -t experimental linux-config-5.19 \
@autch
autch / lspci-v.txt
Created July 20, 2022 01:18
lspci -v of Donki NANOTE NEXT
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge
Flags: bus master, fast devsel, latency 0
00:00.1 Signal processing controller: Intel Corporation Device 5a8c (rev 0b)
DeviceName: Onboard - Other
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at 92110000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [d0] Power Management version 3
@autch
autch / config-5.18.2-nnnext.diff
Created July 20, 2022 00:53
diff of kconfig to enable touchscreen and sound in Donki NANOTE NEXT
--- config-5.18.0-0.bpo.1-amd64 2022-07-19 15:06:59.676669969 +0900
+++ src/linux-source-5.18/.config 2022-07-19 15:06:11.544953010 +0900
@@ -2,7 +2,7 @@
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.18.2 Kernel Configuration
#
-CONFIG_CC_VERSION_TEXT="gcc-10 (Debian 10.2.1-6) 10.2.1 20210110"
+CONFIG_CC_VERSION_TEXT="gcc (Debian 10.2.1-6) 10.2.1 20210110"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100201
[ 0.000000] microcode: microcode updated early to revision 0x48, date = 2021-11-16
[ 0.000000] Linux version 5.18.0-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC Debian 5.18.2-1~bpo11+1 (2022-06-14)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.18.0-0.bpo.1-amd64 root=UUID=3369fba3-75c0-4803-9991-27c10788830a ro fbcon=rotate:1 quiet
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[3]: 576, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 640, xstate_sizes[4]: 64
[ 0.000000] x86/fpu: Enabled xstate features 0x1b, context size is 704 bytes, using 'compacted' format.
@autch
autch / fix-fov.py
Last active April 15, 2022 08:29
Fix FOV distortion in VRChat camera, inspired from https://gist.github.com/chigirits/55d6eed4396ed5da64878af2b43111ed
import argparse
import functools
import glob
import itertools
import multiprocessing as mp
import os
import os.path
import subprocess
import sys
@autch
autch / filetime_to_epoch.c
Created November 29, 2021 11:48
Get FILETIME (Windows) value as of 1970-01-01T00:00:00Z
#include <windows.h>
#include <stdio.h>
int main()
{
SYSTEMTIME st;
FILETIME ft;
ULARGE_INTEGER ulft;
// 1970-01-01T00:00:00Z
@autch
autch / Dockerfile
Created November 15, 2021 01:56
Mirakurun exporter for Prometheus
FROM alpine:3.11
LABEL maintainer "collelog <collelog.cavamin@gmail.com>"
EXPOSE 9684
WORKDIR /usr/local/
RUN set -eux && \
apk upgrade --update && \
apk add --no-cache python3 tzdata && \