Skip to content

Instantly share code, notes, and snippets.

View rehno-lindeque's full-sized avatar

Rehno Lindeque rehno-lindeque

View GitHub Profile
@rehno-lindeque
rehno-lindeque / gist:36e1e5720ca05f89e985fc7b62f54158
Created April 9, 2016 10:56 — forked from yorickvP/gist:3171926
generic C/C++ project makefile template
ifdef VERBOSE
Q =
E = @true
else
Q = @
E = @echo
endif
CFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.c")
CXXFILES := $(shell find src -mindepth 1 -maxdepth 4 -name "*.cpp")
@rehno-lindeque
rehno-lindeque / Reload.hs
Created May 8, 2012 06:58 — forked from nishimura/Reload.hs
Reloading feature copied from yesod.
{-# LANGUAGE ScopedTypeVariables #-}
--
-- Copied from Yesod
-- see http://www.yesodweb.com/
--
module Reload (main, develLoop) where
-- reload
import Control.Concurrent (forkIO, threadDelay)
import qualified Control.Exception as Ex
@rehno-lindeque
rehno-lindeque / scenejs-json-example1.coffee
Created August 25, 2010 07:55 — forked from xeolabs/scenejs-json-example1.js
CoffeeScript version of the JSON scene definition for SceneJS
###
A teapot with an orbiting directional light source that you can rotate with the mouse.
The white dot is not the actual position of the light - it just indicates its direction
relative to the teapot.
Lindsay S. Kay, (CoffeeScript port by Rehno Lindeque)
[email protected]
###