This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env le-lua-interpreter | |
if #arg < 1 then | |
-- TODO: help | |
os.exit(1) | |
end | |
local DEFAULT_ITERATIONS = 1e6 | |
local bench_file = arg[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code:load_abs(os:getenv("HOME") ++ "/.ebin/user_default"), | |
io:format("You may use r() to recompile the code, t() to recompile templates under priv/templates.~n", []). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% | |
%% @doc Generic process registrar and operating primitives. | |
%% Basically, gproc wrapper. | |
%% | |
-module(peectp). | |
-author('Vladimir Dronnikov <dronnikov@gmail.com>'). | |
%% | |
%% ----------------------------------------------------------------------------- |