Skip to content

Instantly share code, notes, and snippets.

View rassi0429's full-sized avatar
👋
Home

KOKOA rassi0429

👋
Home
View GitHub Profile

VRChat で Unity を使うに当たって、 git で Project 管理するときの耳寄り情報

※ Unity 向けの .gitignore を入れるとか、git config --global core.autocrlf false するとかはされてらっしゃるとして、それ以外の所を…

  1. Packages/.gitignore があるので、VPMまで管理したいときは git リポジトリに入れる前にこの .gitignore を消す(しかし、VCCは Packages/.gitignore を VPM 触る度に再作成するので毎度消すことになる)ので、自分は vrc-get の GUI 実装である ALCOM でUnity Projectを作ってます。すると Packages の .gitignore が最初から無いので便利だし、VCCより爆速でうれしい。

    (古いブランチに切り替えるときなんかで事故ったりするので、 Packages も git で管理した方がいいって思ってます。)
    https://vrc-get.anatawa12.com/alcom/

  2. マージは出来ないので、ベースのルナトくんからブランチ切って服着せる。みたいな使い方してます。\

import { nanoid } from "https://esm.sh/nanoid/";
import { encodeBase64 } from "https://deno.land/std/encoding/base64.ts";
const base64uri = (data: ArrayBuffer) =>
encodeBase64(data)
.replaceAll("+", "-")
.replaceAll("/", "_")
.replaceAll("=", "");
const clientId = "https://ikasoba.github.io/misskey-oauth2-client-example";

How to install game-porting-toolkit (aka proton for macOS)

You also might wanna just use Whisky which does this automatically

This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!

What is this?

In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.

@dfilipeloja
dfilipeloja / MibandService.java
Created November 13, 2020 10:09 — forked from bgloh/MibandService.java
Mi band Service UUID
package me.flyingrub.mibandnotify.miband;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
public class MiBandService {
public static final String MAC_ADDRESS_FILTER = "88:0F:10";
@zkxs
zkxs / FizzBuzz.java
Last active January 8, 2022 07:39
Alas, no interviewer has ever asked me to fizzbuzz
import java.util.function.IntPredicate;
import java.util.stream.Collectors;
import java.util.Arrays;
import java.util.List;
/**
* Here's the same program, but in Java this time to demonstrate the
* boilerplate difference between Java and Scala.
*
* My solution to the classic fizz-buzz problem.
@bgloh
bgloh / MibandService.java
Created July 7, 2017 03:14
Mi band Service UUID
package me.flyingrub.mibandnotify.miband;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
public class MiBandService {
public static final String MAC_ADDRESS_FILTER = "88:0F:10";