repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
MalRD/darkstar | scripts/globals/abilities/gallants_roll.lua | 12 | 2895 | -----------------------------------
-- Ability: Gallant's Roll
-- Reduces physical damage taken by party members within area of effect
-- Optimal Job: Paladin
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 55
-- Phantom Roll +1 Value: 2.34
--
-- Die Roll |No PLD |With PLD
-- -------- ------- -----------
-- 1... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Northern_San_dOria/npcs/Greubaque.lua | 12 | 1423 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Greubaque
-- Type: Smithing Adv. Synthesis Image Support
-- !pos -179.400 10.999 150.000 231
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Northern_Sa... | gpl-3.0 |
Lsty/ygopro-scripts | c33737664.lua | 7 | 1285 | --ๅข่ใใใฎๅ ฑใ
function c33737664.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_STANDBY_PHASE,0)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33737664,0))
e2:SetCateg... | gpl-2.0 |
Mike325/.vim | lua/plugins/snippets/c.lua | 1 | 1675 | local load_module = require('utils.helpers').load_module
local ls = load_module 'luasnip'
if not ls then
return false
end
local s = ls.snippet
local sn = ls.snippet_node
-- local t = ls.text_node
-- local isn = ls.indent_snippet_node
local i = ls.insert_node
-- local f = ls.function_node
local c = ls.choice_node
-... | mit |
maxrio/luci981213 | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua | 68 | 1959 | -- 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
codec_a_mu = module:option(Li... | apache-2.0 |
MalRD/darkstar | scripts/globals/items/bowl_of_miso_ramen_+1.lua | 11 | 1551 | -----------------------------------------
-- ID: 6461
-- Item: bowl_of_miso_ramen_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +105
-- STR +6
-- VIT +6
-- DEF +11% (cap 175)
-- Magic Evasion +11% (cap 55)
-- Magic Def. Bonus +6
-- Resist Slow +15
----------------------------------... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Buburimu_Peninsula/Zone.lua | 9 | 1927 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
local ID = require("scripts/zones/Buburimu_Peninsula/IDs")
require("scripts/globals/icanheararainbow");
require("scripts/globals/chocobo_digging");
require("scripts/globals/conquest");
require("scripts/global... | gpl-3.0 |
Lsty/ygopro-scripts | c70026064.lua | 3 | 2366 | --ๆญฆ็ฅ๏ผใใซใณ
function c70026064.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(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:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetTy... | gpl-2.0 |
Lsty/ygopro-scripts | c11678191.lua | 3 | 3838 | --ๅฎ่ญท้ ใขใคใชใณ
function c11678191.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11678191,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c11678191.eqtg)
e1:SetOperation(c1... | gpl-2.0 |
Lsty/ygopro-scripts | c40907115.lua | 9 | 1259 | --้็ฃไฝฟใ ใฆใงใณ
function c40907115.initial_effect(c)
c:SetSPSummonOnce(40907115)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40907115,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_F... | gpl-2.0 |
Lsty/ygopro-scripts | c39978267.lua | 3 | 2418 | --ใตใคใใผใปใฌใคใใผ
function c39978267.initial_effect(c)
--effect
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39978267,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVE... | gpl-2.0 |
Lsty/ygopro-scripts | c135598.lua | 9 | 1147 | --ใญใผใใฆใน
function c135598.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(135598,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c135598.condition)
e1:SetTarget(c1... | gpl-2.0 |
JCM6/Spring-ITF | units/building.lua | 1 | 1132 | local unitName = "building"
local unitDef =
{
-- Internal settings
BuildPic = "building.bmp",
Category = "BUILDING NOTSCOUT NOTHEAVY NOTAIR NOTSHIP NOTEPIC NOTSTEALTHY ALL",
ObjectName = "building.s3o",
Side = "TANK",
TEDClass = "PLANT",
script = "buildingscript.lua",
-- Unit limitations and prope... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Waughroon_Shrine/bcnms/worms_turn.lua | 9 | 1066 | -----------------------------------
-- The Worm's Turn
-- Waughroon Shrine BCNM40, Star Orb
-- !additem 1131
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function ... | gpl-3.0 |
MalRD/darkstar | scripts/globals/spells/aspir_ii.lua | 12 | 1473 | -----------------------------------------
-- Spell: Aspir
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,ta... | gpl-3.0 |
sagarwaghmare69/nn | GPU.lua | 6 | 8521 | ------------------------------------------------------------------------
--[[ GPU ]]--
-- Decorates a module such that its parameters are
-- hosted on a specified GPU device.
-- The operations are also executed on that device.
-- Arguments input and gradOutput are converted to the specified device
-- before being fed ... | bsd-3-clause |
MalRD/darkstar | scripts/globals/mobskills/necropurge.lua | 11 | 1133 | ---------------------------------------------
-- Necropurge
--
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:... | gpl-3.0 |
Lsty/ygopro-scripts | c26412047.lua | 3 | 1166 | --ใใณใใผใทใฅใผใ
function c26412047.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c26412047.target)
e1:SetOperation(c26412047.activate)
c:RegisterEffect(e1)
end
function c26412047.filter(c)
retu... | gpl-2.0 |
openwrt/luci | applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua | 3 | 13197 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2016 Eric Luehrsen <ericluehrsen@gmail.com>
-- Copyright 2016 Dan Luedtke <mail@danrl.com>
-- Licensed to the public under the Apache License 2.0.
local m1, s1
local ena, mcf, lci, lsv
local rlh, rpv, vld, nvd, eds, prt, tlm
local ctl, dlk, dom, dty, lfq... | apache-2.0 |
avinashThummala/Boundary_Luvit_PingCheck | deps/ping.lua | 1 | 2738 | local _child = require('childprocess')
local _os = require('los')
local uv = require('uv')
local _platform = _os.type()
local _path
local _options
if (_platform == 'linux') then
_path = '/bin/ping'
_options = {'-n', '-w 2', '-c 1'}
elseif (_platform == 'win32' ) then
_path = 'C:/windows/system32/ping.ex... | apache-2.0 |
Arshimet/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
MalRD/darkstar | scripts/zones/Windurst_Woods/npcs/Ibwam.lua | 9 | 4123 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ibwam
-- Type: Warp NPC
-- !pos -25.655 1.749 -60.651 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/teleports")
require("scripts/globals/keyitems")
require("scripts/globals/miss... | gpl-3.0 |
Lsty/ygopro-scripts | c15187079.lua | 3 | 2386 | --ๅฐ็ธ็ฅ Uru
function c15187079.initial_effect(c)
c:SetUniqueOnField(1,1,10000000)
--
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetCode(EFFECT_SELF_DESTROY)
e4:SetCondition(c15187079.sdcon)
c:RegisterEffect(e4)
--battle ... | gpl-2.0 |
maxrio/luci981213 | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua | 137 | 15546 | cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
app_alarmreceiver:value("yes", "Load")
app_alarmreceiver:value("no", "Do Not Load")
app_al... | apache-2.0 |
Lsty/ygopro-scripts | c73632127.lua | 5 | 1626 | --ใใฃใกใณใทใงใณใปในใฉใคใ
function c73632127.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c73632127.condition)
e1:SetTarget(c73632127.target)
e1:SetOp... | gpl-2.0 |
Lsty/ygopro-scripts | c84013237.lua | 3 | 1513 | --๏ผฎ๏ฝ.๏ผ๏ผ ๅธๆ็ใใผใ
function c84013237.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--disable attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(84013237,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_ATT... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua | 9 | 18749 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ghatsad
-- Standard Info NPC
-- Involved in quest: No String Attached
-----------------------------------
require("scripts/globals/common")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/status")
l... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Southern_San_dOria/npcs/Cahaurme.lua | 11 | 1457 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Cahaurme
-- Involved in Quest: A Knight's Test, Lost Chick
-- !pos 55.749 -8.601 -29.354 230
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ... | gpl-3.0 |
MalRD/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola.lua | 11 | 1527 | -----------------------------------------
-- ID: 5192
-- Item: dish_of_spaghetti_boscaiola
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 120
-- Magic 35
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Store TP +6
-- Magic Regen While Healing 1
--------... | gpl-3.0 |
Frenzie/koreader | frontend/ui/widget/linewidget.lua | 4 | 1145 | --[[--
Widget that displays a line.
]]
local Blitbuffer = require("ffi/blitbuffer")
local Widget = require("ui/widget/widget")
local LineWidget = Widget:extend{
style = "solid",
background = Blitbuffer.COLOR_BLACK,
dimen = nil,
--- @todo Replay dirty hack here 13.03 2013 (houqp).
empty_segments =... | agpl-3.0 |
cshore-firmware/openwrt-luci | applications/luci-app-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua | 92 | 6917 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
gallenmu/MoonGen | libmoon/lua/lib/turbo/examples/static.lua | 12 | 1086 | --- Turbo.lua Static file server example
--
-- Copyright 2013 John Abrahamsen
--
-- 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... | mit |
cleytonk/globalfull | data/spells/scripts/party/train.lua | 15 | 1869 | local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, COND... | gpl-2.0 |
Lsty/ygopro-scripts | c82633039.lua | 3 | 2697 | --้ณฅ้ๅฃซใซในใใซ
function c82633039.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82633039,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFEC... | gpl-2.0 |
intel2TM/intel | bot/utils.lua | 473 | 24167 | 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 |
Lsty/ygopro-scripts | c35027493.lua | 3 | 2764 | --้ญใฎใใใญ็ ดๅฃใฆใคใซใน
function c35027493.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_TOHAND+0x1c0)
e1:SetCost(c35027493.cost)
e1:SetTarget(c35027493.target)
e1:SetOperation(c3502749... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Eastern_Altepa_Desert/IDs.lua | 8 | 2746 | -----------------------------------
-- Area: Eastern_Altepa_Desert
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.EASTERN_ALTEPA_DESERT] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 12 | 1247 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
adan830/luacheck | src/luacheck/check.lua | 3 | 5176 | local parse = require "luacheck.parser"
local linearize = require "luacheck.linearize"
local analyze = require "luacheck.analyze"
local reachability = require "luacheck.reachability"
local handle_inline_options = require "luacheck.inline_options"
local core_utils = require "luacheck.core_utils"
local utils = require "l... | mit |
MalRD/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua | 12 | 1159 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shahau
-- Type: Alchemy Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
-----... | gpl-3.0 |
MalRD/darkstar | scripts/globals/items/shrimp_cracker.lua | 11 | 1183 | -----------------------------------------
-- ID: 5635
-- Item: shrimp_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Vitality 1
-- DEF +10
-- Amorph Killer 10
-- Resist Virus +10
-- HP Recovered While Healing 8
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
Lsty/ygopro-scripts | c43932460.lua | 3 | 1854 | --ใใใฅใซใปใฉใณใใชใซใน
function c43932460.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c43932460.synfilter,aux.NonTuner(c43932460.synfilter),1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(43932460,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:Se... | gpl-2.0 |
Lsty/ygopro-scripts | c12014404.lua | 3 | 2148 | --ใฌใฌใฌใฌใณใใณ
function c12014404.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--effect
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DAMAGE)
e1:SetDescription(aux.Stringid(12014404,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRa... | gpl-2.0 |
Lsty/ygopro-scripts | c95286165.lua | 3 | 1816 | --่ๅ่งฃ้ค
function c95286165.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c95286165.target)
e1:SetOperation(c95286165.activate)
... | gpl-2.0 |
openwrt/luci | applications/luci-app-dockerman/luasrc/model/cbi/dockerman/containers.lua | 3 | 6282 | --[[
LuCI - Lua Configuration Interface
Copyright 2019 lisaac <https://github.com/lisaac/luci-app-dockerman>
]]--
local http = require "luci.http"
local docker = require "luci.model.docker"
local m, s, o
local images, networks, containers, res
local dk = docker.new()
res = dk.images:list()
if res.code <300 then
ima... | apache-2.0 |
MalRD/darkstar | scripts/zones/Northern_San_dOria/npcs/Guilberdrier.lua | 9 | 2506 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guilberdrier
-- Involved in Quests: Flyers for Regine, Exit the Gambler
-- !pos -159.082 12.000 253.794 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/settings")
require... | gpl-3.0 |
Lsty/ygopro-scripts | c12965761.lua | 3 | 4129 | --ใในใปใใณใใซ
function c12965761.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12965761,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c12965761.eqtg)
e1:SetOperation(c12... | gpl-2.0 |
Lsty/ygopro-scripts | c60004971.lua | 3 | 3153 | --ใใฉใฐใใใฃใฎ็ฅๆง
function c60004971.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(c60004971.target)
e1:SetOperation(c60004971.operation)
c:RegisterEffect(e... | gpl-2.0 |
Lsty/ygopro-scripts | c2956282.lua | 3 | 1796 | --ใใใฅใซใปใใซใญใชใณ
function c2956282.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c2956282.synfilter,aux.NonTuner(c2956282.synfilter),1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(2956282,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType... | gpl-2.0 |
Lsty/ygopro-scripts | c82016179.lua | 7 | 1516 | --ๆฃฎ็พ
ใฎๆฝใ
function c82016179.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,82016179+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c82016179... | gpl-2.0 |
Lsty/ygopro-scripts | c17259470.lua | 7 | 1785 | --ใพใณใใปใในใฟใผ
function c17259470.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17259470,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:SetCos... | gpl-2.0 |
Lsty/ygopro-scripts | c37192109.lua | 3 | 4501 | --PSYใใฌใผใ ใญใผใใปฮ
function c37192109.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(37192109,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFEC... | gpl-2.0 |
Frenzie/koreader | frontend/ui/elements/refresh_menu_table.lua | 4 | 5210 | local Event = require("ui/event")
local UIManager = require("ui/uimanager")
local _ = require("gettext")
local T = require("ffi/util").template
local function custom(refresh_rate_num)
local default_value
if refresh_rate_num == "refresh_rate_1" then
default_value = 12
elseif refresh_rate_num == "ref... | agpl-3.0 |
MalRD/darkstar | scripts/globals/spells/bluemagic/cimicine_discharge.lua | 12 | 1471 | -----------------------------------------
-- Spell: Cimicine Discharge
-- Reduces the attack speed of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+1, AGI+2
-- Level: 78
-- Casting Time: 3 seconds
-- Recast Time: 20 seconds
--... | gpl-3.0 |
MalRD/darkstar | scripts/globals/spells/herculean_etude.lua | 12 | 1615 | -----------------------------------------
-- Spell: Herculean Etude
-- Static STR Boost, BRD 74
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Selbina/npcs/Thunder_Hawk.lua | 11 | 1716 | -----------------------------------
-- Area: Selbina
-- NPC: Thunder Hawk
-- Starts and Finishes Quest: The Rescue
-- !pos -58 -10 6 248
-----------------------------------
local ID = require("scripts/zones/Selbina/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/npc_util")
require("scripts/globals/t... | gpl-3.0 |
Lsty/ygopro-scripts | c70307656.lua | 5 | 1342 | --ใฐใฉใใธ
function c70307656.initial_effect(c)
--direct attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DIRECT_ATTACK)
c:RegisterEffect(e1)
--atkup
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_BATTLE_DAMAGE)
e2:SetO... | gpl-2.0 |
Lsty/ygopro-scripts | c82642348.lua | 3 | 1048 | --ใฏใซใผใจใซ
function c82642348.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82642348,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_COIN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c82642348.descon)
e1:SetTarget... | gpl-2.0 |
amery/lua-mimeparse | src/mimeparse.lua | 1 | 7069 | --
-- This module provides basic functions for handling mime-types. It can
-- handle matching mime-types against a list of media-ranges. See section
-- 14.1 of the HTTP specification [RFC 2616] for a complete explanation.
--
-- http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
--
-- A port to Lua/Lpeg of... | mit |
Lsty/ygopro-scripts | c98273947.lua | 3 | 2152 | --ใจใณใธใงใซใปใชใใ
function c98273947.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(c98273947.target)
e1:SetOpe... | gpl-2.0 |
NENO7/GENERAL | DEVGENERAL/utils.lua | 74 | 30284 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = (loadfile "./libs/serpent.lua")()
feedparser = (loadfile "./libs/feedparser.lua")()
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.l... | gpl-2.0 |
Lsty/ygopro-scripts | c45627618.lua | 3 | 4093 | --่ฆ็้ป็ซใชใใใขใคใบใปใชใใชใชใณใปใใฉใดใณ
function c45627618.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),7,2)
c:EnableReviveLimit()
--pendulum summon
aux.AddPendulumProcedure(c)
--pendulum set
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LO... | gpl-2.0 |
Noneatme/MTA-SCP-049 | client/texture/CTextureReplacer.lua | 1 | 1636 | -- #######################################
-- ## Project: MTA:scp-088 ##
-- ## Name: TextureReplacer.lua ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Functions
loc... | mit |
Death15/Test | bot/utils.lua | 28 | 14994 | 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 |
Frenzie/koreader | frontend/ui/widget/trapwidget.lua | 4 | 5281 | --[[--
Invisible full screen widget for catching UI events.
(for use with or by Trapper to interrupt its processing).
Can optionally display a text message at bottom left of screen
(ie: "Loadingโฆ")
]]
local Blitbuffer = require("ffi/blitbuffer")
local BottomContainer = require("ui/widget/container/bottomcontainer")
... | agpl-3.0 |
Lsty/ygopro-scripts | c28637168.lua | 5 | 1637 | --ใฏใฌใผใณใฏใฌใผใณ
function c28637168.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(28637168,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:SetCount... | gpl-2.0 |
Lsty/ygopro-scripts | c35686187.lua | 3 | 1145 | --ๆญ้ ญๅฐใฎๆจๅ
function c35686187.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHANGE_POS)
e1:SetCondition(c35686187.condition)
e1:SetTarget(c35686187.target)
e1:SetOperation(c35686187.activate)
c:RegisterEffect(e1)
en... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Bastok_Markets/npcs/Hortense.lua | 12 | 1211 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Hortense
-- Standard Merchant NPC
-- !pos -82.503 -4.849 -132.376 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs")
require("scripts/globals/shop")
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Nyzul_Isle/mobs/Alexander.lua | 9 | 2658 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- Mob: Alexander
-----------------------------------
local ID = require("scripts/zones/Nyzul_Isle/IDs")
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mob)
mob:setMobMod(dsp.mobMod.NO_MOVE, 1);
... | gpl-3.0 |
MalRD/darkstar | scripts/zones/VeLugannon_Palace/npcs/qm1.lua | 12 | 1454 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: ??? (qm1)
-- !pos -370.039 16.014 -274.378 177
-----------------------------------
local ID = require("scripts/zones/VeLugannon_Palace/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,np... | gpl-3.0 |
hfjgjfg/hack54 | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
Lsty/ygopro-scripts | c52860176.lua | 3 | 1268 | --ๆไพใใใใฉใใใปใฝใฆใซ
function c52860176.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52860176,0))
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c52860176.cost)
e1:SetTarget(c52860176.target)
e1:SetOperation(c528... | gpl-2.0 |
ThingMesh/openwrt-luci | contrib/luadoc/lua/luadoc/taglet/standard/tags.lua | 93 | 5221 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
cleytonk/globalfull | data/chatchannels/scripts/advertising.lua | 48 | 1220 | function canJoin(player)
return player:getVocation():getId() ~= VOCATION_NONE or player:getAccountType() >= ACCOUNT_TYPE_SENIORTUTOR
end
local CHANNEL_ADVERTISING = 5
local muted = Condition(CONDITION_CHANNELMUTEDTICKS, CONDITIONID_DEFAULT)
muted:setParameter(CONDITION_PARAM_SUBID, CHANNEL_ADVERTISING)
muted:setPara... | gpl-2.0 |
Lsty/ygopro-scripts | c68182934.lua | 3 | 1414 | --Sky Dragoons of Draconia
function c68182934.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(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:SetCategory(CATEGORY_DESTROY)... | gpl-2.0 |
A-N-bot/super10 | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
ThingMesh/openwrt-luci | modules/rpc/luasrc/controller/rpc.lua | 70 | 4443 | --[[
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 | c15341821.lua | 3 | 1256 | --ใใณใใฃใฉใคใชใณ
function c15341821.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(15341821,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetTarget(c15341821.target)
e1:SetOperatio... | gpl-2.0 |
thebracket/bgame | world_defs/materials.lua | 1 | 43313 | function tfn(name) return "game_assets/terrain/" .. name end
next_texture_id = 0
function tid()
tmp = next_texture_id
next_texture_id = next_texture_id + 3
return tmp
end
terrain_textures = {}
function registerTerrainTexture(name, filename)
if terrain_textures[name] ~= nil then
print("WARNING:... | gpl-3.0 |
hfjgjfg/PERSIANGUARD1010 | plugins/plugins.lua | 18 | 6205 | 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 function plugin_exists( ... | gpl-2.0 |
Lsty/ygopro-scripts | c1435851.lua | 3 | 1637 | --ใใฉใดใณใฎ็งๅฎ
function c1435851.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(c1435851.target)
e1:SetOperation(c1435851.operation)
c:RegisterEffect(e1)
-... | gpl-2.0 |
Aaa1r/DRAGON | plugins/sticker.lua | 2 | 1617 | --[[
โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโ โโ โโ
โโ โโ BY ali dragon โโ โโ
โโ โโ BY ali dragon (@Aaa1R) โโ โโ
โโ โโ JUST WRITED BY :ali dragon โโ โโ
โโ โโ sticker : ุชุญููู ู
ูุตู โโ โโ
โ... | gpl-2.0 |
Lsty/ygopro-scripts | c32061744.lua | 5 | 1640 | --ใจใฌใญใผใใผ
function c32061744.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:SetTarget(c32061744.target)
e1:SetOperation(c32061744.activate)
c:RegisterEff... | gpl-2.0 |
Lsty/ygopro-scripts | c69122763.lua | 3 | 1377 | --ๅฎ่ญท้ใฎใๅฎใ
function c69122763.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c6912276... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Port_San_dOria/npcs/Ceraulian.lua | 9 | 5082 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ceraulian
-- Involved in Quest: The Holy Crest
-- !pos 0 -8 -122 232
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
l... | gpl-3.0 |
cshore-firmware/openwrt-luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua | 141 | 1038 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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$
]]--
require("luci.i18n")
re... | apache-2.0 |
maxrio/luci981213 | modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua | 78 | 2244 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.sys.zoneinfo")
require("luci.tools.webadmin")
require("luci.util")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li... | apache-2.0 |
Lsty/ygopro-scripts | c22404675.lua | 3 | 2798 | --้ทๅธๅฎถ่ฃใในใฉ
function c22404675.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,22404675)
e1:SetTarget(c22404675.sptg)
e1:SetOperation(c22404675.spop)
c:RegisterEffect(e1)
--s... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua | 9 | 1969 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Shattered telepoint
-- !pos 135 19 220 108
-----------------------------------
local ID = require("scripts/zones/Konschtat_Highlands/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------... | gpl-3.0 |
Lsty/ygopro-scripts | c96029574.lua | 3 | 2978 | --ใใฉใใฏใปใใซใใฉใด
function c96029574.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsType,TYPE_DUAL),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96029574,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e... | gpl-2.0 |
MahmoudDolah/Firmware-Entry-Points-In-Memory | openwrt/openwrt-generic-x86/usr/lib/lua/luci/ltn12.lua | 84 | 8954 | --[[
LuaSocket 2.0.2 license
Copyright ๏ฟฝ 2004-2007 Diego Nehab
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, me... | apache-2.0 |
MalRD/darkstar | scripts/zones/Apollyon/mobs/Fire_Elemental.lua | 9 | 2116 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Fire Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
loc... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mindala-Andola_CC.lua | 11 | 4316 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Mindala Andola C.C.
-- Type: Sigil NPC
-- !pos -31.869 -6.009 226.793 94
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters_[S]/IDs")
require("scripts/globals/campaign")
require("scripts/globals/status")
-------... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Hazhalm_Testing_Grounds/npcs/_260.lua | 9 | 1112 | -----------------------------------
-- Area: Hazhalm Testing Grounds
-- NPC: Entry Gate (TOAU-36)
-----------------------------------
local ID = require("scripts/zones/Hazhalm_Testing_Grounds/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/titles");
-----------... | gpl-3.0 |
colesbury/cudnn.torch | SpatialSoftMax.lua | 1 | 3027 | local SpatialSoftMax, parent = torch.class('cudnn.SpatialSoftMax', 'nn.Module')
local errcheck = cudnn.errcheck
function SpatialSoftMax:__init(fast)
parent.__init(self)
if fast then
self.algorithm = 'CUDNN_SOFTMAX_FAST'
else
self.algorithm = 'CUDNN_SOFTMAX_ACCURATE'
end
self.mode = 'CUDNN_SO... | bsd-2-clause |
Lsty/ygopro-scripts | c88942504.lua | 3 | 1701 | --็ฎก้ญไบบใกใญใกใญใกใญใใฃ
function c88942504.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,3,2)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88942504,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:Se... | gpl-2.0 |
gallenmu/MoonGen | libmoon/lua/lib/syscall/linux/errors.lua | 24 | 5242 | -- Linux error messages
return {
PERM = "Operation not permitted",
NOENT = "No such file or directory",
SRCH = "No such process",
INTR = "Interrupted system call",
IO = "Input/output error",
NXIO = "No such device or address",
["2BIG"] = "Argument list too long",
NOEXEC = "Exec format error",
BADF = ... | mit |
Wuzzy2/mobs_mc | silverfish.lua | 1 | 3681 | --###################
--################### SILVERFISH
--###################
-- intllib
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
mobs:register_mob("mobs_mc:silverfish", {
type = "monster",
passive = false,
group_attack = true,
reach = 1,
hp_min = 8,... | gpl-3.0 |
hfjgjfg/hack54 | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
mati865/vlc | share/lua/playlist/canalplus.lua | 113 | 3501 | --[[
$Id: $
Copyright (c) 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 distr... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.