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
dtaht/cerowrt-luci-3.3
applications/luci-statistics/luasrc/statistics/i18n.lua
9
2465
--[[ 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
nekrozar/ygopro-scripts
c30426226.lua
3
1162
--スウィッチヒーロー function c30426226.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetTarget(c30426226.target) e1:SetOperation(c30426226.activate)...
gpl-2.0
zhoushishang/Coc_Demo
src/model/BulletSprite.lua
1
1941
BulletSprite = class("BulletSprite", function(...) return cc.Sprite:create(...) end) BulletSprite.attacker = nil BulletSprite.target = nil BulletSprite.damage = nil function BulletSprite:shoot() self:setPosition(self.attacker:getPosition()) local src = GM:getNodePosition(self.attacker) local des = GM:getNo...
apache-2.0
nekrozar/ygopro-scripts
c92411493.lua
1
2691
--雨天気ラズラ function c92411493.initial_effect(c) --place local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92411493,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(1,92411493) e1:SetTarget(c92411493.tftg) e...
gpl-2.0
nekrozar/ygopro-scripts
c56894757.lua
3
2311
--ウィッチクラフト・ドレーピング function c56894757.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,56894757) e1:SetTarget(c56894757.target) e1:SetOperation(c56...
gpl-2.0
mihailim/koreader
frontend/device/kobo/device.lua
1
27502
local Generic = require("device/generic/device") local Geom = require("ui/geometry") local TimeVal = require("ui/timeval") local WakeupMgr = require("device/wakeupmgr") local logger = require("logger") local util = require("ffi/util") local _ = require("gettext") local function yes() return true end local function no(...
agpl-3.0
nekrozar/ygopro-scripts
c12800777.lua
2
2120
--風の精霊 ガルーダ function c12800777.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(c12800777.spcon) e1:SetOperation(c12800777.spo...
gpl-2.0
nekrozar/ygopro-scripts
c67045745.lua
2
2208
--F.A.ソニックマイスター function c67045745.initial_effect(c) --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetValue(c67045745.atkval) c:RegisterEffect(e1) --indes local e2=Effect.CreateEf...
gpl-2.0
nekrozar/ygopro-scripts
c7093411.lua
3
2298
--宝玉獣 サファイア・ペガサス function c7093411.initial_effect(c) --send replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_TO_GRAVE_REDIRECT_CB) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCondition(c7093411.repcon) e1:SetOperation(c7093411.repop) c:RegisterEffect(e1) --place local ...
gpl-2.0
ndronen/fbcunn
test/test_DataParallelComprehensive.lua
8
4447
-- Copyright 2004-present Facebook. All Rights Reserved. require 'optim' require 'cunn' require 'fbcunn' -- For nn.DataParallel require 'fbnn' -- For nn.Optim local base_gpu = 1 -- Primary GPU to use local num_gpus = 2 -- We will use {base_gpu, base_gpu+1, etc} with modulus torch.setdefaulttensortype('torch.Doubl...
bsd-3-clause
dtaht/cerowrt-luci-3.3
applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua
4
2640
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
apache-2.0
MNoya/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/heroes/tinker/pocket_factory.lua
1
4505
--[[ Author: Noya Creates a building, adds ability to spawn units every at an interval which decreases with engineering_upgrade levels ]] function BuildPocketFactory( event ) local caster = event.caster local ability = event.ability local point = event.target_points[1] local factory_duration = ...
gpl-3.0
Reza02100/moltafet
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
nekrozar/ygopro-scripts
c10813327.lua
2
1692
--やぶ蛇 function c10813327.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10813327,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c10813...
gpl-2.0
ld-test/lgi
samples/giostream.lua
5
3555
#! /usr/bin/env lua -- -- Sample lgi application for Gio files, streams and usage of -- Gio.Async It also serves as very crude timing 'benchmark' showing -- overhead of assorted types operations. -- local lgi = require 'lgi' local GLib = lgi.GLib local Gio = lgi.Gio local assert = lgi.assert local app = Gio.Applica...
mit
nekrozar/ygopro-scripts
c59392529.lua
3
2475
--E・HERO リキッドマン function c59392529.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59392529,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) ...
gpl-2.0
nekrozar/ygopro-scripts
c46589034.lua
2
2315
--RR-ペイン・レイニアス function c46589034.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,46589034) e1:SetTarget(c46589034.sptg) e1:SetOperation(c4...
gpl-2.0
MegadreamsBE/BlueBird
BB_GUI/elements/dxImage.lua
1
4365
----------------------------------< -- Bluebird GUI -- elements/dxImage.lua ----------------------------------< -- Element variables --[[------------------------------< dxElement -> dxImage ------------------- [Includes Basic Indicators] x : X position y : Y position sx : SX position sy : SY position pathOrImage : The...
mit
nekrozar/ygopro-scripts
c81028112.lua
7
1242
--エレキック・ファイター function c81028112.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81028112,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_...
gpl-2.0
nekrozar/ygopro-scripts
c75676192.lua
1
3344
--F.A.ホームトランスポーター function c75676192.initial_effect(c) --synchro summon c:EnableReviveLimit() aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION...
gpl-2.0
nekrozar/ygopro-scripts
c95697223.lua
4
1323
--竜の闘志 function c95697223.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c95697223.target) e1:SetOperation(c95697223.activate) c:RegisterEffect(e1) end function c95697223.filter(c) r...
gpl-2.0
nekrozar/ygopro-scripts
c83048208.lua
2
2643
--電子光虫-LEDバグ function c83048208.initial_effect(c) --xyzlimit local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_SINGLE) e0:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL) e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e0:SetValue(c83048208.xyzlimit) c:RegisterEffect(e0) --Search local e1=Effect.C...
gpl-2.0
mihailim/koreader
plugins/readtimer.koplugin/main.lua
5
8210
local InfoMessage = require("ui/widget/infomessage") local TimeWidget = require("ui/widget/timewidget") local UIManager = require("ui/uimanager") local WidgetContainer = require("ui/widget/container/widgetcontainer") local _ = require("gettext") local N_ = _.ngettext local T = require("ffi/util").template local ReadTi...
agpl-3.0
modhunter/NerdPack
interface/mainframe.lua
1
1715
local n_name, NeP = ... local logo = '|T'..NeP.Media..'logo.blp:10:10|t' local L = NeP.Locale NeP.Interface.MainFrame = NeP.Interface:BuildGUI({ key = 'NePMFrame', width = 100, height = 60, title = logo..n_name, subtitle = 'v:'..NeP.Version..' - '..NeP.Branch }) NeP.Interface.MainFrame:SetEventListener('OnClose',...
mit
nekrozar/ygopro-scripts
c66084673.lua
6
1950
--空炎星-サイチョウ function c66084673.initial_effect(c) --attack up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66084673,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCondition(c66084673.atkcon) e1:Set...
gpl-2.0
FailcoderAddons/SVUI
SVUI_Skins/SVUI_Skins.lua
1
10278
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select...
mit
fredericjoanis/crc-scoreboard
extern/premake/tools/snc.lua
13
3387
-- -- snc.lua -- Provides Sony SNC-specific configuration strings. -- Copyright (c) 2010 Jason Perkins and the Premake project -- premake.snc = { } -- TODO: Will cfg.system == "windows" ever be true for SNC? If -- not, remove the conditional blocks that use this test. -- -- Set default tools -- premake.snc.cc...
mit
finalsliver/supervillain-ui
SVUI_!Core/filtering/class_filters/paladin.lua
2
4258
--[[ ########################################################## S V U I By: Failcoder ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## GET ADDON DATA ########################################################## ]]-- if(select(...
mit
hmessar/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
nekrozar/ygopro-scripts
c1802450.lua
1
1679
--木遁封印式 function c1802450.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) c:RegisterEffect(e1) --remove local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(1802450,1)) e2:SetProperty(EFFE...
gpl-2.0
finalsliver/supervillain-ui
SVUI_UnitFrames/libs/oUF_1.6.9/elements/classicons.lua
3
7423
--[[ Element: Class Icons Toggles the visibility of icons depending on the player's class and specialization. Widget ClassIcons - An array consisting of as many UI Textures as the theoretical maximum return of `UnitPowerMax`. Notes All - Combo Points Mage - Arcane Charges Monk - Chi Orbs Paladi...
mit
nekrozar/ygopro-scripts
c64161630.lua
2
2133
--パージ・レイ function c64161630.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c64161630.cost) e1:SetTarget(c64161630.target) e1:SetOperation(c64161630.activate) c:RegisterEffect(e1) end f...
gpl-2.0
jobro13/LuaServer-GameKit
server/server.lua
1
5773
local server = {} local copas = require "copas" local socket = require "socket" local prettyprint = require "prettyprint" local page = require "page" local lfs = require "lfs" local event = require "event" local libsetting = require "settings/libsetting" local http = require "http" local routing = require "routing" s...
mit
MegadreamsBE/BlueBird
[Apps]/App_Message/c_connect.lua
1
4449
---------------------------------< -- Application Connecter -- c_connect.lua --[[-----------------------------< This file is used for connecting the Application Manager and the applications themselves together. This file must be used at every application in order to make it work well. Server-side services are always...
mit
mahdibagheri/new
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
nekrozar/ygopro-scripts
c40371092.lua
4
3006
--白夜の騎士ガイア function c40371092.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40371092,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,40371092) e1:SetCost(c40371092.thco...
gpl-2.0
jungikim/OpenNMT
onmt/utils/Logger.lua
3
3986
--[[ Logger is a class used for maintaining logs in a log file. --]] local Logger = torch.class('Logger') local levels = { DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3, NONE = 4 } local options = { { '-log_file', '', [[Output logs to a file under this path instead of stdout - if file name ending with json, o...
mit
dtaht/cerowrt-luci-3.3
applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua
91
3529
--[[ LuCI - Lua Configuration Interface Copyright 2008 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: trunks.l...
apache-2.0
nekrozar/ygopro-scripts
c91595718.lua
4
1649
--秘術の書 function c91595718.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(c91595718.target) e1:SetOperation(c91595718.operation) c:RegisterEffect(e1) -...
gpl-2.0
nekrozar/ygopro-scripts
c84769941.lua
1
2994
--対壊獣用決戦兵器スーパーメカドゴラン function c84769941.initial_effect(c) c:EnableReviveLimit() c:SetUniqueOnField(1,0,aux.FilterBoolFunction(Card.IsSetCard,0xd3),LOCATION_MZONE) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)...
gpl-2.0
Pandafuchs/iLife
client/Classes/Shader/cShaderInsanity.lua
2
5685
-- ####################################### -- ## Project: Insanity Shader iLife ## -- ## For MTA: San Andreas ## -- ## Name: Insanity_Shader.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- loca...
mit
nekrozar/ygopro-scripts
c13474291.lua
1
2302
--雲魔物-ストーム・ドラゴン function c13474291.initial_effect(c) c:EnableReviveLimit() --battle indestructable local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetValue(1) c:RegisterEffect(e1) --selfdes local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE...
gpl-2.0
nekrozar/ygopro-scripts
c51447164.lua
3
3960
--TG ブレード・ガンナー function c51447164.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSynchroType,TYPE_SYNCHRO),aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),1) c:EnableReviveLimit() --Negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(51447164,0)) e1:Set...
gpl-2.0
nekrozar/ygopro-scripts
c21977828.lua
1
3114
--甲虫装機 ギガウィービル function c21977828.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21977828,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetRange(LOCATION_HAND) e1:SetTarget(c21977828.eqtg) e1:SetOperation...
gpl-2.0
nekrozar/ygopro-scripts
c17183908.lua
4
1517
--竜星の輝跡 function c17183908.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,17183908+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c17183908.t...
gpl-2.0
nekrozar/ygopro-scripts
c65282484.lua
2
3146
--ダーク・ボルテニス 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
aqasaeed/edit
plugins/ingroup.lua
10
53916
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
Pandafuchs/iLife
shared/utility/cInspect.lua
2
9999
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 21.02.2015 -- Time: 19:13 -- To change this template use File | Settings | File Templates. -- inspect ={ _VERSION = 'inspect.lua 3.0.0', _URL = 'http://github.com/kikito/inspect.lua', _DESCRIPTION = 'human-readable representations of tables', ...
mit
Pandafuchs/iLife
client/Manager/Vehicle/cRadioManager.lua
2
12309
-- ####################################### -- ## Project: iLife ## -- ## For MTA: San Andreas ## -- ## Name: cRadioManager.lua ## -- ## Author: Noneatme(Gunvarrel) ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### cRadioManager = inherit(cSi...
mit
ETegro/OpenSAN
feeds/luci/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
1
8135
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: freifunk....
gpl-3.0
nekrozar/ygopro-scripts
c21607304.lua
2
3169
--サブテラーマリス・ボルティニア function c21607304.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21607304,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetCountLim...
gpl-2.0
nekrozar/ygopro-scripts
c71544954.lua
4
1526
--メガロック・ドラゴン function c71544954.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71544954,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c...
gpl-2.0
nekrozar/ygopro-scripts
c83544697.lua
4
1476
--ガスタの交信 function c83544697.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c83544697.target) e1:SetOperation(c83544697.activate) c:Re...
gpl-2.0
nekrozar/ygopro-scripts
c80577258.lua
1
1877
--雪の天気模様 function c80577258.initial_effect(c) c:SetUniqueOnField(1,0,80577258) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --effect gain local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(80577258,0)) e2:SetCategory(...
gpl-2.0
nekrozar/ygopro-scripts
c23740893.lua
4
2156
--妖仙獣 木魅 function c23740893.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,23740893) e1:SetCost(c23740893.cost) e1:SetTarget(c23740893.target) ...
gpl-2.0
venkatarajasekhar/bee
third_party/luajit/src/jit/dis_ppc.lua
88
20319
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
bsd-2-clause
nekrozar/ygopro-scripts
c92394653.lua
2
2020
--スピリットの誘い 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
nekrozar/ygopro-scripts
c23459650.lua
1
2288
--ネフティスの輪廻 function c23459650.initial_effect(c) aux.AddCodeList(c,88176533,24175232) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c23459650.target) e1:SetOperation(c23459650.activate) c:RegisterEffe...
gpl-2.0
RockinRoel/FrameworkBenchmarks
frameworks/Lua/lapis/web.lua
72
5957
local lapis = require("lapis") local db = require("lapis.db") local Model do local _obj_0 = require("lapis.db.model") Model = _obj_0.Model end local config do local _obj_0 = require("lapis.config") config = _obj_0.config end local insert do local _obj_0 = table insert = _obj_0.insert end local sort do loc...
bsd-3-clause
nekrozar/ygopro-scripts
c75988594.lua
4
2073
--超重剣聖ムサ-C function c75988594.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --salvage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(75988594,0)) e2:SetCategory(CATEGORY_TOHAND) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2...
gpl-2.0
nekrozar/ygopro-scripts
c89563150.lua
4
1548
--白銀のバリア-シルバーフォース- function c89563150.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c89563150.discon) e1:SetTarget(c89563150.distg) e1:SetOperation(c89563150.disop) c:Regist...
gpl-2.0
nekrozar/ygopro-scripts
c3233859.lua
1
2018
--サイコウィールダー function c3233859.initial_effect(c) --special summon rule local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SPSUM_PARAM) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_HAND) e1:SetTargetRange(POS_FACEUP_DEFENSE,0) e1:SetCountLimit(...
gpl-2.0
bencvt/FixGroups
locales/deDE.lua
1
19698
local L = LibStub("AceLocale-3.0") L = L:NewLocale(..., "deDE") if not L then return end -- To fix any mistranslated or missing phrases: -- http://wow.curseforge.com/addons/fixgroups/localization/ L["addonChannel.print.newerVersion"] = "%s Version %s ist verfügbar. Du benutzt momentan die Version %s." L["button.close...
mit
MNoya/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/units/human/mortar_team.lua
1
1765
-- Gives vision over an area and shows dust particle to the team function Flare(event) local caster = event.caster local ability = event.ability local level = ability:GetLevel() local reveal_radius = ability:GetLevelSpecialValueFor( "radius", level - 1 ) local duration = ability:GetLevelSpecialValue...
gpl-3.0
808dkaneohe/billard-darkrp
simple_darkrp_billard_pack/addons/darkrp_mod/lua/darkrp_language/chatcommands.lua
8
7815
--[[--------------------------------------------------------------------------- English (example) Chat command translation file --------------------------------------------------------------------------- This file contains translations for chat command descriptions. On the left side you see the chat command, on the ri...
gpl-3.0
mihailim/koreader
spec/unit/dbg_spec.lua
13
2356
describe("Dbg module", function() local dbg, dbg_on setup(function() package.path = "?.lua;common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path dbg = require("dbg") dbg_on = dbg.is_on end) after_each(function() if dbg_on then dbg:turnOn() ...
agpl-3.0
mamaddeveloper/ultixxx
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
NavidQuick/TeleSurena
plugins/admin.lua
1
10018
--This Plugin Writed By @ImanDaneshi --Full Edit By @Navid_Quick local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file)...
agpl-3.0
nekrozar/ygopro-scripts
c47741109.lua
4
1119
--森羅の隠蜜 スナッフ function c47741109.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47741109,0)) e1:SetCategory(CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCondition(c47741109.con...
gpl-2.0
nekrozar/ygopro-scripts
c98954375.lua
9
1176
--インフェルニティ・デストロイヤー function c98954375.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(98954375,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCondition(c98954375.damcon) e1:SetTarget(c98...
gpl-2.0
crazyboy11/dd12
plugins/webshot.lua
919
1473
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
omidtarh/ebls
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
nekrozar/ygopro-scripts
c21074344.lua
4
1606
--緑光の宣告者 function c21074344.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21074344,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetRang...
gpl-2.0
nekrozar/ygopro-scripts
c2461031.lua
1
3304
--甲虫装機 グルフ function c2461031.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetDescription(aux.Stringid(2461031,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c2461031.eqtg) e1:SetOperation(c2461031.eqop) c:Registe...
gpl-2.0
nekrozar/ygopro-scripts
c94933468.lua
2
2754
--Vain-裏切りの嘲笑 function c94933468.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c94933468.target) e1:SetOperation(c94933468.operation) c:Registe...
gpl-2.0
nekrozar/ygopro-scripts
c8131171.lua
9
1568
--キラー・スネーク function c8131171.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8131171,0)) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD) e1:SetCategory(CATEGORY_TOHAND) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,8131171) e...
gpl-2.0
nekrozar/ygopro-scripts
c70284332.lua
1
2440
--調律師の陰謀 function c70284332.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_CONTINUOUS_TARGET) e1:SetTarget(c70284332.target) e1:SetOperation(c7028...
gpl-2.0
atkd1890/interface2
HanhTrang/orderbag.lua
1
3002
local bIsSorting = false; local nTimerId; local tbCells; local PAGE2ROOM ={ Item.ROOM_REPOSITORY, Item.ROOM_EXTREP1, Item.ROOM_EXTREP2, Item.ROOM_EXTREP3, Item.ROOM_EXTREP4, } function Player:ItemSort_SortBag() Player:ItemSort_Begin(Item.ROOM_EXTBAG1) ; --´ÓÕâ¸ö±³°ü¿ªÊ¼ÕûÀí£¬ÐèÒª´ÓµÚ¶þ¸ö±³°ü¿ªÊ¼¾Í¸ÄΪ2 -- me.M...
mit
chrisjbray/hammerspoon
extensions/osascript/test_applescript.lua
10
1653
hs.osascript = require("hs.osascript") function testAppleScriptParseError() local as = "2 +" local status, object, descriptor = hs.osascript.applescript(as) assertFalse(status) assertIsEqual(descriptor.OSAScriptErrorBriefMessageKey, "Expected expression but found end of script.") return success() end functi...
mit
chrisJohn404/ljswitchboard-module_manager
lib/switchboard_modules/lua_script_debugger/premade_scripts/13_blink_leds.lua
1
1201
--[[ Name: 13_blink_leds.lua Desc: This example shows how to blink the status and COMM LEDs Note: This example requires firmware 1.0282 (T7) or 1.0023 (T4) --]] print("Blink the COMM and Status LEDs at 1 Hz.") -- Disable truncation warnings (truncation should not be a problem in this script) MB.writeName("...
mit
mihailim/koreader
frontend/apps/reader/modules/readerpanning.lua
11
1465
local InputContainer = require("ui/widget/container/inputcontainer") local Device = require("device") local _ = require("gettext") local ReaderPanning = InputContainer:new{ -- defaults panning_steps = { normal = 50, alt = 25, shift = 10, altshift = 5 }, } function ReaderPan...
agpl-3.0
nekrozar/ygopro-scripts
c84740193.lua
4
1899
--バスターランチャー function c84740193.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(c84740193.target) e1:SetOperation(c84740193.operation) c:RegisterEffect(e...
gpl-2.0
nekrozar/ygopro-scripts
c78161960.lua
2
2176
--リジェクト・リボーン function c78161960.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(c78161960.condition) e1:SetCost(c78161960.cost) e1:SetOperation(c78161960.activate) c:RegisterE...
gpl-2.0
morteza1185/tele-redbot
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
bangixy/apibot
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...
agpl-3.0
matinbot/apple_robot
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
nekrozar/ygopro-scripts
c68987122.lua
1
3676
--ヴァレルガード・ドラゴン function c68987122.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),3) c:EnableReviveLimit() --cannot be destroyed local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e1:SetProperty(EFFEC...
gpl-2.0
nekrozar/ygopro-scripts
c14920218.lua
1
2606
--賤竜の魔術師 function c14920218.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --to hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(14920218,0)) e2:SetCategory(CATEGORY_TOHAND) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_PZONE) e2:SetCountLimit(1,14920218) e2:SetC...
gpl-2.0
cuberite/gallery
ConsoleCommandHandlers.lua
1
5546
-- ConsoleCommandHandlers.lua -- Implements the handling of console commands available to server admins --- Returns true if the area has suspicious stats - zero NumPlacedBlocks, or invalid min / max edit range local function AreaNeedsFixingStats(a_Area) -- Check params: assert(type(a_Area) == "table") assert(a...
unlicense
nekrozar/ygopro-scripts
c75347539.lua
4
2967
--磁石の戦士マグネット・バルキリオン function c75347539.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(c75347539.spcon) e1:SetOperation(c7534...
gpl-2.0
araeisy/araeisy4
libs/url.lua
6
9185
--[[ 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, merge, publish, distribute,...
lgpl-2.1
ETegro/OpenSAN
feeds/luci/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
11
1695
--[[ 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...
gpl-3.0
nekrozar/ygopro-scripts
c25494711.lua
1
3206
--ブンボーグ009 function c25494711.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(c25494711.atkcon) e1:SetTarget(c25494711.atktg) e1:SetOperation(c25494711.atkop) c:Registe...
gpl-2.0
FailcoderAddons/SVUI
SVUI_Skins/components/blizzard/itemupgrade.lua
2
1682
--[[ ############################################################################## S V U I By: Munglunch ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; --[[ ADDON ]]-- local SV = _G['SVUI']; lo...
mit
zhoujijian/skynet-websocket
service/multicastd.lua
16
5570
local skynet = require "skynet" local mc = require "skynet.multicast.core" local datacenter = require "skynet.datacenter" local harbor_id = skynet.harbor(skynet.self()) local command = {} local channel = {} local channel_n = {} local channel_remote = {} local channel_id = harbor_id local NORET = {} local function ge...
mit
mamaddeveloper/ultixxx
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
PAC3-Server/notagain
lua/notagain/pac_server/autorun/server/auto_restart.lua
2
1290
if not game.IsDedicated() then return end if engine.ActiveGamemode() ~= "sandbox" then return end local restarting = false local try_restart = false local reason = false file.Delete("server_want_restart.txt") file.Write("server_last_restart.txt", tostring(os.time())) timer.Create("auto_restart", 2, 0, function() lo...
gpl-3.0
dustine/AlienGoopCracking
stdlib/area/tile.lua
12
4773
--- Tile module --- <p>A tile represents a 1x1 area on a surface in factorio -- @module Tile require 'stdlib/core' require 'stdlib/area/position' require 'stdlib/area/chunk' Tile = {} MAX_UINT = 4294967296 --- Calculates the tile coordinates for the position given -- @param position to calculate the tile for -- @r...
mit
nekrozar/ygopro-scripts
c76895648.lua
2
1511
--デンジャラスマシン TYPE-6 function c76895648.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --dice local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(76895648,0)) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIG...
gpl-2.0
steven0143/nodemcu-httpserver
http/node_info.lua
5
1347
local function sendHeader(connection) connection:send("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nCache-Control: private, no-store\r\n\r\n") end local function sendAttr(connection, attr, val) connection:send("<li><b>".. attr .. ":</b> " .. val .. "<br></li>\n") end return function (connection, req,...
gpl-2.0