Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / live.lua
Created November 6, 2012 19:49
Minimal Lua Livecoding Environment
local lfs = require("lfs")
local old = 0
local file_path = "livecoding.lua"
local t = 0
while true do
t = t + 1
if old < lfs.attributes( file_path ).modification then
old = lfs.attributes( file_path ).modification
pcall(dofile, file_path)
end
anonymous
anonymous / gist:2656469
Created May 10, 2012 23:05
1/2 c canola oil
1/2 c raw sliced almonds
1/3 c cooked garbanzo beans (canned)
1/4 c cooked soybeans (canned)
4 garlic cloves
1/2 c water (usually less, just add water until it reaches the desired
consistency)
1/2 c lemon juice
1/3 c nutritional yeast
1/2 tsp salt