Skip to content

Instantly share code, notes, and snippets.

View Ajido's full-sized avatar
🏠
Working from home

Daiki Kuriyama Ajido

🏠
Working from home
  • Tokyo, Japan
View GitHub Profile
@karlding
karlding / disable-narrator.reg
Created January 14, 2016 19:05
Disable Narrator
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Narrator.exe]
"Debugger"="%1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\AtBroker.exe]
"Debugger"="%1"
@YoshiyukiKato
YoshiyukiKato / browser.env.ts
Created June 7, 2017 10:02
setup browser test environment for mocha
import {jsdom} from "jsdom";
import * as jquery from "jquery";
declare global{
interface Window{
XMLHttpRequest:XMLHttpRequest;
}
namespace NodeJS{
interface Global {
@unitycoder
unitycoder / recalculate-normals.cs
Last active January 31, 2025 04:11
Unity Recalculate Normals
/*
* The following code was taken from: http://schemingdeveloper.com
*
* Visit our game studio website: http://stopthegnomes.com
*
* License: You may use this code however you see fit, as long as you include this notice
* without any modifications.
*
* You may not publish a paid asset on Unity store if its main function is based on
* the following code, but you may publish a paid asset that uses this code.
@yowasou
yowasou / CreateAnimationClip.cs
Created September 4, 2019 05:53
Unityでアニメーションをスクリプトから作成
public static AnimationClip CreateAnimationClip(VMDFormat format, int interpolationQuality)
{
VMDVRoidConverter converter = new VMDVRoidConverter();
//アニメーションクリップを作成
AnimationClip clip = new AnimationClip();
clip.name = "output_test";
//キーフレーム作成
AnimationCurve retCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1));
//カーブ作成
@koh110
koh110 / exec.md
Created November 21, 2019 10:50
promiseラップするとどれくらい遅くなるか
$ node -v
v12.12.0

$ node promise.js
pure: 4.863ms
promise: 47.649ms
@Refsa
Refsa / GrabScreenFeature.cs
Last active February 14, 2025 10:54
Unity URP custom grab pass
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public class GrabScreenFeature : ScriptableRendererFeature
{
[System.Serializable]
public class Settings