代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/492380/1174782
svn-base save.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data.values ~= nil and data.values.lang ~= nil) then
os.execute('rm /www/scripts/Lang.js')
www.eeworm.com/read/492380/1174783
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
path = '/www/scripts/Languages/'
file = '/www/scripts/Lang.js'
data = {
values = {
lang = 'English'
},
langs = {},
params
www.eeworm.com/read/492380/1174789
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = {}
leasefile = '/var/lib/misc/dnsmasq.leases'
cfg = uci.get_all('dhcp')
if (cfg ~= nil) then
for section, options in pairs(
www.eeworm.com/read/492380/1174797
svn-base save.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
tmpfile = os.getenv('FORM_fwfile')
out = {
done = 1
}
if (tmpfile ~= nil) then
out.params = proc('/lib/flashsys/modules/upgrade/
www.eeworm.com/read/492380/1174798
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
supported = 0
f = io.open('/lib/upgrade/platform.sh', 'r')
if (f) then
supported = 1
f:close()
end
io.write(supported)
www.eeworm.com/read/492380/1174805
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
limit = 25
data = readlines('logread | tail -n ' .. limit, 0, true)
io.write(json.encode(data))