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
FailcoderAddons/SVUI
SVUI_UnitFrames/class_resources/rogue.lua
1
4433
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.se...
mit
Pandafuchs/iLife
shared/utility/cWortFilter.lua
2
3693
-- ####################################### -- ## Project: iLife ## -- ## For MTA: San Andreas ## -- ## Name: cWortFilter.lua ## -- ## Author: Noneatme(Gunvarrel) ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### cWortFilter = inherit(cSinglet...
mit
nekrozar/ygopro-scripts
c52068432.lua
1
3370
--トリシューラの影霊衣 function c52068432.initial_effect(c) c:EnableReviveLimit() --cannot special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.ritlimit) c:RegisterEffect(e1) -...
gpl-2.0
nekrozar/ygopro-scripts
c20343502.lua
1
2899
--ティーチャーマドルチェ・グラスフレ function c20343502.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x71),4,2) c:EnableReviveLimit() --immune local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20343502,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1...
gpl-2.0
Pandafuchs/iLife
client/Guis/Quest/questconversation.lua
2
4813
CQuestDialog = {} function CQuestDialog:constructor() self.Window = new(CDxWindow, "Quest Dialog", 755, 600, true, true, "Center|Middle") self.Window:setHideFunction( function() self.Window:hide() self.enabled = false; end ) self.dxList = new(CDxList, 10, 20, 320, 530, tocolor(125,125,125,200), self....
mit
PAC3-Server/notagain
lua/notagain/essential/autorun/client/browser.lua
3
4048
gui.oldOpenURL = gui.oldOpenURL or gui.OpenURL local browser = { History = {}, HistoryPos = 0, HistoryMove = false, Init = function(self) self:SetSize(ScrW()-100,ScrH()-100) self:SetPos(ScrW()/2 - self:GetWide()/2,ScrH()/2 - self:GetTall()/2) self:SetTitle("In-Game Browser") ...
gpl-3.0
nekrozar/ygopro-scripts
c114932.lua
7
1214
--プレートクラッシャー function c114932.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(114932,0)) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(2) e1:SetCost(c114932.desco...
gpl-2.0
Audumla/audiot-nodemcu-firmware
examples/fragment.lua
55
19918
pwm.setup(0,500,50) pwm.setup(1,500,50) pwm.setup(2,500,50) pwm.start(0) pwm.start(1) pwm.start(2) function led(r,g,b) pwm.setduty(0,g) pwm.setduty(1,b) pwm.setduty(2,r) end wifi.sta.autoconnect(1) a=0 tmr.alarm( 1000,1,function() if a==0 then a=1 led(50,50,50) else a=0 led(0,0,0) end end) sv:on("receive", function(s,...
mit
asmantarik/LARABOT
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
disslove85/NOVA2-BOT
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
creationix/luv-weblit
static.lua
1
1693
local getType = require("mime").getType local jsonStringify = require('json').stringify local makeChroot = require('coro-fs').chroot return function (rootPath) local fs = makeChroot(rootPath) return function (req, res, go) if req.method ~= "GET" then return go() end local path = (req.params and req.par...
mit
Domderon/spice-minions
libs/cupid.lua
4
35143
----------------------------------------------------- -- (C) Robert Blancakert 2012 -- Available under the same license as Love ----------------------------------------------------- ----------------------------------------------------- -- Cupid Configuration ----------------------------------------------------- loca...
mit
nekrozar/ygopro-scripts
c13923256.lua
1
3314
--戦華の妙-魯敬 function c13923256.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(13923256,0)) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,13923256) ...
gpl-2.0
ivonxiao/viaview
luci/AP/controller/system.lua
1
11372
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-2011 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 htt...
gpl-2.0
mihailim/koreader
frontend/apps/filemanager/filemanager.lua
1
40940
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local Button = require("ui/widget/button") local ButtonDialogTitle = require("ui/widget/buttondialogtitle") local CenterContainer = require("ui/widget/container/centercontainer") local ConfirmBox = require("ui/widget/confirmbox") local Device = ...
agpl-3.0
linearregression/fbcunn
test/test_ClassHierarchicalNLLCriterion.lua
8
14030
-- Copyright 2004-present Facebook. All Rights Reserved. -- Train simple 1 hidden layer neural net on MNIST using the hierarchical -- softmax layer (with the option to test also the regular flat softmax as well) require('fb.luaunit') local torch = require('fbtorch') require('nn') require('fbcunn') require('os') torch....
bsd-3-clause
jsitnicki/rushit
vendor/github.com/justincormack/ljsyscall/test/netbsd.lua
5
9658
-- BSD specific tests local function init(S) local helpers = require "test.helpers" local types = S.types local c = S.c local abi = S.abi local features = S.features local util = S.util local bit = require "syscall.bit" local ffi = require "ffi" local t, pt, s = types.t, types.pt, types.s local assert = helpers.as...
apache-2.0
ETegro/OpenSAN
feeds/luci/libs/lucid-rpc/luasrc/lucid/rpc/server.lua
52
8197
--[[ LuCI - Lua Development Framework Copyright 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 ip...
gpl-3.0
nekrozar/ygopro-scripts
c48964966.lua
2
3398
--アテナ function c48964966.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48964966,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCost(c48...
gpl-2.0
nekrozar/ygopro-scripts
c16024176.lua
2
2975
--花札衛-松に鶴- function c16024176.initial_effect(c) c:EnableReviveLimit() --spsummon from hand local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_HAND) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetCondition(c16024176.hspcon) e1:SetOperation(c16024176...
gpl-2.0
Lusito/premake
tests/base/test_override.lua
18
1484
-- -- tests/base/test_override.lua -- Verify function override support. -- Copyright (c) 2012 Jason Perkins and the Premake project -- T.premake_override = {} local suite = T.premake_override -- -- Setup -- local X = {} function suite.setup() X.testfunc = function(value) return value or "testfunc" end ...
bsd-3-clause
nekrozar/ygopro-scripts
c7925734.lua
3
1599
--リンクアップル function c7925734.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7925734,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,7925734) e1:SetCost(c7925...
gpl-2.0
nekrozar/ygopro-scripts
c9047460.lua
2
2593
--BF-隠れ蓑のスチーム function c9047460.initial_effect(c) --token local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(9047460,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_LEAVE_FIELD) e1:SetCondition(c9047460.tkcon) e1:SetTar...
gpl-2.0
xuejian1354/attitude_adjustment
feeds/luci/applications/luci-statistics/luasrc/statistics/rrdtool.lua
69
15320
--[[ Luci statistics - rrdtool interface library / diagram model interpreter (c) 2008 Freifunk Leipzig / 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 ...
gpl-2.0
nekrozar/ygopro-scripts
c64063868.lua
6
3208
--Kozmo-ダークエクリプサー function c64063868.initial_effect(c) --cannot be targeted local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetValue(aux.tgoval) c:RegisterEffect(e1) --negate activa...
gpl-2.0
nekrozar/ygopro-scripts
c84673417.lua
2
2906
--トワイライトロード・ジェネラル ジェイン function c84673417.initial_effect(c) --reduce atk local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(84673417,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCo...
gpl-2.0
modhunter/NerdPack
rotations/paladin/retribution.lua
1
15033
local Survival={ {'Lay on Hands', 'player.health<=20'}, --{'Flash of Light', 'player.health<=40'}, } local Interupts={ {'Rebuke'} } local Keybinds={ {'%pause', 'keybind(alt)'}, } local Cooldowns={ --actions+=/potion,name=deadly_grace,if=(buff.bloodlust.react|buff.avenging_wrath.up|buff.crusade.up|target.time_to...
mit
calorie/game01
scripts/scenes/MenuScene.lua
1
1649
local MenuScene = class("MenuScene", function() return display.newScene("MenuScene") end) function MenuScene:ctor() self.bg = display.newSprite("#MenuSceneBg.png", display.cx, display.cy) self:addChild(self.bg) -- create menu local BubbleButton = require("views.BubbleButton") self.moreGamesBu...
mit
PAC3-Server/notagain
lua/notagain/essential/autorun/dump_flags.lua
2
1851
local function get_flags(what) local tbl = {} for k,v in pairs(_G) do if type(k) == "string" and type(v) == "number" and k:StartWith(what) then table.insert(tbl, {k = k, v = v}) end end table.sort(tbl, function(a, b) return a.k > b.k end) return tbl end local found = {} local function print_flags(ent, f...
gpl-3.0
yuhangwang/luabuild
modules/luasocket/src/mbox.lua
4
2699
local Public = {} mbox = Public function Public.split_message(message_s) local message = {} message_s = string.gsub(message_s, "\r\n", "\n") string.gsub(message_s, "^(.-\n)\n", function (h) message.headers = h end) string.gsub(message_s, "^.-\n\n(.*)", function (b) message.body = b end) if not mes...
mit
githubmereza/rezaj
plugins/chat.lua
28
1195
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return "و علی...
gpl-2.0
FailcoderAddons/SVUI
SVUI_ActionBars/components/keybind.lua
1
19509
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local select = _G.select; local pairs = _G.pairs...
mit
MegadreamsBE/BlueBird
BB_Maps/maps/race-shooter/[SHOOTER]Megadreams-ft-Creed-ParadiseShooterIII/clientShooting.lua
1
1039
-- This script is created by MegaDreams for [FUN] MegaDreams ft. CreeD - Paradise Shooter III, Don't even think about stealing it. local shootingAllowed = true function playerSpawn() shootingAllowed = true end addEventHandler("onClientPlayerSpawn", getLocalPlayer(), playerSpawn) function unlock() shootingAllowed =...
mit
vlc-mirror/vlc-2.1
share/lua/meta/fetcher/tvrage.lua
48
2571
--[[ 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...
lgpl-2.1
nekrozar/ygopro-scripts
c74798297.lua
3
2660
--不知火流 才華の陣 function c74798297.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:SetCountLimit(1,74798297) e1:SetTarget(c74798297.target) e1:SetOperation(c74798297.activate) c:RegisterEffect(e1) ...
gpl-2.0
nekrozar/ygopro-scripts
c92773018.lua
2
1876
--サイバネティック・ヒドゥン・テクノロジー function c92773018.initial_effect(c) --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(92773018,0)) e2:SetCategory(CATEGORY_DESTROY) e2:Se...
gpl-2.0
amooma/GS5
misc/freeswitch/scripts/dialplan/callthrough.lua
2
5099
-- CommonModule: Callthrough -- module(...,package.seeall) Callthrough = {} -- Create Callthrough object function Callthrough.new(self, arg) arg = arg or {} object = arg.object or {} setmetatable(object, self) self.__index = self self.log = arg.log self.database = arg.database self.record = arg.record ...
mit
Lusito/premake
src/tools/gcc.lua
1
6610
-- -- gcc.lua -- Provides GCC-specific configuration strings. -- Copyright (c) 2002-2013 Jason Perkins and the Premake project -- premake.tools.gcc = {} local gcc = premake.tools.gcc local project = premake.project local config = premake.config -- -- GCC flags for specific systems and architectures. -- gcc.sys...
bsd-3-clause
dtaht/cerowrt-luci-3.3
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdiface.lua
30
5877
--[[ 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$ ]]-- f...
apache-2.0
Alkorin/nodemcu-firmware
lua_examples/email/read_email_imap.lua
82
4543
--- -- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc -- @author Miguel (AllAboutEE.com) -- @description This example will read the first email in your inbox using IMAP and -- display it through serial. The email server must provided unecrypted access. The code -- was tested with an AOL and Time Warner c...
mit
nekrozar/ygopro-scripts
c7841921.lua
2
2070
--疾走の暗黒騎士ガイア function c7841921.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7841921,0)) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c7841921.ntcon) c:R...
gpl-2.0
nekrozar/ygopro-scripts
c5795882.lua
1
2360
--ヴァンパイアの領域 function c5795882.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --extra summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(5795882,0)) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(L...
gpl-2.0
nekrozar/ygopro-scripts
c63612442.lua
4
2858
--X-セイバー ソウザ function c63612442.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x100d),1) c:EnableReviveLimit() --get effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(63612442,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:...
gpl-2.0
Pandafuchs/iLife
client/Quests/Quests.lua
2
6354
Quests = {} QuestRewards = {} QuestPeds = {} PlayerActiveQuests = {} PlayerFinishedQuests = {} addEvent("onClientRecieveQuestData", true) addEventHandler("onClientRecieveQuestData", getRootElement(), function(tblQuests, tblQuestPeds) Quests = tblQuests QuestPeds = tblQuestPeds for k,v in ipairs(QuestPeds) d...
mit
nekrozar/ygopro-scripts
c60953949.lua
2
1341
--古代の機械箱 function c60953949.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60953949,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_HAN...
gpl-2.0
nekrozar/ygopro-scripts
c98596596.lua
1
3313
--魂のさまよう墓場 function c98596596.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --token local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_QUICK_F) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e2:SetCod...
gpl-2.0
nekrozar/ygopro-scripts
c879958.lua
2
4703
--パラレルポート・アーマー function c879958.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:SetCost(c879958.cost) e1:SetTarget(c879958.target) e1:SetOperation(c879958.operati...
gpl-2.0
Pandafuchs/iLife
client/Guis/HungerGames/cCreateLobby.lua
2
3716
Maps = {} addEvent("onServerSendMaps", true) addEventHandler("onServerSendMaps", getRootElement(), function(input) Maps = input end ) CCreateLobby = {} function CCreateLobby:constructor() self.Gui ={ ["Window"] = false, ["Image"] = {}, ["Edit"] = {}, ["Button"] = {}, ["Label"] = {}, ["List"] = {} }...
mit
nekrozar/ygopro-scripts
c87473172.lua
2
1051
--火炎鳥 function c87473172.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(87473172,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD) e1:SetCode(EVENT_DESTROYED) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c87473172.atkcon) e1:SetO...
gpl-2.0
nekrozar/ygopro-scripts
c13650422.lua
1
1613
--E-HERO アダスター・ゴールド function c13650422.initial_effect(c) aux.AddCodeList(c,94820406) --search local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,13650422) e1:SetCost(c13650422.cost) e1:SetTarget(c1365042...
gpl-2.0
nekrozar/ygopro-scripts
c50074392.lua
2
2275
--霊水鳥シレーヌ・オルカ 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
nekrozar/ygopro-scripts
c42082363.lua
9
1348
--ガスタ・グリフ function c42082363.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42082363,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_S...
gpl-2.0
nekrozar/ygopro-scripts
c88728507.lua
2
2260
--ヴァンパイア・ソーサラー function c88728507.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88728507,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_...
gpl-2.0
nekrozar/ygopro-scripts
c55343236.lua
1
2591
--Sin 真紅眼の黒竜 function c55343236.initial_effect(c) c:EnableReviveLimit() c:SetUniqueOnField(1,1,c55343236.uqfilter,LOCATION_MZONE) --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:...
gpl-2.0
venkatarajasekhar/bee
test/db/misc.test.lua
1
4031
--# push filter 'table: .*' to 'table: <address>' -- gh-266: db.info() crash on uncofigured db package.loaded['db.space'] == nil package.loaded['db.index'] == nil package.loaded['db.tuple'] == nil package.loaded['db.error'] == nil package.loaded['db.info'] == nil package.loaded['db.stat'] == nil package.loaded['db.ses...
bsd-2-clause
ETegro/OpenSAN
feeds/astor2/astor2-lua-einarc/files/astor2/einarc.lua
1
28891
--[[ aStor2 -- storage area network configurable via Web-interface Copyright (C) 2009-2012 ETegro Technologies, PLC Sergey Matveev <stargrave@stargrave.org> Vladimir Petukhov <vladimir.petukhov@etegro.com> This program is free software: you can redistribute i...
gpl-3.0
nekrozar/ygopro-scripts
c102380.lua
2
2814
--溶岩魔神ラヴァ・ゴーレム function c102380.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(102380,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SPSUM_PARAM) e1:SetRange(LOCATION_HA...
gpl-2.0
dtaht/cerowrt-luci-3.3
protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
7
3925
--[[ LuCI - Lua Configuration Interface Copyright 2011 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 ]]-- local ma...
apache-2.0
nekrozar/ygopro-scripts
c84417082.lua
2
2412
--No.91 サンダー・スパーク・ドラゴン function c84417082.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,3) c:EnableReviveLimit() --destroy1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(84417082,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:...
gpl-2.0
disslove85/NOVA2-BOT
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
nekrozar/ygopro-scripts
c60410769.lua
4
1153
--ジュッテ・ナイト function c60410769.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60410769,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c6041076...
gpl-2.0
nekrozar/ygopro-scripts
c79580323.lua
2
2821
--剣闘獣スパルティクス function c79580323.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(79580323,0)) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetTarget(c79580323.stg) e1:SetOperati...
gpl-2.0
sami2448/m
plugins/welcome2.lua
114
3529
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
Domderon/spice-minions
smee/libs/sti/init.lua
6
2420
--[[ ------------------------------------------------------------------------------ Simple Tiled Implementation is licensed under the MIT Open Source License. (http://www.opensource.org/licenses/mit-license.html) ------------------------------------------------------------------------------ Copyright (c) 2014 Landon M...
mit
hakelimopu/CoronaSDKDev
love2d/sandbox/Message/Joystick.lua
1
3327
local JoystickMessage = {} local MessageId = require("Message.Id") local Message = require("Message.Base") local gamepadAxisId = MessageId.next() local gamepadPressId = MessageId.next() local gamepadReleasId = MessageId.next() local addId = MessageId.next() local axisId = MessageId.next() local hatId = MessageId.next(...
gpl-2.0
steven0143/nodemcu-httpserver
init.lua
3
3263
-- Begin WiFi configuration local wifiConfig = {} -- wifi.STATION -- station: join a WiFi network -- wifi.SOFTAP -- access point: create a WiFi network -- wifi.wifi.STATIONAP -- both station and access point wifiConfig.mode = wifi.STATIONAP -- both station and access point wifiConfig.accessPointCo...
gpl-2.0
nekrozar/ygopro-scripts
c20419926.lua
1
2312
--ガンスリンガー・エクスキューション function c20419926.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(20419926,0)) e2:SetCategory(CATEGORY_ATKCHANGE) e2:SetTy...
gpl-2.0
FailcoderAddons/SVUI
SVUI_QuestTracker/Loader.lua
1
3346
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --GLOBAL NAMESPACE local _G = _G; --LUA local unpack = _G.unpack; local select...
mit
amireh/lua_cliargs
spec/utils/disect_argument_spec.lua
3
1331
local disect_argument = require('cliargs.utils.disect_argument') require("spec_helper") describe("utils::disect_argument", function() local function assert_disect(pattern, expected) it("works with '" .. pattern .. "'", function() local symbol, key, value, negated = disect_argument(pattern) assert.e...
mit
LiXizhi/NPLRuntime
Server/trunk/LuaJIT-2.1/src/host/genlibbc.lua
37
4965
---------------------------------------------------------------------------- -- Lua script to dump the bytecode of the library functions written in Lua. -- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (...
gpl-2.0
LuaDist2/jumper
specs/path_specs.lua
2
2438
context('Module Path', function() local Path, Node before(function() Path = require ('jumper.core.path') Node = require ('jumper.core.node') end) context('The Path Class', function() test('Path:new() or Path() returns a Path object',function() assert_equal(getmetatable(Path:new()),Path) assert...
mit
nekrozar/ygopro-scripts
c2067935.lua
1
3692
--剣闘獣ラニスタ function c2067935.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2067935,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(aux.gb...
gpl-2.0
Pandafuchs/iLife
client/Guis/Jobs/pizzajob.lua
2
1117
pizzajob = { ["Window"] = false, ["Label"] = {}, ["Button"] = {} } addEvent("onClientPizzajobMarkerHit", true) addEventHandler("onClientPizzajobMarkerHit", getRootElement(), function() pizzajob["Window"] = new(CDxWindow, "The well stacked Pizza!", 200, 320, true, true, "Center|Middle") pizzajob["Label"][1] = new(...
mit
nekrozar/ygopro-scripts
c56252810.lua
1
3010
--Re-BUSTER function c56252810.initial_effect(c) aux.AddCodeList(c,80280737) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c56252810.cost) e1:Se...
gpl-2.0
nekrozar/ygopro-scripts
c42237854.lua
1
3999
--機動要塞 メタル・ホールド function c42237854.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c42237854.target) e1:SetOperation(c42237854.ac...
gpl-2.0
nekrozar/ygopro-scripts
c44341034.lua
2
1627
--ダーク・バグ function c44341034.initial_effect(c) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44341034,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetT...
gpl-2.0
Kfm946/data_HG2
Common/scripts/ifs_mpxl_feedback.lua
1
6330
-- -- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved. -- -- XBox Live list of feedback mpxl_feedback_vbutton_layout = { yTop = -110, yHeight = 30, ySpacing = 0, width = 400, font = "gamefont_medium", RightJustify = 1, bRightJustifyButton = 1, flashy = 0, buttonlist = { -- Title is for the l...
gpl-3.0
nekrozar/ygopro-scripts
c368382.lua
2
1872
--ダイナミスト・ブラキオン function c368382.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --disable local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DISABLE) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_CHAIN_SOLVING) e2:SetRange(LOCATION_PZONE) e2:SetCondition(c368382....
gpl-2.0
SoScared/OpenRA
lua/sandbox.lua
84
5098
local sandbox = { _VERSION = "sandbox 0.5", _DESCRIPTION = "A pure-lua solution for running untrusted Lua code.", _URL = "https://github.com/kikito/sandbox.lua", _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota Permission is hereby granted, free of charge, to an...
gpl-3.0
modhunter/NerdPack
conditions/area.lua
1
2335
local _, NeP = ... local UnitExists = UnitExists local UnitGUID = UnitGUID local C_Timer = C_Timer local wipe = wipe local UnitIsFriend = UnitIsFriend local Cache = { Enemy = {}, Enemy_infront = {}, Friendly = {}, Friendly_infront = {}, } C_Timer.NewTicke...
mit
nekrozar/ygopro-scripts
c74730899.lua
9
1793
--燃料電池メン function c74730899.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(c74730899.spcon) c:RegisterEffect(e1) --return hand local e2=Effect.Cr...
gpl-2.0
nekrozar/ygopro-scripts
c20065322.lua
2
1349
--クリボーを呼ぶ笛 function c20065322.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c20065322.target) e1:SetOperation(c20065322.activate) c:RegisterEffect(e1)...
gpl-2.0
LiXizhi/NPLRuntime
Client/trunk/externals/bullet3/build3/premake4.lua
6
4628
solution "0_Bullet3Solution" local osversion = os.getversion() print(string.format(" %d.%d.%d (%s)", osversion.majorversion, osversion.minorversion, osversion.revision, osversion.description)) -- Multithreaded compiling if _ACTION == "vs2010" or _ACTION=="vs2008" then buildoptions { "/MP" } e...
gpl-2.0
nekrozar/ygopro-scripts
c13662809.lua
1
3105
--魔界台本「魔王の降臨」 function c13662809.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(13662809,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c13662809.target) e1:SetO...
gpl-2.0
jungikim/OpenNMT
tools/tokenize.lua
4
2970
require('torch') require('onmt.init') local threads = require 'threads' local tokenizer = require('tools.utils.tokenizer') local cmd = onmt.utils.ExtendedCmdLine.new('tokenize.lua') tokenizer.declareOpts(cmd) cmd:text('') cmd:text('Other options') cmd:text('') cmd:option('-nparallel', 1, [[Number of parallel thread...
mit
nekrozar/ygopro-scripts
c70194827.lua
1
1293
--ブレード・バウンサー function c70194827.initial_effect(c) --chain attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(70194827,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCountLimit(1) e1:SetCode(EVENT_DAMAGE_STEP_END) e1:SetCondition(c70194827.atcon) e1:SetCost(c70194827.atcost) e...
gpl-2.0
Pandafuchs/iLife
server/Manager/Util/cOfflineMSGManager.lua
2
2944
-- ####################################### -- ## Project: MTA iLife ## -- ## Name: OfflineMSGManager.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local...
mit
nekrozar/ygopro-scripts
c64332231.lua
6
1531
--聖刻神龍-エネアード function c64332231.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,8,2) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(64332231,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLim...
gpl-2.0
nekrozar/ygopro-scripts
c61466310.lua
2
2591
--帝王の開岩 function c61466310.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --spsummon limit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetRange(LOCATION_SZONE) e2:SetCode(EFFECT_CANNOT_SPECIAL...
gpl-2.0
chrisJohn404/ljswitchboard-module_manager
lib/switchboard_modules/lua_script_debugger/premade_scripts_addresses/ain_config/ain_ef_config_set_defaults_and_powercycle.lua
1
1762
-- This is a general AIN_EF config example that shows the basic process for -- configuring any AIN_EF feature on a T-Series device, saving them as defaults -- and then powercycling the device. This example configures AIN0 and AIN2 to -- enable the Average/Min/Max extended feature. -- For a list of all AIN_EF options,...
mit
mihailim/koreader
frontend/ui/widget/footnotewidget.lua
1
14756
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local BottomContainer = require("ui/widget/container/bottomcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local Device = require("device") local Event = require("ui/event") local FrameContainer = require("ui/w...
agpl-3.0
nekrozar/ygopro-scripts
c31550470.lua
2
2356
--闇次元の解放 function c31550470.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(c31550470.target) e1:SetOperat...
gpl-2.0
venkatarajasekhar/bee
third_party/lanes/tests/ehynes.lua
6
1510
-- -- Test from <ehynes at dharmagaia.com> -- local lanes = require "lanes" lanes.configure() local function PRINT_FMT( fmt, ... ) io.stderr:write( string.format(fmt,...).."\n" ) end -- a linda for sending messages local linda = lanes.linda() -- a linda message receiver local receiver_gen = lanes.gen( 'base', 'o...
bsd-2-clause
nekrozar/ygopro-scripts
c78437364.lua
4
1756
--剛鬼ザ・グレート・オーガ function c78437364.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xfc),2) c:EnableReviveLimit() --atkdown local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetRange(LOCATION_MZONE) e1:SetTargetRang...
gpl-2.0
andreaskoepf/nn
NarrowTable.lua
38
1151
local NarrowTable, parent = torch.class('nn.NarrowTable', 'nn.Module') function NarrowTable:__init(offset, length) parent.__init(self) self.offset = offset self.length = length or 1 if not offset then error('nn.NarrowTable(offset, length)') end self.output = {} self.gradInput = {} end f...
bsd-3-clause
finalsliver/supervillain-ui
SVUI_Skins/components/addons/Outfitter.lua
2
4640
--[[ ########################################################## S V U I By: Failcoder ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.selec...
mit
nekrozar/ygopro-scripts
c8719957.lua
2
2088
--アビスケイル-クラーケン function c8719957.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(c8719957.target) e1:SetOperation(c8719957.operation) c:RegisterEffect(e...
gpl-2.0
nekrozar/ygopro-scripts
c57272170.lua
7
1500
--イビリチュア・ソウルオーガ function c57272170.initial_effect(c) c:EnableReviveLimit() --return to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57272170,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetProperty(EFFECT_FLAG_CAR...
gpl-2.0
andreaskoepf/nn
MultiMarginCriterion.lua
1
1288
local MultiMarginCriterion, parent = torch.class('nn.MultiMarginCriterion', 'nn.Criterion') function MultiMarginCriterion:__init(p) assert(p == nil or p == 1 or p == 2, 'only p=1 and p=2 supported') self.p = p or 1 parent.__init(self) self.sizeAverage = true end function MultiMarginCriterion:updateOutput(...
bsd-3-clause
nekrozar/ygopro-scripts
c67234805.lua
3
2039
--能力吸収石 function c67234805.initial_effect(c) c:EnableCounterPermit(0x16) c:SetCounterLimit(0x16,2) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Add counter local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFEC...
gpl-2.0