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
MNKgod/darkstar
scripts/globals/items/cup_of_chamomile_tea.lua
35
1384
----------------------------------------- -- ID: 4603 -- Item: cup_of_chamomile_tea -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 8 -- Vitality -2 -- Charisma 2 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
ejoncas/kong
kong/plugins/basic-auth/access.lua
3
4011
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local responses = require "kong.tools.responses" local constants = require "kong.constants" local crypto = require "kong.plugins.basic-auth.crypto" local AUTHORIZATION = "authorization" local PROXY_AUTHORIZATION = "proxy-authorization"...
apache-2.0
MNKgod/darkstar
scripts/zones/Sealions_Den/mobs/Tenzen.lua
27
1077
----------------------------------- -- Area: Sealion den -- NPC: Tenzen ----------------------------------- ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobEngaged --------------------------...
gpl-3.0
kianooshnoori/CEXITBOT
libs/dkjson.lua
3282
26558
-- 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 values...
gpl-2.0
mynameiscraziu/negative
libs/dkjson.lua
3282
26558
-- 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 values...
gpl-2.0
ejoncas/kong
kong/vendor/lapp.lua
25
9906
-- lapp.lua -- Simple command-line parsing using human-readable specification ----------------------------- --~ -- args.lua --~ local args = require ('lapp') [[ --~ Testing parameter handling --~ -p Plain flag (defaults to false) --~ -q,--quiet Plain flag with GNU-style optional long ...
apache-2.0
MNKgod/darkstar
scripts/zones/Lower_Jeuno/npcs/Saprut.lua
34
1378
----------------------------------- -- Area: Lower Jeuno -- NPC: Saprut -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
Evarin/PhotoQuality
pure_vgg.lua
1
10648
require 'torch' require 'nn' require 'image' require 'optim' require 'lfs' require 'io' require 'loadcaffe' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-train_dir', 'train/') cmd:option('-test_dir', 'test/') cmd:option('-te...
mit
KingArmin/TeleIran
plugins/checks.lua
1
10983
local function pre_process(msg) if is_chat_msg(msg) or is_super_group(msg) then if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user local data = load_data(_config.moderation.data) local print_name = user_print_name(msg.from):gsub("‮", "") -- get rid of rtl in names local n...
agpl-3.0
mohammadclashclash/dark99
libs/dkjson.lua
3282
26558
-- 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 values...
gpl-2.0
Cavitt/otclient_mapgen
modules/gamelib/spells.lua
9
46117
SpelllistSettings = { ['Default'] = { iconFile = '/images/game/spells/defaultspells', iconSize = {width = 32, height = 32}, spellListWidth = 210, spellWindowWidth = 550, spellOrder = {'Animate Dead', 'Annihilation', 'Avalanche', 'Berserk', 'Blood Rage', 'Brutal Strike', 'Cancel Invisibility', 'Cha...
mit
MNKgod/darkstar
scripts/zones/Crawlers_Nest_[S]/npcs/Kalsu-Kalasu.lua
21
1845
----------------------------------- -- Area: Crawlers Nest [S] -- NPC: Kalsu-Kalasu -- @pos 304.768 -33.519 -19.168 171 -- Notes: Gives Green Letter required to start "Snake on the plains" ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; ----------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/West_Sarutabaruta/npcs/Naguipeillont_RK.lua
30
3074
----------------------------------- -- Area: West Sarutabaruta -- NPC: Naguipeillont, R.K. -- Type: Outpost Conquest Guards -- @pos -11.322 -13.459 317.696 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
AccroGaming/Accro-DarkRP
DarkRP/gamemode/fadmin/cl_interface/sh_commontimes.lua
1
1435
/*--------------------------------------------------------------------------- Common times for several punishment actions ---------------------------------------------------------------------------*/ FAdmin.PlayerActions.commonTimes = {} FAdmin.PlayerActions.commonTimes[0] = "Indefinitely" FAdmin.PlayerActions.commonTi...
mpl-2.0
MNKgod/darkstar
scripts/globals/spells/doton_ichi.lua
17
1248
----------------------------------------- -- Spell: Doton: Ichi -- Deals earth damage to an enemy and lowers its resistance against wind. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --...
gpl-3.0
MNKgod/darkstar
scripts/zones/Norg/npcs/Laisrean.lua
19
2185
----------------------------------- -- Area: Norg -- NPC: Laisrean -- Starts and Ends Quest: The Sahagin's Stash -- @zone: 252 -- @pos -2.251 -1 21.654 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require(...
gpl-3.0
sujeet14108/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua
68
3708
-- 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", "") sip = cbimap:section(TypedSection, "sip", "SIP Connection", "") sip.addremove = true alwaysinternational = sip:optio...
apache-2.0
MNKgod/darkstar
scripts/commands/togglegm.lua
26
1924
--------------------------------------------------------------------------------------------------- -- func: togglegm -- desc: Toggles a GMs nameflags/icon. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "" ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Jarafah.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Jarafah -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
sujeet14108/luci
applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
25
2129
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map("qos", translate("Quality of Service"), translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " .. "can prioritize n...
apache-2.0
cornernote/minetest-modulator_game
mods/blocks/madblocks/init.lua
1
1126
local madblocks_modpath = minetest.get_modpath("madblocks") math.randomseed(os.time()) BRICKLIKE = function(nodeid, nodename) minetest.register_node("madblocks:"..nodeid, { description = nodename, tile_images = {"madblocks_"..nodeid..'.png'}, inventory_image = minetest.inventorycube("madblocks_"..nodeid..'.png'...
gpl-3.0
Kisaua/nodemcu-firmware
lua_examples/mcp23008/mcp23008_leds.lua
82
1504
--- -- @description Shows control of 8 GPIO pins/LEDs via I2C with the MCP23008 I/O expander. -- Tested on odeMCU 0.9.5 build 20150213. -- @date March 02, 2015 -- @circuit Connect 8 LEDs withs resistors to the GPIO pins of the MCP23008. -- Connect GPIO0 of the ESP8266-01 module to the SCL pin of the MCP23008. -- Co...
mit
MNKgod/darkstar
scripts/globals/effects/sanction.lua
28
1766
----------------------------------- -- -- EFFECT_SANCTION -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); -- 1 = regen, 2 = refresh, 3 = food. ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Valkurm_Dunes/mobs/Valkurm_Emperor.lua
27
1126
---------------------------------- -- Area: Valkurm Dunes -- NM: Valkurm Emperor ----------------------------------- ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) -- Set VE's Window Open Time SetServerVariable("[POP]Valkurm_E...
gpl-3.0
Zenfone2-Dev/kali-nethunter
nethunter-installer/update/system/bin/lualibs/default_toys.lua
6
4577
local _names = { --[[ --]] ["0000"]="WHIRLWIND", ["0100"]="SONIC BOOM", ["0200"]="WARNADO", ["0300"]="LIGHTNINGROD", ["0400"]="BASH", ["0500"]="TERRAFIN", ["0600"]="DINORANG" , ["0700"]="LIGHTCORE PRISM BREAK", ["0800"]="SUNBURN", ["0900"]="LIGHTCORE ERUPTOR", ["0A00"]="IGNITOR", ["0B00"]="FLAMESLIN...
gpl-2.0
ejoncas/kong
kong/tools/ngx_stub.lua
5
1527
--- Stub _G.ngx for unit testing. -- Creates a stub for `ngx` for use by Kong's modules such as the DAO. It allows to use them -- outside of the nginx context such as when using the CLI, or unit testing. -- -- Monkeypatches the global `ngx` table. local reg = require "rex_pcre" _G.ngx = { req = {}, ctx = {}, h...
apache-2.0
ldcastanheira/points
src/category.lua
1
4713
category = newclass("category") local fields = {"priority", "severity", "assigned"} category.init = function(self, list, team) self.all = tl self.team = team for _, f in pairs(fields) do self[f] = {} end for _, f in pairs(fields) do local buglist = {} for id, t in pairs(list.bug) do local val = t:get...
gpl-3.0
WibbenZ/forgottenserver
data/lib/core/player.lua
3
2701
local foodCondition = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) function Player.feed(self, food) local condition = self:getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) if condition then condition:setTicks(condition:getTicks() + (food * 1000)) else local vocation = self:getVocation() if ...
gpl-2.0
zactelegram12/IRAN
plugins/banhammer.lua
175
5896
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
ArchonTeam/supergroup
plugins/invite.lua
6
2490
do local function callback(extra, success, result) local receiver = extra.receiver local username = extra.username if success == 1 then print("Success!") else send_large_msg(resuser, "Sorry, i can't invite @"..username) end end local function resuser(extra, success, result) local receiver = extra.receiver ...
gpl-2.0
ckjong/gentrify
Gentrify Lua/libraries/loveframes/skins/Blue/skin.lua
12
64083
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".skins.Blue.skin")) local love...
gpl-3.0
wordsforthewise/esp8266-water-sensor
try 2/wellPump/connectMQTT-wellpump.lua
1
4723
function connectMQTT(user, password, callback) mqtt = mqtt.Client("jsf_pump", 1200, user, password) -- 20 min keepalive mqtt:on("connect", function(con) print ("connected") end) mqtt:on("offline", function(con) print ("offline") node.restart() end) -- on receive message ...
mit
jmackellar/Legions-of-Eligor
debugtools.lua
1
6842
--- debugtools.lua --- Debug menu to toggle debug settings on or off, --- and other debug tools local debugMenuParent = { 'Flags', 'Map Movement', 'Spawn Creature' } local debugMenuFlags = { {'debugDrawCellBorders', false}, {'debugQuickKill', true}, {'debugDisableFog', false}, {'godMode', false} } local debugMapMoveme...
gpl-2.0
DanielKeep/CC
marx-says.lua
1
4168
--[[ Karl Marx quotes. Written by Daniel Keep. Copyright 2013. Released under the MIT license. Quotes sourced from: http://en.wikiquote.org/wiki/Karl_Marx ]] --[[ Usage: marx-says ]] local args = {...} local VERSION = 0.1 local QUOTES = { [["History is not like some individual pers...
mit
gdavegdave/OpenRA
mods/d2k/maps/ordos-01b/ordos01b.lua
5
5276
--[[ 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
MNKgod/darkstar
scripts/zones/Port_Jeuno/npcs/Illauvolahaut.lua
17
1591
----------------------------------- -- Area: Port Jeuno -- NPC: Illauvolahaut -- @zone 246 -- @pos -12 8 54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
VladiMihaylenko/omim
3party/osrm/osrm-backend/profiles/car.lua
48
13466
-- Begin of globals --require("lib/access") --function temporarily inlined barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true } access_tag_whitelist = { [...
apache-2.0
jabza/Super-Fight-Fight
FuzzyLogic.lua
1
4055
local class = require("extlibs.middleclass") FuzzyLogic = class('FuzzyLogic') function FuzzyLogic:initialize() self.thresh = 0.5 end --Slope functions. function FuzzyLogic:upslope(x, left, right) return ((x-left)/(right-left)) end function FuzzyLogic:downslope(x, left, right) return ((right-x)/(right-left)) en...
mit
tonyatpeking/NESTT
nesttChunkGen.lua
1
1695
require "chunkGen" local nesttChunkGen = chunkGen:new() function nesttChunkGen:generate(surface,area) local tileName = "out-of-map" self:removeEntities(surface,area) self:setTiles(surface,area,tileName) end function nesttChunkGen:LocomoTilesGen(surface) self:setTilesMultiArea(surface, nesttConf...
mit
MNKgod/darkstar
scripts/globals/items/serving_of_crimson_jelly.lua
35
1426
----------------------------------------- -- ID: 5144 -- Item: serving_of_crimson_jelly -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 12 -- Magic Cap 85 -- Intelligence 6 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/global...
gpl-3.0
MNKgod/darkstar
scripts/zones/Marjami_Ravine/npcs/HomePoint#1.lua
17
1196
----------------------------------- -- Area: Marjami Ravine -- NPC: HomePoint#1 -- @pos -23 0 174 50 ----------------------------------- package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Marjami_Ravine/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
MNKgod/darkstar
scripts/zones/Upper_Jeuno/npcs/Kasra.lua
34
1066
---------------------------------- -- Area: Upper Jeuno -- NPC: Kasra -- Type: Item Deliverer -- @zone: 244 -- @pos -34.555 7.999 90.702 -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); --------------------...
gpl-3.0
ruffenman/ruffApps
jank/lua/jank.lua
1
4068
local maximua local luaXinput local osc1, osc2, osc3, osc4 local state, leftTrigger, rightTrigger, leftX, leftY, rightX, rightY -- Chromatic notes (starting with C0) local notes = { 16.35, 17.32, 18.35, 19.45, 20.60, 21.83, 23.12, 24.50, 25.96, 27.5, 29.14, 30.87 } -- Index of chromatic note that defines the root of t...
mit
WibbenZ/forgottenserver
data/actions/scripts/other/decayto.lua
6
1499
-- keep in sync with actions.xml local decayItems = { [1479] = 1480, [1480] = 1479, [1634] = 1635, [1635] = 1634, [1636] = 1637, [1637] = 1636, [1638] = 1639, [1639] = 1638, [1640] = 1641, [1641] = 1640, [1786] = 1787, [1787] = 1786, [1788] = 1789, [1789] = 1788, [1790] = 1791, [1791] = 1790, [1792] = 1793, [1793] ...
gpl-2.0
MNKgod/darkstar
scripts/zones/VeLugannon_Palace/Zone.lua
30
1932
----------------------------------- -- -- Zone: VeLugannon_Palace (177) -- ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/VeLu...
gpl-3.0
satch3l/ProjectPorcupine
Assets/StreamingAssets/LUA/Furniture.lua
2
29453
------------------------------------------------------- -- Project Porcupine Copyright(C) 2016 Team Porcupine -- This program comes with ABSOLUTELY NO WARRANTY; This is free software, -- and you are welcome to redistribute it under certain conditions; See -- file LICENSE, which is part of this source code package, for ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Mamook/npcs/qm2.lua
16
1163
----------------------------------- -- Area: Mamook -- NPC: ??? (Spawn Iriri Samariri(ZNM T2)) -- @pos -118 7 -80 65 ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mamook/TextIDs"); --------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Southern_San_dOria/npcs/Exoroche.lua
17
2982
----------------------------------- -- Area: Southern San d'Oria -- NPC: Exoroche -- Involved in Quests: Father and Son, A Boy's Dream -- @zone 230 -- @pos 72 -1 60 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/choco-katana.lua
36
1156
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/break.lua
45
1155
----------------------------------------- -- Spell: Breakga -- Temporarily blinds an enemy, greatly lowering its accuracy. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------------------...
gpl-3.0
lazyhamster/IntChecker
extra/scripts/IntChecker.Run.lua
1
15547
-- Integrity Checker by Ariman -- Этот сервисный скрипт решает задачи не решаемые плагином - например создание -- файлов хэшей для произвольных UNC объектов в данный момент находящихся вне -- текущей активной панели Far, рекурсивного счёта хэшей для случаев вида "на -- активной панели выделены файлы и каталоги. Посчи...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Waters/npcs/Jacodaut.lua
53
1826
----------------------------------- -- Area: Windurst Waters -- NPC: Jacodaut -- Type: Cooking Image Support -- @pos -125.890 -2.999 62.499 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
pjasicek/OpenClaw
Box2D/premake4.lua
16
1537
-- Box2D premake script. -- http://industriousone.com/premake local action = _ACTION or "" solution "Box2D" location ( "Build/" .. action ) configurations { "Debug", "Release" } configuration "vs*" defines { "_CRT_SECURE_NO_WARNINGS" } configuration "Debug" targetdir ( "Build/" .. action .. "/bin/Debug"...
gpl-3.0
MNKgod/darkstar
scripts/globals/effects/str_down.lua
18
1093
----------------------------------- -- -- EFFECT_STR_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_STR) - effec...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/elshimo_frog.lua
18
1478
----------------------------------------- -- ID: 4290 -- Item: elshimo_frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm2.lua
17
2200
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Exits) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/title...
gpl-3.0
MNKgod/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua
16
1410
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Overlord's Tombstone ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function on...
gpl-3.0
ejoncas/kong
kong/vendor/resty_http.lua
21
6248
local pairs = pairs local type = type local tonumber = tonumber local tostring = tostring local setmetatable = setmetatable local encode_args = ngx.encode_args local tcp = ngx.socket.tcp local concat = table.concat local insert = table.insert local upper = string.upper local lower = string.lower local sub ...
apache-2.0
xfantasy1128/codis
extern/redis-2.8.21/deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
mit
ejoncas/kong
spec/unit/dao/cassandra/query_builder_spec.lua
4
6565
local builder = require "kong.dao.cassandra.query_builder" describe("Query Builder", function() local apis_details = { primary_key = {"id"}, clustering_key = {"cluster_key"}, indexes = {request_host = true, name = true} } describe("SELECT", function() it("should build a SELECT query", function...
apache-2.0
agramonte/FuseQuick
QuickFuseExample/resources/quicklua/QEvent.lua
6
5057
--[[/* * (C) 2012-2013 Marmalade. * * 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,...
mit
MNKgod/darkstar
scripts/globals/items/tiny_goldfish.lua
18
1323
----------------------------------------- -- ID: 4310 -- Item: tiny_goldfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
17
4021
----------------------------------- -- Area: Bostaunieux Obliette -- NPC: Novalmauge -- Starts and Finishes Quest: The Rumor -- Involved in Quest: The Holy Crest, Trouble at the Sluice -- @pos 70 -24 21 167 ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ...
gpl-3.0
Polkm/underdone
gamemode/core/sharedfiles/database/skills/sh_skills_tier2.lua
1
4663
local Skill = {} Skill.Name = "skill_paralyzepoison" Skill.PrintName = "Paralyze poison" Skill.Icon = "icons/weapon_axe" Skill.Desc = {} Skill.Desc["story"] = "Augments your blade with a deadly paralyzing poison" Skill.Desc[1] = "Every melee attack has a 5% chance to paralyze for 2 seconds" Skill.Desc[2] = "Every melee...
mit
drmingdrmer/nginx-lua-merge
lib/example.lua
1
1079
local _M = {} local strutil = require("acid.strutil") local tableutil = require("acid.tableutil") local mime = require("acid.ngx.mime") local merge = require("acid.ngx.merge") local repr = tableutil.repr function _M.get_url_argument() local uri = ngx.var.request_uri local elts = strutil.split( uri, '[?][?]...
mit
MNKgod/darkstar
scripts/zones/Mhaura/npcs/Phoochuchu.lua
19
1446
----------------------------------- -- Area: Mhaura -- NPC: Phoochuchu -- Involved in Quest: A Thief in Norg!? -- @pos -4 -4 69 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Mh...
gpl-3.0
MNKgod/darkstar
scripts/zones/Northern_San_dOria/npcs/Excenmille.lua
38
1057
----------------------------------- -- Area: Northern San d'Oria -- NPC: Excenmille -- Type: Ballista Pursuivant -- @zone: 231 -- @pos -229.344 6.999 22.976 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]...
gpl-3.0
teleblue/telebrownnew
plugins/helpfun_en.lua
1
2152
do function run(msg, matches) if msg.to.type == 'chat' then return 'bot Fun Command List'..[[ ❤لیست دستورات💙: 🔴weather [شهر|کشور] 🔹مشاهده اب و هوای شهر یا کشور مورد نظر 🔴!insta [یوزر] 🔹مشاهده مشخصات اینساگرام فرد مورد نظر 🔴info 🔹مشخصات کامل فرد همراه با (ریپلی|یوزر) 🔴me 🔹دیدن مقام خود در گروه 🔴!time 🔹م...
gpl-2.0
MNKgod/darkstar
scripts/globals/spells/curaga_v.lua
18
1249
----------------------------------------- -- Spell: Curaga V -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------------------...
gpl-3.0
mcanthony/csound
examples/lua/Lindenmayer.lua
5
2533
-- Copyright (c) 2002, 2003 by Michael Gogins. All rights reserved. -- Tutorial demonstrating a MusicModel composition based on a Lindenmayer system. require "luaCsnd6" require "luaCsoundAC" filename = 'Lindenmayer.lua' model = luaCsoundAC.MusicModel() lindenmayer = luaCsoundAC.Lindenmayer() lindenmayer:setAxiom("Ts=...
lgpl-2.1
MNKgod/darkstar
scripts/globals/weaponskills/power_slash.lua
30
1662
----------------------------------- -- Power Slash -- Great Sword weapon skill -- Skill level: 30 -- Delivers a single-hit attack. params.crit varies with TP. -- Modifiers: STR:60% ; VIT:60% -- 100%TP 200%TP 300%TP -- 1.0 1.0 1.0 ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
MNKgod/darkstar
scripts/zones/RoMaeve/mobs/Martinet.lua
12
1627
----------------------------------- -- Area: RoMaeve -- NM: Martinet ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Selbina/npcs/Yaya.lua
17
1465
----------------------------------- -- Area: Selbina -- NPC: Yaya -- Starts Quest: Under the sea -- @pos -19 -2 -16 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/glo...
gpl-3.0
sujeet14108/luci
applications/luci-app-ddns/luasrc/tools/ddns.lua
32
8848
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.model.uc...
apache-2.0
MNKgod/darkstar
scripts/globals/abilities/wind_maneuver.lua
35
1604
----------------------------------- -- Ability: Wind Maneuver -- Enhances the effect of wind attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
MNKgod/darkstar
scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua
19
1335
----------------------------------- -- Area: Caedarva Mire -- NPC: Nuimahn -- Type: Alzadaal Undersea Ruins -- @pos -380 0 -381 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts...
gpl-3.0
obsy/openwrt-packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interface.lua
79
9746
-- ------ extra functions ------ -- function interfaceCheck() -- find issues with too many interfaces, reliability and metric uci.cursor():foreach("mwan3", "interface", function (section) local interfaceName = section[".name"] interfaceNumber = interfaceNumber+1 -- count number of mwan interfaces configured ...
gpl-2.0
MNKgod/darkstar
scripts/zones/La_Theine_Plateau/npcs/Coumaine.lua
28
1756
----------------------------------- -- Area: La Theine Plateau -- NPC: Coumaine -- Type: Chocobo Vendor ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Latteaune.lua
38
1057
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Latteaune -- Type: Event Scene Replayer -- @zone: 26 -- @pos -16.426 -28.889 109.626 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]...
gpl-3.0
MNKgod/darkstar
scripts/zones/Sacrarium/npcs/qm7.lua
17
1739
----------------------------------- -- Area: Sacrarium -- NPC: qm7 (???) -- Notes: Used to spawn Old Prof. Mariselle -- @pos 22.669 -3.111 -127.318 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacr...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/Corrosive_ooze.lua
16
1224
--------------------------------------------------- -- Corrosive Ooze -- Family: Slugs -- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Radial -- Notes: ----------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/Paujean.lua
34
2585
----------------------------------- -- Area: Port Bastok -- NPC: Paujean -- Starts & Finishes Quest: Silence of the Rams -- @pos -93.738 4.649 34.373 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
lucasdemarchi/ardupilot
Tools/CHDK-Scripts/Cannon S100/3DR_EAI_S100.lua
96
29695
--[[ KAP UAV Exposure Control Script v3.2 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
MNKgod/darkstar
scripts/zones/Cloister_of_Frost/bcnms/trial_by_ice.lua
19
1842
----------------------------------- -- Area: Cloister of Frost -- BCNM: Trial by Ice -- @pos 558 0.1 596 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests");...
gpl-3.0
MNKgod/darkstar
scripts/zones/Southern_San_dOria/npcs/Rosel.lua
5
2984
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rosel -- Starts and Finishes Quest: Rosel the Armorer -- @zone 230 -- @pos ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
teleblue/telebrownnew
plugins/plugins.lua
7
6405
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists(...
gpl-2.0
MNKgod/darkstar
scripts/zones/Caedarva_Mire/npcs/qm1.lua
16
1168
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? (Spawn Verdelet(ZNM T2)) -- @pos 417 -19 -69 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); -----------------...
gpl-3.0
kiarash14/telefox
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
dani-sj/mahdi002
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
pouria3463/fashist
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
cthielen/epiar
data/scripts/fleet.lua
1
8706
-- Fleet class to guide AI behavior (e.g. imitate leader's travel route, accept orders as a group, -- don't attack fellow escorts, etc.). The idea is that this should eventually be a cleaner way -- of controlling AIs than tampering directly with AIData from outside. -- -- Note: This is distinct from the Alliances in th...
gpl-2.0
MNKgod/darkstar
scripts/globals/items/wild_steak.lua
35
1386
----------------------------------------- -- ID: 4519 -- Item: wild_steak -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Intelligence -2 -- Attack % 25 -- Attack Cap 50 ----------------------------------------- require("scripts/globals/status"); -------------...
gpl-3.0
telespeed/telespeed_bot
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
MNKgod/darkstar
scripts/zones/Port_Jeuno/npcs/Zedduva.lua
17
1370
----------------------------------- -- Area: Port Jeuno -- NPC: Zedduva -- @zone 246 -- @pos -61 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
jojoa1997/overcraft_origins
mods/redstone/mesecons/oldwires.lua
4
1239
minetest.register_node("mesecons:mesecon_off", { drawtype = "raillike", tiles = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"}, inventory_image = "jeija_mesecon_off.png", wield_image = "jeija_mesecon_off.png", paramtype = "light", is...
lgpl-3.0
syj2010syj/project_index_v2.0_editor
Lua/Mover.lua
1
13789
local IsPath = function(x, y, b) return IsTerrainPathable(x, y, PATHING_TYPE_WALKABILITY) or GetTerrainCliffLevel(x, y) > 4 end MoverDebug = function(u) if IsPath(GetXY(u)) then local a = GetRandomInt(1, 4) * 90 local d = 0 for i = 0, 400 do ...
apache-2.0
MNKgod/darkstar
scripts/zones/Labyrinth_of_Onzozo/Zone.lua
27
1914
----------------------------------- -- -- Zone: Labyrinth_of_Onzozo (213) -- ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/...
gpl-3.0
MNKgod/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_5.lua
19
2362
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
sujeet14108/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
MNKgod/darkstar
scripts/globals/spells/refresh_ii.lua
44
1080
----------------------------------------- -- Spell: Refresh II -- Gradually restores target party member's MP -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ---------------------------------------...
gpl-3.0