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 |
|---|---|---|---|---|---|
leocarbonell/primer-proyecto-love | main/assets/level1.lua | 1 | 5657 | local images_loaded = {}
local rooms = {}
local sublevel
local timer_count
local timer_count_max
local span_on
local span_txt
local init_level
--
--
--load
function loadLevel1()
timer_count=0
timer_count_max=0
span_on= false
span_txt = ""
init_level = true
sublevel = 1
images_loaded[0]... | mit |
yetsky/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-dialplans.lua | 80 | 3858 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
sven1/dotfiles | .config/luakit/adblock.lua | 1 | 18041 | ------------------------------------------------------------------------
-- Simple URI-based content filter v0.3.1a --
-- (C) 2010 Chris van Dijk (quigybo) <quigybo@hotmail.com> --
-- (C) 2010 Mason Larobina (mason-l) <mason.larobina@gmail.com> --
-- © 2012 Plaque FCC <Reslay... | gpl-2.0 |
eggBOY91/Arctic-Core | src/scripts/lua/Lua/Stable Scripts/Outland/Auchenai Crypts/BOSS_AuchenaiCrypts_Shirrak.lua | 30 | 1144 | function Shirrak_Inhibit_Magic(Unit, event, miscunit, misc)
print "Shirrak Inhibit Magic"
Unit:FullCastSpellOnTarget(32264,Unit:GetRandomPlayer())
Unit:SendChatMessage(11, 0, "Your weak...")
end
function Shirrak_Attract_Magic(Unit, event, miscunit, misc)
print "Shirrak Attract Magic"
Unit:FullCastSpellOnTarget(32... | agpl-3.0 |
kurybr/kury.settings | awesome-config/lain/layout/termfair.lua | 4 | 8421 | --[[
Licensed under GNU General Public License v2
* (c) 2014, projektile
* (c) 2013, Luca CPZ
* (c) 2010, Nicolas Estibals
* (c) 2010-2012, Peter Hofmann
--]]
local math = math
local screen = screen
local tonumber = tonumber
local termfair = { name = "termfair" }
t... | mit |
BradSharp/roblox | data/playerData.lua | 1 | 7695 | local AUTOSAVE_ENABLED = true
local AUTOSAVE_INTERVAL = 60
local MAX_ATTEMPTS = 3
local VERSION = "0.0.0"
local SCHEMA = {}
-------------------------------------------------
local dataService = game:GetService'DataStoreService'
local dataStore = dataService:GetDataStore("PlayerData", VERSION)
local runService = ga... | mit |
klyone/wishbone-gen | modules/alt_getopt.lua | 15 | 3973 | -- Copyright (c) 2009 Aleksey Cheusov <vle@gmx.net>
--
-- 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,... | gpl-2.0 |
mjarco/sysdig | userspace/sysdig/chisels/httptop.lua | 2 | 4734 | --[[
Copyright (C) 2015 Luca Marturana
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without ev... | gpl-2.0 |
NatWeiss/RGP | src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua | 18 | 3385 |
--------------------------------
-- @module PhysicsJointSpring
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
-- Set the anchor point on body b.
-- @function [parent=#PhysicsJointSpring] setAnchr2
-- @param self
-- @param #vec2_table anchr2
-- @return PhysicsJointSpring#PhysicsJointSp... | mit |
pazos/koreader | frontend/ui/widget/progresswidget.lua | 4 | 6670 | --[[--
Widget for displaying progress bar.
Configurable attributes:
* width
* height
* margin_v -- vertical margin for solid infill
* margin_h -- horizontal margin for solid infill
* radius
* bordersize
* bordercolor
* bgcolor
* altcolor -- alternate backrgound color for "alt" pages
* rectdim -- dim ... | agpl-3.0 |
philsiff/Red-Vs-Blue | Red Vs. Blue Files/addons/ulx/lua/ulx/modules/sh/admin.lua | 1 | 23419 | local CATEGORY_NAME = "TTT Admin"
local gamemode_error = "The current gamemode is not trouble in terrorist town"
--[Ulx Completes]------------------------------------------------------------------------------
ulx.target_role = {}
function updateRoles()
table.Empty( ulx.target_role )
table.insert(ulx.target_ro... | mit |
joaofvieira/luci | libs/luci-lib-httpclient/luasrc/httpclient.lua | 62 | 9481 | -- Copyright 2009 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require "nixio.util"
local nixio = require "nixio"
local ltn12 = require "luci.ltn12"
local util = require "luci.util"
local table = require "table"
local http = require "luci.http.protocol"
local date = requir... | apache-2.0 |
hechenfon/torch7 | TensorMath.lua | 28 | 42196 | local wrap = require 'cwrap'
require 'torchcwrap'
local interface = wrap.CInterface.new()
local method = wrap.CInterface.new()
interface:print([[
#include "TH.h"
#include "luaT.h"
#include "utils.h"
]])
-- specific to torch: we generate a 'dispatch' function
-- first we create a helper function
-- n... | bsd-3-clause |
joaofvieira/luci | applications/luci-app-olsr/luasrc/controller/olsr.lua | 36 | 9890 | module("luci.controller.olsr", package.seeall)
local neigh_table = nil
local ifaddr_table = nil
function index()
local ipv4,ipv6
if nixio.fs.access("/etc/config/olsrd") then
ipv4 = 1
end
if nixio.fs.access("/etc/config/olsrd6") then
ipv6 = 1
end
if not ipv4 and not ipv6 then
return
end
require("luci.mo... | apache-2.0 |
profan/mal | lua/types.lua | 24 | 4267 | local utils = require('utils')
local M = {}
-- type functions
function M._sequential_Q(obj)
return M._list_Q(obj) or M._vector_Q(obj)
end
function M._equal_Q(a,b)
if M._symbol_Q(a) and M._symbol_Q(b) then
return a.val == b.val
elseif M._sequential_Q(a) and M._sequential_Q(b) then
if #a ~... | mpl-2.0 |
haifeng60902/osgswig | etc/ruby.lua | 2 | 2219 | --
-- Ruby wrapper functions
--
require 'globals'
function createPreBuildCommand(name)
local cmd = ""
local includes = ""
if (target == 'vs2003' or target == 'vs2005') then
-- only for visual studio
cmd = "swig -c++ -ruby -I..\\..\\src\\ -I"$(OSG_ROOT)\\include""
if (name == "osgART") th... | mit |
ROBOTIS-GIT/turtlebot3 | turtlebot3_slam/config/turtlebot3_lds_2d.lua | 1 | 1998 | -- Copyright 2016 The Cartographer Authors
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or... | apache-2.0 |
notestudio/shall-I-kill-her | lib/postshader.lua | 4 | 5618 | --[[
The MIT License (MIT)
Copyright (c) 2014 Marcus Ihde
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,... | apache-2.0 |
ROBOTIS-GIT/turtlebot3 | turtlebot3_slam/config/turtlebot3_lds_2d_gazebo.lua | 1 | 2002 | -- Copyright 2016 The Cartographer Authors
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or... | apache-2.0 |
LuaDist2/luarocks | spec/list_spec.lua | 7 | 1246 | local test_env = require("test/test_environment")
local run = test_env.run
local testing_paths = test_env.testing_paths
test_env.unload_luarocks()
local extra_rocks = {
"/say-1.0-1.src.rock",
"/say-1.2-1.src.rock"
}
describe("LuaRocks list tests #blackbox #b_list", function()
before_each(function()
t... | mit |
joaofvieira/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd.lua | 68 | 17192 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
local fs = require "nixio.fs"
local util = require "luci.util"
local ip = require "luci.ip"
local has_ipip = fs.glob("/etc/mo... | apache-2.0 |
16cameronk/MyoScripts | SolidWorks_mouse.lua | 2 | 2462 | scriptId = 'com.jakechapeskie.solidworks'
minMyoConnectVersion ='0.8.0'
scriptDetailsUrl = 'https://github.com/JakeChapeskie/MyoScripts'
scriptTitle = 'SolidWorks Connector'
--Commands
--"waveIn" hold to zoom while moving arm
--"waveOut" hold to move while moving arm
--"fingersSpread" hold to rotate
--"doubleTap" togg... | mit |
qyh214/wow_addons_private_use | AddOns/Narcissus/Constants/Loader.lua | 1 | 1394 | local _, Loader = ...
Loader.eventFrame = CreateFrame("frame");
Loader.dbVersion = 100000;
Loader.eventCallback = {};
Loader.initCallback = {};
function Loader:Release()
self.eventFrame:Hide();
wipe(self);
_ = nil;
Loader = nil;
end
function Loader:RegisterEvent(event)
self.eventFrame:RegisterE... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77662928.lua | 1 | 9850 | --Vocaloid Ultimate Alternation Haku Yowane
function c77662928.initial_effect(c)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c)
--xyz summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetRange(LOCATION_EXTRA)
e1:SetProperty(EFFECT_F... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus/Modules/ScreenshotTool/Toolbar.lua | 1 | 32898 | local _, addon = ...
local EXPANDED_BAR_LEFT_OFFSET = 68; --Constant
local COLLAPSED_BAR_LEFT_OFFSET = -120; --Variable
local IsTrackingPets = addon.TransitionAPI.IsTrackingPets;
local SetTrackingPets = addon.TransitionAPI.SetTrackingPets;
local outSine = addon.EasingFunctions.outSine;
local MainFrame;
local To... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c918906423.lua | 2 | 3124 | --Inscriber Homoji
function c918906423.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--Rune Summon
c:EnableReviveLimit()
local r1=Effect.CreateEffect(c)
r1:SetType(EFFECT_TYPE_FIELD)
r1:SetCode(EFFECT_SPSUMMON_PROC)
r1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
r1:SetRan... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c96866607.lua | 2 | 16276 | --Action Field - Nijiiro Chouchou - Song of Warmness Touch
function c96866607.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PREDRAW)
e1:SetCountLimit(1)
e1:SetR... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-BlackwingDescent/localization.cn.lua | 1 | 6785 | -- Simplified Chinese by Diablohu(diablohudream@gmail.com)
-- Last update: 9/18/2011
if GetLocale() ~= "zhCN" then return end
local L
-------------------------------
-- Dark Iron Golem Council --
-------------------------------
L = DBM:GetModLocalization(169)
L:SetWarningLocalization({
SpecWarnActivated = "更换目... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-Legion/MawOfSouls/Ymiron.lua | 1 | 1940 | local mod = DBM:NewMod(1502, "DBM-Party-Legion", 8, 727)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116042005")
mod:SetCreatureID(96756)
mod:SetEncounterID(1822)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 193211 193364 193977 193460 193566"
)
local warnBane = mo... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000018.lua | 2 | 7757 | --No.80 狂装覇王ラプソディ・イン・バーサーク
function c512000018.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(876330,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TA... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Libraries/Core/oUF/elements/healthprediction.lua | 1 | 11864 | --[[
# Element: Health Prediction Bars
Handles the visibility and updating of incoming heals and heal/damage absorbs.
## Widget
HealthPrediction - A `table` containing references to sub-widgets and options.
## Sub-Widgets
myBar - A `StatusBar` used to represent incoming heals from the player.
otherBar ... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-Classic/SunkenTemple/AvatarofHakkar.lua | 1 | 1148 | local mod = DBM:NewMod(457, "DBM-Party-Classic", 12, 237)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116042005")
mod:SetCreatureID(8443)
mod:SetEncounterID(492)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 12889 12888",
"SPELL_AURA_APPLIED 12889 12888"
)
local warni... | gpl-3.0 |
Markismus/koreader | plugins/newsdownloader.koplugin/lib/xml.lua | 14 | 17777 | ---
-- Overview:
-- =========
--
-- This module provides a non-validating XML stream parser in Lua.
--
-- Features:
-- =========
--
-- * Tokenises well-formed XML (relatively robustly)
-- * Flexible handler based event API (see below)
-- * Parses all XML Infoset elements - ie.
-- - Tags... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WindDungeonHelper/Media/Media.lua | 1 | 1645 | local W, F, L = unpack(select(2, ...))
local format = format
W.Media = {
Icons = {},
Textures = {}
}
local MediaPath = "Interface/Addons/WindDungeonHelper/Media/"
do
local template = "|T%s:%d:%d:0:0:64:64:5:59:5:59|t"
local s = 14
function F.GetIconString(icon, size)
return format(template, icon, size or s, s... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c103950011.lua | 2 | 2517 | --Shadow-Eater Drago
function c103950011.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950011,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c103950011.sp... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Core/Changelog/Previous/2.37.lua | 1 | 2958 | local W = unpack(select(2, ...))
W.Changelog[237] = {
RELEASE_DATE = "2022/05/28",
IMPORTANT = {
["zhCN"] = {},
["zhTW"] = {},
["enUS"] = {},
["koKR"] = {}
},
NEW = {
["zhCN"] = {
"[进度] 新增了一个选项用于标记最高分地下城.",
"[聊天链接] 支持显示传奇钥石地下城的图标."
... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c86221225.lua | 2 | 4025 | --Vocaloid Choibora
function c86221225.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE)
e1:SetType(EFFECT_T... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/AddOns/GupPet.lua | 1 | 2246 | local AS = unpack(AddOnSkins)
if not AS:CheckAddOn('GupPet') then return end
function AS:GupPet()
--[[
if GupPet_IngameFrameTemplateAuto then
AS:SkinIconButton(GupPet_IngameFrameTemplateAuto)
GupPet_IngameFrameTemplateAutoIcon:SetTexture("Interface\\Icons\\Ability_Mount_Drake_Azure")
GupPet_IngameFrameTemplate... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Options/Quest.lua | 1 | 50319 | local W, F, E, L, V, P, G = unpack(select(2, ...))
local options = W.options.quest.args
local LSM = E.Libs.LSM
local TI = W:GetModule("TurnIn")
local SB = W:GetModule("SwitchButtons")
local OT = W:GetModule("ObjectiveTracker")
local PR = W:GetModule("ParagonReputation")
local pairs = pairs
local tonumber = tonumber
lo... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus_Barbershop/Code/Statistics.lua | 1 | 7495 | local _, addon = ...
local time = time;
local StatManager = {};
addon.StatManager = StatManager;
StatManager.widgets = {};
StatManager.LocationFrames = {};
function StatManager:LoadData()
if not NarciStatisticsDB_PC then
NarciStatisticsDB_PC = {};
end
if not NarciStatisticsDB_PC.Barbershop then... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/Mainline/Blizzard/VoidStorage.lua | 1 | 2344 | local AS = unpack(AddOnSkins)
function AS:Blizzard_VoidStorage(event, addon)
if addon ~= "Blizzard_VoidStorageUI" then return end
AS:SkinFrame(VoidStorageFrame)
AS:CreateShadow(VoidStorageFrame)
AS:SkinFrame(VoidStoragePurchaseFrame)
VoidStoragePurchaseFrame:SetFrameLevel(VoidStorageFrame:GetFrameLevel() + 10)
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Core/Modules/Nameplates/Elements/Health.lua | 1 | 7604 | local E, L, V, P, G = unpack(ElvUI)
local NP = E:GetModule('NamePlates')
local UF = E:GetModule('UnitFrames')
local LSM = E.Libs.LSM
local ipairs = ipairs
local unpack = unpack
local UnitPlayerControlled = UnitPlayerControlled
local UnitIsTapDenied = UnitIsTapDenied
local UnitClass = UnitClass
local UnitReaction = Uni... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77790018.lua | 2 | 1406 | --Dark Tuner:Arias Eye
function c77790018.initial_effect(c)
--synchro summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c77790018.synlimit)
c:RegisterEffect(e1)
--lvcha... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAurasTemplates/Locales/esES.lua | 1 | 11493 | if not WeakAuras.IsLibsOK() then return end
if GetLocale() ~= "esES" then
return
end
local L = WeakAuras.L
-- WeakAuras/Templates
L["Abilities"] = "Habilidades"
L["Add Triggers"] = "Añadir disparadores"
L["Always Active"] = "Siempre activo"
L["Always Show"] = "Mostrar siempre"
L["Always show the aura, highlig... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c66666611.lua | 2 | 2359 | --Aetherial Counterforce
function c66666611.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCountLimit(1,66666611)
e1:SetCondition(c66666611.condition)
e1:SetCost(c666666... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c56540012.lua | 2 | 3486 | --Loli Angel Ai
function c56540012.initial_effect(c)
--summon with 3 tribute
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
e1:SetCondition(c56540012.ttcon)
e1:SetOperation(c56540012.ttop)
e1:S... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Ulduar/GeneralVezax.lua | 1 | 5435 | local mod = DBM:NewMod("GeneralVezax", "DBM-Ulduar")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220701215737")
mod:SetCreatureID(33271)
mod:SetEncounterID(1134)
mod:SetModelID(28548)
mod:SetUsedIcons(7, 8)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 62661 62662",
"SPELL_... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Draenor/localization.kr.lua | 1 | 2920 | if GetLocale() ~= "koKR" then
return
end
local L
-------------------------
-- Supreme Lord Kazzak --
-------------------------
L = DBM:GetModLocalization(1452)
L:SetMiscLocalization({
Pull = "불타는 군단의 압도적인 힘을 느껴라!"
})
--------------------------
-- Garrison Invasions --
--------------------------
L = DBM:GetModLoc... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c951234232.lua | 2 | 2042 | --Hierunyph O. Uail
function c951234232.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)
e1:SetCondition(c951234232.hspcon)
e1:SetOperation(c951234232.hspop)
c:Regis... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MSBTOptions/Localization/localization.zhcn.lua | 1 | 43052 | ----------------------------------------------------------------------------
-- Title: MSBT Options Simplified Chinese Localization
-- Author: Mikord
-- Simplified Chinese Translation by:
-- elafor
-- hscui
-- yaroot#gmail_com
-------------------------------------------------------------------------------
-- Don't do ... | gpl-3.0 |
aminassian/scipm.hex_edit | scite/main.lua | 1 | 72324 | -- -*- coding: utf-8 -
-- lua links
-- ------------------------------------------------------------------------------
-- http://www.scintilla.org/SciTELua.html
-- http://lua-users.org/wiki/UsingLuaWithScite
-- http://lua-users.org/wiki/SciteScripts
-- http://lua-users.org/wiki/LuaDirectory
-- http://www.scintilla.org/... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/Classic/Blizzard/Options.lua | 1 | 17134 | local AS = unpack(AddOnSkins)
function AS:Blizzard_BindingUI(event, addon)
if addon ~= 'Blizzard_BindingUI' then return end
for _, v in pairs({ "defaultsButton", "unbindButton", "okayButton", "cancelButton" }) do
AS:SkinButton(KeyBindingFrame[v])
end
AS:SkinFrame(KeyBindingFrame)
AS:StripTextures(KeyBindingF... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MythicDungeonTools/Locales/esMX.lua | 1 | 82618 | if not (GetLocale() == "esMX") then
return
end
local addonName, MDT = ...
local L = MDT.L
L = L or {}
-- MDT
L[" >Battle for Azeroth"] = ">Battle for Azeroth"
L[" >Legion"] = ">Legión"
L["%s HP"] = "%s Vida"
L["%s is in sublevel: %s"] = "%s Está en el subnivel: %s"
L["(G %d)"] = "(G %d)"
L["*Live*"] = "*Directo*"
L[... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c78219336.lua | 1 | 7794 | --Number C27: Colossal Warrior Chaotic N.A.N.O Rider
function c78219336.initial_effect(c)
c:SetCounterLimit(0x1108,5)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),3,4)
c:EnableReviveLimit()
--Battle
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78219336,0))... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/libs/DF/languages.lua | 1 | 64366 | --todo: need to send a callback when setting a new language, this will be used by the volatile menu to refresh the menu
--todo: compress the language tables that aren't in use
--todo: check cooltip fonts
--[=[
namespace = DetailsFramework.Language
Register() = DetailsFramework.Language.Register()
Register... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c29732406.lua | 1 | 1999 | --B.M.I. Recovery Assistance
function c29732406.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_LEAVE_FIELD)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,29732406+EFFECT_... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Coliseum/Champions.lua | 1 | 4005 | local mod = DBM:NewMod("Champions", "DBM-Coliseum")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20221010034753")
mod:SetCreatureID(34458, 34451, 34459, 34448, 34449, 34445, 34456, 34447, 34441, 34454, 34444, 34455, 34450, 34453, 34461, 34460, 34469, 34467, 34468, 34471, 34465, 34466, 34473, 34472, 34470, 344... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c29001792.lua | 2 | 3552 | --D.S. Sea Dragon
function c29001792.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),aux.NonTuner(Card.IsRace,RACE_FISH),1)
c:EnableReviveLimit()
--synchro summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29001792,0... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c90000042.lua | 2 | 3034 | --Toxic Level Adjuster Lady
function c90000042.initial_effect(c)
--Pendulum Summon
aux.EnablePendulumAttribute(c)
--Level Change
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1)
e1:SetTarget(c90000042.target... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c78219305.lua | 2 | 6508 | --Colossal Warrior - Tank
function c78219305.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(c78219305.repcon)
e1:SetOperation(c78219305.repop)
c:RegisterEffect(e1)
--s... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Details/classes/container_actors.lua | 1 | 30754 | -- actor container file
local _detalhes = _G._detalhes
local Details = _G.Details
local DF = _G.DetailsFramework
local _
local CONST_CLIENT_LANGUAGE = DF.ClientLanguage
---------------------------------------------------------------------------------------------------------------------------------------------... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000041.lua | 2 | 2120 | --Diabound Kernel #4
function c512000041.initial_effect(c)
c:EnableReviveLimit()
--sp summon
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(26949946,1))
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Details/classes/class_custom.lua | 1 | 82306 |
local _detalhes = _G._detalhes
local _
_detalhes.custom_function_cache = {}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--local pointers
local for... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/libs/AceConsole-3.0/AceConsole-3.0.lua | 10 | 8307 | --- **AceConsole-3.0** provides registration facilities for slash commands.
-- You can register slash commands to your custom functions and use the `GetArgs` function to parse them
-- to your addons individual needs.
--
-- **AceConsole-3.0** can be embeded into your addon, either explicitly by calling AceConsole:Embed(... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/TBC/Blizzard/Taxi.lua | 2 | 1091 | local AS = unpack(AddOnSkins)
function AS:Blizzard_Taxi()
AS:StripTextures(TaxiFrame)
AS:SkinBackdropFrame(TaxiFrame)
AS:SkinCloseButton(TaxiCloseButton)
TaxiCloseButton:SetFrameLevel(TaxiRouteMap:GetFrameLevel() + 1)
TaxiCloseButton:SetPoint("TOPRIGHT", -28, -8)
AS:Kill(TaxiPortrait)
TaxiFrame.Backdrop:SetPoi... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-MoP/MogushanPalace/Gekkan.lua | 1 | 3316 | local mod = DBM:NewMod(690, "DBM-Party-MoP", 5, 321)
local L = mod:GetLocalizedStrings()
mod.statTypes = "normal,heroic,challenge,timewalker"
mod:SetRevision("20220920232426")
mod:SetCreatureID(61243, 61337, 61338, 61339, 61340)--61243 (Gekkan), 61337 (Glintrok Ironhide), 61338 (Glintrok Skulker), 61339 (Glintrok Or... | gpl-3.0 |
bradparks/hammerspoon | extensions/window/filter.lua | 4 | 105906 | --- === hs.window.filter ===
---
--- Filter windows by application, title, location on screen and more, and easily subscribe to events on these windows
---
--- Warning: this module is still somewhat experimental.
--- Should you encounter any issues, please feel free to report them on https://github.com/Hammerspoon/hamm... | mit |
qyh214/wow_addons_private_use | AddOns/DBM-SiegeOfOrgrimmarV2/localization.tw.lua | 1 | 5447 | if GetLocale() ~= "zhTW" then
return
end
local L
---------------
-- Immerseus --
---------------
L = DBM:GetModLocalization(852)
L:SetMiscLocalization({
Victory = "啊,你成功了!水又再次純淨了。"
})
---------------------------
-- The Fallen Protectors --
---------------------------
L = DBM:GetModLocalization(849)
L:SetWarningLo... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99990441.lua | 2 | 3525 | --SAO - Yuuki ALO
function c99990441.initial_effect(c)
--Synchro summon
aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,9999))
c:EnableReviveLimit()
--Attack all monsters
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ATTACK_ALL)
e1:SetValue(1)
c:RegisterEffect(e... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Core/modules/Hyperlinks.lua | 1 | 3430 | local L = DBM_CORE_L
local frame, text, ignore, cancel
local function CreateOurFrame()
frame = CreateFrame("Frame", "DBMHyperLinks", UIParent, "BackdropTemplate")
frame.backdropInfo = {
bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background-Dark", -- 312922
edgeFile = "Interface\\DialogFrame\\UI-DialogBox-B... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAurasOptions/CommonOptions.lua | 1 | 48786 | if not WeakAuras.IsLibsOK() then return end
local AddonName, OptionsPrivate = ...
local L = WeakAuras.L
local commonOptionsCache = {}
OptionsPrivate.commonOptionsCache = commonOptionsCache
commonOptionsCache.data = {}
commonOptionsCache.GetOrCreateData = function(self, info)
local base = self.data
for i, key in ... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c6666670.lua | 2 | 3657 | --Thanatos, Shaderune Reaper
function c6666670.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x900),4,2)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(6666670,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory... | gpl-3.0 |
linnemannr/MCServer | MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua | 6 | 2109 | return
{
HOOK_PLAYER_PLACING_BLOCK =
{
CalledWhen = "Just before a player places a block. Plugin may override / refuse.",
DefaultFnName = "OnPlayerPlacingBlock", -- also used as pagename
Desc = [[
This hook is called just before a {{cPlayer|player}} places a block in the {{cWorld|world}}. The
block is no... | apache-2.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Modules/Skins/Blizzard/InputMethodEditor.lua | 1 | 1498 | local W, F, E, L = unpack(select(2, ...))
local S = W.Modules.Skins
local _G = _G
local NUM_CHAT_WINDOWS = NUM_CHAT_WINDOWS
function S:InputMethodEditor()
if not self:CheckDB(nil, "inputMethodEditor") then
return
end
for i = 1, NUM_CHAT_WINDOWS do
-- 输入框
local editBox = _G["ChatFr... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/XLoot_Options/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 21 | 2746 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/!KalielsTracker/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 21 | 2746 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/GarrisonCommander/libs/LibInit/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 21 | 2746 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-3.0 |
Markismus/koreader | frontend/apps/cloudstorage/ftp.lua | 3 | 5930 | local BD = require("ui/bidi")
local ConfirmBox = require("ui/widget/confirmbox")
local DocumentRegistry = require("document/documentregistry")
local FtpApi = require("apps/cloudstorage/ftpapi")
local InfoMessage = require("ui/widget/infomessage")
local MultiInputDialog = require("ui/widget/multiinputdialog")
local Read... | agpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c90000080.lua | 2 | 6513 | --Black Flag Duelist
function c90000080.initial_effect(c)
--Pendulum Summon
aux.EnablePendulumAttribute(c)
--Pendulum Limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetCode(EFFECT_CANNOT_SPECIAL... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000098.lua | 2 | 1663 | --Cemetery Change
function c512000098.initial_effect(c)
--Activate(summon)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c512000098.condition)
e1:SetCost(c512000098.cost)
e1:SetTarget(c512000098.target)
e1:SetOperation(c512000098.activate)
c:Regis... | gpl-3.0 |
freedesktop-unofficial-mirror/sbox2 | luaif/lua-5.1.4/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | lgpl-2.1 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000062.lua | 2 | 1786 | --スター・フォース
function c512000062.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c512000062.cost)
e1:SetTarget(c512000062.target)
e1:SetOperation(c51200... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Core/localization.ru.lua | 1 | 60502 | if GetLocale() ~= "ruRU" then return end
if not DBM_CORE_L then DBM_CORE_L = {} end
local L = DBM_CORE_L
L.HOW_TO_USE_MOD = "Добро пожаловать в " .. L.DBM .. ". Наберите /dbm help, чтобы получить список поддерживаемых команд. Для доступа к настройкам наберите /dbm в чате. Загрузите конкретные зоны вручную, чтобы ... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99200174.lua | 2 | 1904 | --Dark Android Berserker
function c99200174.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--immune
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_IMMUNE_EFFECT)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(aux.TargetBoolFunct... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/libs/DF/savedvars.lua | 2 | 7373 |
--stopped doing the duplicate savedTable
local DF = _G ["DetailsFramework"]
if (not DF or not DetailsFrameworkCanLoad) then
return
end
--create namespace
DF.SavedVars = {}
function DF.SavedVars.CreateNewSavedTable(dbTable, savedTableName)
local defaultVars = dbTable.defaultSavedVars
local newSavedTable = D... | gpl-3.0 |
marcbelmont/rnn-code-formatting | rnn/sample.lua | 1 | 3619 |
--[[
This file samples characters from a trained model
Code is based on implementation in
https://github.com/oxford-cs-ml-2015/practical6
]]--
require 'torch'
require 'nn'
require 'nngraph'
require 'optim'
require 'lfs'
require 'util.OneHot'
require 'util.misc'
cmd = torch.CmdLine()
cmd:text()
cmd:text('Sample f... | mit |
qyh214/wow_addons_private_use | AddOns/FreeInstanceFetcher/Libs/StdUi/widgets/Button.lua | 1 | 3490 | --- @type StdUi
local StdUi = LibStub and LibStub('StdUi', true);
if not StdUi then
return
end
local module, version = 'Button', 6;
if not StdUi:UpgradeNeeded(module, version) then return end;
local SquareButtonCoords = {
UP = { 0.45312500, 0.64062500, 0.01562500, 0.20312500};
DOWN = { 0.45312500,... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c44559813.lua | 2 | 4675 | --Chang E, Descendant of the Nirvana
function c44559813.initial_effect(c)
c:SetUniqueOnField(1,0,44559813)
--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(c44559813.s... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99199025.lua | 2 | 4234 | --The Future Gear Great Xiaolong
function c99199025.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xff15),aux.NonTuner(Card.IsAttribute,ATTRIBUTE_LIGHT),1)
c:EnableReviveLimit()
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99199025,0))
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WotLK/HallsofReflection/LichKingEvent.lua | 1 | 1790 | local mod = DBM:NewMod(603, "DBM-Party-WotLK", 16, 276)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20221013055548")
--mod:SetEncounterID(1990)--TODO, why was this unreliable?
mod:RegisterEvents(
"SPELL_AURA_REMOVED 69708",
"UNIT_SPELLCAST_SUCCEEDED boss1"
)
local WarnWave = mod:NewAnnounce("WarnWave", 2... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/GarrisonCommander/MissionControl.lua | 1 | 30104 | local me, ns = ...
ns.Configure()
local addon=addon --#addon
local _G=_G
-- Courtesy of Motig
-- Concept and interface reused with permission
-- Mission building rewritten from scratch
--local GMC_G = {}
local factory=addon:GetFactory()
--GMC_G.frame = CreateFrame('FRAME')
local aMissions={}
local choosenby={}
local pr... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c12310740.lua | 2 | 1423 | --Bonfire Enkindling
--lua script by SGJin
function c12310740.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,12310740+EFFECT_COUNT... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c983921032.lua | 2 | 1486 | --Astagraphy Beorc Tree
function c983921032.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c983921032.target)
e1:SetOperation(c983921032.activate)... | gpl-3.0 |
bradparks/hammerspoon | extensions/mjomatic/init.lua | 18 | 4683 | --- === hs.mjomatic ===
---
--- tmuxomatic-like window management
local mjomatic = {}
local alert = require 'hs.alert'
local application = require 'hs.application'
local screen = require 'hs.screen'
local gridh
local gridw
local function resizetogrid(window, coords)
-- alert.show(string.format('move window %q t... | mit |
Markismus/koreader | frontend/ui/widget/container/framecontainer.lua | 4 | 3649 | --[[--
A FrameContainer is some graphics content (1 widget) that is surrounded by a
frame
Example:
local frame
frame = FrameContainer:new{
radius = Size.radius.window,
bordersize = Size.border.window,
padding = 0,
margin = 0,
background = Blitbuffer.COLOR_WHITE,
... | agpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000073.lua | 2 | 3153 | --シンクロパニック
function c512000073.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetRange(LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED+... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/TBC/Blizzard/Bags.lua | 2 | 6536 | local AS = unpack(AddOnSkins)
-- Cache global variables
--Lua functions
local _G = _G
local select, unpack = select, unpack
--WoW API / Variables
local GetContainerItemInfo = GetContainerItemInfo
local GetContainerItemQuestInfo = GetContainerItemQuestInfo
local hooksecurefunc = hooksecurefunc
-- GLOBALS:
function AS:... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99970000.lua | 1 | 2416 | --DAL - Spacequake
function c99970000.initial_effect(c)
--Destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99970000,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,99970000... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WoD/IronDocks/Oshir.lua | 1 | 3233 | local mod = DBM:NewMod(1237, "DBM-Party-WoD", 4, 558)
local L = mod:GetLocalizedStrings()
mod.statTypes = "normal,heroic,mythic,challenge,timewalker"
mod.upgradedMPlus = true
mod:SetRevision("20221015214135")
mod:SetCreatureID(79852)
mod:SetEncounterID(1750)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_Enhanced/locales/english.lua | 1 | 6669 | -- English localization file for enUS and enGB.
local L = ElvUI[1].Libs.ACL:NewLocale("ElvUI", "enUS")
if not L then return end
-- Init
L["ENH_LOGIN_MSG"] = "You are using |cff1784d1ElvUI Enhanced Again|r |cffff8000(Shadowlands)|r version %s%s|r."
L["ENH_LOGIN_MSG_WRATH"] = "You are using |cff1784d1ElvUI Enhanced Agai... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.