function loadDKJSON() local env = setmetatable({}, {__index=function(o, k) return _G[k] end }) return assert(loadSnippet('#44', env))() end json = loadDKJSON() snippet = {} snippet.type = 26 -- Lua code - Image recognition snippet.text = "return 'Just a test "..math.random().."'" return json.encode(snippet)
test run test run with input produce a snippet download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Recognizer | Recognition Result | Visualize | Recalc |
---|---|---|---|
#308 | 324 | [visualize] |
Snippet ID: | #320 |
Snippet name: | Test snippet producer |
Eternal ID of this version: | #320/1 |
Text MD5: | 045c276991ee447eb0d9ef58b2d17f20 |
Author: | stefan |
Category: | |
Type: | Lua code - Snippet producer |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-01-21 21:02:24 |
Source code size: | 324 bytes / 11 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 838 / 175 |
Referenced in: | [show references] |