require('Memcached') local args = ngx.req.get_uri_args() if (ngx.var.remote_addr == '192.1…
local skynet = require "skynet" local socket = require "socket" local socketchannel = requ…
#include <iostream> #include <vector> #include <lua.hpp> #include "type.…
-- Use this function to perform your initial setup function setup() print("Simple Map Samp…
local function string_split(str, exp) local result = {} local strlen = #str local index = …
require 'luacom' local excel = luacom.CreateObject('Excel.Application') excel.Visible = tr…
getpref = overloaded() function getpref.string.number(key,defaultVal) local userdata = CCU…
-- main -- Use this function to perform your initial setup function setup() displayMode(FU…
function list_iter_time(t, time) local index = 0 local size = #t return function() local r…
#include <stdio.h> #include <sys/time.h> #include <time.h> #include <…
--[[============================================================================= # FileNa…
function printCallStack() local startLevel = 2 --0表示getinfo本身,1表示调用getinfo的函数(printCallSta…
模块依赖排序,保证依赖模块不会先于被依赖模块而注册,50行lua。