Skip to content

Instantly share code, notes, and snippets.

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

zerosign zerosign

🏠
Working from home
View GitHub Profile
Game Engine Considerations
Technologies
OpenGL
glm
glew
glfw
thrift
boost
{
"type" : "Human",
"armatures" : [
{
"name" : "pelvis",
"children" : [
{
"name" : "waist",
"children" : [
{
ImageData {
list<Vertex2i>
}
SensorData {
map<SkeletonJointType, SkeletonJoint> skeletons,
ImageData depthImage,
ImageData rgbImage
}
@zerosign
zerosign / Thesis Middleware UI
Last active December 18, 2015 08:59
standard
QMainWindow {
toolbar {
Start|Stop Server,
Force Disconnect Client
},
menuBar {
Actions {
Start/Stop Middleware Server,
Exit
},
#!/usr/bin/env python3
from distutils.core import setup, Extension
from distutils.sysconfig import get_python_inc
import glob
src_files = []
for f in glob.glob('src/*.cpp'):
src_files.append(f)
stdClass Object
(
[status] => 1
[content] => stdClass Object
(
[channels] => Array
(
[0] => stdClass Object
(
[id] => 29
#!/usr/bin/env python
from multiprocessing import Process, Manager
import psutil
import sys
import os
class Stats():
{
"name" : WorkerClassName :: String,
"input" : {
"format" : JobFormatClassName :: String,
"queue" : QueueName :: String
},
"type" : QueueClientClassName :: String,
"output" : {
"format" : JobFormatClassName :: String,
"queue" : []
(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)
(setenv "PATH" (concat (getenv "PATH") ":/opt/go/site/bin"))
(setq exec-path (append exec-path '("/opt/go/site/bin")))
@zerosign
zerosign / Permute.hs
Created March 20, 2014 11:17
Simple permutation in haskell
import Debug.Trace
debug = flip trace
permute :: Show a => [a] -> [a]
permute xs =
permute' xs xs
where
permute' xy xz = case xy of