Skip to content

Instantly share code, notes, and snippets.

View aiya000's full-sized avatar
🐶
Inu

aiya000 aiya000

🐶
Inu
View GitHub Profile
/**
* Exposes type functions.
*/
/**
* [Reference](https://stackoverflow.com/questions/42999983/typescript-removing-readonly-modifier)
*/
export type DeepMutable<T> = {
-readonly [P in keyof T]: DeepMutable<T[P]>;
};
@aiya000
aiya000 / config
Created September 29, 2021 14:04
[merge]
tool = unityyamlmerge
[mergetool "unityyamlmerge"]
trustExitCode = false
cmd = "C:\\\\Program\\ Files\\\\Unity\\\\Hub\\\\Editor\\\\2019.4.30f1\\\\Editor\\\\Data\\\\Tools\\\\UnityYAMLMerge.exe" merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"

NicoNicoNi~~ 🤟🤟 && にっこにっこにー🤟🙄🤟 Moggiと''love''で接近中!

↓「せつラボ」シリーズを執筆中✨(数学および圏論の初歩入門書) https://aiya000.booth.pm/items/1316747

↓「矢澤にこ先輩といっしょに代数!」を執筆!(代数的構造についての初歩入門書) https://aiya000.booth.pm/items/1575006

↓ 履歴書(Working curriculum vitae)

@aiya000
aiya000 / git
Last active August 24, 2021 06:55
#!/bin/bash
DEBUG=0
: git_bridge_wsl2_and_windows
: :
: Currently on NTFS, WSL2\'s git is too heavy.
: This is a workaround for that.
: :
: Recommend: ln -s git_bridge_wsl2_and_windows ~/bin/git
#!/bin/bash
# Currently on NTFS, WSL2's git is too heavy.
sub_cmd=$1
function should_use_windows_git () {
[[ $(pwd) =~ '^/mnt/' ]] \
|| [[ $(pwd) =~ '/home/aiya000/Windows' ]] \
|| [[ $(pwd) =~ '/home/aiya000/Desktop' ]]
#!/bin/bash
# Currently on NTFS, WSL2's git is too heavy.
sub_cmd=$1
function should_use_windows_git () {
[[ $(pwd) =~ '^/mnt/' ]] \
|| [[ $(pwd) =~ '/home/aiya000/Windows' ]] \
|| [[ $(pwd) =~ '/home/aiya000/Desktop' ]]
The MIT License (MIT)
Copyright (c) 2021 aiya000
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Param([String]$title = "VRChat")
<# Description, Setup, and License {{{
# Record-Replay-VRChat
## What is this?
An easy way to record replay of games via 'Xbox Game Bar'.
## Setup

【無料・VRChat SDK3】UdonSharpCommon【ワールド作成支援・UdonSharpライブラリ】

VRC SDK3・UdonSharp(Udon#, U#)向けの便利なスクリプト集(機能集)です✨

SDK3でVRChatワールド開発をしてみたものの、Udon GraphやUdonSharpで機能が実装できない人向けのアセットになります!

ライセンス

MIT

module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: ['plugin:import/errors', 'plugin:import/warnings', 'plugin:import/typescript'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',