Skip to content

Instantly share code, notes, and snippets.

@alexandruc
alexandruc / roman_numerals.lua
Created April 5, 2012 15:03
Roman numerals in Lua
--[[
Rules:
I = 1
V = 5
X = 10
L = 50
C = 100
D = 500
M = 1000
@alexandruc
alexandruc / Dispatcher.h
Created August 28, 2011 19:17
Dispatcher class: asynchronousely dispathces messages
#pragma once
#include <windows.h>
#include <queue>
/**
* Default deallocation function (no deallocation)
*/
typedef void (*noDeleteFunction)(...);
/** \p Dispatcher class: asynchronousely dispathces messages