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
Lsty/ygopro-scripts
c50074392.lua
5
2261
--霊水鳥シレーヌ・オルカ function c50074392.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c50074392.spcon) e1:SetValue(1) c:RegisterEffect(e1) --lv local ...
gpl-2.0
ThingMesh/openwrt-luci
libs/lucid-http/luasrc/lucid/http/server.lua
50
14678
--[[ LuCId HTTP-Slave (c) 2009 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.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local ipairs, pairs =...
apache-2.0
sdgathman/cjdns
contrib/lua/cjdns/udp.lua
52
2682
-- Cjdns admin module for Lua -- Written by Philip Horger common = require 'cjdns/common' UDPInterface = {} UDPInterface.__index = UDPInterface common.UDPInterface = UDPInterface function UDPInterface.new(ai, config, ptype) properties = { ai = ai, config = config or ai.config, ptype ...
gpl-3.0
MalRD/darkstar
scripts/zones/Davoi/npcs/_45d.lua
9
1052
----------------------------------- -- Area: Davoi -- NPC: Wall of Banishing -- Used In Quest: Whence Blows the Wind -- !pos 181 0.1 -218 149 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); local ID = require("scripts/zone...
gpl-3.0
pyridiss/devilsai
data/quest/1-KillStolas.lua
1
1634
--[[ Quest "First Demon" (birnam:demon) Steps: 1 - Texts are displayed. 2 - The player must kill Stolas. 3 - The player must talk to Fluellen. The next quest is launched. ]] -- global section -- -------------- player_ptr = 0 stolas_ptr = 0 fluellen_ptr = 0 questStep = "0" -- functions -- --------- functio...
gpl-3.0
gallenmu/MoonGen
libmoon/lua/proto/template.lua
4
3550
local fill local get local getString local resolveNextHeader local setDefaultNamedArgs local getVariableLength local getSubType --- Initialize a new header structure. --- Adds automatic generated set/get/getString for all members --- Works for uint8_t, uint16_t and uint32_t --- For all other types the created functio...
mit
CommandPost/CommandPost-App
extensions/base64/base64.lua
4
1408
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.libbase64") -- private variables and methods ----------------------------------------- -- Public interface -----------------------------------------------...
mit
MalRD/darkstar
scripts/globals/mobskills/wire_cutter.lua
11
1222
--------------------------------------------------- -- Wire_Cutter -- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows. -- --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") ----------------...
gpl-3.0
cshore-firmware/openwrt-luci
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
22
6871
-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local has_ipv6 = fs.access("/proc/net/ipv6_route") m = Map("ocserv", translate("OpenConnect VPN")) s = m:section(TypedSection, "ocserv", "OpenConnect") s.ano...
apache-2.0
mohammad25253/new43
plugins/Expire.lua
47
1782
local filename='data/expire.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
LeMagnesium/minetest-mod-gravity_items
init.lua
1
4865
-- Gravity items -- Little mod ßý Mg -- License : WTFPL gravity_items = {} gravity_items.data = {} gravity_items.p_override = {} function movement_loop(player) local ctrls = player:get_player_control() if ctrls.jump then local v = (player:getvelocity() or {x = 0, z = 0}) player:setvelocity({x = v.x, y = 10, z ...
gpl-3.0
Lsty/ygopro-scripts
c81873903.lua
7
1031
--エヴォルド・ウェストロ function c81873903.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81873903,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FLIP+EFFECT_TYPE_SINGLE) e1:SetTarget(c81873903.target) e1:SetOperation(c81873903.operation) c:RegisterEffect(e1)...
gpl-2.0
MalRD/darkstar
scripts/globals/items/pogaca_+1.lua
11
1131
----------------------------------------- -- ID: 5638 -- Item: pogaca_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Lizard Killer +12 -- Resist Paralyze +12 -- HP Recovered While Healing 6 -- MP Recovered While Healing 6 ----------------------------------------- require("scripts/global...
gpl-3.0
sagarwaghmare69/nn
VolumetricAveragePooling.lua
19
1404
local VolumetricAveragePooling, parent = torch.class( 'nn.VolumetricAveragePooling', 'nn.Module') function VolumetricAveragePooling:__init(kT, kW, kH, dT, dW, dH) parent.__init(self) dT = dT or kT dW = dW or kW dH = dH or kH self.kT = kT self.kH = kH self.kW = kW self.dT = dT self.dW = ...
bsd-3-clause
Lsty/ygopro-scripts
c95448692.lua
5
1760
--ダメージ・ダイエット function c95448692.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetOperation(c95448692.activate) c:RegisterEffect(e1) --effect damage local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetCode(EVENT_F...
gpl-2.0
tryroach/vlc
share/lua/intf/http.lua
64
10445
--[==========================================================================[ http.lua: HTTP interface module for VLC --[==========================================================================[ Copyright (C) 2007-2009 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
MalRD/darkstar
scripts/mixins/families/hpemde.lua
9
3077
require("scripts/globals/mixins") require("scripts/globals/status") ----------------------------------- g_mixins = g_mixins or {} g_mixins.families = g_mixins.families or {} local function dive(mob) mob:hideName(true) mob:untargetable(true) mob:SetAutoAttackEnabled(false) mob:SetMobAbilityEnabled(fals...
gpl-3.0
Lsty/ygopro-scripts
c99173029.lua
3
1600
--霊子エネルギー固定装置 function c99173029.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --spirit do not return local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_SPIRIT_DONOT_RETURN) e2:SetRan...
gpl-2.0
Aaa1r/DRAGON
plugins/addreplay.lua
10
2669
--[[ BY-@Sadik_alknani10 BY_CH : @KINGTELE1 ]] local function get_variables_hash(msg) if msg.to.type == 'chat' or msg.to.type == 'channel' then return 'chat:bot:variables' end end local function get_value(msg, var_name) local hash = get_variables_hash(msg) if hash then local value = redis:hget(hash, ...
gpl-2.0
MalRD/darkstar
scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua
9
1653
----------------------------------- -- Rank 2 Mission -- Waughroon Shrine mission battlefield -- !pos -345 104 -260 144 ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") -----------------...
gpl-3.0
Lsty/ygopro-scripts
c75043725.lua
9
1291
--冥界の使者 function c75043725.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75043725,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c75043725.condition) e1:SetTarget(c750...
gpl-2.0
Lsty/ygopro-scripts
c91559748.lua
3
1212
--棘の妖精 function c91559748.initial_effect(c) --change position local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(91559748,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_DAMAGE_STEP_END) e1:SetCondition(c91559748.cpcon) e1:SetTarget(c915597...
gpl-2.0
mati865/vlc
share/lua/playlist/googlevideo.lua
113
2746
--[[ $Id$ Copyright © 2007 the VideoLAN team 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 option) any later version. This program is distribut...
gpl-2.0
Lsty/ygopro-scripts
c98358303.lua
5
2550
--静寂のサイコウィッチ function c98358303.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(98358303,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c98358303...
gpl-2.0
Frenzie/koreader
spec/unit/persist_spec.lua
4
4690
describe("Persist module", function() local Persist local sample local bitserInstance, luajitInstance, zstdInstance, dumpInstance, serpentInstance local fail = { a = function() end, } local function arrayOf(n) assert(type(n) == "number", "wrong type (expected number)") local t = {} ...
agpl-3.0
Xasin/TRRIAN
LUA/FactorioLayout/piecelist.lua
1
4277
require "piece" deltaplus = 0; deltaminus = 0; local cWinner = nil; local cHeur = 1000000000000; winnerT = os.time(); newWinner = false; -- Search through a piece-list and get the best piece-list function get_best_piece(self) local bestHeu = 10000000000000; local bestV = nil; for k,v in pairs(self) do i...
gpl-3.0
GovanifY/Polycode
Examples/Lua/Game_Demos/DemoPlatformer/Scripts/Main.lua
10
2640
require "Scripts/Player" require "Scripts/Alien" music = Sound("Resources/music/level1.ogg") music:Play(true) Services.MaterialManager.premultiplyAlphaOnLoad = true scene = PhysicsScene2D(1.0, 60) scene:setGravity(Vector2(0.0, -30.0)) scene:getDefaultCamera():setOrthoSize(0, 14) level = SceneEntityInstance(scene,...
mit
MalRD/darkstar
scripts/globals/mobskills/final_sting.lua
10
1275
--------------------------------------------- -- Final Sting -- -- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP. -- Type: Physical (Slashing) -- -- --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") req...
gpl-3.0
MalRD/darkstar
scripts/zones/AlTaieu/npcs/qm1.lua
12
1121
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Hope Spawn) -- Allows players to spawn the Jailer of Hope by trading the First Virtue, Deed of Placidity and HQ Phuabo Organ to a ???. -- !pos -693 -1 -62 33 ----------------------------------- local ID = require("scripts/zones/AlTaieu/IDs");...
gpl-3.0
morfeo642/mta_plr_server
module/protocol/net/client.lua
1
6335
--[[! \file \brief Es un módulo con utilidades para el paso de mensaje cliente/servidor. \code -- Registrar un método para que pueda ser invocado por el servidor remotamente. function __client.sayHello() outputChatBox("Hallo!"); end; -- Permitir que el servidor pueda ejecutar todas las funciones del cliente...
mit
SmartArduino/nodemcu-firmware
lua_modules/http/http-example.lua
88
1377
------------------------------------------------------------------------------ -- HTTP server Hello world example -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> ------------------------------------------------------------------------------ require("http").createServer(80, ...
mit
MalRD/darkstar
scripts/zones/Ranguemont_Pass/npcs/Waters_of_Oblivion.lua
9
1460
----------------------------------- -- Area: Ranguemont Pass -- NPC: Waters of Oblivion -- Finish Quest: Painful Memory (BARD AF1) -- !pos -284 -45 210 166 ----------------------------------- local ID = require("scripts/zones/Ranguemont_Pass/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/npc_util...
gpl-3.0
MalRD/darkstar
scripts/globals/items/slice_of_roast_mutton.lua
11
1089
----------------------------------------- -- ID: 4437 -- Item: slice_of_roast_mutton -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 ----------------------------------------- require("scripts/globals/status") require("scripts/g...
gpl-3.0
Lsty/ygopro-scripts
c5929801.lua
3
2660
--RR-ファジー・レイニアス function c5929801.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,5929801) e1:SetCondition(c5929801.spcon) e1:SetCost(c5929801.cost) e1:SetTarget(c5929801.sptg) e...
gpl-2.0
Lsty/ygopro-scripts
c34815282.lua
5
2357
--ミニチュアライズ function c34815282.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP,TIMING_DAMAGE_STEP+0x1c0) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)...
gpl-2.0
sagarwaghmare69/nn
Add.lua
61
1699
local Add, parent = torch.class('nn.Add', 'nn.Module') function Add:__init(inputSize,scalar) parent.__init(self) local size = inputSize if scalar then size=1 end self.scalar = scalar self.bias = torch.Tensor(size) self.gradBias = torch.Tensor(size) self._ones = torch.Tensor{1} self:rese...
bsd-3-clause
T-L-N/Dev_TLN
plugins/teqrar.lua
1
7598
--[[ _____ _ _ _ _____ Dev @lIMyIl |_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il | |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a | |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22 |_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI --]] kicktable = {} do local TIME_CH...
gpl-2.0
tryroach/vlc
share/lua/intf/luac.lua
116
2333
--[==========================================================================[ luac.lua: lua compilation module for VLC (duplicates luac) --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org>...
gpl-2.0
mikhail-angelov/vlc
share/lua/intf/luac.lua
116
2333
--[==========================================================================[ luac.lua: lua compilation module for VLC (duplicates luac) --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org>...
gpl-2.0
MalRD/darkstar
scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua
9
7135
----------------------------------- -- Area: Aydeewa Subterrane -- ZNM: Pandemonium Warden ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); local ID = require("scripts/zones/Aydeewa_Subterrane/IDs"); -- Pet Arrays, we'll altern...
gpl-3.0
MalRD/darkstar
scripts/globals/items/rice_ball.lua
11
1117
----------------------------------------- -- ID: 4405 -- Item: Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10, -- Vit +2 -- Dex -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Def +50 ------------------------------------...
gpl-3.0
maxrio/luci981213
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua
68
2884
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true res_config_mysql = module:opt...
apache-2.0
neverlose1/sickmind
plugins/persian_lang.lua
20
25826
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
Lsty/ygopro-scripts
c2980764.lua
7
1130
--聖なるあかり function c2980764.initial_effect(c) --battle local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE) e1:SetValue(c2980764.tglimit) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) ...
gpl-2.0
Lsty/ygopro-scripts
c99795159.lua
3
1302
--ゴーストリック・ハウス function c99795159.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atklimit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e2:SetRange(L...
gpl-2.0
Lsty/ygopro-scripts
c84962466.lua
5
3210
--ビーストライザー function c84962466.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetTarget(c84962466.target1) e1:SetOperation(c84962466.operation) c:RegisterEf...
gpl-2.0
tarulas/luadch
core/scripts.lua
1
7408
--[[ scripts.lua by blastbeat - this script manages custom user scripts ]]-- ----------------------------------// DECLARATION //-- --// lua functions //-- local type = use "type" local error = use "error" local pairs = use "pairs" local pcall = use "pcall" local ipairs = use "ipair...
gpl-3.0
Lsty/ygopro-scripts
c80551130.lua
3
2185
--奇跡の光臨 function c80551130.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c80551130.target) e1:SetOperati...
gpl-2.0
carloseduardosx/sky-force-infinite
src/events/collision.lua
1
4198
local shipAction = require( "src.objects.ship" ) local composer = require( "composer" ) local record = require( "src.model.record" ) local particleDesigner = require( "src.util.particleDesigner" ) local Event = {} function playExplosion( application, obj ) local explosionEmitter = particleDesigner.newEmitter( "ass...
apache-2.0
Lsty/ygopro-scripts
c71466592.lua
3
1310
--魔力吸収球体 function c71466592.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71466592,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c71466592.condition) e1:SetC...
gpl-2.0
Frenzie/koreader
frontend/ui/widget/physicalkeyboard.lua
4
5277
local Blitbuffer = require("ffi/blitbuffer") local BottomContainer = require("ui/widget/container/bottomcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local Device = require("device") local Font = require("ui/font") local FrameContainer = require("ui/widget/container/framecontainer")...
agpl-3.0
MalRD/darkstar
scripts/globals/spells/valor_minuet_iv.lua
10
1569
----------------------------------------- -- Spell: Valor Minuet IV -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 e...
gpl-3.0
T-L-N/Dev_TLN
plugins/reply.lua
1
13115
-- made by { @llN00Nll } do ws = {} rs = {} -- some examples of how to use this :3 ws[1] = "معليك" rs[1] = " شلون معليه ؟ 😒 اني #الرئاسه تآج راسك 🤖🍷 يلا كول شبيك 😂📝 " ws[2] = "اريد قناة" rs[2] = " @Dev_TLN 😌 " ws[3] = "نجب" rs[3] = " شنو هذا يا خرا 😒 انت/ي انجب/ي يا ادب سز 🤖🍷 " ws[4] = "ت...
gpl-2.0
ThingMesh/openwrt-luci
applications/luci-qos/luasrc/model/cbi/qos/qos.lua
28
2629
--[[ LuCI - Lua Configuration Interface Copyright 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.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
6
20307
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.ip") require("luci.model.uci") local knownParams = { -- -- Widget Name Default(s) Description Option(s) -- { "Service", { -- initialisation and daemon options { List...
apache-2.0
Lsty/ygopro-scripts
c55046718.lua
7
2646
--ヴァイロン・コンポーネント function c55046718.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(c55046718.target) e1:SetOperation(c55046718.operation) c:RegisterEffe...
gpl-2.0
Lsty/ygopro-scripts
c5728014.lua
5
1502
--ライバル登場! function c5728014.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c5728014.target) e1:SetOperation(c5728014.activate) c:RegisterEffec...
gpl-2.0
Lsty/ygopro-scripts
c55935416.lua
6
1252
--No.56 ゴールドラット function c55935416.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,3) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55935416,0)) e1:SetCategory(CATEGORY_DRAW+CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) ...
gpl-2.0
MalRD/darkstar
scripts/zones/RuLude_Gardens/npcs/Pherimociel.lua
9
2711
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Pherimociel -- Involved in mission: COP 1-2 -- !pos -31.627 1.002 67.956 243 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(pla...
gpl-3.0
tryroach/vlc
share/lua/meta/fetcher/tvrage.lua
66
2629
--[[ Gets metas for tv episode using tvrage. $Id$ Copyright © 2010 the VideoLAN team 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 option) any l...
gpl-2.0
chu11/flux-core
src/bindings/lua/Test/Builder/Tester.lua
8
3207
-- -- lua-TestMore : <http://fperrad.github.com/lua-TestMore/> -- local error = error local pairs = pairs local tostring = tostring local type = type local _G = _G local debug = require 'debug' local tb = require 'Test.Builder'.new() local out = require 'Test.Builder.Tester.File'.new 'out' local err = require 'Test...
lgpl-3.0
imebeh/openwrt-packages
net/mwan3-luci/files/usr/lib/lua/luci/controller/mwan3.lua
36
10850
module("luci.controller.mwan3", package.seeall) sys = require "luci.sys" ut = require "luci.util" function index() if not nixio.fs.access("/etc/config/mwan3") then return end entry({"admin", "network", "mwan"}, alias("admin", "network", "mwan", "overview"), _("Load Balancing"), 600) entry({"admin", "netwo...
gpl-2.0
Lsty/ygopro-scripts
c8649148.lua
3
1247
--ディープ・スィーパー function c8649148.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8649148,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c8649148.cost) e1:SetTarget(c864...
gpl-2.0
MalRD/darkstar
scripts/zones/Castle_Zvahl_Keep/Zone.lua
12
2910
----------------------------------- -- -- Zone: Castle_Zvahl_Keep (162) -- ----------------------------------- local ID = require("scripts/zones/Castle_Zvahl_Keep/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") ----------------------------------- function onInitialize(zone) zone:regis...
gpl-3.0
cleytonk/globalfull
data/migrations/13.lua
58
2963
function onUpdateDatabase() print("> Updating database to version 14 (account_bans, ip_bans and player_bans)") db.query("CREATE TABLE IF NOT EXISTS `account_bans` (`account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT...
gpl-2.0
zhaozg/lit
deps/coro-websocket.lua
2
4331
--[[lit-meta name = "creationix/coro-websocket" version = "3.1.1" dependencies = { "luvit/http-codec@3.0.0", "creationix/websocket-codec@3.0.0", "creationix/coro-net@3.3.0", } homepage = "https://github.com/luvit/lit/blob/master/deps/coro-websocket.lua" description = "Websocket helpers assuming ...
apache-2.0
cleytonk/globalfull
data/actions/scripts/other/fluids.lua
5
2573
local drunk = Condition(CONDITION_DRUNK) drunk:setParameter(CONDITION_PARAM_TICKS, 60000) local poison = Condition(CONDITION_POISON) poison:setParameter(CONDITION_PARAM_DELAYED, true) poison:setParameter(CONDITION_PARAM_MINVALUE, -50) poison:setParameter(CONDITION_PARAM_MAXVALUE, -120) poison:setParameter(CONDITION_PA...
gpl-2.0
Lsty/ygopro-scripts
c16960351.lua
5
1954
--幻界突破 function c16960351.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(16960351,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EF...
gpl-2.0
sagarwaghmare69/nn
MapTable.lua
4
2475
local MapTable, parent = torch.class('nn.MapTable', 'nn.Container') function MapTable:__init(module, shared) parent.__init(self) self.shared = shared or {'weight', 'bias', 'gradWeight', 'gradBias'} self.output = {} self.gradInput = {} self:add(module) end function MapTable:_extend(n) self.modules[1]...
bsd-3-clause
elant/cardpeek
dot_cardpeek_dir/scripts/calypso/c250n921.lua
17
5797
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009 by 'L1L1' and 2013-2014 by 'kalon33' -- -- Cardpeek 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 3 of...
gpl-3.0
morfeo642/mta_plr_server
hedit/client/gui/guimanager.lua
1
20419
--[[ guiCreateID ( element gui, string id ) guiGetElementFromID ( string id ) guiGetElementParent ( element gui ) guiGetElementInputType ( element gui ) -- Only for menu items! guiGetElementProperty ( element gui ) -- Only for config menu items! guiGetElementInfo ( element gui ) guiGetE...
mit
Lsty/ygopro-scripts
c21219755.lua
3
1194
--破壊指輪 function c21219755.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c21219755.target) e1:SetOperation(c21219755.activate) c:Regi...
gpl-2.0
Lsty/ygopro-scripts
c84117021.lua
3
3239
--魔力隔壁 function c84117021.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c84117021.target) e1:SetOperation(c84117021.activate) c:RegisterEffect(e1) end function c84117021.filter(c) return c:IsFaceup() and c:IsRace(RACE_SPEL...
gpl-2.0
openwrt/luci
applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
10
9479
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local uci = require("luci.model.uci").cursor() local util = require("luci.util") local res_input = "/usr/share/dnscrypt-proxy/dnscrypt-resolver...
apache-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria/npcs/Pourette.lua
11
1337
----------------------------------- -- Area: Southern San d'Oria -- NPC: Pourette -- Derfland Regional Merchant ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs") require("scripts/globals/events/harvest_festivals") require("scripts/globals/conquest") require("scripts/globals...
gpl-3.0
cshore-firmware/openwrt-luci
modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
7
10712
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.network", package.seeall) function index() local uci = require("luci.model.uci").cursor() local page page = node("admin...
apache-2.0
vadi2/Mudlet
src/mudlet-lua/lua/geyser/GeyserMapper.lua
5
3939
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- createMapper support by Vadi -- -- -- -------------------------------------- --- Represents a mapper primitive -- @class table -- @name Geyser.Mapper -- @field wrapAt Where line wrapping occurs. Default is 300 characters. Geyser.Map...
gpl-2.0
Lsty/ygopro-scripts
c23118924.lua
3
1779
--エレメント・デビル function c23118924.initial_effect(c) --disable local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLED) e1:SetCondition(c23118924.discon) e1:SetOperation(c23118924.disop) c:RegisterEffect(e1) --chain attack local e2=Effect.CreateEffect(c) e2:S...
gpl-2.0
Lsty/ygopro-scripts
c73285669.lua
3
1500
--剣闘獣エセダリ function c73285669.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsSetCard,0x19),2,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE...
gpl-2.0
Lsty/ygopro-scripts
c62782218.lua
3
2605
--スカル・コンダクター function c62782218.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(62782218,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCode(EVENT_PHASE+PHASE_BATTLE) e1:Se...
gpl-2.0
Lsty/ygopro-scripts
c64161630.lua
5
2139
--パージ・レイ function c64161630.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c64161630.cost) e1:SetTarget(c64161630.target) e1:SetOperation(c64161630.activate) c:RegisterEffect(e1) end f...
gpl-2.0
Lsty/ygopro-scripts
c74440055.lua
3
1138
--サボウ・ファイター function c74440055.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74440055,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCondition(c74440055.condition) e1:S...
gpl-2.0
Lsty/ygopro-scripts
c39897277.lua
3
1663
--エルフの光 function c39897277.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(c39897277.target) e1:SetOperation(c39897277.operation) c:RegisterEffect(e1) ...
gpl-2.0
GovanifY/Polycode
Examples/Lua/Graphics/SceneEntities/Scripts/ScreenEntities.lua
10
1052
-- -- This example demonstrates entity hierarchy by simulating a simple solar system. -- Since entity transformations are always relative to the entity's parent -- so the moon's rotation takes places around the planet, which is its parent. -- scene = Scene(Scene.SCENE_2D) sun = ScenePrimitive(ScenePrimitive.TYPE_CIRC...
mit
maxrio/luci981213
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-voice.lua
68
1280
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") voicegeneral = cbimap:section(TypedSection, "voicegeneral", "Voicemail general options", "") serveremail = voicegene...
apache-2.0
Lsty/ygopro-scripts
c38109772.lua
3
1883
--竜の騎士 function c38109772.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38109772,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetCondition(c38109772.condition) ...
gpl-2.0
Lsty/ygopro-scripts
c72167543.lua
9
1119
--ダウナード・マジシャン function c72167543.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),4,2,c72167543.ovfilter,aux.Stringid(72167543,0)) c:EnableReviveLimit() --pierce local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_PIERCE) c:Re...
gpl-2.0
maxrio/luci981213
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua
62
2782
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ipc = require "luci.ip" local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map("...
apache-2.0
Lsty/ygopro-scripts
c20785975.lua
5
2911
--CNo.103 神葬零嬢ラグナ・インフィニティ function c20785975.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,5,3) c:EnableReviveLimit() -- local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20785975,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_C...
gpl-2.0
Lsty/ygopro-scripts
c3758046.lua
3
2949
--DDD怒濤王シーザー function c3758046.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FIEND),4,2) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:S...
gpl-2.0
Lsty/ygopro-scripts
c14291024.lua
3
2772
--オプション function c14291024.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c14291024.spcon) c:Regi...
gpl-2.0
intel2TM/intel
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
mohammad25253/new43
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
hafez16/-Assassin-
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
Attractive1/Attractive-Robot
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
moody2020/TH3_BOSS
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
MalRD/darkstar
scripts/commands/spawnmob.lua
22
1221
--------------------------------------------------------------------------------------------------- -- func: spawnmob -- desc: Spawns a mob. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "iii" }; function error(pla...
gpl-3.0
sagarwaghmare69/nn
VolumetricMaxPooling.lua
9
2555
local VolumetricMaxPooling, parent = torch.class('nn.VolumetricMaxPooling', 'nn.Module') VolumetricMaxPooling.__version = 2 function VolumetricMaxPooling:__init(kT, kW, kH, dT, dW, dH, padT, padW, padH) parent.__init(self) dT = dT or kT dW = dW or kW dH = dH or kH self.kT = kT self.kH = kH self...
bsd-3-clause
Lsty/ygopro-scripts
c62161698.lua
3
1904
--イリュージョン・バルーン function c62161698.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c62161698.condition) e1:SetTarget(c62161698.target) e1:SetOperation(c62161698.operation) c:Registe...
gpl-2.0
Lsty/ygopro-scripts
c13846680.lua
3
1087
--ヘルプロミネンス function c13846680.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(13846680,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c13846680.condition) e1:SetTarget(c138466...
gpl-2.0