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
Sakura-Winkey/LuCI
modules/luci-base/luasrc/template.lua
74
2819
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local config = require "luci.config" local tparser = require "luci.template.parser" local tostring, pairs, loadstring = tostring, pairs, loadstring local setmetatable, loadfile ...
apache-2.0
stars2014/quick-ng
cocos/scripting/lua-bindings/auto/api/ProgressTo.lua
7
1400
-------------------------------- -- @module ProgressTo -- @extend ActionInterval -- @parent_module cc -------------------------------- -- brief Create and initializes with a duration and a destination percentage.<br> -- param duration Specify the duration of the ProgressTo action. It's a value in seconds.<br> -- para...
mit
b03605079/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rn.lua
17
1624
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rn (Oil lamp) -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/...
gpl-3.0
b03605079/darkstar
scripts/zones/Southern_San_dOria/npcs/Paouala.lua
19
2177
----------------------------------- -- Area: Southern San d'Oria -- NPC: Paouala -- Starts and Finishes Quest: Sleepless Nights -- @zone 230 -- @pos 158 -6 17 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
jac8/Teles
plugins/anti_spam.lua
417
3978
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
kiarash14/bumpspm
plugins/translate.lua
674
1637
--[[ -- Translate text using Google Translate. -- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello --]] do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" -- URL query parameters local p...
gpl-2.0
cosmy1/Urho3D
Source/ThirdParty/LuaJIT/src/jit/bc.lua
43
5620
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
thesrinivas/rakshak
rakshak-probe/userspace/elasticsearch-lua/src/elasticsearch/endpoints/Indices/DeleteAlias.lua
2
1969
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local IndicesEndpoint = require "elasticsearch.endpoints.Indices.IndicesEndpoint" --------------------------------------------------------...
gpl-2.0
b03605079/darkstar
scripts/zones/Northern_San_dOria/npcs/Taurette.lua
19
1820
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taurette -- Involved in Quests: Riding on the Clouds -- @zone 231 -- @pos -159 0 91 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
DI3HARD139/dcb-everamzah-
mods/multiskin/init.lua
1
3113
MULTISKIN_DEFAULT_SKIN = "character.png" MULTISKIN_TRANS = "multiskin_trans.png" multiskin = {} local skin_mod = nil if minetest.get_modpath("skins") then skin_mod = "skins" elseif minetest.get_modpath("simple_skins") then skin_mod = "simple_skins" elseif minetest.get_modpath("u_skins") then skin_mod = "u_skins" e...
gpl-3.0
stars2014/quick-ng
external/lua/luasocket/script/socket/smtp.lua
31
8096
----------------------------------------------------------------------------- -- SMTP client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- -------------------------------------------------------------------------...
mit
b03605079/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h5.lua
17
1836
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h5 (Ruby Column) -- Notes: Mechanism for Altepa Gate -- @pos 59 10 -104 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
p1-nico/lua-log
examples/multithread/main.lua
3
1109
-- configure application to be able load logger local config = require "myapp.config" config.multithread = true config.main_thread = true ---------------------------------------------- -- here we already can use logger local log = require "myapp.log" local zthreads = require "lzmq.threads" -- this function requ...
mit
b03605079/darkstar
scripts/globals/items/ear_of_grilled_corn.lua
35
1298
----------------------------------------- -- ID: 4334 -- Item: ear_of_grilled_corn -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 4 -- Health Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------...
gpl-3.0
Sakura-Winkey/LuCI
modules/luci-base/luasrc/http.lua
44
4772
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ltn12 = require "luci.ltn12" local protocol = require "luci.http.protocol" local util = require "luci.util" local string = require "string" local coroutine = require "coroutine" local table = require "tab...
apache-2.0
b03605079/darkstar
scripts/globals/mobskills/Vorpal_Wheel.lua
6
1072
--------------------------------------------- -- Vorpal Wheel -- -- Description: Throws a slicing wheel at a single target. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Unknown -- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as...
gpl-3.0
lyn0328/FrameSynchro
Trunk/Client/src/framework/scheduler.lua
2
3172
--[[ Copyright (c) 2011-2014 chukong-inc.com 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, dis...
gpl-3.0
b03605079/darkstar
scripts/globals/effects/dia.lua
37
1233
----------------------------------- -- -- EFFECT_DIA -- ---------------------------------- -- Quick Explanation of Algorithm: -- Dia 1: Power of 1. Results in reduced defense of ~5.27% (27/512) and 1 hp/tick damage. -- Dia 2: Power of 2. Results in reduced defense of ~10.35% (53/512) and 2 hp/tick damage....
gpl-3.0
b03605079/darkstar
scripts/zones/Jugner_Forest/npcs/Bubchu-Bibinchu_WW.lua
8
2947
----------------------------------- -- Area: Jugner Forest -- NPC: Bubchu-Bibinchu, W.W. -- Type: Outpost Conquest Guards -- @pos 60.087 -0.602 -11.847 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
bakpakin/heroku-buildpack-moonmint
heroku/share/lua/5.1/luarocks/build/make.lua
8
3417
--- Build back-end for using Makefile-based packages. local make = {} local unpack = unpack or table.unpack local fs = require("luarocks.fs") local util = require("luarocks.util") local cfg = require("luarocks.cfg") --- Call "make" with given target and variables -- @param make_cmd string: the make command to be us...
mit
arychen/GlobalCall
feeds/luci/applications/luci-app-asterisk/luasrc/controller/asterisk.lua
68
7285
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.asterisk", package.seeall) function index() entry({"admin", "services", "asterisk"}, cbi("asterisk"), "Asterisk", 80) ...
gpl-2.0
Sakura-Winkey/LuCI
applications/luci-app-asterisk/luasrc/controller/asterisk.lua
68
7285
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.asterisk", package.seeall) function index() entry({"admin", "services", "asterisk"}, cbi("asterisk"), "Asterisk", 80) ...
apache-2.0
Radseq/otclient
modules/corelib/string.lua
8
1350
-- @docclass string function string:split(delim) local start = 1 local results = {} while true do local pos = string.find(self, delim, start, true) if not pos then break end table.insert(results, string.sub(self, start, pos-1)) start = pos + string.len(delim) end table.insert(result...
mit
Aquanim/Zero-K
LuaUI/Configs/decoration_handler_defs.lua
8
8002
-- only level 1 is needed, rest can be autogenerated local commtypeTable = { ["1"] = { -- armcom ["0"] = { -- level back = { { piece = "torso", height = 10, width = 10, rotation = 180, rotVector = {0,1,0}, offset = {0, 0, -13}, alpha = 0.6, }, }, chest = { { ...
gpl-2.0
latach/desktop
vicious/widgets/mem_freebsd.lua
4
2611
-- {{{ Grab environment local tonumber = tonumber local setmetatable = setmetatable local math = { floor = math.floor } local helpers = require("vicious.helpers") -- }}} -- Mem: provides RAM and Swap usage statistics -- vicious.widgets.mem_freebsd local mem_freebsd = {} -- {{{ Memory widget type local function worke...
gpl-2.0
mehrdad79/shield5
plugins/me.lua
9
1186
local function action_by_reply(extra, success, result) local hash = 'rank:'..result.to.id..':variables' local text = '' local value = redis:hget(hash, result.from.id) if not value then if result.from.id == tonumber(Arian) then text = text..' مدیر کل ربات \n\n' elseif is_admin2(result.from...
gpl-2.0
Aquanim/Zero-K
units/hoverassault.lua
2
3716
return { hoverassault = { unitname = [[hoverassault]], name = [[Halberd]], description = [[Blockade Runner Hover]], acceleration = 0.288, activateWhenBuilt = true, brakeRate = 0.516, buildCostMetal = 210, builder = false, buildPic ...
gpl-2.0
xpol/luarocks
src/luarocks/validate.lua
9
4622
--- Sandboxed test of build/install of all packages in a repository (unfinished and disabled). local validate = {} package.loaded["luarocks.validate"] = validate local fs = require("luarocks.fs") local dir = require("luarocks.dir") local path = require("luarocks.path") local cfg = require("luarocks.cfg") local build ...
mit
PicassoCT/Journeywar
scripts/mdigscript.lua
1
6876
include "lib_OS.lua" include "lib_UnitScript.lua" include "lib_Animation.lua" include "lib_jw.lua" include "lib_Build.lua" local spinAroundSpot = piece "spinAroundSpot" treeSpot = piece "treeSpot" local mdwheelcenter = piece "mdwheelcenter" local mdwheell = piece "mdwheell" local mdwheelr = piece "mdwheelr" local md...
gpl-3.0
b03605079/darkstar
scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua
17
2303
----------------------------------- -- Area: La Theine Plateau -- NPC: Equesobillot -- Involved in Mission: The Rescue Drill -- @pos -287 9 284 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Sakura-Winkey/LuCI
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua
68
1665
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true cdr_csv = module:option(ListV...
apache-2.0
fededim/packages
net/wifidog-ng/files/wifidog-ng/ubus.lua
22
3928
--[[ Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later vers...
gpl-2.0
PicassoCT/Journeywar
gamedata/explosions/explosiveProjectile.lua
1
1094
-- trail_ar2 return { ["explosiveproj"] = { Bullet = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = false, properties = { airdrag = 1, col...
gpl-3.0
WoWZon/GuildManager
libs/AceGUI-3.0/widgets/AceGUIwidget-ColorPicker.lua
11
5371
--[[----------------------------------------------------------------------------- ColorPicker Widget -------------------------------------------------------------------------------]] local Type, Version = "ColorPicker", 21 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(...
gpl-2.0
b03605079/darkstar
scripts/zones/Upper_Jeuno/npcs/Constance.lua
20
1814
----------------------------------- -- Area: Upper Jeuno -- NPC: Constance -- Involved in Quests: Save the Clock Tower -- @zone 244 -- @pos -48 0 4 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
PicassoCT/Journeywar
Modelmaterials/1_normalmapping.lua
1
4547
-- $Id$ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- local materials = { normalMappedS3o = { -- Suggestions for fixing https://github.com/lhog/spring-ssao/issues/1 shaderDefinitions = { "#define...
gpl-3.0
Aquanim/Zero-K
LuaUI/Widgets/chili_old/Skins/DarkHive/skin.lua
17
4554
--//============================================================================= --// Skin local skin = { info = { name = "DarkHive", version = "0.1", author = "luckywaldo7", } } --//============================================================================= --// skin.general = { --font ...
gpl-2.0
Aquanim/Zero-K
units/nebula.lua
2
5581
return { nebula = { unitname = [[nebula]], name = [[Nebula]], description = [[Atmospheric Mothership]], acceleration = 0.04, activateWhenBuilt = true, airStrafe = 0, bankingAllowed = false, brakeRate = 0.48, bu...
gpl-2.0
b03605079/darkstar
scripts/zones/Windurst_Woods/npcs/Bozack.lua
38
1036
----------------------------------- -- Area: Windurst Woods -- NPC: Bozack -- Type: Event Replayer -- @zone: 241 -- @pos 92.591 -5.58 -31.529 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------------...
gpl-3.0
WoWZon/GuildManager
libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua
11
19810
--[[----------------------------------------------------------------------------- TreeGroup Container Container that uses a tree control to switch between groups. -------------------------------------------------------------------------------]] local Type, Version = "TreeGroup", 36 local AceGUI = LibStub and LibStub("A...
gpl-2.0
b03605079/darkstar
scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua
6
3029
----------------------------------- -- Area: Valkurm Dunes -- NPC: Quanteilleron, R.K. -- Outpost Conquest Guards -- @pos 144 -7 104 103 ------------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ------------------------------------- require("scripts/globals/conquest")...
gpl-3.0
b03605079/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Cavernous_Maw.lua
29
1473
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Cavernous Maw -- @pos -118 -8 -520 82 -- Teleports Players to Jugner Forest ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
b03605079/darkstar
scripts/zones/Selbina/npcs/Herminia.lua
34
1293
----------------------------------- -- Area: Selbina -- NPC: Herminia -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0
b03605079/darkstar
scripts/zones/Cloister_of_Tremors/npcs/Earth_Protocrystal.lua
12
1761
----------------------------------- -- Area: Cloister of Tremors -- NPC: Earth Protocrystal -- Involved in Quest: Trial by Earth -- @pos -539 1 -493 209 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ----------------------------------- require("scripts/globals/k...
gpl-3.0
b03605079/darkstar
scripts/globals/mobskills/Typhoon.lua
6
1075
--------------------------------------------- -- Typhoon -- -- Description: Spins around dealing damage to targets in an area of effect. -- Type: Physical -- Utsusemi/Blink absorb: 2-4 shadows -- Range: 10' radial -- Notes: --------------------------------------------- require("/scripts/globals/settings"...
gpl-3.0
PicassoCT/Journeywar
scripts/gZoneScript.lua
1
1145
function script.HitByWeapon(x, z, weaponDefID, damage) return 0 end Emitor = piece "Emitor" function script.Create() Spring.MoveCtrl.Enable(unitID, true) HeightsTable = {} x, HeightsTable[1], z = Spring.GetUnitPosition(unitID) HeightsTable[5], HeightsTable[2], HeightsTable[3], HeightsTable[4]...
gpl-3.0
larsnorbergofficial/DiabolicUI
modules/blizzard/tooltips.lua
2
40251
local _, Engine = ... local Module = Engine:NewModule("Blizzard: Tooltips") local L = Engine:GetLocale() local C = Engine:GetDB("Data: Colors") local F = Engine:GetDB("Library: Format") -- Register module incompatibilities Module:SetIncompatible("TipTac") Module:SetIncompatible("TinyTip") Module:SetIncompatible("TinyT...
mit
b03605079/darkstar
scripts/zones/Port_Bastok/npcs/Numa.lua
36
1824
----------------------------------- -- Area: Port Bastok -- NPC: Numa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); -...
gpl-3.0
Aquanim/Zero-K
scripts/shiparty.lua
8
9254
--Stupid dumb Bos converted to amazing awesome Lua (see http://packages.springrts.com/bos2lua/index.php) --linear constant 65536 include 'constants.lua' -------------------------------------------------------------------- --pieces -------------------------------------------------------------------- local base, body...
gpl-2.0
b03605079/darkstar
scripts/zones/Mount_Zhayolm/npcs/Runic_Portal.lua
17
1855
----------------------------------- -- Area: Mount Zhayolm -- NPC: Runic Portal -- Mount Zhayolm Teleporter Back to Aht Urgan Whitegate -- @pos 688 -23 349 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
xpol/luarocks
spec/persist.lua
6
1355
local test_env = require("test/test_environment") test_env.unload_luarocks() local persist = require("luarocks.persist") describe("Luarocks persist test #whitebox #w_persist", function() describe("persist.save_from_table_to_string", function() it("simple table", function() assert.are.same([[ bar = 1...
mit
thesrinivas/rakshak
rakshak-probe/userspace/elasticsearch-lua/tests/lib/MockTransport.lua
2
1971
------------------------------------------------------------------------------- -- Importing external module ------------------------------------------------------------------------------- local util = require "lib.util" ------------------------------------------------------------------------------- -- Declaring modul...
gpl-2.0
ShafiqSadat/AFTG
plugins/plugins.lua
2
6920
--[[ |------------------------------------------------- |--------- ______-----------------_______---| | ______ __ ______ _____ _____ __ | _____ | ____| __ __ / _____/ | | |__ __| | | |__ __| / \ | \ | | | |__ | | |____ | | | | / /____ | | | | | | | | ...
gpl-2.0
mahdikord/mahdibaran
plugins/invite.lua
14
1173
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- Ignore ...
gpl-2.0
b03605079/darkstar
scripts/globals/items/orange_cake.lua
36
1212
----------------------------------------- -- ID: 5629 -- Item: Orange Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +3 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
immibis/wiremod
lua/wire/fx_emitter_default.lua
18
2980
AddCSLuaFile() local function FX( pos, angle ) local effectdata = EffectData() effectdata:SetOrigin( pos ) effectdata:SetNormal( angle:Forward() * 2 ) effectdata:SetMagnitude( 1 ) effectdata:SetScale( 1 ) effectdata:SetRadius( 2 ) util.Effect( "Sparks", effectdata ) end AddFXEmitterEffect( "small_sparks", ...
apache-2.0
dyrock/trafficserver
plugins/lua/example/test_schedule.lua
17
1544
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
lualatex/luaotfload
src/luaotfload-loaders.lua
2
8297
#!/usr/bin/env texlua ----------------------------------------------------------------------- -- FILE: luaotfload-loaders.lua -- DESCRIPTION: Luaotfload callback handling -- REQUIREMENTS: luatex v.0.80 or later; package lualibs -- AUTHOR: Philipp Gesang <phg@phi-gamma.net> -- AUTHOR: Hans Hage...
gpl-2.0
thesrinivas/rakshak
rakshak-probe/userspace/elasticsearch-lua/src/elasticsearch/endpoints/Indices/ExistsTemplate.lua
2
1887
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local IndicesEndpoint = require "elasticsearch.endpoints.Indices.IndicesEndpoint" --------------------------------------------------------...
gpl-2.0
cosmy1/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/package.lua
24
10812
-- tolua: package class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements...
mit
kostik1337/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/package.lua
24
10812
-- tolua: package class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements...
mit
stars2014/quick-ng
quick/samples/armature/src/layers/TestArmatureNesting2.lua
8
2890
-- -- Author: SunLightJuly -- Date: 2014-07-29 16:56:47 -- local ArmatureTestLayer = require("layers.ArmatureTestLayer") local TestArmatureNesting2 = class("TestArmatureNesting2", ArmatureTestLayer) local Hero = require("layers.role.hero") function TestArmatureNesting2:ctor(index) TestArmatureNesting2.super.ctor(sel...
mit
b03605079/darkstar
scripts/zones/North_Gustaberg/npcs/relic.lua
38
1851
----------------------------------- -- Area: North Gustaberg -- NPC: <this space intentionally left blank> -- @pos -217 97 461 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/North_Gustaberg/TextIDs"); -...
gpl-3.0
b03605079/darkstar
scripts/zones/Davoi/npcs/Sedal-Godjal.lua
12
3172
----------------------------------- -- Area: Davoi -- NPC: Sedal-Godjal -- Mini Quest used in : Whence Blows the Wind -- @pos 185 -2 -116 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scrip...
gpl-3.0
Aquanim/Zero-K
effects/gundam_xamelimpact_slam.lua
25
3590
-- xamelimpact return { ["xamelimpact_slam"] = { dirtg = { class = [[CSimpleParticleSystem]], count = 1, ground = true, properties = { airdrag = 0.95, alwaysvisible = true, colormap = [[0.0 0.0 0.0 1....
gpl-2.0
PicassoCT/Journeywar
gamedata/explosions/greyCloud.lua
1
2048
-- dirt return { ["greycloud"] = { zashcloud={ air=true, class=[[CSimpleParticleSystem]], count=1, ground=true, water=false, properties={ texture=[[SmokeAshCloud]], --colormap = [[0.2 0.2 0.2 0.6 0.5 0.5 0.5 0.5 0 0 0 0.01]], colormap ...
gpl-3.0
arychen/GlobalCall
feeds/luci/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua
68
2203
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require "luci.sys.zoneinfo" cbimap = Map("asterisk", "Voicemail - Common Settings") voicegeneral = cbimap:section(TypedSection, "voicegeneral", "General Voicemail Options", "Common settings for all mailboxes...
gpl-2.0
b03605079/darkstar
scripts/zones/Bastok_Markets/npcs/Carmelide.lua
36
1551
----------------------------------- -- Area: Bastok Markets -- NPC: Carmelide -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; requir...
gpl-3.0
b03605079/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u1.lua
19
1338
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/Text...
gpl-3.0
raymond-w-ko/vim-lua-indent
tests/nmap/citrixxml.ok.lua
6
16385
--- -- This module was written by Patrik Karlsson and facilitates communication -- with the Citrix XML Service. It is not feature complete and is missing several -- functions and parameters. -- -- The library makes little or no effort to verify that the parameters submitted -- to each function are compliant with the DT...
mit
b03605079/darkstar
scripts/globals/spells/paralyga.lua
2
1807
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
b03605079/darkstar
scripts/zones/Temenos/mobs/Praetorian_Guard_CCCXI.lua
17
1194
----------------------------------- -- Area: Temenos N T -- NPC: Praetorian_Guard ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); --------------------...
gpl-3.0
stars2014/quick-ng
quick/framework/cocos2dx/Cocos2dConstants.lua
18
17975
cc = cc or {} cc.SPRITE_INDEX_NOT_INITIALIZED = 0xffffffff cc.TMX_ORIENTATION_HEX = 0x1 cc.TMX_ORIENTATION_ISO = 0x2 cc.TMX_ORIENTATION_ORTHO = 0x0 cc.Z_COMPRESSION_BZIP2 = 0x1 cc.Z_COMPRESSION_GZIP = 0x2 cc.Z_COMPRESSION_NONE = 0x3 cc.Z_COMPRESSION_ZLIB = 0x0 cc.BLEND_DST = 0x303 cc.BLEND_SRC = 0x1...
mit
stars2014/quick-ng
cocos/scripting/lua-bindings/script/framework/extends/UIListView.lua
55
2358
--[[ Copyright (c) 2011-2014 chukong-inc.com 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, di...
mit
krattai/noo-ebs
docs/zeroMQ-guide2/examples/Lua/lruqueue2.lua
2
4121
-- -- Least-recently used (LRU) queue device -- Demonstrates use of the msg class -- -- While this example runs in a single process, that is just to make -- it easier to start and stop the example. Each thread has its own -- context and conceptually acts as a separate process. -- -- Author: Robert G. Jakabosky <b...
bsd-2-clause
b03605079/darkstar
scripts/zones/Port_Jeuno/npcs/Moulloie.lua
38
1028
----------------------------------- -- Area: Port Jeuno -- NPC: Moulloie -- Type: Standard NPC -- @zone: 246 -- @pos -77.724 7.003 59.044 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ---------------------...
gpl-3.0
latlontude/Atlas
lib/proxy/split.lua
41
14816
module("proxy.split", package.seeall) --local table = require("proxy.table") local crc = require("proxy.crc32") local log = require("proxy.log") local filter = require("proxy.filter") local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) l...
gpl-2.0
tsthght/DBProxy
lib/proxy/split.lua
41
14816
module("proxy.split", package.seeall) --local table = require("proxy.table") local crc = require("proxy.crc32") local log = require("proxy.log") local filter = require("proxy.filter") local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) l...
gpl-2.0
Aquanim/Zero-K
units/gunshipbomb.lua
2
3060
return { gunshipbomb = { unitname = [[gunshipbomb]], name = [[Blastwing]], description = [[Flying Bomb/Scout (Burrows)]], acceleration = 0.25, brakeRate = 0.2, buildCostMetal = 45, builder = false, buildPic ...
gpl-2.0
Wiladams/schedlua
schedlua/linux/timeticker.lua
1
1429
local ffi = require("ffi") -- mostly from time.h ffi.cdef[[ typedef int32_t clockid_t; typedef long time_t; struct timespec { time_t tv_sec; long tv_nsec; }; ]] local timespec = ffi.typeof("struct timespec") ffi.cdef[[ int clock_getres(clockid_t clk_id, struct timespec *res); int clock_gettime...
mit
Aquanim/Zero-K
effects/theora.lua
7
3563
-- theora_pillar -- transtheora_pillar -- transtheora -- theora return { ["theora_pillar"] = { rocks = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, underwater ...
gpl-2.0
b03605079/darkstar
scripts/zones/Bastok_Mines/npcs/Leonie.lua
38
1045
----------------------------------- -- Area: Bastok Mines -- NPC: Leonie -- Type: Room Renters -- @zone: 234 -- @pos 118.871 -0.004 -83.916 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("script...
gpl-3.0
stars2014/quick-ng
cocos/scripting/lua-bindings/auto/api/Blink.lua
7
1283
-------------------------------- -- @module Blink -- @extend ActionInterval -- @parent_module cc -------------------------------- -- Creates the action.<br> -- param duration Duration time, in seconds.<br> -- param blinks Blink times.<br> -- return An autoreleased Blink object. -- @function [parent=#Blink] create --...
mit
b03605079/darkstar
scripts/globals/items/magma_steak.lua
36
1537
----------------------------------------- -- ID: 6071 -- Item: Magma Steak -- Food Effect: 180 Min, All Races ----------------------------------------- -- Strength +8 -- Attack +23% Cap 180 -- Ranged Attack +23% Cap 180 -- Vermin Killer +5 ----------------------------------------- require("scripts/globals/status"); -...
gpl-3.0
b03605079/darkstar
scripts/zones/Castle_Oztroja/npcs/_47f.lua
17
1239
----------------------------------- -- Area: Castle Oztroja -- NPC: _47f (Handle) -- Notes: Opens door _471 -- @pos -182 -15 -19 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/Te...
gpl-3.0
b03605079/darkstar
scripts/globals/spells/stoneskin.lua
3
1642
----------------------------------------- -- Spell: Stoneskin ----------------------------------------- -- http://wiki.ffxiclopedia.org/wiki/Stoneskin -- Max 350 damage absorbed require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---...
gpl-3.0
thesrinivas/rakshak
rakshak-probe.bkup/userspace/sysdig/chisels/dkjson.lua
19
26592
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global valu...
gpl-2.0
raymond-w-ko/vim-lua-indent
tests/nmap/dhcp6.ok.lua
5
20346
--- -- Minimalistic DHCP6 (Dynamic Host Configuration Protocol for IPv6) -- implementation supporting basic DHCP6 Solicit requests The library -- is structured around the following classes: -- * DHCP6.Option - DHCP6 options encoders (for requests) and decoders -- (for responses) -- * DHCP6.Request - DH...
mit
Aquanim/Zero-K
units/shiptorpraider.lua
2
3971
return { shiptorpraider = { unitname = [[shiptorpraider]], name = [[Hunter]], description = [[Torpedo Raider Ship (Anti-Sub)]], acceleration = 0.288, activateWhenBuilt = true, brakeRate = 0.516, buildCostMetal = 100, builder = false, ...
gpl-2.0
b03605079/darkstar
scripts/globals/weaponskills/spirit_taker.lua
30
1443
----------------------------------- -- Spirit Taker -- Staff weapon skill -- Skill Level: 215 -- Converts damage dealt to own MP. Damage varies with TP. -- Will stack with Sneak Attack. -- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties. -- It is a physi...
gpl-3.0
Azrael1/treelstm
sentiment/LSTMSentiment.lua
10
9956
--[[ Sentiment classification using LSTMs. --]] local LSTMSentiment = torch.class('treelstm.LSTMSentiment') function LSTMSentiment:__init(config) self.mem_dim = config.mem_dim or 150 self.learning_rate = config.learning_rate or 0.05 self.emb_learning_rate = config.emb_learning_ra...
gpl-2.0
b03605079/darkstar
scripts/zones/Southern_San_dOria/npcs/Lusiane.lua
36
1830
----------------------------------- -- Area: Southern San d'Oria -- NPC: Lusiane -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop...
gpl-3.0
cs-willian-silva/vlc
share/lua/sd/magnatune.lua
110
1935
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
gpl-2.0
PicassoCT/Journeywar
LuaUI/widgets/gui_controllCommands.lua
1
19299
function widget:GetInfo() return { name = "gui_controllwindow", desc = "Displays BasicCommands", author = "PicassoCT", date = "2016-6-2", license = "GNU GPL, v2 or later", layer = 0, enabled = true, hidden = false, handler = true } end --Shared Data local Chili local Button local Label local Windo...
gpl-3.0
hunterbridges/dabes_engine
resource/scripts/dabes/global.lua
1
1487
-- Global -- -- Making the Lua global env do weird stuff require 'lib.inspect' require 'dabes.util' _cleanglobals = function() print "_cleanglobals(): Cleaning globals..." scene_manager = nil _controllers = nil print "_cleanglobals(): Collecting garbage..." collectgarbage("collect") end math.ra...
mit
PicassoCT/Journeywar
units/gaia/gbeehiveplate.lua
1
1146
local unitName = "gbeehiveplate" local unitDef = { name = "singscar", Description = "ThereForTheDecal", objectName = "emptyObjectIsEmpty.s3o", script = "decalFactory.lua", buildPic = "placeholder.png", --cost buildCostMetal = 0, buildCostEnergy = 0, buildTime =1, --Health maxDamage = 1200, idleAutoHeal = 0, --Movement...
gpl-3.0
FlightControl-Master/MOOSE_MISSIONS
TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-002 - AREAS - Task Success Test/TAD-A2G-002 - AREAS - Task Success Test.lua
1
3167
--- -- Name: TAD-A2G-002 - AREAS - Task Success Test -- Author: FlightControl -- Date Created: 15 Mar 2018 -- -- This mission demonstrates the dynamic task dispatching for Air to Ground operations. -- Reconnassance vehicles are placed at strategic locations, scanning for the enemy locations. -- The detection me...
gpl-3.0
TorstenC/esp8266-devkit
Espressif/examples/nodemcu-firmware/lua_modules/bh1750/bh1750_Example2.lua
89
1719
-- *************************************************************************** -- BH1750 Example Program for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-30 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- ***********************************************************************...
gpl-3.0
felipeprov/premake-core
src/tools/clang.lua
12
5763
-- -- clang.lua -- Clang toolset adapter for Premake -- Copyright (c) 2013 Jason Perkins and the Premake project -- premake.tools.clang = {} local clang = premake.tools.clang local gcc = premake.tools.gcc local config = premake.config -- -- Build a list of flags for the C preprocessor corresponding to the -- se...
bsd-3-clause
Aquanim/Zero-K
LuaUI/Widgets/missilesilo_range.lua
8
6047
function widget:GetInfo() return { name = "Missile Silo Range", desc = "Displays the ranges of the missiles that the missile silo can produce", author = "Google Frog", date = "Dec 10, 2009", --updated May 3, 2015 license = "GNU GPL v2", layer = 0, enabled = true } end -------...
gpl-2.0