Skip to content

Instantly share code, notes, and snippets.

🎯
WeiboMesh

周晶 idevz

🎯
WeiboMesh
Block or report user

Report or block idevz

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
@idevz
idevz / copy.lua
Created May 9, 2018 — forked from tylerneylon/copy.lua
How to deep copy Lua values.
View copy.lua
-- copy.lua
--
-- Functions of varying complexity levels to achieve
-- a deep copy in Lua.
--
-- 1. The Problem.
--
-- Here's an example to see why deep copies are useful.
@idevz
idevz / simple.lua
Created Sep 8, 2015
A Simple route for vanilla
View simple.lua
-- perf
local sgmatch = string.gmatch
-- init Simple and set routes
local Simple = {}
function Simple:new(request)
local instance = {
route_name = 'Simple',
You can’t perform that action at this time.