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
Ninjistix/darkstar
scripts/zones/Port_San_dOria/npcs/Gulemont.lua
5
2133
----------------------------------- -- Area: Port San d'Oria -- NPC: Gulemont -- Type: Quest Giver -- @zone 232 -- !pos -69 -5 -38 -- -- Starts and Finishes Quest: The Dismayed Customer ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------...
gpl-3.0
ld-test/dromozoa-http
dromozoa/http/uri.lua
3
1773
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-http. -- -- dromozoa-http 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 -...
gpl-3.0
ccyphers/kong
kong/tools/utils.lua
1
19570
--- -- Module containing some general utility functions used in many places in Kong. -- -- NOTE: Before implementing a function here, consider if it will be used in many places -- across Kong. If not, a local function in the appropriate module is prefered. -- -- @copyright Copyright 2016-2017 Mashape Inc. All rights re...
apache-2.0
Ninjistix/darkstar
scripts/globals/items/buttered_nebimonite.lua
3
1130
----------------------------------------- -- ID: 4267 -- Item: Buttered Nebimonite -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- defense % 25 -- defense Cap 75 ----------------------------------------- require("scripts/globals/status"); ----------------------...
gpl-3.0
Ninjistix/darkstar
scripts/zones/East_Ronfaure/npcs/Signpost.lua
5
1934
----------------------------------- -- Area: East Ronfaure -- NPC: Signpost -- Involved in Quest: To Cure a Cough -- !pos 257 -45 212 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
TRex22/hawkthorne-journey
src/hawk/middleclass.lua
1
5454
-- middleclass.lua - v2.0 (2011-09) -- Copyright (c) 2011 Enrique García Cota -- 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,...
mit
eugenesan/openwrt-luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua
80
1260
--[[ LuCI - Lua Configuration Interface (c) 2009 Daniel Dickinson 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 $Id$ ]]-- m = Map("mactodevinfo", lu...
apache-2.0
otservme/global1051
data/movements/scripts/tiles.lua
8
1875
local increasing = {[416] = 417, [426] = 425, [446] = 447, [3216] = 3217, [3202] = 3215, [11062] = 11063} local decreasing = {[417] = 416, [425] = 426, [447] = 446, [3217] = 3216, [3215] = 3202, [11063] = 11062} function onStepIn(cid, item, position, fromPosition) if not increasing[item.itemid] then return false e...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Metalworks/npcs/Ghemp.lua
5
1739
----------------------------------- -- Area: Metalworks -- NPC: Ghemp -- Type: Smithing Guild Master -- !pos -109 2 27 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); require("scripts/glob...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/plate_of_fatty_tuna_sushi.lua
3
1481
----------------------------------------- -- ID: 5153 -- Item: plate_of_fatty_tuna_sushi -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 3 -- Charisma 5 -- Accuracy % 16 (cap 76) -- Ranged ACC 16 (cap 76) -- Sleep Resist 2 ----------------------------------------- re...
gpl-3.0
Ninjistix/darkstar
scripts/globals/spells/bluemagic/blood_drain.lua
7
1651
----------------------------------------- -- Spell: Blood Drain -- Steals an enemy's HP. Ineffective against undead -- Spell cost: 10 MP -- Monster Type: Giant Bats -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 20 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic...
gpl-3.0
konnected-io/konnected-security
spec/server_device_spec.lua
1
3690
describe("server_device", function() local server, response setup(function() _G.sjson = require("cjson") _G.blinktimer = mock({ start = function() end }) require("spec/nodemcu_stubs") end) describe("updating a device pin state", function() before_each(function() spy.on(_G.gpio, 'write') ...
apache-2.0
rigeirani/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
teozkr/WorldMarkers
libs/GeminiGUI.lua
1
46269
----------------------------------------------------------------------------------------------------------------------- -- GeminiGUI -- Formerly DaiGUI -- @author daihenka -- GUI Widget Creation Library for WildStar. -------------------------------------------------------------------------------------------------------...
mit
Ninjistix/darkstar
scripts/zones/West_Sarutabaruta_[S]/mobs/Ramponneau.lua
3
1191
----------------------------------- -- Area: West Sarutabaruta (S) -- NM: Ramponneau ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT, mob:getShortID()); mob:a...
gpl-3.0
Ninjistix/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Cavernous_Maw.lua
5
1074
----------------------------------- -- Area: North Gustaberg [S] -- NPC: Cavernous Maw -- !pos 466 0 479 88 -- Teleports Players to North Gustaberg ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitem...
gpl-3.0
hvbommel/domoticz
scripts/dzVents/examples/notify for dead system-alive check devices.lua
19
1621
-- this script can be used in conjunction with the System-alive checker plug-in. -- the plugin pings a list of devices and creates switches for these devices -- the reason for this script is to not treat devices as dead immediately after they -- do not respond. More often than not, the second ping atempt does work. So ...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/redemption.lua
3
3315
----------------------------------------- -- ID: 19462 -- Item: Redemption ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAP...
gpl-3.0
mandersan/premake-core
modules/d/tools/dmd.lua
3
11601
-- -- d/tools/dmd.lua -- Provides dmd-specific configuration strings. -- Copyright (c) 2013-2015 Andrew Gough, Manu Evans, and the Premake project -- local tdmd = {} local p = premake local project = p.project local config = p.config local d = p.modules.d -- -- Set default tools -- tdmd.gcc = {} tdmd.gcc.dc =...
bsd-3-clause
Ninjistix/darkstar
scripts/zones/Palborough_Mines/Zone.lua
7
1037
----------------------------------- -- -- Zone: Palborough_Mines (143) -- ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Palborough_Mines/TextIDs"); require("scripts/zones/Palborough_Mines/MobIDs"); require("...
gpl-3.0
wangyi0226/skynet
examples/login/logind.lua
29
1663
local login = require "snax.loginserver" local crypt = require "skynet.crypt" local skynet = require "skynet" local server = { host = "127.0.0.1", port = 8001, multilogin = false, -- disallow multilogin name = "login_master", } local server_list = {} local user_online = {} local user_login = {} function server.a...
mit
Ninjistix/darkstar
scripts/zones/La_Theine_Plateau/npcs/Cermet_Headstone.lua
5
2461
----------------------------------- -- Area: La Theine Plateau -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Water Fragment) -- !pos -170 39 -504 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Xamla/torch-ros
demo/robotiq_c_model.lua
1
4689
ros = require 'ros' --[[ make sure robitq gripper node is running, e.g. for connection via modbus RTU run: rosrun robotiq_c_model_control CModelRtuNode.py /dev/ttyUSB1 ]] ros.init('robotiq_c_model_demo') nodehandle = ros.NodeHandle() grippers = {} RobotiqCModel = torch.class('grippers.RobotiqCModel', grippers) lo...
bsd-3-clause
Ninjistix/darkstar
scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_2.lua
5
2019
----------------------------------- -- 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/globals/quests"...
gpl-3.0
DarkRing/TeleDarkRing
plugins/admin.lua
1
11337
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...
gpl-2.0
jinks/LuaMeat
irc/channel.lua
2
12621
--- -- Implementation of the Channel class -- initialization {{{ local base = _G local irc = require 'irc' local misc = require 'irc.misc' local socket = require 'socket' local table = require 'table' -- }}} --- -- This module implements a channel object representing a single channel we -- have joined. module...
apache-2.0
karrots/nodemcu-firmware
lua_examples/send_text_message.lua
75
3151
--[[ 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, distribute, sublicense, and/or sell copies...
mit
rigeirani/seed
plugins/admin.lua
230
6382
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...
gpl-2.0
abbasgh12345/extremenew
plugins/admin.lua
230
6382
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...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua
5
1132
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- !pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueducts...
gpl-3.0
ccyphers/kong
kong/core/router.lua
1
14017
local lrucache = require "resty.lrucache" local url = require "socket.url" local bit = require "bit" local re_match = ngx.re.match local re_find = ngx.re.find local re_sub = ngx.re.sub local insert = table.insert local upper = string.upper local lower = string.lower local find = string.find local fmt = string.format ...
apache-2.0
nimaghorbani/dozdi7
plugins/bandersnatch.lua
16
3154
local command = 'bandersnatch' local doc = [[``` Shun the frumious Bandersnatch. Alias: /bc ```]] local triggers = { '^/bandersnatch[@'..bot.username..']*', '^/bc[@'..bot.username..']*' } local fullnames = { "Wimbledon Tennismatch", "Rinkydink Curdlesnoot", "Butawhiteboy Cantbekhan", "Benadryl Claritin", "Bombadil ...
gpl-2.0
DDDGamer/factorio-dz-softmod
modules/dev/sprite_list.lua
1
6945
-- Sprite_List Soft Module -- __Description__ -- Uses locale Sprite_List.cfg -- @usage require('modules/__folder__/Sprite_List') -- @usage local ModuleName = require('modules/__folder__/Sprite_List') -- ------------------------------------------------------- -- -- @author Denis Zholob (DDDGamer) -- github: https://gith...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Port_San_dOria/npcs/Liloune.lua
5
1070
----------------------------------- -- Area: Port San d'Oria -- NPC: Liloune -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
jamiepg1/MCServer
MCServer/Plugins/Handy/handy_functions.lua
2
8088
--[[ General stuff ]] -- Returns Handy plugin version number function GetHandyVersion() return HANDY_VERSION end -- Checks if handy is in proper version function CheckForRequiedVersion( inVersion ) if( inVersion > HANDY_VERSION ) then return false end return true end --[[ MCS-specific _functions and nasty hacks :D ...
apache-2.0
ld-test/loowy
tests/test.lua
2
9667
-- -- Project: Loowy -- User: kostik -- Date: 08.03.15 -- package.path = "../src/?.lua;" .. package.path local config = {} local wsServer for line in io.lines('config.ini') do local key, value = line:match("^(%w+)%s*=%s*(.+)$") if key and value then if tonumber(value) then value = tonumber(value) end...
mit
TEAMvirus/ViRuS
bot/Virus_bot.lua
1
17641
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
hamrah12/hamrah_shoma
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Kazham/npcs/Shey_Wayatih.lua
5
1082
----------------------------------- -- Area: Kazham -- NPC: Shey Wayatih -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kazham/TextIDs"); ----------------------------------- function onTrade(play...
gpl-3.0
jamiepg1/MCServer
MCServer/Plugins/APIDump/Classes/Projectiles.lua
2
4215
return { cArrowEntity = { Desc = [[ Represents the arrow when it is shot from the bow. A subclass of the {{cProjectileEntity}}. ]], Functions = { CanPickup = { Params = "{{cPlayer|Player}}", Return = "bool", Notes = "Returns true if the specified player can pick the arrow when it's on the ground" }...
apache-2.0
neofob/sile
lua-libraries/lunamark/writer/ast.lua
4
1984
-- Return an abstract syntax tree local M = {} local format = string.format local util = require("lunamark.util") local generic = require("lunamark.writer.generic") local entities = require("lunamark.entities") function M.new(options) local options = options or {} local AST = generic.new(options) function AST...
mit
Ninjistix/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Tarnotik.lua
5
1409
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Tarnotik -- Type: Standard NPC -- !pos 160.896 10.999 -55.659 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Oldton_Movalpolos/TextI...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
002_bitmap_numbers/code/WaitState.lua
10
1383
WaitState = {mName = "wait"} WaitState.__index = WaitState function WaitState:Create(character, map) local this = { mCharacter = character, mMap = map, mEntity = character.mEntity, mController = character.mController, mFrameResetSpeed = 0.05, mFrameCou...
mit
dinodeck/ninety_nine_days_of_dev
003_combat_numbers/code/WaitState.lua
10
1383
WaitState = {mName = "wait"} WaitState.__index = WaitState function WaitState:Create(character, map) local this = { mCharacter = character, mMap = map, mEntity = character.mEntity, mController = character.mController, mFrameResetSpeed = 0.05, mFrameCou...
mit
NeCarbon/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/function.lua
7
19280
-- tolua: function class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: function.lua 1597 2008-03-11 22:25:01Z ice-drezday $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to pr...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua
7
1177
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Porter Moogle -- Type: Storage Moogle -- !pos ? ? ? 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextI...
gpl-3.0
ccyphers/kong
kong/plugins/response-transformer/migrations/cassandra.lua
12
1582
return { { name = "2016-03-10-160000_resp_trans_schema_changes", up = function(_, _, factory) local plugins, err = factory.plugins:find_all {name = "response-transformer"} if err then return err end for _, plugin in ipairs(plugins) do for _, action in ipairs {"remove"...
apache-2.0
Ninjistix/darkstar
scripts/zones/Norg/npcs/Shivivi.lua
5
2951
----------------------------------- -- Area: Norg -- NPC: Shivivi -- Starts Quest: Secret of the Damp Scroll -- @zone 252 -- !pos 68.729 -6.281 -6.432 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Dynamis-Bastok/bcnms/dynamis_bastok.lua
14
1291
----------------------------------- -- Area: Dynamis Bastok -- Name: Dynamis Bastok ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaBastok]UniqueID",os.time()); SetServerVariable("[DynaBastok]Boss_T...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
003_combat_numbers/code/SaveScheme.lua
6
4970
SaveScheme = { meta = 'marked', fields = { ['gGame'] = { meta = 'marked', fields = { ['Stack'] = { meta = 'function', meta_extract_function = function(data, scheme) ...
mit
TurboGit/darktable
tools/lua_doc/old_api/dt_api210dev.lua
7
247029
API = { ["__text"] = [==[To access the darktable specific functions you must load the darktable environment:<code>darktable = require "darktable"</code>All functions and data are accessed through the darktable module. This documentation for API version 2.1.0-dev.]==], ["__attributes"] = { ["reported_type"] = [==[docume...
gpl-3.0
wounds1/zaza2
plugins/badword.lua
5
3343
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ block word : منع كلمات ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
premake/premake-4.x
src/actions/example/example_project.lua
71
2633
-- An example project generator; see _example.lua for action description -- -- The project generation function, attached to the action in _example.lua. -- By now, premake.generate() has created the project file using the name -- provided in _example.lua, and redirected input to this new file. -- function premake.ex...
bsd-3-clause
carnalis/Urho3D
bin/Data/LuaScripts/33_Urho2DSpriterAnimation.lua
24
7416
-- Urho2D sprite example. -- This sample demonstrates: -- - Creating a 2D scene with spriter animation -- - Displaying the scene using the Renderer subsystem -- - Handling keyboard to move and zoom 2D camera require "LuaScripts/Utilities/Sample" local spriterNode = nil local spriterAnimationIndex...
mit
Ninjistix/darkstar
scripts/zones/Southern_San_dOria/npcs/Leuveret.lua
5
1237
----------------------------------- -- Area: Southern San d'Oria -- NPC: Leuveret -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
003_combat_numbers/code/CombatActions.lua
6
4634
local function AddAnimEffect(state, entity, def, spf) local x = entity.mX local y = entity.mY + (entity.mHeight * 0.75) local effect = AnimEntityFx:Create(x, y, def, def.frames, spf) state:AddEffect(effect) end local function AddTextNumberEffect(state, entity, num, color) local x = entity.mX l...
mit
arca1n/cocos2d-x_nextpeer_integration
external/lua/luajit/src/dynasm/dasm_arm.lua
74
34483
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
Ninjistix/darkstar
scripts/globals/items/bowl_of_seafood_stew.lua
3
1104
----------------------------------------- -- ID: 4561 -- Item: Bowl of Seafood Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 1 -- Vitality 5 -- Defense % 25 -- Defense Cap 120 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
torch/vector
tensor.lua
1
7083
--[[ This is a simple vector implementation on top of Torch. It is serializable so you can save it in a file, and it can be stored in tds.hash. ]]-- -- dependencies: require 'torch' local ffi = require 'ffi' local _tds = require 'tds' local elem = require 'tds.elem' -- function that defines TensorVector for a spec...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/weaponskills/numbing_shot.lua
3
1571
----------------------------------- -- Numbing Shot -- Marksmanship weapon skill -- Skill level: 290 -- Main of sub must be Ranger or Corsair -- Aligned with the Thunder & Breeze Gorget. -- Aligned with the Thunder Belt & Breeze Belt. -- Element: Ice -- Modifiers: AGI 80% -- 100%TP 200%TP 300%TP -- 3.00 3.00...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Bastok_Markets/Zone.lua
5
2164
----------------------------------- -- -- Zone: Bastok_Markets (235) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/events/harvest_festivals"); require("scripts/globals/...
gpl-3.0
ccyphers/kong
spec/03-plugins/06-jwt/02-api_spec.lua
4
8635
local helpers = require "spec.helpers" local cjson = require "cjson" local jwt_secrets = helpers.dao.jwt_secrets local fixtures = require "spec.03-plugins.06-jwt.fixtures" describe("Plugin: jwt (API)", function() local admin_client, consumer, jwt_secret setup(function() assert(helpers.start_kong()) admin_...
apache-2.0
eugenesan/openwrt-luci
applications/luci-asterisk/luasrc/asterisk/cc_idd.lua
92
7735
--[[ LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes 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 ]]-- module "luci.asteri...
apache-2.0
drhelius/bstone-ios
dependencies/SDL-1bc5372ee27f/premake/util/sdl_depends.lua
9
2976
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purp...
gpl-2.0
Ninjistix/darkstar
scripts/zones/RuLude_Gardens/npcs/Muhoho.lua
5
1052
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Muhoho -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/quests"); -----...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
5
4043
----------------------------------- -- 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
Ninjistix/darkstar
scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua
7
1480
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_B01/TextIDs"); require("scripts/zones/Riverne-Site_B01...
gpl-3.0
Ninjistix/darkstar
scripts/globals/weaponskills/cross_reaper.lua
25
1801
----------------------------------- -- Cross Reaper -- Scythe weapon skill -- Skill level: 225 -- Delivers a two-hit attack. Damage varies with TP. -- Modifiers: STR:30% ; MND:30% -- 100%TP 200%TP 300%TP -- 2.0 2.25 2.5 ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
Ninjistix/darkstar
scripts/globals/weaponskills/tachi_kaiten.lua
7
1744
----------------------------------- -- Tachi Kaiten -- Great Katana weapon skill -- Skill level: N/A -- Additional effect: temporarily increases amount of TP stored with each hit. -- Grants Store TP+7 for the duration of time that it is active. Length of time depends on TP. -- 100 TP = 20s -- 200 TP = 40s -- 300 TP = 6...
gpl-3.0
Ninjistix/darkstar
scripts/globals/mobskills/wanion.lua
4
1383
--------------------------------------------- -- Wanion -- AoE of all status ailments it has. --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); ---------------------------------...
gpl-3.0
wangyi0226/skynet
service/cslave.lua
3
6606
local skynet = require "skynet" local socket = require "skynet.socket" local socketdriver = require "skynet.socketdriver" require "skynet.manager" -- import skynet.launch, ... local table = table local slaves = {} local connect_queue = {} local globalname = {} local queryname = {} local harbor = {} local harbor_servic...
mit
otservme/global1051
data/spells/scripts/party/train.lua
15
1869
local combat = createCombatObject() local area = createCombatArea(AREA_CROSS5X5) setCombatArea(combat, area) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, COND...
gpl-2.0
allwenandashi/seed
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
chapmanb/bcbio-nextgen
config/vcfanno/hg38-gemini.lua
4
3618
function mean(vals) local sum=0 for i=1,#vals do sum = sum + vals[i] end return sum / #vals end function loc(chrom, start, stop) return chrom .. ":" .. start .. "-" .. stop end CLINVAR_LOOKUP = {} CLINVAR_LOOKUP['0'] = 'unknown' CLINVAR_LOOKUP['1'] = 'germline' CLINVAR_LOOKUP['2'] = 'somatic' CLINVAR_LOO...
mit
eugenesan/openwrt-luci
applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua
91
3529
--[[ LuCI - Lua Configuration Interface Copyright 2008 Jo-Philipp Wich <xm@subsignal.org> 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 $Id: trunks.l...
apache-2.0
Ninjistix/darkstar
scripts/zones/Windurst_Woods/npcs/Nanaa_Mihgo.lua
5
11077
----------------------------------- -- Area: Windurst Walls -- NPC: Nanaa Mihgo -- Starts and Finishes Quest: Mihgo's Amigo (R), The Tenshodo Showdown (start), Rock Racketeer (start, listed as ROCK_RACKETTER in quests.lua) -- Involved In Quest: Crying Over Onions -- Involved in Mission 2-1 -- !pos 62 -4 240 241 ------...
gpl-3.0
karrots/nodemcu-firmware
lua_examples/ucglib/GraphicsTest.lua
10
3464
-- setup SPI and connect display function init_spi_display() -- Hardware SPI CLK = GPIO14 -- Hardware SPI MOSI = GPIO13 -- Hardware SPI MISO = GPIO12 (not used) -- Hardware SPI /CS = GPIO15 (not used) -- CS, D/C, and RES can be assigned freely to available GPIOs local cs = 8 -- GPIO15, pull-d...
mit
justDax/darkmeter
ui/DM_UI.lua
1
11256
------------------------------------------------------------- -- Interface class ------------------------------------------------------------- -- this class is responsable for the rapresentation of the data to the user ------------------------------------------------------------- local UI = {} local DMUtils = Apollo....
mit
Ninjistix/darkstar
scripts/zones/Periqia/instances/seagull_grounded.lua
5
4169
----------------------------------- -- -- Assault: Seagull Grounded -- ----------------------------------- require("scripts/zones/Periqia/IDs"); ----------------------------------- function afterInstanceRegister(player) local instance = player:getInstance(); player:messageSpecial(Periqia.text.ASSAULT_31_START,...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Serjeant_Tombstone.lua
5
3029
----------------------------------- -- Area: Dynamis San d'Oria -- MOB: Serjeant Tombstone -- Map1 Position: http://www.dynamislounge.com/html/zone/frame_san1.htm -- Map2 Position: http://www.dynamislounge.com/html/zone/frame_san2.htm ----------------------------------- require("scripts/globals/dynamis"); require("scr...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Windurst_Walls/npcs/Chomomo.lua
5
1108
----------------------------------- -- Area: Windurst Walls -- NPC: Chomomo -- Type: Standard NPC -- !pos -1.262 -11 290.224 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zone...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/plate_of_boiled_barnacles.lua
3
1056
----------------------------------------- -- ID: 5980 -- Item: Plate of Boiled Barnacles -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Charisma -3 -- Defense % 25 Cap 130 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
premake/premake-4.x
tests/actions/vstudio/vc200x/test_mfc.lua
54
1900
-- -- tests/actions/vstudio/vc200x/test_mfc.lua -- Validate ATL/MFC support in Visual Studio 200x C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.vstudio_vs200x_mfc = { } local suite = T.vstudio_vs200x_mfc local vc200x = premake.vstudio.vc200x -- -- Setup -- local sln, prj, cfg ...
bsd-3-clause
jinks/LuaMeat
plugin/twitch.lua
1
3731
-- Getting information out of Twitch local json = require("json") local https = require("ssl.https") local ltn12 = require("ltn12") local msc = require("misc") --local curl = require("cURL") local function fetch_data(endpoint) local response = {} hdrs = { Accept = "application/vnd.twitchtv.v3+json", ["Client-ID"]...
apache-2.0
Ninjistix/darkstar
scripts/zones/The_Ashu_Talif/mobs/Gessho.lua
5
2184
----------------------------------- -- Area: The Ashu Talif (The Black Coffin) -- MOB: Gessho -- TOAU-15 Mission Battle ----------------------------------- local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs"); require("scripts/globals/allyassist"); require("scripts/globals/instance"); require("scripts/glo...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/serving_of_karni_yarik.lua
3
1286
----------------------------------------- -- ID: 5588 -- Item: serving_of_karni_yarik -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 (cap 65) -- Ranged Attack % 20 (cap 65) -- Evasion +6 ----------------------------------------- require("scripts/glo...
gpl-3.0
fjz13/Medusa
External/luajit/src/jit/dis_ppc.lua
88
20319
---------------------------------------------------------------------------- -- 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
Ninjistix/darkstar
scripts/zones/Horlais_Peak/bcnms/horns_of_war.lua
5
1801
----------------------------------- -- Area: Horlias peak -- Name: horns of war -- KSNM99 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/Horl...
gpl-3.0
johnsoch/cuberite
Server/Plugins/APIDump/Classes/World.lua
2
77799
-- Describes the cWorld class API return { cWorld = { Desc = [[ cWorld is the game world. It is the hub of all the information managed by individual classes, providing convenient access to them. Cuberite supports multiple worlds in any combination of world types. You can have two overworlds, three nethers...
apache-2.0
xitrum-framework/FrameworkBenchmarks
frameworks/Lua/lapis/web.lua
72
5957
local lapis = require("lapis") local db = require("lapis.db") local Model do local _obj_0 = require("lapis.db.model") Model = _obj_0.Model end local config do local _obj_0 = require("lapis.config") config = _obj_0.config end local insert do local _obj_0 = table insert = _obj_0.insert end local sort do loc...
bsd-3-clause
rigeirani/sgyt
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
scan-bot/scan-bot
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
mt246/mt24679
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
DEVll190ll/DEV_HR
bot/utils.lua
74
30284
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
draekko/keys
Build/VSCOKeys.lrplugin/halfway_server/socket/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
gpl-2.0
carnalis/Urho3D
bin/Data/LuaScripts/41_DatabaseDemo.lua
26
7819
-- Database demo. This sample demonstrates how to use database subsystem to connect to a database and execute adhoc SQL statements. require "LuaScripts/Utilities/Sample" local connection local row local maxRows = 50 function Start() -- Execute the common startup for samples SampleStart() -- Disable defa...
mit
charles-l/LD29
Stats.lua
1
1121
Stats = class('Stats') function Stats:initialize(player) self.player = player self.score = 0 self.heartIcon = love.graphics.newImage('res/heart.png') self.kills = 0 end function Stats:addScore(score) self.score = self.score + score end function Stats:display() love.graphics.setFont(font[36]) drawDropSh...
mit
Ninjistix/darkstar
scripts/zones/Northern_San_dOria/npcs/Ramua.lua
3
1543
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ramua -- Type: Woodworking Synthesis Image Support -- !pos -183.750 10.999 255.770 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
hvbommel/domoticz
dzVents/runtime/tests/testDomoticz.lua
6
33952
local _ = require 'lodash' _G._ = _ local scriptPath = '' --package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua' package.path = package.path .. ";../?.lua;../../../scripts/lua/?.lua;" .. scriptPath .. '/?.lua;../device-adapters/?.lua;' local testData = require('tstData') local function values(t) lo...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Palborough_Mines/npcs/_3z9.lua
5
1277
----------------------------------- -- Area: Palborough Mines -- NPC: Refiner Lever -- Involved In Mission: Journey Abroad -- @zone 143 -- !pos 180 -32 167 ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0