repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
nekrozar/ygopro-scripts
c20285786.lua
2
2704
--マスター・ピース function c20285786.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c20285786.target) e1:SetOper...
gpl-2.0
Kfm946/data_HG2
Common/scripts/popups_lobby.lua
1
25656
-- -- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved. -- -- -- ------------------------------------------------------------------- -- -- 'Lobby popups for picked a player' popup -- GameVoiceChat::Transport::Mask enumeration from GameVoiceChatTransport.h gVoicePresets = { friend = 1, enemy ...
gpl-3.0
nekrozar/ygopro-scripts
c30864377.lua
1
3843
--剣闘獣総監エーディトル function c30864377.initial_effect(c) c:EnableReviveLimit() aux.AddFusionProcFunRep(c,c30864377.matfilter,2,true) aux.AddContactFusionProcedure(c,Card.IsAbleToDeckOrExtraAsCost,LOCATION_MZONE,0,aux.tdcfop(c)) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetP...
gpl-2.0
nekrozar/ygopro-scripts
c5908650.lua
2
1980
--幻奏の音姫ローリイット・フランソワ function c5908650.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(5908650,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetCost(c59086...
gpl-2.0
ETegro/OpenSAN
feeds/luci/libs/nixio/docsrc/nixio.lua
5
14685
--- General POSIX IO library. module "nixio" --- Look up a hostname and service via DNS. -- @class function -- @name nixio.getaddrinfo -- @param host hostname to lookup (optional) -- @param family address family [<strong>"any"</strong>, "inet", "inet6"] -- @param service service name or port (optional) -- @return ...
gpl-3.0
nekrozar/ygopro-scripts
c81661951.lua
6
1240
--ドラグニティ-ミリトゥム function c81661951.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81661951,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:Se...
gpl-2.0
mihailim/koreader
spec/unit/uimanager_spec.lua
3
13089
describe("UIManager spec", function() local UIManager, util local now, wait_until local noop = function() end setup(function() require("commonrequire") util = require("ffi/util") UIManager = require("ui/uimanager") end) it("should consume due tasks", function() ...
agpl-3.0
nekrozar/ygopro-scripts
c79985120.lua
1
3445
--RR-レヴォリューション・ファルコン-エアレイド function c79985120.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WINDBEAST),6,3,c79985120.ovfilter,aux.Stringid(79985120,0),3,c79985120.xyzop) c:EnableReviveLimit() --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7998...
gpl-2.0
nekrozar/ygopro-scripts
c21984400.lua
2
3361
--獣・魔・導 function c21984400.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21984400,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,21984400+EFFECT_COUNT_CODE_OATH) e1:SetLabel(2) e1:SetCost(c2198440...
gpl-2.0
Lusito/premake
tests/project/test_vpaths.lua
1
3658
-- -- 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() ...
bsd-3-clause
nekrozar/ygopro-scripts
c22996376.lua
2
2241
--百獣王 ベヒーモス function c22996376.initial_effect(c) --summon/set with 1 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(22996376,0)) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c22996376.otcon) e1:SetOperation(c22996376.otop) e1:SetValue(SUMMON_TYPE_ADVANCE)...
gpl-2.0
linearregression/fbcunn
test/test_LocallyConnected.lua
9
69139
-- Copyright 2004-present Facebook. All Rights Reserved. require('fb.luaunit') require('fbtorch') require('nn') require('cutorch') require('fbcunn') require('fbnn') require('ccn2') local jac = nn.Jacobian local function assertTensorEq(a, b, msg, precision) precision = precision or 1e-5 local diff = torch.dist(...
bsd-3-clause
nekrozar/ygopro-scripts
c31456110.lua
5
1122
--ヴェルズ・ゴーレム function c31456110.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(31456110,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c31456110...
gpl-2.0
nekrozar/ygopro-scripts
c51549976.lua
6
1707
--ファイナル・インゼクション function c51549976.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c51549976.cost) e1:SetTarget(c51549976.target) e1:SetOperation(c51549976.activate) c:RegisterEffect(e1) end f...
gpl-2.0
nekrozar/ygopro-scripts
c11317977.lua
4
3370
--月光黒羊 function c11317977.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11317977,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c11317977.cost) e1:SetTarget(c11317977.thtg) e1:SetOperation(c11317977.thop) c...
gpl-2.0
nekrozar/ygopro-scripts
c55985014.lua
2
1491
--ミラクル・キッズ function c55985014.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(c559850...
gpl-2.0
andreaskoepf/nn
SparseJacobian.lua
61
8618
nn.SparseJacobian = {} function nn.SparseJacobian.backward (module, input, param, dparam) local doparam = 0 if param then doparam = 1 end -- output deriv module:forward(input) local dout = module.output.new():resizeAs(module.output) -- 1D view local sdout = module.output.new(dout:stor...
bsd-3-clause
Pandafuchs/iLife
client/Classes/Element/dxGui/cDxEdit.lua
2
8686
ValidEditChars = { ["a"] = "a", ["b"] = "b", ["c"] = "c", ["d"] = "d", ["e"] = "e", ["f"] = "f", ["g"] = "g", ["h"] = "h", ["i"] = "i", ["j"] = "j", ["k"] = "k", ["l"] = "l", ["m"] = "m", ["n"] = "n", ["o"] = "o", ["p"] = "p", ["q"] = "q", ["r"] = "r", ["s"] = "s", ["t"] = "t", ["u"] = "u", ["v"] ...
mit
mettiw/mmmmmmm
plugins/stats.lua
236
3989
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
c7922915.lua
1
3513
--マジシャンズ・ナビゲート function c7922915.initial_effect(c) aux.AddCodeList(c,46986414) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c7922915.target) e1:SetOperation(c7922915.activate) c:RegisterEffect(e1) ...
gpl-2.0
ETegro/OpenSAN
feeds/luci/libs/nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
gpl-3.0
nekrozar/ygopro-scripts
c30741334.lua
7
1452
--熱血指導王ジャイアントレーナー function c30741334.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,8,3) c:EnableReviveLimit() --draw local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW+CATEGORY_DAMAGE) e1:SetDescription(aux.Stringid(30741334,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) ...
gpl-2.0
nekrozar/ygopro-scripts
c8396952.lua
4
1904
--アルカナフォースⅠ-THE MAGICIAN function c8396952.initial_effect(c) --coin local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8396952,0)) e1:SetCategory(CATEGORY_COIN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c8396952.cointg) e1:SetOperation(c839695...
gpl-2.0
nekrozar/ygopro-scripts
c88240808.lua
3
1612
--霊滅術師 カイクウ function c88240808.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88240808,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_BATTLE_DAMAGE...
gpl-2.0
Pandafuchs/iLife
server/Classes/Quest/Scripts/51.lua
2
2233
local QuestID = 51 local Quest = Quests[QuestID] local EmptyVehicle = createVehicle(429, 1814.12890625, -1918.7626953125, 13.224563598633, 0, 0, 180) setElementFrozen(EmptyVehicle, true) setElementHealth(EmptyVehicle, 1000) setVehicleDamageProof(EmptyVehicle, true) setVehicleLocked(EmptyVehicle, true) setVehicleEngine...
mit
Schakirov/deep-transition-RNN
model/LSTMTDNNdt.lua
1
8395
local LSTMTDNNdt = {} local ok, cunn = pcall(require, 'fbcunn') if not ok then LookupTable = nn.LookupTable else LookupTable = nn.LookupTableGPU end function LSTMTDNNdt.lstmtdnndt(rnn_size, n, ndt, dropout, word_vocab_size, word_vec_size, char_vocab_size, char_vec_size, feature_maps, kernels, length...
mit
sanjoydesk/FrameworkBenchmarks
frameworks/Lua/octopus/config.lua
2
1030
return { extensions = { {octopusExtensionsDir, "core"}, {octopusExtensionsDir, "baseline"}, {octopusExtensionsDir, "orm"}, {octopusExtensionsDir, "app"}, }, octopusExtensionsDir = octopusExtensionsDir, octopusHostDir = octopusHostDir, port = 8080, securePort = 38080, luaCodeCache = "on",...
bsd-3-clause
nekrozar/ygopro-scripts
c63176202.lua
2
3079
--大将軍 紫炎 function c63176202.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(c63176202.spcon) c:RegisterEffect(e1) --Destroy replace local e2=Effec...
gpl-2.0
jsitnicki/rushit
vendor/github.com/justincormack/ljsyscall/syscall/netbsd/nr.lua
24
9205
-- NetBSD syscall numbers local nr = { SYS = { syscall = 0, exit = 1, fork = 2, read = 3, write = 4, open = 5, close = 6, compat_50_wait4 = 7, compat_43_ocreat = 8, link = 9, unlink = 10, chdir = 12, fchdir = 13, compat_50_mknod = 14, chmod = 15, chown = 16, ["break"] = 17, compat...
apache-2.0
nekrozar/ygopro-scripts
c64635042.lua
2
2103
--デーモンの招来 function c64635042.initial_effect(c) c:EnableReviveLimit() aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) --code local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_CHANGE_CODE) e1:SetRange(LOCATION_MZONE) e1:SetValue(70781052)...
gpl-2.0
nekrozar/ygopro-scripts
c12863633.lua
3
1590
--五稜星の呪縛 function c12863633.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER) e1:SetTarget(c12863633.target) e1:SetOperation(c...
gpl-2.0
nekrozar/ygopro-scripts
c88581108.lua
1
2277
--真竜皇V.F.D function c88581108.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,9,2,nil,nil,99) c:EnableReviveLimit() --attribute change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88581108,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_MZONE) e...
gpl-2.0
nekrozar/ygopro-scripts
c38480590.lua
7
1301
--女豹の傭兵 function c38480590.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(c38480590.cost) e1:SetTarget(c38480590.target) e1:SetOperation(c38480590.operati...
gpl-2.0
nekrozar/ygopro-scripts
c81992475.lua
1
2948
--彼岸の悪鬼 バルバリッチャ function c81992475.initial_effect(c) --self destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_SELF_DESTROY) e1:SetCondition(c81992475.sdcon) c:RegisterEffect(e1) --Special Summon local e...
gpl-2.0
vlc-mirror/vlc-2.1
share/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
lgpl-2.1
ivonxiao/viaview
luci/modules/admin-full/luasrc/model/cbi/admin_system/admin.lua
1
3420
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
gpl-2.0
finalsliver/supervillain-ui
SVUI_!Core/libs/_SVUI_Lib/Librarian.lua
4
2434
--[[ Librarian is a library used to manage localization, packages, scripts, animations and data embedded into the SVUI core addon. It's main purpose is to keep all methods and logic needed to properly keep core add-ins functioning outside of the core object and away from other libraries like LibStub. ...
mit
disslove85/NOVA2-BOT
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
bencvt/FixGroups
modules/utilGui.lua
1
6608
--- Utility functions useful for defining GUIs. This addon uses AceGUI wherever -- possible, but there are a number of use cases that AceGUI does not cover. -- -- We implement these by modifying the WoW frame object, taking care to reverse -- the modifications when done. The frames need to be in their original -- condi...
mit
mihailim/koreader
plugins/batterystat.koplugin/main.lua
1
9068
local ConfirmBox = require("ui/widget/confirmbox") local DataStorage = require("datastorage") local KeyValuePage = require("ui/widget/keyvaluepage") local LuaSettings = require("luasettings") local PowerD = require("device"):getPowerDevice() local UIManager = require("ui/uimanager") local WidgetContainer = require("ui/...
agpl-3.0
abbasgh12345/abbas10
plugins/welcome.lua
35
3625
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
nekrozar/ygopro-scripts
c53567095.lua
4
1671
--ゴッドバードアタック function c53567095.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,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetCost(c53567095.cost...
gpl-2.0
dustine/AlienGoopCracking
stdlib/log/logger.lua
8
4009
--- Logger module -- @module Logger Logger = {} --- Creates a new logger object.<p> -- In debug mode, the logger writes immediately. Otherwise the loggers buffers lines. -- The logger flushes after 60 seconds has elapsed since the last message. -- <p> -- When loggers are created, a table of options may be specified. ...
mit
kekobot/api
utilities.lua
4
9421
function get_word(s, i) -- get the indexed word in a string s = s or '' i = i or 1 local t = {} for w in s:gmatch('%g+') do table.insert(t, w) end return t[i] or false end function string:input() -- Returns the string after the first space. if not self:find(' ') then return false end return self:sub(s...
gpl-3.0
nekrozar/ygopro-scripts
c97268402.lua
2
2114
--エフェクト・ヴェーラー function c97268402.initial_effect(c) --disable local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(97268402,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+...
gpl-2.0
polarathene/biglobby
biglobby/lua/lib/network/base/_hostnetworksession.lua
1
2448
-- Modified hardcoded value to allow returning available peer id up to the actual limit. -- Assigns a free Peer ID to new joining peer function HostNetworkSession:_get_free_client_id() -- The below loop stops when index(i) reaches this value local num_player_slots = (BigLobbyGlobals:num_player_slots() + 1) -- The p...
mit
Pandafuchs/iLife
client/Classes/Element/dxGui/cDxElement.lua
2
2137
CDxElement = {} function CDxElement:constructor(iX, iY, iWidth, iHeight) self.X = iX; self.Y = iY; self.Width = iWidth; self.Height = iHeight; self.ClickFunction = false; self.clickExecute = {}; self.Visible = true; self.Disabled = false; end function CDxElement:destructor() if (se...
mit
nekrozar/ygopro-scripts
c23299957.lua
4
3265
--ビークロイド・コネクション・ゾーン function c23299957.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c23299957.target) e1:SetOperation(c23299957.activate) c:RegisterEffect(e1)...
gpl-2.0
nekrozar/ygopro-scripts
c31764353.lua
1
1588
--憑依装着-ウィン function c31764353.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND+LOCATION_DECK) e1:SetCondition(c31764353.spcon) e1:SetOperation(c31764353.spop) e1:SetV...
gpl-2.0
nekrozar/ygopro-scripts
c59762399.lua
2
3118
--EMオッドアイズ・ライトフェニックス function c59762399.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59762399,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCod...
gpl-2.0
MegadreamsBE/BlueBird
BB_GUI/c_property.lua
1
6471
----------------------------------< -- Bluebird GUI -- c_property.lua ---------------------------------< -- *~ Variables ~* ---------------------------------< dxProperties = {} dxNeedUpdate = {"dxEdit", "dxButton", "dxRadioButton", "dxSlider", "dxCheckBox", "dxLoadingBar"} -- Propety name Value type | Range | Rou...
mit
nekrozar/ygopro-scripts
c40450317.lua
1
2658
--同胞の絆 function c40450317.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c40450317.cost) e1:SetTarget(c40450317.target) e1:SetOperation(c4045031...
gpl-2.0
mohammdhossien/mmmm
plugins/plugins.lua
5
6177
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
dtaht/cerowrt-luci-3.3
applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
78
1934
--[[ Luci configuration model for statistics - collectd email plugin configuration (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...
apache-2.0
Pandafuchs/iLife
client/Classes/util/CMapRemovals.lua
2
1339
-- ####################################### -- ## Project: HUD iLife ## -- ## For MTA: San Andreas ## -- ## Name: MapRemoval.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {...
mit
nekrozar/ygopro-scripts
c8820526.lua
2
2157
--EMクレイブレイカー function c8820526.initial_effect(c) --atk down local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8820526,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCountLimit(1,8820526) e1:SetCondition(c88205...
gpl-2.0
nekrozar/ygopro-scripts
c49838105.lua
1
2689
--森羅の滝滑り function c49838105.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --attack local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(49838105,0)) e2:SetCategory(CATEGORY_DECKDES) e2:SetType(EFFECT_TY...
gpl-2.0
bencvt/FixGroups
libs/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua
65
4515
--[[----------------------------------------------------------------------------- DropdownGroup Container Container controlled by a dropdown on the top. -------------------------------------------------------------------------------]] local Type, Version = "DropdownGroup", 21 local AceGUI = LibStub and LibStub("AceGUI-...
mit
spc476/lua-conmanorg
test/base64-test.lua
1
2115
-- luacheck: ignore 611 local tap = require "tap14" local base64 = require "org.conman.base64" local data = "" do for i = 0 , 255 do data = data .. string.char(i) end for i = 255 , 0 , -1 do data = data .. string.char(i) end assert(#data == 512) end local tests = { { name = "RFC-1421 (de...
lgpl-3.0
nekrozar/ygopro-scripts
c38495396.lua
2
2421
--セイクリッド・トレミスM7 function c38495396.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,6,2,c38495396.ovfilter,aux.Stringid(38495396,1),2,c38495396.xyzop) c:EnableReviveLimit() --to hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(38495396,0)) e2:SetCategory(CATEGORY_TOHAND) e2:SetPropert...
gpl-2.0
nekrozar/ygopro-scripts
c49154689.lua
3
2055
--スタンド・イン function c49154689.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:SetLabel(0) e1:SetCountLimit(1,49154689+EFFECT_COUNT_CODE_OATH) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c...
gpl-2.0
xuejian1354/attitude_adjustment
feeds/luci/libs/httpclient/luasrc/httpclient.lua
41
9111
--[[ LuCI - Lua Development Framework Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- requi...
gpl-2.0
jungikim/OpenNMT
onmt/lm/LM.lua
1
7098
local LM = torch.class('LM') local options = { { '-model', '', [[Path to the serialized model file.]], { valid = onmt.utils.ExtendedCmdLine.fileExists } }, { '-batch_size', 30, [[Batch size.]], { valid = onmt.utils.ExtendedCmdLine.isInt(1) } }, { '-max_length',...
mit
nekrozar/ygopro-scripts
c23331400.lua
2
1423
--リンク・ストリーマー function c23331400.initial_effect(c) --token local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,23331400) e1:SetCondition(c23331400...
gpl-2.0
RockinRoel/FrameworkBenchmarks
frameworks/Lua/octopus/config.lua
25
1033
return { extensions = { {octopusExtensionsDir, "core"}, {octopusExtensionsDir, "baseline"}, {octopusExtensionsDir, "orm"}, {octopusExtensionsDir, "app"}, }, octopusExtensionsDir = octopusExtensionsDir, octopusHostDir = octopusHostDir, port = 8080, securePort = 38080, luaCodeCache = "on",...
bsd-3-clause
Lusito/premake
tests/actions/vstudio/cs2005/test_output_props.lua
1
1391
-- -- tests/actions/vstudio/cs2005/test_output_props.lua -- Test the target output settings of a Visual Studio 2005+ C# project. -- Copyright (c) 2012 Jason Perkins and the Premake project -- T.vstudio_cs2005_output_props = {} local suite = T.vstudio_cs2005_output_props local cs2005 = premake.vstudio.cs2005 local ...
bsd-3-clause
nekrozar/ygopro-scripts
c65848811.lua
9
1694
--H・C 強襲のハルベルト function c65848811.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(c65848811.spcon) c:RegisterEffect(e1) --pierce local e2=Effect.C...
gpl-2.0
xuejian1354/attitude_adjustment
feeds/luci/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
21
8152
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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 htt...
gpl-2.0
nekrozar/ygopro-scripts
c56993276.lua
6
1442
--エレキャンセル function c56993276.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(c56993276.condition) e1:SetCost(c56993276.cost) e1:SetTarget(c56993276.target) e1:...
gpl-2.0
nekrozar/ygopro-scripts
c40110009.lua
3
3757
--ドラゴンメイドのお召し替え function c40110009.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40110009,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c40110009.target) e1:SetOperation(...
gpl-2.0
mihailim/koreader
frontend/device/pocketbook/powerd.lua
2
1068
local BasePowerD = require("device/generic/powerd") local ffi = require("ffi") local inkview = ffi.load("inkview") ffi.cdef[[ void OpenScreen(); int GetFrontlightState(void); void SetFrontlightState(int flstate); int GetBatteryPower(); int IsCharging(); ]] local PocketBookPowerD = BasePowerD:new{ is_charging = ni...
agpl-3.0
xuejian1354/attitude_adjustment
feeds/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...
gpl-2.0
MNoya/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/heroes/shadow_hunter/healing_wave.lua
1
3600
--[[ Author: Noya Bounces from the main target to nearby targets in range. Avoids bouncing to full health units ]] function HealingWave( event ) local caster = event.caster local target = event.target local ability = event.ability local bounces = ability:GetLevelSpecialValueFor("max_bounces", ab...
gpl-3.0
nekrozar/ygopro-scripts
c36318200.lua
2
1917
--森の聖獣 ユニフォリア function c36318200.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36318200,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c36318200.spcon) e1:SetCost(c36318200.spcost) e1:SetTarg...
gpl-2.0
cubesky/ComicDoor
androLua/build/intermediates/assets/androidTest/debug/import.lua
5
3108
local packages = {} local append = table.insert local new = org.keplerproject.luajava.new -- SciTE requires this, if you want to see stdout immediately... io.stdout:setvbuf 'no' io.stderr:setvbuf 'no' local function new_tostring (o) return o:toString() end local function call (t,...) local obj,stat if se...
mit
Lusito/premake
src/base/option.lua
3
2207
-- -- option.lua -- Work with the list of registered options. -- Copyright (c) 2002-2013 Jason Perkins and the Premake project -- premake.option = {} -- -- The list of registered options. -- premake.option.list = {} -- -- Register a new option. -- -- @param opt -- The new option object. -- function premake...
bsd-3-clause
nekrozar/ygopro-scripts
c45955628.lua
1
2666
--呪眼の眷属 カトブレパス function c45955628.initial_effect(c) --indes local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(45955628,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,45955628) e1:SetTarget(c45955628.indtg) e1:SetOperation...
gpl-2.0
githubmereza/rezaj
plugins/Add_Bot.lua
29
1484
--[[ Bot can join into a group by replying a message contain an invite link or by typing !join [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local functio...
gpl-2.0
adib1380/iranbot
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
venkatarajasekhar/bee
test/db/errinj_index.test.lua
1
3125
errinj = db.error.injection -- Check a failed realloc in tree index. s = db.schema.space.create('tweedledum') index = s:create_index('primary', {type = 'tree'} ) for i = 1,10 do s:insert{i, i, 'test' .. i} end res = {} for i = 1,10 do table.insert(res, s:get{i}) end res res = {} for _, t in s.index[0]:pairs() do tab...
bsd-2-clause
adib1380/iranbot
plugins/stats.lua
33
3680
do local NUM_MSG_MAX = 6 local TIME_CHECK = 4 -- seconds 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 -- Returns a table with `...
gpl-2.0
ETegro/OpenSAN
feeds/luci/libs/nixio/docsrc/nixio.File.lua
173
4457
--- Large File Object. -- Large file operations are supported up to 52 bits if the Lua number type is -- double (default). -- @cstyle instance module "nixio.File" --- Write to the file descriptor. -- @class function -- @name File.write -- @usage <strong>Warning:</strong> It is not guaranteed that all data -- in the bu...
gpl-3.0
venkatarajasekhar/bee
test/big/lua/utils.lua
1
2318
function space_field_types(space_no) local types = {}; for _, index in pairs(db.space[space_no].index) do for _,key_def in pairs(index.parts) do types[key_def.fieldno] = key_def.type; end end return types; end function iterate(space_no, index_no, f1, f2, iterator, ...) local sorted = (db.space[space_no].in...
bsd-2-clause
MNoya/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/units/neutral_ai.lua
1
13261
AI_THINK_INTERVAL = 0.5 AI_STATE_IDLE = 0 AI_STATE_AGGRESSIVE = 1 AI_STATE_RETURNING = 2 AI_STATE_SLEEPING = 3 NeutralAI = {} NeutralAI.__index = NeutralAI function NeutralAI:Start( unit ) unit.id = unit:GetUnitName().." "..unit:GetEntityIndex() --print("[NeutralAI] Starting "..unit.id) local ai = {} ...
gpl-3.0
vpalos/loomiere
options.lua
1
6843
-- -- Loomiere main configuration options. -- -- IP (or host-name) of the network interface on which to accept client -- connections (here '*' means any available interface). By default all -- available interfaces are bound. options.bind = '*' -- TCP/IP port on which to listen for incoming connections. Normally it --...
gpl-3.0
hakelimopu/CoronaSDKDev
HamQuest/splash.lua
2
2638
local storyboard = require( "storyboard" ) local scene = storyboard.newScene() function scene:createScene( event ) local group = self.view self.gameData = event.params display.newText({ parent=group, text="Splash", font=native.systemFont, fontSize=32, x=100, y=100 }) end function scene:onKeyDown(th...
gpl-2.0
nekrozar/ygopro-scripts
c47264717.lua
4
1248
--シューティング・スター function c47264717.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(TIMING_ATTACK,0x11e0) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c47264717.condition) e1:Set...
gpl-2.0
Audumla/audiot-nodemcu-firmware
lua_modules/yeelink/yeelink_lib.lua
73
3136
-- *************************************************************************** -- Yeelink Updata Libiary Version 0.1.2 r1 -- -- Written by Martin -- but based on a script of zhouxu_o from bbs.nodemcu.com -- -- MIT license, http://opensource.org/licenses/MIT -- **********************************************************...
mit
nekrozar/ygopro-scripts
c88021907.lua
1
4406
--塊斬機ラプラシアン function c88021907.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,3) c:EnableReviveLimit() --xyz effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88021907,4)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSU...
gpl-2.0
nekrozar/ygopro-scripts
c88686573.lua
4
1478
--素早いアンコウ function c88686573.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88686573,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GR...
gpl-2.0
nekrozar/ygopro-scripts
c4404099.lua
4
1972
--海底に潜む深海竜 function c4404099.initial_effect(c) c:EnableCounterPermit(0x23) --add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4404099,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCode(EVE...
gpl-2.0
nekrozar/ygopro-scripts
c44956694.lua
4
2376
--ROMクラウディア function c44956694.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44956694,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c449566...
gpl-2.0
nekrozar/ygopro-scripts
c61912252.lua
3
2492
--無限起動トレンチャー function c61912252.initial_effect(c) --Special Summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61912252,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,61912252) e1:SetCost(c61912252.spcost) e1:SetTarg...
gpl-2.0
xuejian1354/attitude_adjustment
feeds/luci/applications/luci-pbx/luasrc/model/cbi/pbx.lua
146
4360
--[[ 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 ...
gpl-2.0
SoScared/OpenRA
mods/cnc/maps/nod07c/nod07c.lua
4
7083
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
nekrozar/ygopro-scripts
c74580251.lua
2
1827
--セフィラの神意 function c74580251.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,74580251+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c74580251.target) e1:SetOperation(c74580251.act...
gpl-2.0
finalsliver/supervillain-ui
SVUI_!Core/libs/AceVillain-1.0/widgets/AceGUIContainer-DropDownGroup.lua
4
4543
--[[----------------------------------------------------------------------------- DropdownGroup Container Container controlled by a dropdown on the top. -------------------------------------------------------------------------------]] local Type, Version = "DropdownGroup", 999999 local AceGUI = LibStub and LibStub("Ace...
mit
nedfex/DL_A4
data.lua
1
2312
-- ---- Copyright (c) 2014, Facebook, Inc. ---- All rights reserved. ---- ---- This source code is licensed under the Apache 2 license found in the ---- LICENSE file in the root directory of this source tree. ---- local stringx = require('pl.stringx') local file = require('pl.file') local ptb_path = "./data/" l...
apache-2.0
nekrozar/ygopro-scripts
c21715135.lua
4
2087
--ガガガ学園の緊急連絡網 function c21715135.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,21715135+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c21715135.condition) e1:SetCost(c21715135.cost) ...
gpl-2.0
nekrozar/ygopro-scripts
c64325438.lua
3
1525
--王の支配 function c64325438.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(64325438,0)) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --change effect local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(64325438,1)) e2:S...
gpl-2.0