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 |
|---|---|---|---|---|---|
anshkumar/yugioh-glaze | assets/script/c5318639.lua | 3 | 1106 | --サイクロン
function c5318639.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_END_PHASE+TIMING_EQUIP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c5318639.target)
e1:SetOpe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c38522377.lua | 3 | 3249 | --機皇神龍アステリスク
function c38522377.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c38522377.spcon)
c:RegisterEffect(e1)
--atku... | gpl-2.0 |
zwhfly/openwrt-luci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 86 | 1449 | --[[
Luci statistics - df plugin diagram definition
(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
http://www.apache.... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c97452817.lua | 3 | 3561 | --アルカナフォースXVIII-THE MOON
function c97452817.initial_effect(c)
--coin
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(97452817,0))
e1:SetCategory(CATEGORY_COIN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c97452817.cointg)
e1:SetOperation(c974... | gpl-2.0 |
assassinboy208/eagleTG | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c34160055.lua | 5 | 1181 | --龍炎剣の使い手
function c34160055.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34160055,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c34160055.target)
e... | gpl-2.0 |
zxcwe/uhf | plugins/stats.lua | 1 | 4101 | 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 |
sjznxd/lc-20130302 | applications/luci-pbx/luasrc/model/cbi/pbx-google.lua | 146 | 5490 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c89258225.lua | 3 | 1485 | --ハ・デスの使い魔
function c89258225.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89258225,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c89258225.co... | gpl-2.0 |
fmidev/himan | himan-scripts/gfs-precipitation.lua | 1 | 4073 | --
-- Calculate precipitation rate for GFS from APCP and ACPCP, and
-- FMI type precipitation form from CRAIN, CFRZR, CICEP and CSNOW.
--
-- NB! This script works ONLY FOR GFS!
--
-- partio 2016-06-15
--
local MISS = missing
local groundlevel = level(HPLevelType.kGround, 0)
local step = current_time:GetStep():Hours()
... | mit |
TETOO2020/THETETOO_A8 | plugins/kickall1.lua | 7 | 1415 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : طـرد الكــل ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀... | gpl-2.0 |
dwing4g/jane | tool/metalualib/metalua/string2.lua | 4 | 1215 |
----------------------------------------------------------------------
----------------------------------------------------------------------
--
-- String module extension
--
----------------------------------------------------------------------
----------------------------------------------------------------------
-... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c54455435.lua | 7 | 1442 | --ガスタの巫女 ウィンダ
function c54455435.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(54455435,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c54455435.condition)
e1:... | gpl-2.0 |
PocoCraftSource/FiveNightsatFreddysGMod | entities/effects/propspawn.lua | 4 | 3791 |
local cl_drawspawneffect = CreateConVar( "cl_drawspawneffect", "1", { FCVAR_ARCHIVE } )
local matRefract = Material( "models/spawn_effect" )
local matLight = Material( "models/spawn_effect2" )
--[[---------------------------------------------------------
Initializes the effect. The data is a table of data
w... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57046845.lua | 3 | 1214 | --剣聖-ネイキッド・ギア・フリード
function c57046845.initial_effect(c)
c:EnableReviveLimit()
--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)
--destroy
local e2=Ef... | gpl-2.0 |
tetoali605/THETETOO_A6A | plugins/all.lua | 41 | 4395 | do
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_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41201555.lua | 3 | 2738 | --コアキメイル・グラヴィローズ
function c41201555.initial_effect(c)
--cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c4... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c47198668.lua | 3 | 3758 | --DDD死偉王ヘル・アーマゲドン
function c47198668.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)
--atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRa... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c84749824.lua | 3 | 2343 | --神の警告
function c84749824.initial_effect(c)
--Activate(summon)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON)
e1:SetCondition(c84749824.condition1)
e1:SetCost(c84749824.cost1)
e1:SetTarget(c84749824.target1)
e1:... | gpl-2.0 |
adan830/UpAndAway | code/postinits/biome_effects.lua | 2 | 1495 | modrequire "lib.climbing"
local function start_snow()
TheMod:DebugSay("start_snow()")
local sm = GetPseudoSeasonManager()
if sm then
sm:AlwaysWet()
sm:StartPrecip()
end
end
local function stop_snow()
TheMod:DebugSay("stop_snow()")
local sm = GetPseudoSeasonManager()
if sm ... | gpl-2.0 |
felipedaragon/sailor | test/dev-app/tests/unit/db.lua | 6 | 2350 | local db = require "sailor.db"
local helper = require "tests.helper"
describe("Testing db module", function()
local fixtures = require "tests.fixtures.post"
local count = #fixtures
it("should find 1 result",function()
db.connect()
local res = db.query("select * from post where id = 1")
db.close()
assert.i... | mit |
anshkumar/yugioh-glaze | assets/script/c9074847.lua | 3 | 2137 | --大騒動
function c9074847.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_TO_HAND)
e1:SetCondition(c9074847.condition)
e1:SetTarget(c9074847.target)
e1:SetOperation(c9074847.operation)
c:Registe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c24294108.lua | 6 | 1663 | --燃えさかる大地
function c24294108.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(c24294108.target)
e1:SetOperation(c24294108.activate)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c93542102.lua | 3 | 2353 | --D・モバホン
function c93542102.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93542102,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c93542102.cona)
e1:SetTarget(c93542... | gpl-2.0 |
walid55/all_wazer1 | plugins/plugins.lua | 5 | 6164 | 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 |
asmagill/hammerspoon_filelistmenu | init.lua | 1 | 34179 |
--- === hs._asm.filelistmenu ===
---
--- This module allows the easy creation of drop-down menubar items which contain file lists that match specified criteria. The default settings make it trivial to create an Application launcher menu, but more complex menus are also possible. The match criteria specified is also ... | mit |
anshkumar/yugioh-glaze | assets/script/c50457953.lua | 3 | 1408 | --幻木龙
function c50457953.initial_effect(c)
--lvchange
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50457953,0))
e1:SetCategory(CATEGORY_LVCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c50457953.lvt... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c74576482.lua | 3 | 3058 | --コアキメイル・シーパンサー
function c74576482.initial_effect(c)
--cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c74... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c30606547.lua | 5 | 1241 | --暗黒の扉
function c30606547.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--cannot attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetCode(EFFECT_CA... | gpl-2.0 |
Julzso23/upwardsjourney | resources/lib/MessagePack.lua | 2 | 32759 | --
-- lua-MessagePack : <http://fperrad.github.com/lua-MessagePack/>
--
local r, jit = pcall(require, 'jit')
if not r then
jit = nil
end
local SIZEOF_NUMBER = 8
local NUMBER_INTEGRAL = false
if not jit then
-- Lua 5.1 & 5.2
local loadstring = loadstring or load
local luac = string.dump(loadstring "a =... | apache-2.0 |
Tiger66639/premake-core | src/base/rule.lua | 14 | 3133 | ---
-- base/rule.lua
-- Defines rule sets for generated custom rule files.
-- Copyright (c) 2014 Jason Perkins and the Premake project
---
local p = premake
p.rule = p.api.container("rule", p.global)
local rule = p.rule
---
-- Create a new rule container instance.
---
function rule.new(name)
local self = p.... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c93217231.lua | 3 | 1478 | --毒蛇の供物
function c93217231.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1e0)
e1:SetTarget(c93217231.target)
e1:SetOperation(c93217231.activ... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/modules/luci-base/luasrc/model/uci.lua | 49 | 4995 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local uci = require "uci"
local util = require "luci.util"
local table = require "table"
local setmetatable, rawget, rawset = setmetatable, rawget, rawset
local require, getmetata... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c65282484.lua | 3 | 2968 | --ダーク・ボルテニス
function c65282484.initial_effect(c)
--counter
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND)
e1:SetOperation(c65282484.chop1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIEL... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/actions/ninja/ninja_solution.lua | 26 | 4636 | --
-- GENie - Project generator tool
-- https://github.com/bkaradzic/GENie#license
--
local ninja = premake.ninja
local p = premake
local solution = p.solution
function ninja.generate_solution(sln)
-- create a shortcut to the compiler interface
local cc = premake[_OPTIONS.cc]
-- build a list of supported target... | gpl-2.0 |
MoZhonghua/skynet | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
anshkumar/yugioh-glaze | assets/script/c83957459.lua | 7 | 1038 | --ライノタウルス
function c83957459.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_EXTRA_ATTACK)
e1:SetCondition(c83957459.macon)
e1:SetValue(1)
c:RegisterEffect(e1)
if not c83957459.global_check then
c83957459.global_check=true
c83957459[0]=0
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c66457407.lua | 3 | 1324 | --コピー・プラント
function c66457407.initial_effect(c)
--lvchange
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(66457407,0))
e1:SetCategory(CATEGORY_LVCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c6645740... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c11159464.lua | 5 | 1350 | --ワーム・ホープ
function c11159464.initial_effect(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FLIP+EFFECT_TYPE_SINGLE)
e1:SetCategory(CATEGORY_DRAW)
e1:SetTarget(c11159464.drtg)
e1:SetOperation(c11159464.drop)
c:RegisterEffect(e1)
--discard
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.... | gpl-2.0 |
gajjanag/config_files | awesome/lain/util/markup.lua | 4 | 2367 |
--[[
Licensed under MIT License
* (c) 2013, Luke Bonham
* (c) 2009, Uli Schlachter
* (c) 2009, Majic
--]]
local string = { format = string.format }
local setmetatable = setmetatable
-- Lain markup util s... | mit |
zwhfly/openwrt-luci | libs/core/luasrc/ccache.lua | 82 | 1863 | --[[
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
ht... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c98558751.lua | 3 | 3343 | --TG ワンダー・マジシャン
function c98558751.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x27),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(98558751,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFE... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c86325573.lua | 5 | 1970 | --BK ビッグバンテージ
function c86325573.initial_effect(c)
--battle indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT)
e1:SetCountLimit(1)
e1:SetValue(c86325573.valcon)
c:RegisterEffect(e1)
-... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c26949946.lua | 5 | 2886 | --幻獣機ヤクルスラーン
function c26949946.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x101b),aux.NonTuner(Card.IsSetCard,0x101b),1)
c:EnableReviveLimit()
--handes
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26949946,0))
e1:SetCategory(CATEGORY_HAND... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c82293134.lua | 5 | 1815 | --紋章獣レオ
function c82293134.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82293134,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCondition(c8229313... | gpl-2.0 |
sjznxd/lc-20130302 | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
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 |
anshkumar/yugioh-glaze | assets/script/c14469229.lua | 3 | 2636 | --宝玉の守護者
function c14469229.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)
--replace
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOU... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c54635862.lua | 3 | 1285 | --ジェントルーパー
function c54635862.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(54635862,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c5463586... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c10028593.lua | 5 | 1028 | --輪廻天狗
function c10028593.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10028593,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_LEAVE_FIELD)
e1:SetCondition(c10028593.spcon)
e1:SetTarget(c10028593.sp... | gpl-2.0 |
Tiger66639/premake-core | src/actions/make/make_solution.lua | 1 | 4283 | --
-- make_workspace.lua
-- Generate a workspace-level makefile.
-- Copyright (c) 2002-2015 Jason Perkins and the Premake project
--
local p = premake
local make = p.make
local tree = p.tree
local project = p.project
--
-- Generate a GNU make "workspace" makefile, with support for the new platforms API.
--
fun... | bsd-3-clause |
johnparker007/mame | 3rdparty/genie/tests/project/test_vpaths.lua | 51 | 3834 | --
-- tests/project/test_vpaths.lua
-- Automated test suite for the project support functions.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
T.project_vpaths = { }
local suite = T.project_vpaths
local project = premake.project
--
-- Setup and teardown
--
local sln
function suite.setup()
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c94253609.lua | 9 | 1109 | --エレメンタル・アブソーバー
function c94253609.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c94253609.cost)
c:RegisterEffect(e1)
--cannot attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_A... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c13108445.lua | 3 | 2178 | --ジェムナイト・アクアマリナ
function c13108445.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,27126980,aux.FilterBoolFunction(Card.IsSetCard,0x1047),1,false,false)
--spsummon condition
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISAB... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c82693042.lua | 5 | 1662 | --混沌球体
function c82693042.initial_effect(c)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_ADD_ATTRIBUTE)
e1:SetValue(ATTRIBUTE_LIGHT)
c:RegisterEffect(e1)
--battle indes
local e2=Effect.CreateEf... | gpl-2.0 |
alireza1998/power | plugins/webshot.lua | 4 | 1471 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
fmidev/himan | himan-scripts/llf.lua | 1 | 4326 | -- Highest LLF (Low Level Forecast) cloud top:
-- - top shown for cloud amount N>55% (at least ~BKN cloud) or TCu/Cb top (if higher)
-- - max value FL125 (i.e. higher cloud tops are ignored in layered clouds)
-- - in hft above surface below FL050 (at 1hft resolution)
-- - in FL above FL050 (at 5hft resolution)
--
-- - ... | mit |
anshkumar/yugioh-glaze | assets/script/c40619741.lua | 3 | 1143 | --ヴァイロン・ソルジャー
function c40619741.initial_effect(c)
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40619741,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetTarget(c4061... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c91070115.lua | 3 | 2182 | --エーリアン・テレパス
function c91070115.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91070115,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c91070115.... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c17536995.lua | 5 | 1294 | --紋章変換
function c17536995.initial_effect(c)
--end battle phase
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c17536995.condition)
e1:SetTarget(c17536995.target)
e1:SetOperation(c17536995.operation)
c:Re... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c24943456.lua | 9 | 1184 | --TG パワー・グラディエイター
function c24943456.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x27),1)
c:EnableReviveLimit()
--pierce
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PIERCE)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateE... | gpl-2.0 |
leereilly/hawkthorne-journey | src/vendor/AdvTiledLoader/init.lua | 3 | 1788 | TILED_LOADER_PATH = TILED_LOADER_PATH or ({...})[1]:gsub("[%.\\/]init$", "") .. '.'
-- Return the classes in a table
return {
Map = require(TILED_LOADER_PATH .. "Map"),
TileLayer = require(TILED_LOADER_PATH .. "TileLayer"),
Tile = require(TILED_LOADER_PATH .. "Tile"),
TileSet = require(TILED_LOADER_PATH ..... | mit |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua | 57 | 1951 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.processes", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
{
title = "%H: Processes",
vlabel = "Proce... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c17201174.lua | 5 | 1427 | --ハンマー・シャーク
function c17201174.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17201174,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c17201174.sptg)
e1:SetOperation(c17201174... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/actions/ninja/ninja_swift.lua | 38 | 3926 | --
-- Generates Ninja project file for Swift
-- Copyright (c) 2016 Stuart Carnie and the GENie project
--
local ninja = premake.ninja
local swift = {}
local p = premake
-- generate project + config build file
function ninja.generate_swift(prj)
local pxy = ninja.get_proxy("prj", prj)
local tool = premake.gett... | gpl-2.0 |
andrejzverev/rspamd | test/lua/compat_env.lua | 11 | 13692 | --[[
compat_env v$(_VERSION) - Lua 5.1/5.2 environment compatibility functions
SYNOPSIS
-- Get load/loadfile compatibility functions only if using 5.1.
local CL = pcall(load, '') and _G or require 'compat_env'
local load = CL.load
local loadfile = CL.loadfile
-- The following now works in both Lua... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c92394653.lua | 3 | 2126 | --スピリットの誘い
function c92394653.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(92394653,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
... | gpl-2.0 |
TETOO2020/THETETOO_A8 | plugins/delete.lua | 5 | 1723 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▄@l_l_lo ▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ delete : حذف الرسائل ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀
--]]
local function history(ext... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua | 68 | 1513 | -- 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
chan_agent = module:option(L... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c49879995.lua | 7 | 1209 | --ファントム・ドラゴン
function c49879995.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49879995,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c4987... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c66413481.lua | 3 | 2328 | --炎王獣 ヤクシャ
function c66413481.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(66413481,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_DESTROY... | gpl-2.0 |
johnparker007/mame | plugins/cheat/init.lua | 5 | 26231 | -- license:BSD-3-Clause
-- copyright-holders:Carl
--
-- json cheat file format
-- [{
-- "desc": "text",
-- "parameter": {
-- "min": "minval(0)",
-- "max": "maxval(numitems)",
-- "step": "stepval(1)",
-- "item" [{
-- "value": "itemval(index*stepval+minval)",
-- "text": "text"
-- },
--... | gpl-2.0 |
dwing4g/jane | tool/genbeans_lua.lua | 1 | 6297 | -- UTF-8 without BOM
local error = error
local print = print
local pairs = pairs
local ipairs = ipairs
local format = string.format
local concat = table.concat
local open = io.open
local type = type
local arg = {...}
local template_bean = [=[
-- UTF-8 without BOM
-- This file is generated by genbeans tool. DO NOT EDIT... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c26302522.lua | 3 | 2337 | --スフィア・ボム球体時限爆弾
function c26302522.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26302522,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_CONFIRM)
e1:SetCondition(c26302522.eqcon)
e1:SetOperation(c26302522... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c50755.lua | 8 | 1610 | --マジシャンズ・サークル
function c50755.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c50755.condition)
e1:SetTarget(c50755.target)
e1:SetOperation(c50755.activate)
c:RegisterEffect(e... | gpl-2.0 |
Tiger66639/premake-core | tests/actions/vstudio/cs2005/test_project_refs.lua | 5 | 3253 | --
-- tests/actions/vstudio/cs2005/test_project_refs.lua
-- Test the project dependencies block of a Visual Studio 2005+ C# project.
-- Copyright (c) 2012 Jason Perkins and the Premake project
--
T.vstudio_cs2005_project_refs = {}
local suite = T.vstudio_cs2005_project_refs
local cs2005 = premake.vstudio.cs2005
-... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c45586855.lua | 7 | 1658 | --A・O・J サイクロン・クリエイター
function c45586855.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45586855,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c45586855.cost)
e1:SetTarget(c45586855.targ... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c53251824.lua | 3 | 1630 | --RR-バニシング・レイニアス
function c53251824.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c53251824.spcon)
e1:SetTarget(c53251824.sptg)
e1:SetOperation(c53251824... | gpl-2.0 |
paladiyom/paladerz | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
hadirahimi1380/botahriman | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c86801871.lua | 7 | 1495 | --スネークポット
function c86801871.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86801871,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP)
e1:SetTarget(c86801871.sptg)
e1:SetOperation(c86801871.spop)
c:RegisterEffe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c95993388.lua | 3 | 3052 | --地帝家臣ランドローブ
function c95993388.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,95993388)
e1:SetTarget(c95993388.sptg)
e1... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c73445448.lua | 3 | 2701 | --No.22 不乱健
function c73445448.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),8,2)
c:EnableReviveLimit()
--spsummon limit
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c79759861.lua | 3 | 1206 | --死者への手向け
function c79759861.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c79759861.cost)
e1:SetTarget(c79759861.target)
e1:SetOperation(c79759861.ac... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c79798060.lua | 3 | 1885 | --地縛神 Ccarayhua
function c79798060.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(c79798060.sdcon)
c:RegisterEffect(e4)
--b... | gpl-2.0 |
MadkaT182/DDR3rdMix | Scripts/02 Branches.lua | 1 | 8038 | function CompanyScreen()
if GAMESTATE:GetCoinMode() == 'CoinMode_Pay' then
return "ScreenCompany";
else
return "ScreenComHome";
end;
end;
function ChkBoot()
return "ScreenBoot";
end;
function ChkPlayMode()
return GMode == "Bonus" and "ScreenSelectMusicBonus" or "ScreenSelectPlayMode"
end
-- Show the special... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c98076754.lua | 3 | 3118 | --セフィラの聖選士
function c98076754.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c98076754.condition)
c:RegisterEffect(e1)
--Atk up
local e2=Effe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c63477921.lua | 7 | 1220 | --サイバー・サモン・ブラスター
function c63477921.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(63477921,0))
e2:SetCategory(CATEGORY_DAMAGE)
e2:SetType(EF... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c2203790.lua | 3 | 1393 | --XX-セイバー ヒュンレイ
function c2203790.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x100d),1)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(2203790,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SING... | gpl-2.0 |
kiarash14/br | plugins/invite.lua | 26 | 1071 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) or is_gbanned(result.id) then -- Ignore bans and globall bans
send_large_msg(chat, 'User is banned.')
else
ch... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c7025445.lua | 5 | 2488 | --パワー・ジャイアント
function c7025445.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(c7025445.spcon)
e1:SetOperation(c7025445.spop)
e1:SetValue(1)
c:Reg... | gpl-2.0 |
freifunk-gluon/luci | applications/luci-statistics/luasrc/statistics/i18n.lua | 69 | 2405 | --[[
Luci statistics - diagram i18n helper
(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
http://www.apache.org/licen... | apache-2.0 |
sjznxd/lc-20130302 | applications/luci-vnstat/luasrc/model/cbi/vnstat.lua | 90 | 2019 | --[[
LuCI - Lua Configuration Interface
Copyright 2010-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
]]--
loc... | apache-2.0 |
self-group/self | plugins/inrealm.lua | 850 | 25085 | -- 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_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c6924874.lua | 3 | 2105 | --ハーピィズペット仔竜
function c6924874.initial_effect(c)
--at limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(c6924874.atlimit)
c:RegisterEffect(e1)
--atk/def
local e2=Effect.... | gpl-2.0 |
zwhfly/openwrt-luci | libs/web/luasrc/http/protocol.lua | 55 | 18445 | --[[
HTTP protocol implementation for LuCI
(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
http://www.apache.org/licen... | apache-2.0 |
chenjiansnail/skynet | service/launcher.lua | 51 | 3199 | local skynet = require "skynet"
local core = require "skynet.core"
require "skynet.manager" -- import manager apis
local string = string
local services = {}
local command = {}
local instance = {} -- for confirm (function command.LAUNCH / command.ERROR / command.LAUNCHOK)
local function handle_to_address(handle)
retu... | mit |
anshkumar/yugioh-glaze | assets/script/c89914395.lua | 3 | 1310 | --ミョルニルの魔槌
function c89914395.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c89914395.condition)
e1:SetTarget(c89914395.target)
e1:SetOperation(c89914395.operation)
c:RegisterEff... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c94568601.lua | 3 | 2246 | --タイラント・ドラゴン
--not fully implemented
function c94568601.initial_effect(c)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_DISABLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_SZONE,LOCATION_SZONE)
e1:SetTarget(c94568601.distg)
c:RegisterEffect(e1)
--disable ... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57728570.lua | 3 | 2495 | --死のデッキ破壊ウイルス
function c57728570.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)
e1:SetCost(c57728570.cost)
e1:SetTarget(c57728570.target)
e1:SetOperation(c57728570.acti... | gpl-2.0 |
rickyHong/nn_lib_torch | DepthConcat.lua | 1 | 3876 | ------------------------------------------------------------------------
--[[ DepthConcat ]]--
-- Concatenates the output of Convolutions along the depth dimension
-- (nOutputFrame). This is used to implement the DepthConcat layer
-- of the Going deeper with convolutions paper :
-- http://arxiv.org/pdf/1409.4842v1.pdf... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.