代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/492380/1174809
svn-base extramodules.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('json')
-- get list of installed packages and convert to table
f = io.popen('opkg list_installed')
installed = {}
for line in f:lines() do
p
www.eeworm.com/read/492380/1174817
svn-base save.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
tmpfile = os.getenv('FORM_uploadfile')
pkgname = os.getenv('FORM_uploadfile_name')
out = {
done = 1
}
if (tmpfile ~= nil and pkgn
www.eeworm.com/read/492380/1174818
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = readlines('opkg list_installed', 0, true)
io.write(json.encode(data))
www.eeworm.com/read/492380/1174819
svn-base delete.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson() or {}
if (data['id'] ~= nil) then
out = table.unique(readlines('opkg remove ' .. data['id'] .. ' 2>&1', 0 , true)