Skip to content

Instantly share code, notes, and snippets.

View shiena's full-sized avatar

KOGA Mitsuhiro shiena

View GitHub Profile
@yukimochi
yukimochi / readme.md
Last active November 7, 2021 15:05
YouTube Live -> VRChat-OSC-Bridge SuperChat Notifier.

YouTube Live -> VRChat-OSC-Bridge SuperChat Notifier.

VRChat にスパチャが過去1秒間に発生したかをOSCメッセージで毎秒送信するブックマークレット (VRChat OSC Bridge 専用ツール)

説明

VRChat OSC Bridge が起動している状態で、 YouTube Live のコメント欄をポップアウトし、そのウィンドウに対して spc_to_osc.min.jsjavascript: 以降のコードを入力します。

実行すると、 所定のOSCメッセージが毎秒 /VRC_OSC/SPC に送信されます。

メッセージ内容

@Hertzole
Hertzole / SceneObject.cs
Last active May 4, 2024 13:04
Unity scene object to easily assign scenes in the inspector.
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[System.Serializable]
public class SceneObject
{
[SerializeField]
private string m_SceneName;
#if UNITY_EDITOR
using System.Reflection;
using UnityEngine;
using UnityEditor;
public class FontSwitcher : EditorWindow
{
[MenuItem("Font/Show Window")]
public static void ShowFontWindow()
{
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
Shader "Custom/Wireframe" {
Properties
{
_WireThickness ("Wire Thickness", RANGE(0, 800)) = 100
_Color("Color", Color) = (1,1,1,1)
}
SubShader
{
// OculusFinger Ver.0.21 - zlib License
// (C) NISHIDA Ryota, ship of EYLN http://dev.eyln.com
using UnityEngine;
using System.Collections.Generic;
public class OculusFinger : MonoBehaviour {
[TooltipAttribute("Awake時に現在のFingerTypeにあわせて自動設定を行うか")]
public bool isAwakeAutoSetup = true;
[TooltipAttribute("Oculus Touchによるタッチ入力を有効にするか")]
@kpheasey
kpheasey / setup.md
Last active March 22, 2022 20:13
WSL, RVM & RubyMine; ubuntu on windows, bash on windows

Add inbound firewall rule for TCP 2222

  • Windows 10 has 2 new services, SSH Server Proxy and SSH Server Broker which will already be bound to port 22
  • Do not allow public connection on this rule, WSL is not proven safe

ConEmu

Add as cmd startup with bash.exe --login

Install the SSH server and some Rails essentials libraries in bash

sudo apt-get update && sudo apt-get upgrade -y
@neoneye
neoneye / environment.cpp
Created May 17, 2016 18:43
posix_spawn with an "environment" class
// Copyright © 2015 Simon Strandgaard. All rights reserved.
// MIT license
#include "environment.hpp"
#include <unistd.h>
#include <iostream>
#include <boost/algorithm/string/predicate.hpp>
extern char **environ;
void Environment::populateWithGlobalEnvironment() {
@mitsuruog
mitsuruog / index.md
Last active January 24, 2025 02:47
express実践入門

express実践入門


自己紹介

小川充

  • mitsuruog
@hashrock
hashrock / diag.md
Last active January 22, 2025 21:10
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など