Skip to content

Instantly share code, notes, and snippets.

View hmans's full-sized avatar
🚀
Let's go!

Hendrik Mans hmans

🚀
Let's go!
View GitHub Profile
@frostney
frostney / gist:4402499
Created December 28, 2012 22:22
Rudimentary Entity-Component-model in CoffeeScript
class Entity
componentList = {}
constructor: (@name = @constructor.name) ->
get: (componentName) ->
if componentName
componentList[componentName]
else
Object.keys componentList
@hmans
hmans / Gemfile
Created September 20, 2012 15:00
My Gemfile
source 'https://rubygems.org'
# Bundler 1.2.0 allows for specifying the required Ruby version in the Gemfile,
# so let's do that here.
ruby '1.9.3'
# Rails, obviously.
gem 'rails', '3.2.8'
# I love HAML.