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
ara8586/9900
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
agpl-3.0
Aaa1r/DRAGON
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
ThingMesh/openwrt-luci
applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua
78
2041
--[[ LuCI - Lua Configuration Interface Copyright 2012 Manuel Munz <freifunk at somakoma dot de> 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 ]]-- l...
apache-2.0
Lsty/ygopro-scripts
c27243130.lua
5
1718
--禁じられた聖槍 function c27243130.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c2724313...
gpl-2.0
MalRD/darkstar
scripts/zones/RoMaeve/Zone.lua
9
2289
----------------------------------- -- -- Zone: RoMaeve (122) -- ----------------------------------- local ID = require("scripts/zones/RoMaeve/IDs"); require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/npc_util"); require("scripts/globals/weather"); require("scripts/global...
gpl-3.0
MalRD/darkstar
scripts/globals/items/pork_cutlet_rice_bowl.lua
11
1782
----------------------------------------- -- ID: 6406 -- Item: pork_cutlet_rice_bowl -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +60 -- MP +60 -- STR +7 -- VIT +3 -- AGI +5 -- INT -7 -- Fire resistance +20 -- Attack +23% (cap 125) -- Ranged Attack +23% (cap 125) -- Store TP +4 ----...
gpl-3.0
Lsty/ygopro-scripts
c19505896.lua
5
1202
--ウィード function c19505896.initial_effect(c) --Destroy replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DESTROY_REPLACE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c19505896.desreptg) e1:SetOperation(c19505896.d...
gpl-2.0
cshore-firmware/openwrt-luci
modules/luci-mod-rpc/luasrc/jsonrpc.lua
75
1979
-- 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. module("luci.jsonrpc", package.seeall) require "luci.json" function resolve(mod, method) local path = luci.util.split(method, ".") for j=1, #path-1 do i...
apache-2.0
MalRD/darkstar
scripts/zones/Port_Bastok/npcs/Steel_Bones.lua
9
1162
----------------------------------- -- Area: Port Bastok -- NPC: Steel Bones -- Standard Info NPC -- Involved in Quest: Guest of Hauteur ----------------------------------- require("scripts/globals/status") require("scripts/globals/keyitems") require("scripts/globals/quests") local ID = require("scripts/zones/Port_Bas...
gpl-3.0
Lsty/ygopro-scripts
c102380.lua
3
2438
--溶岩魔神ラヴァ・ゴーレム 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
bforbis/thrift
lib/lua/TFramedTransport.lua
19
2952
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
maxrio/luci981213
applications/luci-app-asterisk/luasrc/asterisk.lua
68
17804
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.asterisk", package.seeall) require("luci.asterisk.cc_idd") local _io = require("io") local uci = require("luci.model.uci").cursor() local sys = require("luci.sys") local util = require("luci.uti...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-asterisk/luasrc/asterisk.lua
68
17804
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.asterisk", package.seeall) require("luci.asterisk.cc_idd") local _io = require("io") local uci = require("luci.model.uci").cursor() local sys = require("luci.sys") local util = require("luci.uti...
apache-2.0
Lsty/ygopro-scripts
c72192100.lua
3
2871
--デスルークデーモン function c72192100.initial_effect(c) --maintain local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition...
gpl-2.0
Lsty/ygopro-scripts
c25727454.lua
5
1398
--名匠 ガミル function c25727454.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25727454,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT...
gpl-2.0
Lsty/ygopro-scripts
c84764038.lua
3
2866
--彼岸の悪鬼 スカラマリオン function c84764038.initial_effect(c) --self destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_SELF_DESTROY) e1:SetCondition(c84764038.sdcon) c:RegisterEffect(e1) --Special Summon local e...
gpl-2.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/linux/ppc/nr.lua
6
11241
-- ppc syscall numbers local nr = { zeropad = true, SYS = { restart_syscall = 0, exit = 1, fork = 2, read = 3, write = 4, open = 5, close = 6, waitpid = 7, creat...
mit
MahmoudDolah/Firmware-Entry-Points-In-Memory
openwrt/openwrt-generic-x86/usr/lib/lua/luci/model/cbi/admin_system/fstab.lua
39
5639
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") local fs = require "nixio.fs" local util = require "nixio.util" local tp = require "luci.template.parser" local block = io.popen("block info", "r") local ln, dev, devices = n...
apache-2.0
MalRD/darkstar
scripts/globals/items/pukatrice_egg.lua
11
1541
----------------------------------------- -- ID: 6274 -- Item: pukatrice_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +15 -- MP +15 -- STR +2 -- Fire resistance +20 -- Attack +20% (cap 85) -- Ranged Attack +20% (cap 85) -- Subtle Blow +8 ----------------------------------------- ...
gpl-3.0
Lsty/ygopro-scripts
c76891401.lua
5
1085
--神海竜ギシルノドン function c76891401.initial_effect(c) --synchro summon aux.AddSynchroProcedure2(c,nil,aux.NonTuner(c76891401.synfilter)) c:EnableReviveLimit() --atk change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76891401,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_FIELD+EFFEC...
gpl-2.0
MalRD/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm3.lua
9
1154
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Involved In Quest: The Sacred Katana -- !pos -416 0 46 121 ----------------------------------- local ID = require("scripts/zones/The_Sanctuary_of_ZiTah/IDs") require("scripts/globals/keyitems") require("scripts/globals/npc_util") requir...
gpl-3.0
Aaa1r/DRAGON
plugins/inrealm.lua
183
36473
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then local group_creator = msg.from.print_name create_group_chat (group_creator, group_na...
gpl-2.0
tmeinlschmidt/domoticz
scripts/lua/script_device_demo.lua
54
1870
-- demo device script -- script names have three name components: script_trigger_name.lua -- trigger can be 'time' or 'device', name can be any string -- domoticz will execute all time and device triggers when the relevant trigger occurs -- -- copy this script and change the "name" part, all scripts named "demo" are i...
gpl-3.0
Lsty/ygopro-scripts
c80908502.lua
3
1450
--E・HERO キャプテン・ゴールド function c80908502.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(80908502,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c80908502.cost) e1:SetTarget(c80908502.target) e1:...
gpl-2.0
dani-sj/kirbot
bot/utils.lua
494
23873
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
nmabhi/Webface
training/dataset-issue-132.lua
8
14611
-- Source: https://github.com/soumith/imagenet-multiGPU.torch/blob/master/dataset.lua -- Modified by Brandon Amos in Sept 2015 for OpenFace by adding -- `samplePeople` and `sampleTriplet`. require 'torch' torch.setdefaulttensortype('torch.FloatTensor') local ffi = require 'ffi' local argcheck = require 'argcheck' requ...
apache-2.0
robertbrook/Penlight
tests/test-tablex.lua
8
4509
local tablex = require 'pl.tablex' local utils = require ('pl.utils') local L = utils.string_lambda local test = require('pl.test') -- bring tablex funtions into global namespace utils.import(tablex) local asserteq = test.asserteq local cmp = deepcompare function asserteq_no_order (x,y) if not compare_...
mit
MalRD/darkstar
scripts/zones/Korroloka_Tunnel/npcs/qm2.lua
9
2206
----------------------------------- -- Area: Korroloka Tunnel -- NPC: ??? (qm2) -- Involved In Quest: Ayame and Kaede -- !pos -208 -9 176 173 ----------------------------------- local ID = require("scripts/zones/Korroloka_Tunnel/IDs") require("scripts/globals/keyitems") require("scripts/globals/settings") require("scr...
gpl-3.0
marktsai0316/nodemcu-firmware
lua_examples/webap_toggle_pin.lua
70
1202
wifi.setmode(wifi.SOFTAP); wifi.ap.config({ssid="test",pwd="12345678"}); gpio.mode(1, gpio.OUTPUT) srv=net.createServer(net.TCP) srv:listen(80,function(conn) conn:on("receive", function(client,request) local buf = ""; local _, _, method, path, vars = string.find(request, "([A-Z]+) (.+)?(.+) HTTP")...
mit
MalRD/darkstar
scripts/globals/items/plate_of_mushroom_risotto.lua
11
1235
----------------------------------------- -- ID: 4434 -- Item: Plate of Mushroom Risotto -- Food Effect: 3 Hr, All Races ----------------------------------------- -- MP 30 -- Strength -1 -- Vitality 3 -- Mind 3 -- MP Recovered while healing 2 -- Enmity -4 ----------------------------------------- require("scripts/globa...
gpl-3.0
Lsty/ygopro-scripts
c87910978.lua
3
1342
--洗脳-ブレインコントロール function c87910978.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c87910978.cost) e1:SetTarget(c87910978.target) e1:SetOperation(c87910...
gpl-2.0
Lsty/ygopro-scripts
c50400231.lua
5
1354
--サテライト・キャノン function c50400231.initial_effect(c) --ind local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetValue(c50400231.indval) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(50400231,0)) e2:SetType(EFFE...
gpl-2.0
Lsty/ygopro-scripts
c91501248.lua
3
2810
--禁忌の壺 function c91501248.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(1,91501248) e1:SetTarget(c91501248.target) e1:SetOperation(c91501248.operation) c:RegisterEffect(e1) end fun...
gpl-2.0
Lsty/ygopro-scripts
c19808608.lua
3
1713
--DDバフォメット function c19808608.initial_effect(c) --lv change local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c19808608.lvtg) e1:SetOperation(c19808608.lvop) c:RegisterEffect(e1) end function c19808608.filter(c) return c:IsFaceup() and...
gpl-2.0
Lsty/ygopro-scripts
c10383554.lua
3
2121
--デストーイ・ホイールソウ・ライオ function c10383554.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCodeFun(c,34688023,aux.FilterBoolFunction(Card.IsSetCard,0xa9),1,true,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISAB...
gpl-2.0
jmattsson/nodemcu-firmware
lua_examples/pcm/play_network.lua
11
3038
-- **************************************************************************** -- Network streaming example -- -- stream = require("play_network") -- stream.init(pin) -- stream.play(pcm.RATE_8K, ip, port, "/jump_8k.u8", function () print("stream finished") end) -- -- Playback can be stopped with stream.stop(). -- And ...
mit
Lsty/ygopro-scripts
c31385077.lua
5
2210
--カオス・ゴッデス-混沌の女神- function c31385077.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),aux.NonTuner(Card.IsAttribute,ATTRIBUTE_DARK),2) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(31385077...
gpl-2.0
MalRD/darkstar
scripts/globals/items/bunch_of_pamamas.lua
11
1091
----------------------------------------- -- ID: 4468 -- Item: Bunch of Pamamas -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Intelligence 1 -- Additional Effect with Opo-Opo Crown -- HP 50 -- MP 50 -- CHR 14 -- Additional Effect with Kinkobo or -- Primate Staff -- DELAY -...
gpl-3.0
LinusU/torch7
Tester.lua
58
7573
local Tester = torch.class('torch.Tester') function Tester:__init() self.errors = {} self.tests = {} self.testnames = {} self.curtestname = '' end function Tester:assert_sub (condition, message) self.countasserts = self.countasserts + 1 if not condition then local ss = debug.traceback('tester...
bsd-3-clause
Lsty/ygopro-scripts
c96594609.lua
3
2268
--炎王獣 キリン function c96594609.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(96594609,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetRange(LOCATION_HAND) e1:SetCode(EVENT_DESTROYE...
gpl-2.0
Lsty/ygopro-scripts
c75417459.lua
6
1364
--拘束解除 function c75417459.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(c75417459.cost) e1:SetTarget(c75417459.target) e1:SetOperation(c75417459.activate) c:RegisterEffect(e1) end fun...
gpl-2.0
Lsty/ygopro-scripts
c75304793.lua
3
3056
--アンプリファイヤー function c75304793.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --counter local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_CHAIN_SOLVING) e2:SetRa...
gpl-2.0
MalRD/darkstar
scripts/globals/items/chocolate_crepe.lua
11
1277
----------------------------------------- -- ID: 5775 -- Item: Chocolate Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +5% (cap 15) -- MP Healing 2 -- Magic Accuracy +20% (cap 35) -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status") re...
gpl-3.0
Lsty/ygopro-scripts
c96300057.lua
3
3414
--W-ウィング・カタパルト function c96300057.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(96300057,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c96300057.eqtg) e1:SetOperatio...
gpl-2.0
Lsty/ygopro-scripts
c67696066.lua
3
1692
--Emトリック・クラウン function c67696066.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCountLimit(1,676960...
gpl-2.0
Lsty/ygopro-scripts
c92266279.lua
3
3658
--潤いの風 function c92266279.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c92266279.target) c:RegisterEffect(e1) --to hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/knights_minne_ii.lua
10
1501
----------------------------------------- -- Spell: Knight's Minne II -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return ...
gpl-3.0
zhaozg/lit
libs/calculate-historic-deps.lua
2
3753
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 Unless required by applicable law o...
apache-2.0
MalRD/darkstar
scripts/globals/spells/cura_ii.lua
12
4171
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure II's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga III -- Modeled after our cure_ii.lua, which was modeled after the below refe...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/hard_slash.lua
10
1646
----------------------------------- -- Hard Slash -- Great Sword weapon skill -- Skill level: 5 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1.5 1.75 2.0 ----------------------------------- require("scripts/globals/settings") require("sc...
gpl-3.0
Death15/Test
plugins/join.lua
26
1488
--[[ Bot can join into a group by replying a message contain an invite link or by typing !join [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local fun...
gpl-2.0
Lsty/ygopro-scripts
c74923978.lua
5
1203
--強制接収 function c74923978.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_DISCARD) e1:SetCondition(c74923978.condition) c:RegisterEffect(e1) --handes local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(74923978,0)) e2:SetCategory(CATEGO...
gpl-2.0
EUOCheffe/easyuo
proj/openeuo/gui/main.lua
1
1567
---------------------------------------- -- Main Code --------------------------- ---------------------------------------- -- This is where the other GUI files are -- loaded and everything is tied together. ---------------------------------------- ---------------------------------------- --------------------...
bsd-2-clause
MalRD/darkstar
scripts/globals/items/slice_of_margherita_pizza_+1.lua
11
1190
----------------------------------------- -- ID: 6214 -- Item: slice of margherita pizza +1 -- Food Effect: 60 minutes, all Races ----------------------------------------- -- HP +35 -- Accuracy+10% (Max. 9) -- Attack+10% (Max. 11) ----------------------------------------- require("scripts/globals/status") require("scri...
gpl-3.0
MalRD/darkstar
scripts/globals/spells/enchanting_etude.lua
12
1846
----------------------------------------- -- Spell: Enchanting Etude -- Static CHR Boost, BRD 22 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,targ...
gpl-3.0
Zanthra/GTTS
control.lua
1
5425
require "config" local function updatePlayerSettings() if settings.global["gtts-Adjust-HandCraftingSpeed"].value == true then for _,player in pairs(game.players) do if player.character then player.character.character_crafting_speed_modifier = gtts_time_scale - 1 end ...
mit
Lsty/ygopro-scripts
c67173574.lua
5
3570
--CNo.102 光堕天使ノーブル・デーモン function c67173574.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DETACH_EVENT) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),5,4) c:EnableReviveLimit() --destroy replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT...
gpl-2.0
Lsty/ygopro-scripts
c10485110.lua
5
2075
--海竜神-ネオダイダロス function c10485110.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.FALSE) c:RegisterEffect(e1) --s...
gpl-2.0
MalRD/darkstar
scripts/globals/items/moat_carp.lua
11
1048
----------------------------------------- -- ID: 4401 -- Item: moat_carp -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c57108202.lua
3
3311
--D・リモコン function c57108202.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57108202,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZO...
gpl-2.0
Lsty/ygopro-scripts
c35848254.lua
7
1082
--フォトン・リード function c35848254.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:SetTarget(c35848254.target) e1:SetOperation(c35848254.activate) c:RegisterEffect(e1) end function c35848254.filter(c...
gpl-2.0
gallenmu/MoonGen
libmoon/deps/luajit/dynasm/dasm_ppc.lua
27
57489
------------------------------------------------------------------------------ -- DynASM PPC/PPC64 module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. -- -- Support for various extensions contributed by Caio Souza Oliveira. ---------------------------------...
mit
rohitjoshi/lua-resty-pkcs11
src/resty/p11.lua
1
5013
local ffi = require "ffi" local ffi_new = ffi.new local ffi_gc = ffi.gc local ffi_typeof = ffi.typeof local ffi_cdef = ffi.cdef local ffi_load = ffi.load local ffi_str = ffi.string local C = ffi.C local tonumber = tonumber local setmetatable = setmetatable local error = error local _M = { ...
apache-2.0
MalRD/darkstar
scripts/zones/Windurst_Woods/npcs/Varun.lua
9
1417
----------------------------------- -- Area: Windurst Woods -- NPC: Varun -- Type: Standard NPC -- !pos 7.800 -3.5 -10.064 241 ----------------------------------- require("scripts/globals/npc_util") require("scripts/globals/quests") ----------------------------------- function onTrade(player,npc,trade) if player...
gpl-3.0
Lsty/ygopro-scripts
c96012004.lua
3
2096
--ラッキー・チャンス! function c96012004.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c96012004.cointg) e1:SetOperation(c96012004.coinop) c:RegisterEffect(e1) --coin local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid...
gpl-2.0
ThingMesh/openwrt-luci
libs/nixio/docsrc/nixio.TLSContext.lua
173
1393
--- Transport Layer Security Context Object. -- @cstyle instance module "nixio.TLSContext" --- Create a TLS Socket from a socket descriptor. -- @class function -- @name TLSContext.create -- @param socket Socket Object -- @return TLSSocket Object --- Assign a PEM certificate to this context. -- @class function -- @nam...
apache-2.0
cshore-firmware/openwrt-luci
libs/luci-lib-nixio/docsrc/nixio.TLSContext.lua
173
1393
--- Transport Layer Security Context Object. -- @cstyle instance module "nixio.TLSContext" --- Create a TLS Socket from a socket descriptor. -- @class function -- @name TLSContext.create -- @param socket Socket Object -- @return TLSSocket Object --- Assign a PEM certificate to this context. -- @class function -- @nam...
apache-2.0
Lsty/ygopro-scripts
c81218874.lua
9
1364
--侵略の波紋 function c81218874.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetCost(c81218874.cost) e1:SetTarget(c812...
gpl-2.0
zhaozg/lit
libs/install-deps.lua
4
2361
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 Unless required by applicable law o...
apache-2.0
sagarwaghmare69/nn
VolumetricFullConvolution.lua
2
7314
local VolumetricFullConvolution, parent = torch.class('nn.VolumetricFullConvolution','nn.Module') function VolumetricFullConvolution:__init(nInputPlane, nOutputPlane, kT, kW, kH, -- kernel size dT, dW, dH, -- stride ...
bsd-3-clause
Lsty/ygopro-scripts
c28754338.lua
3
1870
--真海皇 トライドン function c28754338.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(28754338,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c28754338.spcost) e1:SetTarget(c28754338.sptg) e1:SetOper...
gpl-2.0
ThingMesh/openwrt-luci
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
54
2488
--[[ LuCI - Server Gateway Interface for the uHTTPd server 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/LICENS...
apache-2.0
Lsty/ygopro-scripts
c60879050.lua
3
2554
--機関連結 function c60879050.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(c60879050.cost) e1:SetTarget(c60879050.target) e1:SetOperation(c60879050.operati...
gpl-2.0
ThingMesh/openwrt-luci
applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
79
1768
--[[ 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...
apache-2.0
Lsty/ygopro-scripts
c48086335.lua
6
2307
--アーティファクト-フェイルノート function c48086335.initial_effect(c) --set local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MONSTER_SSET) e1:SetValue(TYPE_SPELL) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(48086335,0)) e2:SetCategory(CATEGO...
gpl-2.0
Lsty/ygopro-scripts
c40048324.lua
6
1155
--アーケイン・ファイロ function c40048324.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40048324,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_BE_MATERIAL) e1:SetCondit...
gpl-2.0
RamiLego4Game/PlatformerWorld
Modes/Loading.lua
1
2440
--Author : Ramilego4Game - This File Is Part Of Platformer World-- --Type : Class/Screen-- --Imports-- require 'Modes.LevelEditor' Loading = class:new() function Loading:init() self.LOGO = love.graphics.newImage("Lib/RL4G/Platformerworld-LOGO.png") --self.BG = love.graphics.newImage("assets/textures/gui/Loading-B...
gpl-2.0
Lsty/ygopro-scripts
c56460688.lua
5
2155
--異次元隔離マシーン function c56460688.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c56460688.target) e1:SetOperation(c56460688.operation) c:RegisterEffect(e1...
gpl-2.0
MalRD/darkstar
scripts/zones/Bastok_Mines/npcs/Virnage.lua
11
1920
----------------------------------- -- Area: Bastok Mines -- NPC: Virnage -- Starts Quest: Altana's Sorrow -- !pos 0 0 51 234 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); require("scripts/globals/quests"); local ID = requ...
gpl-3.0
maxrio/luci981213
protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua
63
1066
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local _, p for _, p in ipairs({"6in4", "6to4", "6rd"}) do local proto = netmod:register_protocol(p) function proto.get_i18n(self) if p == "6in4" then return luci.i18n....
apache-2.0
T-L-N/Dev_TLN
plugins/kkk.lua
1
1479
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Memo ▀▄ ▄▀ ▀▄ ▄▀ BY Memo (@ii02iI) ▀▄ ▄▀ ▀▄ ▄▀ Making the file by Memo ▀▄ ▄▀ ▀▄ ▄▀ kikebot : طرد البوت ▀▄ ▄▀ ▀...
gpl-2.0
Death15/Test
plugins/plugins.lua
25
5271
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled(name) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local fu...
gpl-2.0
Lsty/ygopro-scripts
c86197239.lua
3
1978
--インフェルニティ・ミラージュ function c86197239.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetRange(LOCATION_GRAVE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux...
gpl-2.0
maxrio/luci981213
applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua
78
1340
-- Copyright 2008 Yanira <forum-2008@email.de> -- Copyright 2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local uci = luci.model.uci.cursor_state() local net = require "luci.model.network" local m, s, p, b m = Map("p910nd", translate("p910nd - Printer server"), ...
apache-2.0
morfeo642/mta_plr_server
hedit/shared/variables/handlingMTA.lua
3
4260
handlingLimits = { ["identifier"] = { id = 1, input = "string", limits = { "", "" }, }, ["mass"] = { id = 2, input = "float", limits = { "1.0", "100000.0" } }, ["turnMass"] = { id = 3, input = "float", limits = { "0.0", "100000...
mit
MalRD/darkstar
scripts/globals/abilities/pets/magic_mortar.lua
11
1395
--------------------------------------------------- -- Magic Mortar --------------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck(ta...
gpl-3.0
robertbrook/Penlight
lua/pl/Map.lua
26
2783
--- A Map class. -- -- > Map = require 'pl.Map' -- > m = Map{one=1,two=2} -- > m:update {three=3,four=4,two=20} -- > = m == M{one=1,two=20,three=3,four=4} -- true -- -- Dependencies: `pl.utils`, `pl.class`, `pl.tablex`, `pl.pretty` -- @classmod pl.Map local tablex = require 'pl.tablex' local utils = req...
mit
Distrotech/vlc
share/lua/playlist/lelombrik.lua
108
1985
--[[ French humor site: http://lelombrik.net $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 ...
gpl-2.0
MalRD/darkstar
scripts/zones/Western_Adoulin/npcs/Vaulois.lua
9
1542
----------------------------------- -- Area: Western Adoulin -- NPC: Vaulois -- Type: Standard NPC and Quest Giver -- Starts, Involved with, and Finishes Quest: 'Transporting' -- !pos 20 0 85 256 ----------------------------------- require("scripts/globals/quests"); local ID = require("scripts/zones/Western_Adoulin/ID...
gpl-3.0
moody2020/TH3_BOSS
plugins/arabic_lock.lua
234
1405
antiarabic = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_arabic'] then if data[tostring(msg.to.id)...
gpl-2.0
asterite/mal
lua/step3_env.lua
40
2478
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local List, Vector, HashMap = types.List, types.Vector, types.HashMap -- ...
mpl-2.0
Lsty/ygopro-scripts
c52346240.lua
3
1624
--ロックキャット function c52346240.initial_effect(c) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(52346240,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:Set...
gpl-2.0
Lsty/ygopro-scripts
c54366836.lua
3
2348
--No.54 反骨の闘士ライオンハート function c54366836.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,3) c:EnableReviveLimit() --ind local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetC...
gpl-2.0
openwrt/luci
modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua
3
6439
-- 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. module("luci.controller.mini.system", package.seeall) function index() entry({"mini", "system"}, alias("mini", "system", "index"), _("System"), 40).index = t...
apache-2.0
Nuthen/ludum-dare-39
entities/fx/particle.lua
1
5382
local ParticleSystem = Class('ParticleSystem') function ParticleSystem:initialize() self.systems = {} self.drawLater = {"sparks"} self.defaultImage = love.graphics.newImage("assets/images/particles/1x1white.png") self.sparkImage = love.graphics.newImage("assets/images/particles/spark.png") self.g...
mit
Lsty/ygopro-scripts
c24701235.lua
3
3442
--和魂 function c24701235.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --summon,flip local e2=Effect.CreateEffect(c) e2:SetType(...
gpl-2.0
Lsty/ygopro-scripts
c45133463.lua
3
1452
--死神の呼び声 function c45133463.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c45133463.condition) e1:SetTarget(c45133463.target) e1:Set...
gpl-2.0
Lsty/ygopro-scripts
c17189677.lua
9
1181
--スネーク・レイン function c17189677.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c17189677.cost) e1:SetTarget(c17189677.target) e1:SetOperation(c17189677.activate) c:RegisterEffect(e1) end functi...
gpl-2.0
Lsty/ygopro-scripts
c93946239.lua
9
1273
--無の煉獄 function c93946239.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c93946239.condition) e1:SetTarget(c93946239.target) e1:SetOperation(c93946...
gpl-2.0
MalRD/darkstar
scripts/globals/instance.lua
48
1990
function updateInstanceTime(instance, elapsed, texttable) local players = instance:getChars(); local lastTimeUpdate = instance:getLastTimeUpdate(); local remainingTimeLimit = (instance:getTimeLimit()) * 60 - (elapsed / 1000); local wipeTime = instance:getWipeTime(); local message = 0; if (...
gpl-3.0