Skip to content

Instantly share code, notes, and snippets.

View mminer's full-sized avatar

Matthew Miner mminer

View GitHub Profile
@wandermyz
wandermyz / CurveDrawingTest.cs
Created May 23, 2017 07:11
How to draw a curve in a Unity Editor Window
using UnityEngine;
using UnityEditor;
public class CurveDrawingTest : EditorWindow {
[MenuItem("Window/CurveDrawingTest")]
public static void ShowWindow() {
EditorWindow.GetWindow<CurveDrawingTest>().Show();
}
@dspezia
dspezia / Makefile
Created February 23, 2012 15:50
Example of pipelining with hiredis
OBJ = genload.o
BINS = genload
CC=g++
OPTIMIZATION?=-O3
CFLAGS?=$(OPTIMIZATION) $(ARCH) $(PROF) -I ../hiredis
CCLINK?=-pthread
LDFLAGS?=-L../hiredis -lhiredis -lm
OBJ = example.o