Skip to content

Instantly share code, notes, and snippets.

@takashicompany
takashicompany / HHKB-JIS.kbd.json
Last active November 19, 2021 05:18
HHKB JIS
[
{
"name": "HHKB JIS"
},
[
{
"a": 6
},
"ESC",
{
@takashicompany
takashicompany / movie_to_gif_animation.sh
Last active January 6, 2023 07:48
動画ファイルをキレイなgifにしてくれるコマンドライン
#!/bin/bash
CMDNAME=`basename $0`
while getopts i:s:f:e: OPT
do
case $OPT in
"i" ) is_import="TRUE" ; import="$OPTARG";;
"s" ) is_size="TRUE" ; size="$OPTARG" ;;
"f" ) is_fps="TRUE" ; fps="$OPTARG" ;;
using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
[InitializeOnLoad]
// 大草原クラス
class WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
{
@onevcat
onevcat / MonoSingleton.cs
Created July 18, 2013 00:37
Mono singleton Class. Extend this class to make singleton component.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Mono singleton Class. Extend this class to make singleton component.
/// Example:
/// <code>
/// public class Foo : MonoSingleton<Foo>
/// </code>. To get the instance of Foo class, use <code>Foo.instance</code>