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
Blackdutchie/Zero-K
effects/london.lua
12
6119
-- london_flames -- london_gflash -- london -- london_sphere -- london_glow return { ["london_flames"] = { rocks = { air = true, class = [[CSimpleParticleSystem]], count = 30, ground = true, water = true, underw...
gpl-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/maps/vaults/auto/greater/trapped-hexagon.lua
1
2081
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
tdubourg/geobombing
mobileapp/corona/game.lua
1
19958
---------------------------------------------------------------------------------- -- -- game.lua -- ---------------------------------------------------------------------------------- local storyboard = require( "storyboard" ) local Player = require( "player" ) local Monster = require( "monster" ) local scene = storyb...
lgpl-3.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/temporal-rift/npcs.lua
1
8112
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
amirilk1414/i4bot
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
RatchetJ/cqui
UI/Popups/TechCivicCompletedPopup.lua
4
15720
-- =========================================================================== -- Popups when a Tech or Civic are completed -- =========================================================================== include("TechAndCivicSupport"); -- (Already includes Civ6Common and InstanceManager) PopulateUnlockablesForTech, Po...
mit
electricpandafishstudios/Spoon
game/engines/te4-1.4.1/engine/DebugConsole.lua
1
17605
-- TE4 - T-Engine 4 -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later version....
gpl-3.0
sleepingwit/premake-core
binmodules/luasocket/src/tp.lua
51
3766
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Declare...
bsd-3-clause
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/quests/tutorial.lua
1
1357
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
rtsisyk/luafun
tests/operators.lua
5
4619
-- -- All these functions are fully covered by Lua tests. -- This test just checks that all functions were defined correctly. -- print(op == operator) -- an alias --[[test true --test]] -------------------------------------------------------------------------------- -- Comparison operators ---------------------------...
mit
3scale/apicast
spec/policy/ip_check/client_ip_spec.lua
1
3739
local client_ip = require('apicast.policy.ip_check.client_ip') describe('ClientIP', function() describe('.get_from', function() describe('when the source is the last caller IP', function() it('returns the IP in ngx.var.remote_addr', function() ngx.var = { remote_addr = '1.2.3.4' } local ip...
apache-2.0
Cat5TV/tps_skyblock
mods/tnt/init.lua
3
16975
tnt = {} -- Default to enabled when in singleplayer local enable_tnt = minetest.setting_getbool("enable_tnt") if enable_tnt == nil then enable_tnt = minetest.is_singleplayer() end -- loss probabilities array (one in X will be lost) local loss_prob = {} loss_prob["default:cobble"] = 3 loss_prob["default:dirt"] = 4 ...
lgpl-2.1
electricpandafishstudios/Spoon
game/engines/te4-1.4.1/engine/ai/talented.lua
1
3259
-- TE4 - T-Engine 4 -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later version....
gpl-3.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/paradox-plane/objects.lua
1
1916
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
musenshen/SandBoxLua
src/framework/cc/mvc/AppBase.lua
19
1929
local AppBase = class("AppBase") AppBase.APP_ENTER_BACKGROUND_EVENT = "APP_ENTER_BACKGROUND_EVENT" AppBase.APP_ENTER_FOREGROUND_EVENT = "APP_ENTER_FOREGROUND_EVENT" function AppBase:ctor(appName, packageRoot) cc(self):addComponent("components.behavior.EventProtocol"):exportMethods() self.name = appName ...
mit
kuoruan/lede-luci
modules/luci-base/luasrc/model/firewall.lua
17
10704
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local type, pairs, ipairs, table, luci, math = type, pairs, ipairs, table, luci, math local tpl = require "luci.template.parser" local utl = require "luci.util" local uci = require "luci.model.uci" module "lu...
apache-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/chats/zigur-trainer.lua
1
5033
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
amir123098/tele-dragon
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-2.0
GrimDerp/waifu2x
lib/pairwise_transform.lua
33
9919
require 'image' local gm = require 'graphicsmagick' local iproc = require './iproc' local reconstruct = require './reconstruct' local pairwise_transform = {} local function random_half(src, p, min_size) p = p or 0.5 local filter = ({"Box","Blackman", "SincFast", "Jinc"})[torch.random(1, 4)] if p > torch.unifo...
mit
Blackdutchie/Zero-K
LuaRules/Gadgets/weapon_single_hit.lua
4
2727
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
Maxsteam/HHHHLLLL
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
weinrank/wireshark
test/lua/dissectFPM.lua
28
15867
---------------------------------------- -- -- author: Hadriel Kaplan <hadriel@128technology.com> -- Copyright (c) 2015, Hadriel Kaplan -- This code is in the Public Domain, or the BSD (3 clause) license -- if Public Domain does not apply in your country. -- -- Version: 1.0 -- ------------------------------------------...
gpl-2.0
aliasIsolation/aliasIsolation
tools/tundra2/scripts/tundra/syntax/install.lua
28
1133
-- install.lua - Express file copying in unit form. module(..., package.seeall) local nodegen = require "tundra.nodegen" local files = require "tundra.syntax.files" local path = require "tundra.path" local util = require "tundra.util" local depgraph = require "tundra.depgraph" local _mt = nodegen.create_...
unlicense
electricpandafishstudios/Spoon
game/thirdparty/lpeg/re.lua
160
6286
-- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $ -- imported functions and modules local tonumber, type, print, error = tonumber, type, print, error local setmetatable = setmetatable local m = require"lpeg" -- 'm' will be used to parse expressions, and 'mm' will be used to -- create expressions; that is, 're' ...
gpl-3.0
simeneuro/simeneurobot
plugins/media.lua
297
1590
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
tianye910208/vi3d
tool/GenLuaGL/src/gen_by_src.lua
1
5374
local _llfunc_glShaderSource = [[ static int _llfunc_glShaderSource(lua_State* L) { GLuint shader = (GLuint)luaL_checkinteger(L, 1); const GLchar * source = (const GLchar *)luaL_checkstring(L, 2); glShaderSource(shader, 1, (const GLchar **)&source, NULL); return 0; } ]] local _llfunc...
mit
alireza1998/gfx2
plugins/ingroup.lua
527
44020
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
AlexandreCA/update
scripts/globals/mobskills/PW_Acheron_Flame.lua
6
1607
--------------------------------------------- -- Acheron Flame -- -- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn -- Type: Magical -- -- -- Utsusemi/Blink absorb: Wipes shadows -- Range: 20' radial -- Notes: Only used when a cerberus's health is 25% or low...
gpl-3.0
AlexandreCA/update
scripts/zones/Lower_Jeuno/npcs/Vola.lua
17
3176
----------------------------------- -- Area: Lower Jeuno -- NPC: Vola -- Starts and Finishes Quest: Fistful of Fury -- Involved in Quests: Beat Around the Bushin (before the quest) -- @zone 245 -- @pos 43 3 -45 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; pack...
gpl-3.0
tartina/ardour
share/scripts/_rgh_midi_track_trick.lua
4
2704
ardour { ["type"] = "EditorAction", name = "Rob's 16 MIDI Trick Pony", description = [[clearly broken approach to go about things]] } function route_setup () return { ['Insert_at'] = ARDOUR.PresentationInfo.max_order, ['name'] = 'Sweet16', ['group'] = false, -- return value will be a RouteGroup* or...
gpl-2.0
AlexandreCA/darkstar
scripts/zones/Konschtat_Highlands/mobs/Ghillie_Dhu.lua
6
2228
----------------------------------- -- Area: Konschtat Highlands -- NM: Ghillie Dhu ----------------------------------- require("scripts/globals/utils"); require("scripts/globals/status"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobInitialize ------------------------------...
gpl-3.0
lancehilliard/TGNS
mods/tgns/output/lua/tgns/server/TGNSClientKicker.lua
1
5730
TGNSClientKicker = {} local kickedClients = {} local chatAdvisory = "Kicked. See console for details." local kickDelayInSeconds = 5 local md = TGNSMessageDisplayer.Create("KICK") local kickReasons = {} local REPEAT_KICK_THRESHOLD = 3 local REPEAT_KICK_BAN_DURATION_IN_MINUTES = 120 local playersKickedForOffenses = {} l...
mit
AlexandreCA/update
scripts/zones/Northern_San_dOria/npcs/Justi.lua
36
1852
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
boundary/luvit
tests/test-dns.lua
2
3742
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. 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 agr...
apache-2.0
AlexandreCA/darkstar
scripts/commands/delquest.lua
8
1261
--------------------------------------------------------------------------------------------------- -- func: @delquest <logID> <questID> <player> -- desc: Deletes the given quest from the GM or target player. --------------------------------------------------------------------------------------------------- require("s...
gpl-3.0
AlexandreCA/update
scripts/zones/Konschtat_Highlands/npcs/Signpost3.lua
34
1034
----------------------------------- -- Area: Konschtat Highlands -- NPC: Signpost -- @pos -221 17 139 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Konschtat_Highlands/TextIDs"); --------...
gpl-3.0
AlexandreCA/update
scripts/globals/chocobo_digging.lua
46
7397
-- chocobo_digging.lua require("scripts/globals/status"); require("scripts/globals/utils"); require("scripts/globals/settings"); ----------------------------------- -- DIG REQUIREMENTS ----------------------------------- DIGREQ_NONE = 0; DIGREQ_BURROW = 1; DIGREQ_BORE = 2; DIGREQ_MODIFIER = 4; DIGREQ_NIGHT ...
gpl-3.0
abbasgh12345/extremenewedit
plugins/quran.lua
20
1243
do umbrella = "http://umbrella.shayan-soft.ir/quran/" -- database -- get sound of sura local function read_sura(chat_id, target) local readq = http.request(umbrella.."Sura"..target..".mp3") local url = umbrella.."Sura"..target..".mp3" local file = download_to_file(url) local cb_extra = {file_path=file} return sen...
gpl-2.0
AlexandreCA/update
scripts/zones/Port_Bastok/npcs/Silver_Owl.lua
34
1328
----------------------------------- -- Area: Port Bastok -- NPC: Silver Owl -- Type: Tenshodo Merchant -- @pos -99.155 4.649 23.292 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/items/bowl_of_tomato_soup.lua
18
1487
----------------------------------------- -- ID: 4420 -- Item: bowl_of_tomato_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- HP Recovered While Healing 5 -- Ranged Accuracy % 9 (cap 15) ----------------------------------------- require("scripts/globals/sta...
gpl-3.0
heptal/hammerspoon
extensions/fs/test_fs.lua
6
9436
-- hs.fs tests testDir = "/private/tmp/hs_fs_test_dir/" function writeFile(filename, contents) io.open(filename, "w"):write(contents):close() end function setUp() os.execute("mkdir "..testDir) return success() end function tearDown() os.execute("rm -r "..testDir) return success() end function testMkdir()...
mit
AlexandreCA/update
scripts/zones/Riverne-Site_B01/npcs/_0t3.lua
17
1341
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/Text...
gpl-3.0
jstewart-amd/premake-core
modules/self-test/test_runner.lua
6
4715
--- -- self-test/test_runner.lua -- -- Execute unit tests and test suites. -- -- Author Jason Perkins -- Copyright (c) 2008-2016 Jason Perkins and the Premake project. --- local p = premake local m = p.modules.self_test local _ = {} function m.runTest(test) local scopedTestCall if test.testFunction then ...
bsd-3-clause
AlexandreCA/update
scripts/globals/items/senroh_skewer.lua
36
1404
----------------------------------------- -- ID: 5982 -- Item: Senroh Skewer -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Dexterity 2 -- Vitality 3 -- Mind -1 -- Defense % 25 Cap 150 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
AlexandreCA/update
scripts/globals/items/bunny_ball.lua
35
1739
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 25 -- Ranged ATT % 30 -- Ranged ATT Cap 25 -------------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/Ifrits_Cauldron/npcs/Grounds_Tome.lua
34
1143
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
SHIELDTM/megashield
plugins/id.lua
11
5691
local function usernameinfo (user) if user.username then return '@'..user.username end 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 loca...
gpl-2.0
AlexandreCA/update
scripts/zones/Windurst_Woods/npcs/Nhobi_Zalkia.lua
30
1614
----------------------------------- -- Area: Windurst_Woods -- NPC: Nhobi Zalkia -- Only sells when Windurst controlls Kuzotz Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/g...
gpl-3.0
Oberon00/jd
base.jd/lua/lib/oo.lua
1
2139
--[[ module oo (object orientation) --]] local util = require 'util' local M = { } local function construct(cls, ...) local self = { } setmetatable(self, cls) return self, util.callopt(self.__init, self, ...) end local id = debug.id or util.rawtostring function M.objectToString(obj) local name ...
bsd-2-clause
AlexandreCA/darkstar
scripts/globals/items/salmon_sub_sandwich.lua
18
1492
----------------------------------------- -- ID: 4355 -- Item: salmon_sub_sandwich -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 1 -- Vitality 1 -- Intelligence 2 -- Mind -2 -- Ranged ACC 2 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
AlexandreCA/update
scripts/zones/PsoXja/npcs/_091.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _091 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
devxkh/FrankE
src/ThirdParty/LuaJIT/src/jit/dis_ppc.lua
78
20318
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
mit
AlexandreCA/darkstar
scripts/globals/items/bowl_of_ulbuconut_milk.lua
18
1192
----------------------------------------- -- ID: 5976 -- Item: Bowl of Ulbuconut Milk -- Food Effect: 3Min, All Races ----------------------------------------- -- Charisma +3 -- Vitality -2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
AlexandreCA/update
scripts/zones/Bastok_Markets/npcs/Brunhilde.lua
36
1636
----------------------------------- -- Area: Bastok Markets -- NPC: Brunhilde -- 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
AlexandreCA/update
scripts/zones/Selbina/npcs/Boris.lua
38
1030
---------------------------------- -- Area: Selbina -- NPC: Boris -- Type: Item Deliverer -- @pos 61.074 -14.655 -7.1 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); -----------------------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Northern_San_dOria/npcs/Arlenne.lua
13
2152
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arlenne -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requi...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Port_San_dOria/npcs/Artinien.lua
13
1356
----------------------------------- -- Area: Port San d'Oria -- NPC: Artinien -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); -...
gpl-3.0
boknilev/nn
MM.lua
46
2695
--[[ Module to perform matrix multiplication on two minibatch inputs, producing a minibatch. ]] local MM, parent = torch.class('nn.MM', 'nn.Module') --[[ The constructor takes two optional arguments, specifying whether or not transpose any of the input matrices before perfoming the multiplication. ]] functi...
bsd-3-clause
AlexandreCA/update
scripts/globals/abilities/divine_waltz.lua
28
2373
----------------------------------- -- Ability: Divine Waltz -- Heals party members within area of effect. -- Obtained: Dancer Level 25 -- TP Required: 40% -- Recast Time: 00:13 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); -----------------------...
gpl-3.0
virgo-agent-toolkit/rackspace-monitoring-agent
hostinfo/packages.lua
1
2777
--[[ Copyright 2015 Rackspace 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 agreed to in writing, software dis...
apache-2.0
fo369/packages-1505
net/prosody/files/prosody.cfg.lua
147
7257
-- Prosody Example Configuration File -- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure -- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know...
gpl-2.0
tartina/ardour
share/scripts/midimon.lua
2
6474
ardour { ["type"] = "dsp", name = "ACE MIDI Monitor", category = "Visualization", license = "GPLv2", author = "Ardour Community", description = [[Display recent MIDI events inline in the mixer strip]] } local maxevents = 20 local ringsize = maxevents * 3 local evlen = 3 local hpadding, vpad...
gpl-2.0
AlexandreCA/update
scripts/zones/Beadeaux_[S]/Zone.lua
28
1315
----------------------------------- -- -- Zone: Beadeaux_[S] (92) -- ----------------------------------- package.loaded["scripts/zones/Beadeaux_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Beadeaux_[S]/TextIDs"); ----------------------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fm.lua
13
2638
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 210 -32 25 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- ...
gpl-3.0
heptal/hammerspoon
extensions/socket/test_udpsocket.lua
5
14452
-- globals for async UDP tests port = 9001 -- constructors function testUdpSocketInstanceCreation() assertIsUserdataOfType("hs.socket.udp", hs.socket.udp.new()) return success() end function testUdpSocketInstanceCreationWithCallback() assertIsUserdataOfType("hs.socket.udp", hs.socket.udp.new(print)) return su...
mit
WetDesertRock/vivid
example/Quickie/utf8.lua
15
4556
-- utf8.lua - Basic (and unsafe) utf8 string support in plain Lua - public domain -- -- Written in 2013 by Matthias Richter (vrld@vrld.org) -- -- This software is in the public domain. Where that dedication is not -- recognized, you are granted a perpetual, irrevokable license to copy and -- modify this file as you see...
mit
AlexandreCA/darkstar
scripts/globals/items/plate_of_ic_pilav.lua
18
1945
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % 22 ...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/spells/hailstorm.lua
32
1182
-------------------------------------- -- Spell: Hailstorm -- Changes the weather around target party member to "snowy." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
jstewart-amd/premake-core
tests/actions/vstudio/vc2010/test_extension_targets.lua
6
2570
-- -- tests/actions/vstudio/vc2010/test_extension_targets.lua -- Check the import extension targets block of a VS 2010 project. -- Copyright (c) 2014 Jason Perkins and the Premake project -- local suite = test.declare("vs2010_extension_targets") local vc2010 = premake.vstudio.vc2010 local project = premake....
bsd-3-clause
AlexandreCA/update
scripts/zones/Western_Altepa_Desert/npcs/_3h6.lua
17
1870
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h6 (Topaz Column) -- Notes: Mechanism for Altepa Gate -- @pos -260 10 -344 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
mcclure/old-Polycode
Bindings/Contents/LUA/API/Polycode/EventDispatcher.lua
1
1785
require "Polycode/EventHandler" class "EventDispatcher" (EventHandler) function EventDispatcher:EventDispatcher(...) if type(arg[1]) == "table" and count(arg) == 1 then if ""..arg[1]:class() == "EventHandler" then self.__ptr = arg[1].__ptr return end end for k,v in pairs(arg) do if type(v) == "ta...
mit
AlexandreCA/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua
13
1918
----------------------------------- -- Area: The Sanctuary of ZiTah -- NPC: qm2 (???) -- Involved in Quest: Forge Your Destiny -- @pos 639 -1 -151 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
erfan7/bot1000
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
agpl-3.0
mmd021/self
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua
12
1385
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dabih Jajalioh -- Standard Merchant NPC -- Additional script for pereodical -- goods needed. -- Partitially implemented. ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; -------------------------------...
gpl-3.0
paly2/minetest-minetestforfun-server
mods/unified_inventory/api.lua
1
6717
local S = unified_inventory.gettext -- Create detached creative inventory after loading all mods minetest.after(0.01, function() local rev_aliases = {} for source, target in pairs(minetest.registered_aliases) do if not rev_aliases[target] then rev_aliases[target] = {} end table.insert(rev_aliases[target], source...
unlicense
AlexandreCA/update
scripts/zones/East_Sarutabaruta/npcs/Signpost.lua
38
2029
----------------------------------- -- Area: East Sarutabaruta -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Sarutabaruta/TextIDs"); ----------------------------------- -- onTrade A...
gpl-3.0
gaodayihao/XBurner
ui/settings.lua
1
1792
local n_name, XB = ... local L = XB.Locale local callback = function() XB.ButtonsSize = XB.Config:Read(n_name..'_Settings', 'bsize', 40) XB.ButtonsPadding = XB.Config:Read(n_name..'_Settings', 'bpad', 2) XB.Interface:RefreshToggles() end local config = { key = n_name..'_Settings', title ...
mit
AlexandreCA/darkstar
scripts/globals/items/nopales_salad.lua
18
1174
----------------------------------------- -- ID: 5701 -- Item: nopales_salad -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Strength 1 -- Agility 6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
zhoukk/skynet
lualib/http/httpd.lua
101
3708
local internal = require "http.internal" local table = table local string = string local type = type local httpd = {} local http_status_msg = { [100] = "Continue", [101] = "Switching Protocols", [200] = "OK", [201] = "Created", [202] = "Accepted", [203] = "Non-Authoritative Information", [204] = "No Content",...
mit
dany-sj/amin
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
aqasaeed/z
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
smikail/yvigeo
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
wtfbbqhax/tremulous-installer
lua/lib/table.lua
7
3198
-- -- table.lua -- Additions to Lua's built-in table functions. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- -- -- Returns true if the table contains the specified value. -- function table.contains(t, value) for _,v in pairs(t) do if (v == value) then return true end end retu...
gpl-2.0
AlexandreCA/update
scripts/globals/effects/innin.lua
17
1454
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity target:addM...
gpl-3.0
samboy/Oblige
games/doom/shapes.lua
1
25605
------------------------------------------------------------------------ -- GRAMMAR RULES ------------------------------------------------------------------------ -- -- Oblige Level Maker -- -- Copyright (C) 2015-2017 Andrew Apted -- -- This program is free software; you can redistribute it and/or -- modify it und...
gpl-2.0
AlexandreCA/darkstar
scripts/globals/items/loach_soup.lua
18
1667
----------------------------------------- -- ID: 5671 -- Item: loach_soup -- Food Effect: 4Hour,Group Food, All Races ----------------------------------------- -- Dexterity 4 -- Agility 4 -- Accuracy % 7 -- Accuracy Cap 50 -- HP % 7 -- HP Cap 50 -- Evasion 5 -- (Did Not Add Group Food Effect) --------------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/Windurst_Waters/npcs/Baehu-Faehu.lua
36
1615
----------------------------------- -- Area: Windurst Waters -- NPC: Baehu-Faehu -- Only sells when Windurst has control of Sarutabaruta -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones...
gpl-3.0
AlexandreCA/update
scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_2.lua
21
2309
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Sealed Entrance (Sealed_Entrance_2) -- @pos 263.600 -6.512 40.000 95 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/global...
gpl-3.0
AlexandreCA/update
scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua
23
3674
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: Kirin ----------------------------------- package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil; ----------------------------------- require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ); require( "scripts/global...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm17.lua
13
1347
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm17 (???) -- Notes: Used to obtain Pouch of Weighted Stones -- @pos -354 0 262 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
AlexandreCA/update
scripts/globals/items/serving_of_salmon_roe.lua
35
1341
----------------------------------------- -- ID: 5218 -- Item: serving_of_salmon_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 2 -- Mind -1 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/West_Ronfaure/npcs/Vilatroire.lua
17
1586
----------------------------------- -- Area: West Ronfaure -- NPC: Vilatroire -- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork", -- "Advanced Teamwork" -- @pos -260.361 -70.999 423.420 100 ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
AlexandreCA/update
Andrival.lua
2
1034
----------------------------------- -- Area: Western Adoulin -- NPC: Andrival -- Location: H-4/5 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Adoulin/TextIDs"); ------------------...
gpl-3.0
changbiao/RIOT
dist/tools/wireshark_dissector/riot.lua
21
2130
-- RIOT native support for Wireshark -- A Lua implementation for dissection of RIOT native packets in wireshark -- @Version: 0.0.1 -- @Author: Martine Lenders -- @E-Mail: mlenders@inf.fu-berlin.de do --Protocol name "RIOT" local p_riot = Proto("RIOT", "RIOT native packet") --Protocol Fields local f_le...
lgpl-2.1
AlexandreCA/update
scripts/zones/Konschtat_Highlands/npcs/Cavernous_Maw.lua
29
1963
----------------------------------- -- Area: Konschtat Highlands -- NPC: Cavernous Maw -- @pos 96.344, -69.080, -580.008 108 -- Teleports Players to Abyssea - Konschtat ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Bastok_Mines/npcs/Leonie.lua
13
1060
----------------------------------- -- 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
alexhausen/config
awesome/rc.lua
1
19561
-- awesome 3.5.x -- Standard awesome library local gears = require("gears") local awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful") -- Notification library ...
mit
AlexandreCA/update
scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua
36
4446
----------------------------------- -- Area: Windurst Woods -- NPC: Tesch_Garanjy -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/armorstorage"...
gpl-3.0
AlexandreCA/update
scripts/zones/Selbina/npcs/Falgima.lua
29
1187
----------------------------------- -- Area: Selbina -- NPC: Falgima -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------------------...
gpl-3.0