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
Enignite/darkstar
scripts/globals/items/plate_of_ikra_gunkan_+1.lua
35
1733
----------------------------------------- -- ID: 5220 -- Item: plate_of_ikra_gunkan_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 30 -- Magic 12 -- Dexterity 3 -- Mind -1 -- Accuracy % 17 -- Accuracy Cap 30 -- Ranged ACC % 17 -- Ranged ACC Cap 30 ------------------...
gpl-3.0
rodrigoftw/Estagio1
Stay Alive/plugin/dusk/layer/imageLayer.lua
1
1184
-- ************************************************************************** -- --[[ Dusk Engine Component: Image Layer Builds an image layer from data. --]] -- ************************************************************************** -- local dusk_imageLayer = {} -- ***********************************************...
apache-2.0
Enignite/darkstar
scripts/globals/mobskills/PL_Rock_Smash.lua
13
1175
--------------------------------------------- -- Rock Smash -- -- Description: Damages a single target. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
xternalz/fb.resnet.torch
train.lua
1
6680
-- -- Copyright (c) 2016, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. -- -- The training...
bsd-3-clause
tks2103/angel-test
Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-config.lua
10
3559
require 'pl' asserteq = require 'pl.test'.asserteq function testconfig(test,tbl,cfg) local f = stringio.open(test) local c = config.read(f,cfg) f:close() if not tbl then print(pretty.write(c)) else asserteq(c,tbl) end end testconfig ([[ ; comment 2 (an ini file) [section!] bon...
bsd-3-clause
vso2004/cardpeek
dot_cardpeek_dir/scripts/etc/ravkav-strings.lua
16
27069
RAVKAV_ISSUERS = { [1] = "Service Center (Postal Bank)", [2] = "Israel Rail", [3] = "Egged", [4] = "Egged Transport", [5] = "Dan", [6] = "NTT (Nazereth Consolidated Bus Services)", [7] = "NTT (Nazereth Travel & Tourism)", [8] = "JB Tours", [9] = "Omni (Nazrin Express)", [10] = "A...
gpl-3.0
Enignite/darkstar
scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua
19
1194
----------------------------------- -- Area: Den_of_Rancor -- NPC: HomePoint#2 -- @pos 182 34 -62 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs"); require("scripts/globals/homepoin...
gpl-3.0
fcpxhacks/fcpxhacks
src/plugins/finalcutpro/inspector/video.lua
1
47219
--- === plugins.finalcutpro.inspector.video === --- --- Final Cut Pro Video Inspector Additions. local require = require --local log = require "hs.logger".new "videoInspector" local deferred = require "cp.deferred" local dialog = require "cp.dialog" local fcp ...
mit
TeleSudo/TeleRedStar
plugins/admin.lua
1
11284
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
agpl-3.0
Enignite/darkstar
scripts/globals/items/bowl_of_sprightly_soup.lua
36
1326
----------------------------------------- -- ID: 5930 -- Item: Bowl of Sprightly Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 30 -- Mind 4 -- HP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
troopizer/ot-server
data/npc/scripts/brean.lua
1
3476
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCrea...
gpl-2.0
ArmanIr/irbotttgcli
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
dcsan/telegram-bot
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
DipColor/mehrabon2
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
fcpxhacks/fcpxhacks
src/plugins/finalcutpro/tangent/os/display.lua
2
1928
--- === plugins.finalcutpro.tangent.os.display === --- --- Tangent Display Functions. local require = require local brightness = require "hs.brightness" local dialog = require "cp.dialog" local fcp = require "cp.apple.finalcutpro" local i18n = require "cp....
mit
mt246/mt
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
troopizer/ot-server
data/npc/lib/npcsystem/queue.lua
4
1971
-- Advanced NPC System (Created by Jiddo), -- Modified by Talaturen. if(Queue == nil) then Queue = { customers = nil, handler = nil, } -- Creates a new queue, connected to the given NpcHandler handler function Queue:new(handler) local obj = {} obj.handler = handler obj.customers = {} setmetatable(obj,...
gpl-2.0
Tri125/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
mogh77/ahhhh
bot/seedbot.lua
1
10054
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
Enignite/darkstar
scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua
53
1909
----------------------------------- -- Area: Port Windurst -- NPC: Panja-Nanja -- Type: Fishing Adv. Image Support -- @pos -194.499 -3 58.692 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
timofonic/fpga_nes
sw/scripts/ppumc.lua
3
7867
---------------------------------------------------------------------------------------------------- -- Script: ppumc.lua -- Description: Tests ppumc block (read/write PPU memory) ---------------------------------------------------------------------------------------------------- dofile("../scripts/inc/nesdbg.lua...
bsd-2-clause
aimingoo/ngx_4c
testcase/lib/JSON.lua
4
34883
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
apache-2.0
Enignite/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Yang.lua
15
1332
----------------------------------- -- Area: Dynamis Xarcabard -- NM: Yang ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob,target) end; --------------...
gpl-3.0
Enignite/darkstar
scripts/globals/items/bowl_of_sutlac.lua
36
1315
----------------------------------------- -- ID: 5577 -- Item: Bowl of Sutlac -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +10 -- INT +1 -- MP Recovered while healing +2 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
hscells/asteroids
main.lua
1
7292
require "asteroid" require "bullet" local width = love.graphics.getWidth() local height = love.graphics.getHeight() - 32 local max_asteroids = 10 local asteroids = {} local bullets = {} local fullscreen = false -- add an asteroid to the game function AddAsteroid(x,y,size,health,vx,vy) return table.insert(asteroids...
mit
Enignite/darkstar
scripts/zones/Bastok_Markets/npcs/Horatius.lua
38
2104
----------------------------------- -- Area: Bastok Markets -- NPC: Horatius -- Type: Quest Giver -- Starts and Finishes: Breaking Stones -- @pos -158.392 -5.839 -117.061 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
Enignite/darkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
38
1414
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- @pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
brush1990/UniLua
Assets/StreamingAssets/LuaRoot/test/strings.lua
9
9838
print('testing strings and string library') assert('alo' < 'alo1') assert('' < 'a') assert('alo\0alo' < 'alo\0b') assert('alo\0alo\0\0' > 'alo\0alo\0') assert('alo' < 'alo\0') assert('alo\0' > 'alo') assert('\0' < '\1') assert('\0\0' < '\0\1') assert('\1\0a\0a' <= '\1\0a\0a') assert(not ('\1\0a\0b' <= '\1\0a\0a')) ass...
mit
Enignite/darkstar
scripts/zones/Mhaura/npcs/Willah_Maratahya.lua
17
3611
----------------------------------- -- Area: Mhaura -- NPC: Willah Maratahya -- Title Change NPC -- @pos 23 -8 63 249 ----------------------------------- require("scripts/globals/titles"); local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ...
gpl-3.0
Enignite/darkstar
scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua
29
1648
----------------------------------- -- Area: Yuhtunga Jungle -- MOB: Rose Garden ----------------------------------- ----------------------------------- function onMobSpawn(mob) local Voluptuous_Vilma = 17281358; GetMobByID(Voluptuous_Vilma):setLocalVar("1",os.time() + math.random((36000), (37800))); ...
gpl-3.0
Enignite/darkstar
scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua
16
1602
----------------------------------- -- Area: Temenos -- NPC: ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -- ...
gpl-3.0
fcpxhacks/fcpxhacks
src/extensions/cp/websocket/http.lua
2
6609
--- === cp.websocket.http === --- --- Provides a full HTTP-based websocket implementation. local require = require local log = require "hs.logger" .new "ws_http" local inspect = require "hs.inspect" local hexDump = require "hs.utf8" .hexDump local status = requi...
mit
Enignite/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Machionage.lua
17
1586
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Machionage -- @zone 80 -- @pos -255 -3 109 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests...
gpl-3.0
RCdiy/OpenTxLua
FUNCTIONS/GoRace/GoRace.lua
1
4152
-- License https://www.gnu.org/licenses/gpl-3.0.en.html -- OpenTX Lua script -- FUNCTIONS -- -- File Locations On The Transmitter's SD Card -- This script file /SCRIPTS/FUNCTIONS/ -- Accompanying sound files /SCRIPTS/FUNCTIONS/GoRace/ -- Works On OpenTX Companion Version: 2.2 -- Author: Dean Church -- W...
gpl-3.0
zendey/Flashcard_mobile_app
scripts/classes/widget/button/StartPauseButton.lua
1
3539
----------------------------------------------------------------------------------------- -- -- StartPauseButton.lua -- StartPauseButton class. -- ----------------------------------------------------------------------------------------- local StartPauseButton = {} -- StartPauseButton class. function StartPauseButton...
gpl-2.0
apung/prosody-modules
mod_email_pass/vcard.lib.lua
33
9229
-- Copyright (C) 2011-2012 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- TODO -- Fix folding. local st = require "util.stanza"; local t_insert, t_concat = table.insert, table.concat; local type = type; local next, pairs, ipairs = ...
mit
Enignite/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
17
2437
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- @pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
Enignite/darkstar
scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua
38
1064
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Moana, C.A. -- Type: Campaign Arbiter -- @zone: 136 -- @pos -27.237 -60.888 -48.111 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te...
gpl-3.0
Enignite/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Barricade.lua
19
1108
----------------------------------- -- Area: North Gustaberg (S) (I-6) -- NPC: Barricade -- Involved in Quests: The Fighting Fourth ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- ...
gpl-3.0
doofus-01/wesnoth
data/ai/lua/ca_level_up_attack.lua
2
3414
-- An example CA that tries to level up units by attacking weakened enemies. -- Ported from level_up_attack_eval.fai and level_up_attack_move.fai local LS = wesnoth.require "location_set" local F = wesnoth.require "functional" local level_up_attack = {} local function kill_xp(unit) local ratio = unit.level if...
gpl-2.0
SouD/LessAnimeTabbing
src/Anime.lua
1
5312
-- LessAnimeTabbing. Keep track of your anime without tabbing! -- Copyright (C) 2014 Linus Sörensen -- 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 (a...
gpl-2.0
WUTiAM/LUAnity
Source/LuaJIT-2.1.0-beta2/dynasm/dasm_ppc.lua
33
57489
------------------------------------------------------------------------------ -- DynASM PPC/PPC64 module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. -- -- Support for various extensions contributed by Caio Souza Oliveira. ---------------------------------...
mit
Enignite/darkstar
scripts/globals/abilities/wind_shot.lua
22
2984
----------------------------------- -- Ability: Wind Shot -- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage -- Choke Effect: Enhanced DoT and VIT- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
Enignite/darkstar
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
GraionDilach/OpenRA
mods/ra/maps/fort-lonestar/fort-lonestar.lua
7
7769
--[[ Copyright 2007-2017 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
fcpxhacks/fcpxhacks
src/extensions/cp/ui/ScrollArea.lua
1
10894
--- === cp.ui.ScrollArea === --- --- Scroll Area Module. local require = require local axutils = require("cp.ui.axutils") local Element = require("cp.ui.Element") local ScrollBar = require("cp.ui.ScrollBar") local ScrollArea = Element:subclass("cp.ui.ScrollArea") --- cp.ui.ScrollArea.matches(...
mit
florian-shellfire/luci
build/luadoc/luadoc/util.lua
46
5858
------------------------------------------------------------------------------- -- General utilities. -- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local posix = require "nixio.fs" local type, table, string, io, as...
apache-2.0
luanorlandi/Hex
src/game/lane.lua
1
1200
deckLane = MOAIGfxQuad2D.new() Lane = {} Lane.__index = Lane function Lane:new(path) -- "path" lane direction local L = {} setmetatable(L, Lane) L.sprite = MOAIProp2D.new() changePriority(L.sprite, "background") L.sprite:setDeck(window.deckManager.lane) if path == victoryPath["vertical"] t...
gpl-3.0
Enignite/darkstar
scripts/globals/items/coffeecake_muffin_+1.lua
35
1377
----------------------------------------- -- ID: 5656 -- Item: coffeecake_muffin_+1 -- Food Effect: 1Hr, All Races ----------------------------------------- -- Mind 2 -- Strength -1 -- MP % 10 (cap 90) ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
TeleSudo/TeleRedStar
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
agpl-3.0
Enignite/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Duke_Berith.lua
16
1289
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Duke Berith ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua
36
1886
----------------------------------- -- Area: Windurst_Woods -- NPC: Bin Stejihna -- Only sells when Windurst controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Wi...
gpl-3.0
Enignite/darkstar
scripts/globals/effects/yonin.lua
17
1446
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity target:addM...
gpl-3.0
Enignite/darkstar
scripts/zones/Palborough_Mines/npcs/_3z7.lua
58
1142
----------------------------------- -- Elevator in Palborough -- Notes: Used to operate Elevator @3z0 ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); re...
gpl-3.0
AMIRUJK/teleujk
plugins/anti fuck.lua
4
4533
-- By Mohamed_devt { @MD_IQ19 } -- how to use inside telegram -- -- if you want to see fuck use this command /fuck lock -- if you want to disable the protection use this command /fuck unlock -- if you want to check the protection use this command /link ? -- a function that i make to cut the command and the / from th...
gpl-2.0
Enignite/darkstar
scripts/globals/weaponskills/double_thrust.lua
30
1320
----------------------------------- -- Double Thrust -- Polearm weapon skill -- Skill Level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget. -- Aligned with the Light Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 3...
gpl-3.0
Enignite/darkstar
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
Enignite/darkstar
scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua
36
2900
----------------------------------- -- Area: Port Windurst -- NPC: Papo-Hopo ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_...
gpl-3.0
RCdiy/OpenTxLua
TELEMETRY/LapTmr/!Archive/LapTmr-2018-01-01.lua
1
6798
-- License https://www.gnu.org/licenses/gpl-3.0.en.html -- OpenTX Lua script -- TELEMETRY -- Place this file in the SD Card folder on your computer and Tx -- SD Card /SCRIPTS/TELEMETRY/ -- Place the accompanying sound files in /SCRIPTS/SOUNDS/LapTmr/ -- Further instructions http://rcdiy.ca/telemetry-scripts-getting-sta...
gpl-3.0
noblepepper/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua
79
1251
local function scrape() -- documetation about nf_conntrack: -- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html nat_metric = metric("node_nat_traffic", "gauge" ) for e in io.lines("/proc/net/nf_conntrack") do -- output(string.format("%s\n",e )) local fields = space_split(e) local ...
gpl-2.0
fcpxhacks/fcpxhacks
src/plugins/finalcutpro/timeline/videoeffects.lua
2
5765
--- === plugins.finalcutpro.timeline.videoeffects === --- --- Controls Final Cut Pro's Video Effects. local require = require local timer = require("hs.timer") local dialog = require("cp.dialog") local fcp = require("cp.apple.finalcutpro") local i18n = require("cp.i1...
mit
Enignite/darkstar
scripts/zones/Phanauet_Channel/Zone.lua
32
1482
----------------------------------- -- -- Zone: Phanauet_Channel -- ----------------------------------- package.loaded["scripts/zones/Phanauet_Channel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Phanauet_Channel/TextIDs"); -------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm4.lua
16
1197
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Wulgaru(ZNM T2)) -- @pos -22 -4 204 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Ruins/T...
gpl-3.0
dwdm/snabbswitch
src/apps/intel/intel10g.lua
7
54048
--- Device driver for the Intel 82599 10-Gigabit Ethernet controller. --- This is one of the most popular production 10G Ethernet --- controllers on the market and it is readily available in --- affordable (~$400) network cards made by Intel and others. --- --- You will need to familiarize yourself with the excellent [...
apache-2.0
Enignite/darkstar
scripts/globals/items/plate_of_flapanos_paella.lua
36
1435
----------------------------------------- -- ID: 5975 -- Item: Plate of Flapano's Paella -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Vitality 6 -- Defense % 26 Cap 155 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
Enignite/darkstar
scripts/globals/items/lizard_egg.lua
35
1182
----------------------------------------- -- ID: 4362 -- Item: lizard_egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 5 -- Magic 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
fcpxhacks/fcpxhacks
src/extensions/cp/ui/SplitGroup.lua
1
1035
--- === cp.ui.SplitGroup === --- --- Split Group UI. local require = require local Element = require "cp.ui.Element" local SplitGroup = Element:subclass("cp.ui.SplitGroup") --- cp.ui.SplitGroup.matches(element) -> boolean --- Function --- Checks to see if an element matches what we think it should be. -...
mit
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Shakir.lua
38
1046
----------------------------------- -- Area: Northern San d'Oria -- NPC: Shakir -- Type: Standard NPC -- @zone: 231 -- @pos 48.952 -2.999 -16.687 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua
30
3592
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Yahsra -- Type: Assault Mission Giver -- @pos 120.967 0.161 -44.002 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyi...
gpl-3.0
Enignite/darkstar
scripts/globals/weaponskills/glory_slash.lua
18
1563
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with t...
gpl-3.0
clevermm/clever-bot
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-2.0
Enignite/darkstar
scripts/commands/jail.lua
26
2109
--------------------------------------------------------------------------------------------------- -- func: jail -- desc: Sends the target player to jail. (Mordion Gaol) --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, par...
gpl-3.0
GraionDilach/OpenRA
lua/sandbox.lua
84
5098
local sandbox = { _VERSION = "sandbox 0.5", _DESCRIPTION = "A pure-lua solution for running untrusted Lua code.", _URL = "https://github.com/kikito/sandbox.lua", _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota Permission is hereby granted, free of charge, to an...
gpl-3.0
dr-slump/bajawa
conf/desktop-manager/awesome/blingbling/udisks_glue.lua
5
10051
--@author cedlemo local helpers = require("blingbling.helpers") local awful = require("awful") local naughty = require("naughty") local string = string local math = math local ipairs = ipairs local next = next local pairs = pairs local type = type local setmetatable = setmetatable local table = table local wibox = requ...
mit
amindark1/bot-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
sik3/singnal
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
fegimanam/seed
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
Enignite/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Akane_IM.lua
28
3168
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Akane, I.M. -- Type: Outpost Conquest Guards -- @pos -24.351 -60.421 -114.215 111 ------------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ------------------------------------- require("scri...
gpl-3.0
Enignite/darkstar
scripts/zones/Kazham/npcs/Toji_Mumosulah.lua
37
1558
----------------------------------- -- Area: Kazham -- NPC: Toji Mumosulah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
Enignite/darkstar
scripts/zones/Al_Zahbi/npcs/Shayadar.lua
38
1034
----------------------------------- -- Area: Al Zahbi -- NPC: Shayadar -- Type: Gadalar's Attendant -- @zone: 48 -- @pos -107.177 -6.999 33.463 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua
17
2940
----------------------------------- -- Area: Behemoth's Dominion -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone) -- @pos -74 -4 -87 127 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; --------------------------...
gpl-3.0
Enignite/darkstar
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
Enignite/darkstar
scripts/globals/weaponskills/omniscience.lua
18
4697
----------------------------------- -- Omniscience -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic attack. Duration of effect varies with TP. Tupsimati: Aftermath effect varies with TP. -- Reduces enemy's magic attack by -10. -- Available only after completing the Unlocking a Myth (Scholar) que...
gpl-3.0
Enignite/darkstar
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
Enignite/darkstar
scripts/zones/FeiYin/npcs/qm1.lua
17
1507
----------------------------------- -- Area: FeiYin -- NPC: qm1 (???) -- Involved In Quest: Pieuje's Decision -- @pos -55 -16 69 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
QUSpilPrgm/cuberite
Server/Plugins/APIDump/Hooks/OnKilled.lua
38
1204
return { HOOK_KILLED = { CalledWhen = "A player or a mob died.", DefaultFnName = "OnKilled", Desc = [[ This hook is called whenever player or a mob dies. It can be used to change the death message. ]], Params = { { Name = "Victim", Type = "{{cEntity}}", Notes = "The player or mob that died" }, ...
apache-2.0
fcpxhacks/fcpxhacks
src/extensions/cp/apple/finalcutpro/inspector/audio/AudioInspector.lua
1
11037
--- === cp.apple.finalcutpro.inspector.audio.AudioInspector === --- --- Audio Inspector Module. --- --- Header Rows (`compositing`, `transform`, etc.) have the following properties: --- * enabled - (cp.ui.CheckBox) Indicates if the section is enabled. --- * toggle - (cp.ui.Button) Will toggle the Hide/Show butto...
mit
dr-slump/bajawa
conf/desktop-manager/awesome/tyrannical/extra/request.lua
1
1335
local capi = {client=client,awesome=awesome} local ewmh = require("awful.ewmh") local tyrannical = nil -- Use Tyrannical policies instead of the default ones capi.client.disconnect_signal("request::activate",ewmh.activate) capi.client.connect_signal("request::activate",function(c,reason) if not tyrannical then ...
mit
Enignite/darkstar
scripts/zones/Mhaura/npcs/Porter_Moogle.lua
41
1512
----------------------------------- -- Area: Mhaura -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 249 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts...
gpl-3.0
doofus-01/wesnoth
data/campaigns/tutorial/lua/character_selection.lua
3
1070
-- #textdomain wesnoth-tutorial -- Allows the player to choose whether they want to play Konrad or Li’sar -- for the tutorial local T = wml.tag local wml_actions = wesnoth.wml_actions local _ = wesnoth.textdomain "wesnoth-tutorial" function wml_actions.select_character() local character_selection_dialog = wml.load ...
gpl-2.0
rohmad-st/waifu2x
lib/image_loader.lua
32
2887
local gm = require 'graphicsmagick' local ffi = require 'ffi' require 'pl' local image_loader = {} function image_loader.decode_float(blob) local im, alpha = image_loader.decode_byte(blob) if im then im = im:float():div(255) end return im, alpha end function image_loader.encode_png(rgb, alpha) if...
mit
Enignite/darkstar
scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua
28
1341
----------------------------------- -- -- Zone: Castle_Zvahl_Keep_[S] (155) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"...
gpl-3.0
tks2103/angel-test
Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/func.lua
13
10456
--- Functional helpers like composition, binding and placeholder expressions. -- Placeholder expressions are useful for short anonymous functions, and were -- inspired by the Boost Lambda library. -- -- > utils.import 'pl.func' -- > ls = List{10,20,30} -- > = ls:map(_1+1) -- {11,21,31} -- -- They can also b...
bsd-3-clause
Enignite/darkstar
scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua
17
8643
----------------------------------- -- Area: Rolanberry Fields -- NPC: Saarlan -- Legion NPC -- @pos 242 24.395 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
SedueRey/interestelegram
plugins/invite.lua
7
1036
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function run(msg, matches) -- User submitted a user name if matches[1] == "name" then user = matches[2] user = string.gsub(user," ","_") end -- ...
gpl-2.0
Enignite/darkstar
scripts/globals/items/balik_sis.lua
35
1661
----------------------------------------- -- ID: 5600 -- Item: Balik Sis -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -2 -- Attack % 13 -- Attack Cap 40 -- Ranged ACC 1 -- Ranged ATT % 13 -- Ranged ATT Cap 40 ----------------------------------------- r...
gpl-3.0
ntuhpc/modulefiles
all/PCRE/8.38-foss-2016b.lua
1
1026
help([[ The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. - Homepage: http://www.pcre.org/]]) whatis([[Description: The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax...
mit
fcpxhacks/fcpxhacks
src/extensions/cp/i18n/language.lua
2
37994
--- === cp.i18n.language === --- --- Provides the set of ISO 693-1/2/3 language codes and names. --- The return value can be iterated as a list, or you can find a --- specific language by either its two-character code (`alpha2`), English-based three-character code (`alpha3B`), --- local name, or English name. --- --- F...
mit
Enignite/darkstar
scripts/zones/Temenos/mobs/Temenos_Weapon.lua
16
1289
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Temenos_Weapon ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua
17
3300
----------------------------------- -- Area: Castle Oztroja -- NPC: Treasure Chest -- Involved In Quest: Scattered into Shadow -- @pos 7.378 -16.293 -193.590 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0