Skip to content

Instantly share code, notes, and snippets.

@keijiro
keijiro / FpsCapper.cs
Last active May 12, 2025 04:34
FpsCapper - Limits the frame rate of the Unity Editor in Edit Mode
using UnityEditor;
using UnityEngine;
using UnityEngine.LowLevel;
using System.Linq;
using System.Threading;
namespace EditorUtils {
//
// Serializable settings
@akella
akella / oklab.glsl
Created October 8, 2023 07:55
oklab.glsl
float fixedpow(float a, float x)
{
return pow(abs(a), x) * sign(a);
}
float cbrt(float a)
{
return fixedpow(a, 0.3333333333);
}
@permil
permil / config.h
Last active January 11, 2021 21:42
My Helix keymap
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <[email protected]>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
@matux
matux / scntool.md
Last active April 11, 2023 13:49
SceneKit scntool command line options
$ xcrun scntool --verbose
| Current SceneKit version is 4.560000
| Running scntool (compiled on Jul  1 2018 01:01:55)

usage: scntool --convert file --format format [--output file]
000084a8:  7363 7269 7074 696f 6e00 2d2d 7461 7267 6574 2d70 6c61 7466  :scription.--target-platf
@ayansg
ayansg / build_freetype.sh
Last active October 4, 2024 12:46 — forked from anonymous/build_freetype.sh
Compile-Freetype-For-iOS
#!/bin/bash
# Compile-Freetype-For-iOS
# Original Script https://github.com/jkyin/Compile-Freetype-For-iOS/blob/master/build_freetype.sh
# Revised by: l'L'l
#
# New Features Include: auto download latest version, fixed toolchain locations, other various tweeks
#
# The MIT License (MIT)
# Copyright (c) 2016 l'L'l
@tos-kamiya
tos-kamiya / py3-venv-activate-on-fish.md
Last active January 11, 2023 08:08
fishでpython3のvenvのactivateをする

fishでpython3のvenvを利用する方法

venv環境を作って入る (パスを設定した新しいシェルを作成する)

python3 -m venv ./venv
begin; set -lx PATH (realpath ./venv)/bin $PATH; fish; end
@Akira-Hayasaka
Akira-Hayasaka / winInst.txt
Last active September 16, 2021 07:33
windows インスタレーション用設定
- windowsはオフラインアカウントでセットアップ
- ネットワークにつなぐ
- 識別されてないネットワーク問題
http://www.projectgroup.info/tips/Windows/comm_0064.html
- windowsのライセンス認証
- windowsをアップデートする
@joonjoonjoon
joonjoonjoon / CloudBuildAPI.cs
Created January 26, 2016 13:50
set iOS build version to CloudBuild version
namespace UnityEngine.CloudBuild.API
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_CLOUD_BUILD
using UnityEditor;
@asus4
asus4 / websocket_osc_bridge.py
Created December 18, 2015 05:36
WebSocket to OSC bridge
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import argparse
import json
from pyOSC import OSC
from SimpleWebSocketServer import WebSocket, SimpleWebSocketServer
# arguments
@ofZach
ofZach / all OF addons
Created October 16, 2012 02:30
all openframeworks addons from ofxAddons
#!/bin/bash
git clone git://github.com/armadillu/ofxAnimatable.git;
git clone git://github.com/yuichi1004/ofxAnimationKit.git;
git clone git://github.com/alinakipoglu/ofxAssimpNISync.git;
git clone git://github.com/alinakipoglu/ofxAssimpOpenNISkeletonSync.git;
git clone git://github.com/after12am/ofxBoids.git;
git clone git://github.com/diasbruno/ofxCompositeMotion.git;
git clone git://github.com/paulobarcelos/ofxDisplayStackObject.git;
git clone git://github.com/satoruhiga/ofxEasingFunc.git;