Skip to content

Instantly share code, notes, and snippets.

Marcel Müller TheNeikos

Block or report user

Report or block TheNeikos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Codimale
Codimale / FreeRes.lua
Last active Nov 27, 2016
An easy way to resize your game.
View FreeRes.lua
--[[
FreeRes - An easy way to resize your game.
FreeRes is a library that makes adding multiple aspect ratio support to your game
easily.
It's been created to fill the hole that TLfres left after it became obsolete.
Because of this its methods use the same names.
]]--
FreeRes = {} -- namespace
local currentWidth, currentHeight, originalWidth, originalHeight, scale, scaleMultiplier, letterWidth, letterHeight, xLetter, yLetter
@31
31 / gist:3781b066e16bf538f170
Last active Jan 16, 2019
OpenGL functions by object
View gist:3781b066e16bf538f170
@tomstuart
tomstuart / gist:1466504
Created Dec 12, 2011
FizzBuzz in the lambda calculus in Ruby
View gist:1466504
>> IF = -> b { b }
=> #<Proc:0x007fb4e4049cc8 (lambda)>
>> LEFT = -> p { p[-> x { -> y { x } } ] }
=> #<Proc:0x007fb4e403d680 (lambda)>
>> RIGHT = -> p { p[-> x { -> y { y } } ] }
=> #<Proc:0x007fb4e4028ff0 (lambda)>
>> IS_EMPTY = LEFT
You can’t perform that action at this time.