repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/model/cbi/admin_network/proto_pptp.lua
59
3379
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
gpl-2.0
shizhai/wprobe
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/model/cbi/admin_network/proto_pptp.lua
59
3379
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
gpl-2.0
bn7/darkstar
scripts/zones/Heavens_Tower/npcs/Kupipi.lua
14
7342
----------------------------------- -- Area: Heaven's Tower -- NPC: Kupipi -- Involved in Mission 2-3 -- Involved in Quest: Riding on the Clouds -- @pos 2 0.1 30 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
bn7/darkstar
scripts/zones/Horlais_Peak/TextIDs.lua
7
1199
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6385; -- Ob...
gpl-3.0
reox/awesomerc
blingbling/classical_graph.lua
1
12875
local helpers =require("blingbling.helpers") local string = require("string") local setmetatable = setmetatable local ipairs = ipairs local math = math local table = table local type=type local cairo = require "oocairo" local capi = { image = image, widget = widget } local layout = require("awful.widget.layout") ---A ...
gpl-3.0
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Arminibit.lua
17
1660
----------------------------------- -- Area: Port San d'Oria -- NPC: Arminibit -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ...
gpl-3.0
bn7/darkstar
scripts/zones/Qufim_Island/npcs/Nightflowers.lua
14
1556
----------------------------------- -- Area: Qufim Island -- NPC: Nightflowers -- Involved in Quest: Save My Son (Beastmaster Flag #1) -- @pos -264.775 -3.718 28.767 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
Tarjei400/Howl
interop/native/Helpers.lua
1
2028
-- Emulates the bits I use of the shell API -- @module interop.Shell require('pl') local g_tLuaKeywords = { [ "and" ] = true, [ "break" ] = true, [ "do" ] = true, [ "else" ] = true, [ "elseif" ] = true, [ "end" ] = true, [ "false" ] = true, [ "for" ] = true, [ "function" ] = true, [ "if" ] = true, [ "in" ]...
mit
bright-things/ionic-packages
net/smartsnmpd/files/mibs/interfaces.lua
158
4833
-- -- This file is part of SmartSNMP -- Copyright (C) 2014, Credo Semiconductor Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your optio...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/modules/admin-full/dist/usr/lib/lua/luci/model/cbi/admin_system/fstab/swap.lua
84
1922
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c26059.lua
1
3572
--妖云『平安时代的黑云』 function c26059.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(26059,0)) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c26059.target) e1:SetOperation(c26059.activate) c:RegisterEffect(e1) --Activate local e2=Effect.Creat...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c20501.lua
1
4724
--魔女与人形的连结✿爱丽丝 function c20501.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,c20501.matfilter,2) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20501,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) ...
gpl-2.0
LuaDist2/kong
spec/02-integration/05-proxy/12-server_tokens_spec.lua
4
7331
local helpers = require "spec.helpers" local constants = require "kong.constants" local default_server_header = _KONG._NAME .. "/" .. _KONG._VERSION local function start(config) return function() helpers.dao.apis:insert { name = "api-1", upstream_url = "http://localhost:9999/headers-inspect", ...
apache-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua
74
2324
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
gpl-2.0
Asdonne/OpenRA
mods/cnc/maps/funpark01/scj01ea.lua
19
3521
RifleReinforcments = { "e1", "e1", "e1", "bike" } BazookaReinforcments = { "e3", "e3", "e3", "bike" } BikeReinforcments = { "bike" } ReinforceWithLandingCraft = function(units, transportStart, transportUnload, rallypoint) local transport = Actor.Create("oldlst", true, { Owner = nod, Facing = 0, Location = transportS...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c22137.lua
1
3561
--七曜-水符「水母公主」 function c22137.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c22137.con) c:RegisterEffect(e1) --activate local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(22137,0)) e2:SetType(EFFECT_TYPE_IGNITION) ...
gpl-2.0
bn7/darkstar
scripts/zones/Windurst_Waters/npcs/Jack_of_Hearts.lua
17
1239
----------------------------------- -- Area: Windurst Waters -- NPC: Jack of Hearts -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/TextIDs"); ----...
gpl-3.0
tst2005/luarocks
src/luarocks/make_manifest.lua
20
1919
--- Module implementing the luarocks-admin "make_manifest" command. -- Compile a manifest file for a repository. --module("luarocks.make_manifest", package.seeall) local make_manifest = {} package.loaded["luarocks.make_manifest"] = make_manifest local manif = require("luarocks.manif") local index = require("luarocks....
mit
HuangYuNan/thcsvr
expansions/script/c7001200.lua
1
1427
--丧心「丧心疮痍」 function c7001200.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_TOHAND) e1:SetCategory(CATEGORY_HANDES) e1:SetCost(c7001200.cost) e1:SetTarget(c7001200.target) e1:SetOperation(c7001200.operation) ...
gpl-2.0
bn7/darkstar
scripts/zones/Windurst_Waters/npcs/HomePoint#4.lua
9
1269
----------------------------------- -- Area: Windurst Waters -- NPC: HomePoint#4 -- @pos -92 -2 54 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters/TextIDs"); require("scripts/globals/hom...
gpl-3.0
Entware-ng/rtndev
nginx-extras/src/modules/nchan/src/store/redis/scripts/rsck.lua
3
6124
--redis-store consistency check local concat = function(...) local arg = {...} for i = 1, #arg do arg[i]=tostring(arg[i]) end return table.concat(arg, " ") end local dbg =function(...) redis.call('echo', concat(...)); end local errors={} local err = function(...) local msg = concat(...) dbg(msg) tabl...
gpl-2.0
bn7/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua
17
1917
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: _0z0 ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden_of_RuHmet/TextIDs"); require...
gpl-3.0
bn7/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua
14
1633
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Loillie -- @zone 80 -- @pos 78 -8 -23 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); --------...
gpl-3.0
bn7/darkstar
scripts/globals/spells/bluemagic/heat_breath.lua
25
1751
----------------------------------------- -- Spell: Heat Breath -- Deals fire damage to enemies within a fan-shaped area originating from the caster -- Spell cost: 169 MP -- Monster Type: Beasts -- Spell Type: Magical (Fire) -- Blue Magic Points: 4 -- Stat Bonus: STR+3 -- Level: 71 -- Casting Time: 7.5 seconds -- Recas...
gpl-3.0
bn7/darkstar
scripts/zones/Batallia_Downs/npcs/qm4.lua
17
1589
----------------------------------- -- Area: Batallia Downs -- NPC: qm4 (???) -- ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scripts/globals/keyitems"); require("scrip...
gpl-3.0
bn7/darkstar
scripts/zones/Sauromugue_Champaign/npcs/Smile_Helper.lua
9
9437
----------------------------------- -- Area: East Ronfaure -- NPC: Smile Helper -- Type: EVENT NPC -- Scripted/Created by Tagban -- REQUIRES PrintToServer/PrintToPlayer mod posted on DSP Forums ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; -----------------------...
gpl-3.0
bn7/darkstar
scripts/zones/East_Sarutabaruta/npcs/Smile_Helper.lua
9
9437
----------------------------------- -- Area: East Ronfaure -- NPC: Smile Helper -- Type: EVENT NPC -- Scripted/Created by Tagban -- REQUIRES PrintToServer/PrintToPlayer mod posted on DSP Forums ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; -----------------------...
gpl-3.0
Dysoch/DyWorld
DyWorld-Dynamics/data/core/recipes/smelting.lua
1
1278
data:extend({ { type = "recipe", name = "cooked-fish-1", category = "kiln-basic", normal = { ingredients = { {type = "item", name = "raw-fish-pike", amount = 1}, }, result = "cooked-fish", result_count = 1, energy_required = 5, enabled = true, }, }, { ...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
73
11663
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
gpl-2.0
bn7/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm15.lua
14
2574
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? -- Involved in Quest: Knight Stalker -- @pos 58 1 -70 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/T...
gpl-3.0
yveshwang/dotfiles
.hammerspoon/init.lua
1
4925
-- Yves Hwang -- 12.11.2015 -- hello world example with alerts hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function() hs.alert.show("Hello World!") end) -- helloworld with notify hs.hotkey.bind({"cmd", "alt",}, "W", function() hs.notify.new( {title="whatever", informativeText="Hello world"}):send() end) -- movin...
mit
McDaived/Zafer
plugins/banhammer.lua
1
13178
local function pre_process(msg) local data = load_data(_config.moderation.data) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Chec...
gpl-2.0
bn7/darkstar
scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua
14
2437
----------------------------------- -- Area: -- NPC: rune of release -- @zone illrusi atoll -- @pos ----------------------------------- package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/globals/bcnm"); requ...
gpl-3.0
bn7/darkstar
scripts/globals/items/fried_popoto.lua
12
1559
----------------------------------------- -- ID: 6272 -- Item: fried_popoto -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +30 -- VIT +2 -- Fire resistance +20 -- DEF +20% (cap 145) -- Subtle Blow +8 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
gaoxiaojun/symphony
ref/luajit/dynasm/dasm_arm.lua
15
34598
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
bsd-3-clause
LuaDist2/kong
kong/plugins/jwt/jwt_parser.lua
5
8218
-- JWT verification module -- Adapted version of x25/luajwt for Kong. It provides various improvements and -- an OOP architecture allowing the JWT to be parsed and verified separatly, -- avoiding multiple parsings. -- -- @see https://github.com/x25/luajwt local json = require "cjson" local utils = require "kong.tools....
apache-2.0
LuaDist2/kong
spec/02-integration/03-dao/06-plugins_daos_spec.lua
5
1373
local helpers = require "spec.02-integration.03-dao.helpers" local Factory = require "kong.dao.factory" helpers.for_each_dao(function(kong_config) describe("Plugins DAOs with DB: #" .. kong_config.database, function() it("load plugins DAOs", function() local factory = assert(Factory.new(kong_config)) ...
apache-2.0
nicksergeant/dotfiles
nvim/lua/lsp.lua
1
5634
local util = require("lspconfig/util") local Job = require("plenary.job") function getIsHubspotMachine() local result = "" local testing = {} Job:new({ command = "ls", args = {vim.env.HOME .. '/.isHubspotMachine'}, on_exit = function(j, return_val) result = return_val ...
mit
frankyifei/koreader
frontend/ui/language.lua
6
2394
-- high level wrapper module for gettext local UIManager = require("ui/uimanager") local InfoMessage = require("ui/widget/infomessage") local _ = require("gettext") local Language = {} function Language:changeLanguage(lang_locale) _.changeLang(lang_locale) G_reader_settings:saveSetting("language", lang_local...
agpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[obiekty]/gracz-bazy_gangow/cdf_b.lua
1
1705
local brama = {} addEventHandler("onResourceStart", resourceRoot, function() brama.o=getElementByID("brama_cdf") --<object id="brama-cn" breakable="true" interior="0" alpha="255" model="980" doublesided="false" scale="1" dimension="0" posX="2794.04" posY="1827.0107" posZ="12.5937" rotX="0" rotY="0" rotZ="90"></obj...
mit
Rinnegatamante/CHMM2
source/render.lua
2
11533
-- Default colors local colors = { {genColor(0,132,255), genColor(72,185,255), genColor(0,132,255)}, -- Cyan {genColor(255,132,0), genColor(255,185,72), genColor(255,132,0)}, -- Orange {genColor(255,72,72), genColor(255,132,132), genColor(255,72,72)}, -- Pink {genColor(255,0,0), genColor(255,72,72), genColor(255,...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/base/luasrc/model/ipkg.lua
82
5778
--[[ LuCI - Lua Configuration Interface (c) 2008-2011 Jo-Philipp Wich <xm@subsignal.org> (c) 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apach...
gpl-2.0
bn7/darkstar
scripts/zones/West_Ronfaure/npcs/Kyanta-Pakyanta_WW.lua
14
3342
----------------------------------- -- Area: West Ronfaure -- NPC: Kyanta-Pakyanta, W.W. -- Type: Outpost Conquest Guards -- @pos -450.571 -20.807 -219.970 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
bn7/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
27
2494
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- @pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); re...
gpl-3.0
shizhai/wprobe
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/model/cbi/admin_network/iface_add.lua
79
3091
--[[ LuCI - Lua Configuration Interface Copyright 2009-2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]...
gpl-2.0
Dysoch/DyWorld
DyWorld-Dynamics/data/core/recipes/control-boards.lua
1
2527
DyDS_Recipe_Set_Tier("control-board-1", "1") DyDS_Add_Ingredient_To_Recipe("control-board-1", {type = "item", name = "wood", amount = 1}) DyDS_Add_Ingredient_To_Recipe("control-board-1", {type = "item", name = "tin-plate", amount = 1}) DyDS_Override_Results_Recipe("control-board-1", 2) DyDS_Recipe_Set_Time("control-...
gpl-3.0
Dysoch/DyWorld
DyWorld-Dynamics/data/core/essentials/sounds.lua
1
3309
data:extend({ { type = "sound", name = "DySound_horn", filename = "__DyWorld-Dynamics__/sounds/horn.ogg" }, { type = "sound", name = "DySound_explosion_1", filename = "__DyWorld-Dynamics__/sounds/explosion-1.ogg" }, { type = "sound", name = "DySound_explosion_2", filename = "__DyWorld-Dynamics__/...
gpl-3.0
bn7/darkstar
scripts/zones/Bastok_Mines/npcs/Zopago.lua
14
1110
----------------------------------- -- Area: Bastok Mines -- NPC: Zopago -- Type: VCS Chocobo Trainer -- @zone 234 -- @pos 51.706 -0.126 -109.065 -- -- Auto-Script: Requires Verification ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mi...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-gui/shadery_c.lua
1
3587
--[[ GUI: Okienko opcji graficznych @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-gui @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie. ]]-- local w,h = guiGetScreenSize() local f3 = {} f3.wnd = guiCreateWi...
mit
bn7/darkstar
scripts/globals/bluemagic.lua
3
14696
require("scripts/globals/status") require("scripts/globals/magic") BLUE_SKILL = 43; -- The type of spell. SPELLTYPE_PHYSICAL = 0; SPELLTYPE_MAGICAL = 1; SPELLTYPE_RANGED = 2; SPELLTYPE_BREATH = 3; SPELLTYPE_DRAIN = 4; SPELLTYPE_SPECIAL = 5; -- The TP modifier TPMOD_NONE = 0; TPMOD_CRITICAL = 1; TPMOD_DAMAGE = 2; TPM...
gpl-3.0
Klius/love2dtestpong
libs/shine/godsray.lua
8
3134
--[[ The MIT License (MIT) Copyright (c) 2015 Josef Patoprsty Based on work by: ioxu https://www.love2d.org/forums/viewtopic.php?f=4&t=3733&start=120#p71099 Based on work by: Fabien Sanglard http://fabiensanglard.net/lightScattering/index.php Based on work from: [Mitchell]: Kenny Mitchell "Volumetric Light Scat...
gpl-3.0
RossMeikleham/dotfiles
awesome/themes/steamburn/theme.lua
1
2942
--[[ Steamburn Awesome WM config 3.0 github.com/copycat-killer --]] theme = {} themes_dir = os.getenv("HOME") .. "/.config/awesome/themes/steamburn" theme.wallpaper ...
mit
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/Application.lua
11
1714
-------------------------------- -- @module Application -- @parent_module cc -------------------------------- -- brief Open url in default browser<br> -- param String with url to open.<br> -- return true if the resource located by the URL was successfully opened; otherwise false. -- @function [parent=#Application] op...
mit
Guema/GuemUICastBars
CastBarZ/Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua
11
4774
--[[----------------------------------------------------------------------------- Label Widget Displays text and optionally an icon. -------------------------------------------------------------------------------]] local Type, Version = "Label", 27 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or...
unlicense
LuaDist2/kong
spec/01-unit/14-plugins_order_spec.lua
1
2119
local conf_loader = require "kong.conf_loader" local fmt = string.format describe("Plugins", function() local plugins setup(function() local conf = assert(conf_loader()) plugins = {} for plugin in pairs(conf.plugins) do local handler = require("kong.plugins." .. plugin .. ".handler") ...
apache-2.0
simonemainardi/ntopng
scripts/lua/modules/json.lua
1
4552
-- -- (C) 2013-17 - ntop.org -- --- Simple class for JSON parsing dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path local parseElement local function skipWhitespaces(content, pos) local _,nend = content:find("^[ \n\r\t]+", pos) if (nend ~= nil) then retur...
gpl-3.0
bn7/darkstar
scripts/zones/East_Sarutabaruta/Zone.lua
4
5409
----------------------------------- -- -- Zone: East_Sarutabaruta (116) -- ----------------------------------- package.loaded[ "scripts/zones/East_Sarutabaruta/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scr...
gpl-3.0
bn7/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua
14
1546
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 26 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnazian_Sa...
gpl-3.0
bbinet/GoIoT
shared/util/fifo.lua
2
3109
--- Fifo module -- provides an class fifo -- local select , setmetatable = select , setmetatable local print = print --- The fifo class -- @type fifo local fifo = {} --- The fifo metatable table -- local fifo_mt = { __index = fifo ; __newindex = function ( f , k , v ) if type (k) ~= "number" then error ( "Tr...
gpl-2.0
abbasgh12345/extremeseed
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
mamaddeveloper/sp
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
frankyifei/koreader
frontend/device/pocketbook/device.lua
2
2581
local Generic = require("device/generic/device") -- <= look at this file! local DEBUG = require("dbg") -- luacheck: push -- luacheck: ignore local EVT_INIT = 21 local EVT_EXIT = 22 local EVT_SHOW = 23 local EVT_REPAINT = 23 local EVT_HIDE = 24 local EVT_KEYDOWN = 25 local EVT_KEYPRESS = 25 local EVT_KEYUP = 26 local E...
agpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
52
3212
--[[ LuCI - Lua Configuration Interface Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- require("luci.model.uci") m = Map("luci_splash", translate...
gpl-2.0
nenonahar/GENERAAL
tg/test.lua
210
2571
started = 0 our_id = 0 function vardump(value, depth, key) local linePrefix = "" local spaces = "" if key ~= nil then linePrefix = "["..key.."] = " end if depth == nil then depth = 0 else depth = depth + 1 for i=1, depth do spaces = spaces .. " " end end if type(value) == 'tab...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c10102.lua
1
2109
--魔女之力 function c10102.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c10102.target) e1:SetOperation(c10102.operation) c:RegisterEffect(e1) --Atk Chan...
gpl-2.0
bbinet/GoIoT
shared/io/devs/prop.lua
2
1071
--- Properties class -- local pub = require 'shared.io.devs.pub' --- Properties Class -- @type class local class = {} --- Set the property value -- @param value Property value -- @tparam number timestamp Timestamp in ms -- @tparam number quality Quality of this value function class:set(value, timestamp, quality) i...
gpl-2.0
Klius/love2dtestpong
conf.lua
1
3494
function love.conf(t) t.identity = "Pöng" -- The name of the save directory (string) t.version = "0.10.2" -- The LÖVE version this game was made for (string) t.console = false -- Attach a console (boolean, Windows only) t.accelerometerjoystick = false ...
gpl-3.0
krichter722/vlc
share/lua/playlist/pinkbike.lua
97
2080
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your opt...
lgpl-2.1
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Ilgusin.lua
14
1051
----------------------------------- -- Area: Port San d'Oria -- NPC: Ilgusin -- Type: Standard NPC -- @zone 232 -- @pos -68.313 -6.5 -36.985 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -------------...
gpl-3.0
aleju/sky-generator
dataset.lua
1
6361
require 'torch' require 'image' require 'paths' local dataset = {} -- load data from these directories dataset.dirs = {} -- load only images with unique filenames (basenames) -- i.e. if an image with name "foo.jpg" is in directory "a" and "b" ("a/foo.jpg", "b/foo.jpg"), -- it will only be loaded once dataset.uniqueF...
mit
gaoxiaojun/symphony
client/samples/repl.app/utils.lua
10
9094
local uv = require('uv') local env = require('env') local prettyPrint, dump, strip, color, colorize, loadColors local theme = {} local useColors = false local defaultTheme local stdout, stdin, stderr, width local quote, quote2, dquote, dquote2, obracket, cbracket, obrace, cbrace, comma, equals, controls local theme...
bsd-3-clause
bn7/darkstar
scripts/globals/spells/bluemagic/tail_slap.lua
21
2101
----------------------------------------- -- Spell: Tail Slap -- Delivers an area attack. Additional effect: "Stun." Damage varies with TP -- Spell cost: 77 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: MND+2 -- Level: 69 -- Casting Time: 1 seconds -- Recast Time: 2...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[obiekty]/int-klub/map.lua
1
10349
for i,v in ipairs({ {9339,-242.2,2600.8999,71.2,0,0,0,1,666,85, false}, {4585,-262.2998,2594.6006,-29.3,0,0,0,1,666,85, false}, {9339,-242.2,2574.8,71.2,0,0,0,1,666,85, false}, {9339,-255.2002,2575.5,71.2,0,0,270,1,666,85, false}, {9339,-281.20001,2575.5,71.2,0,0,270,1,666,85, false}, {9339,-271...
mit
HuangYuNan/thcsvr
expansions/script/c21121.lua
1
2080
--不死「火鸟 -凤翼天翔-」 function c21121.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_DAMAGE) e1:SetCondition(c21121.sumcon) e1:SetTarget(c21121.target) e1:SetOperation(c2112...
gpl-2.0
bn7/darkstar
scripts/zones/Port_Bastok/npcs/Ronan.lua
29
2734
----------------------------------- -- Area: Port Bastok -- NPC: Ronan -- Start & Finishes Quest: Out of One's Shell ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); ...
gpl-3.0
bn7/darkstar
scripts/globals/abilities/building_flourish.lua
26
2762
----------------------------------- -- Ability: Building Flourish -- Enhances potency of your next weapon skill. Requires at least one Finishing Move. -- Obtained: Dancer Level 50 -- Finishing Moves Used: 1-3 -- Recast Time: 00:10 -- Duration: 01:00 -- -- Using one Finishing Move boosts the Accuracy of your next weapon...
gpl-3.0
tommy-qichang/yolo.torch
yoloCriterion/BoxIoU_test.lua
1
3654
require 'torch' require 'nn' require 'cutorch' require 'cunn' require 'BoxIoU' local tests = {} local tester = torch.Tester() function tests.simpleTest() local N, B1, B2 = 1, 1, 1 local boxes1 = torch.Tensor(N, B1, 4) local boxes2 = torch.Tensor(N, B2, 4) boxes1[{1, 1}] = torch.Tensor({10, 10, 10,...
apache-2.0
bn7/darkstar
scripts/globals/spells/aisha_ichi.lua
27
1608
----------------------------------------- -- Spell: Aisha: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
bn7/darkstar
scripts/zones/Batallia_Downs/npcs/qm3.lua
17
1887
----------------------------------- -- Area: Batallia Downs -- NPC: qm3 (???) -- Involved in Mission 9-1 (San dOria) ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scrip...
gpl-3.0
bn7/darkstar
scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua
14
3324
----------------------------------- -- Area: Valkurm Dunes -- NPC: Tsunashige, I.M. -- Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
parsaghx/o
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
bn7/darkstar
scripts/zones/Temenos/mobs/Enhanced_Pugil.lua
23
1034
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Pugil ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------------...
gpl-3.0
tst2005/luarocks
src/luarocks/fs/lua.lua
7
27341
--- Native Lua implementation of filesystem and platform abstractions, -- using LuaFileSystem, LZLib, MD5 and LuaCurl. -- module("luarocks.fs.lua") local fs_lua = {} local fs = require("luarocks.fs") local cfg = require("luarocks.cfg") local dir = require("luarocks.dir") local util = require("luarocks.util") local p...
mit
nulian/InlineAura
libs/DRData-1.0/libs/LibStub/tests/test.lua
86
2013
debugstack = debug.traceback strmatch = string.match loadfile("../LibStub.lua")() local lib, oldMinor = LibStub:NewLibrary("Pants", 1) -- make a new thingy assert(lib) -- should return the library table assert(not oldMinor) -- should not return the old minor, since it didn't exist -- the following is to create data ...
gpl-2.0
bn7/darkstar
scripts/globals/spells/absorb-dex.lua
9
1370
-------------------------------------- -- Spell: Absorb-DEX -- Steals an enemy's dexterity. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
AIOpenLab/nesrl
gym.lua
1
1207
-- AI OpenLab -- Hooks to support synchronous RL experiments using OpenAI's Gym -- author: bgalbraith -- let FCEUX know where the luasocket package exists -- no local in path for Docker version package.path = package.path .. ";/usr/local/share/lua/5.1/?.lua" -- reference to the savestate for reloading -- resets will ...
apache-2.0
Guema/GuemUICastBars
CastBarZ_Media/Libs/AceAddon-3.0/AceAddon-3.0.lua
66
25788
--- **AceAddon-3.0** provides a template for creating addon objects. -- It'll provide you with a set of callback functions that allow you to simplify the loading -- process of your addon.\\ -- Callbacks provided are:\\ -- * **OnInitialize**, which is called directly after the addon is fully loaded. -- * **OnEnable** wh...
unlicense
jhegg/wow-which-bosses-are-left
WhichBossesAreLeft/lib/AceAddon-3.0/AceAddon-3.0.lua
66
25788
--- **AceAddon-3.0** provides a template for creating addon objects. -- It'll provide you with a set of callback functions that allow you to simplify the loading -- process of your addon.\\ -- Callbacks provided are:\\ -- * **OnInitialize**, which is called directly after the addon is fully loaded. -- * **OnEnable** wh...
mit
HuangYuNan/thcsvr
expansions/script/c25129.lua
1
1254
--凭依「喜怒哀乐附体」 function c25129.initial_effect(c) c:SetUniqueOnField(1,1,25129) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(25129,0)) e2:SetCategory(CATEGOR...
gpl-2.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua
16
5581
-------------------------------- -- @module ArmatureAnimation -- @extend ProcessBase -- @parent_module ccs -------------------------------- -- -- @function [parent=#ArmatureAnimation] getSpeedScale -- @param self -- @return float#float ret (return value: float) -------------------------------- -- Play anim...
mit
sarahgerweck/Ace3
CallbackHandler-1.0/CallbackHandler-1.0.lua
2
8949
--[[ $Id$ ]] local MAJOR, MINOR = "CallbackHandler-1.0", 6 local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR) if not CallbackHandler then return end -- No upgrade needed local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end} -- Lua APIs local tconcat = table.concat local assert, error, l...
bsd-3-clause
HuangYuNan/thcsvr
expansions/script/c21470016.lua
1
4804
--妖魔书变化 邪龙 function c21470016.initial_effect(c) --synchro summon c21470016.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x2742),aux.NonTuner(nil),1,aux.Stringid(21470016,1)) c21470016.AddSynchroProcedure(c,nil,aux.NonTuner(aux.FilterBoolFunction(Card.IsSetCard,0x2742)),1,aux.Stringid(21470016,2)) c...
gpl-2.0
KnockSoftware/osrm-backend
profiles/lib/guidance.lua
8
4410
local Tags = require('lib/tags') local Set = require('lib/set') local Guidance = {} -- Guidance: Default Mapping from roads to types/priorities highway_classes = { motorway = road_priority_class.motorway, motorway_link = road_priority_class.link_road, trunk = road_priority_class.trunk, trunk_link = road_prior...
bsd-2-clause
li-wl/kong
kong/plugins/request-size-limiting/handler.lua
6
1373
-- Copyright (C) Mashape, Inc. local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local strip = require("pl.stringx").strip local tonumber = tonumber local MB = 2^20 local RequestSizeLimitingHandler = BasePlugin:extend() RequestSizeLimitingHandler.PRIORITY = 950 ...
apache-2.0
bn7/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Barricade.lua
16
1148
----------------------------------- -- Area: North Gustaberg (S) (I-6) -- NPC: Barricade -- Involved in Quests: The Fighting Fourth ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- ...
gpl-3.0
bn7/darkstar
scripts/zones/Lower_Jeuno/npcs/Chetak.lua
17
1423
----------------------------------- -- Area: Lower Jeuno -- NPC: Chetak -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade ...
gpl-3.0
lagerstrom/urpuppet
modules/awesome/files/awesome_config_old/vicious/widgets/cpufreq.lua
4
1708
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local setmetatable = setmetatable local string = { match = string....
apache-2.0
bn7/darkstar
scripts/zones/Temenos/mobs/Water_Elemental.lua
28
1791
----------------------------------- -- Area: Temenos E T -- NPC: Water_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Bastok/npcs/Rafaela.lua
17
1101
----------------------------------- -- Area: Port Bastok -- NPC: Rafaela -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrade Action -----------------------------...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/base/luasrc/controller/admin/servicectl.lua
76
1376
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- mo...
gpl-2.0