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
Munchotaur/wordgrinder
src/lua/addons/docsetman.lua
3
3690
-- © 2008 David Given. -- WordGrinder is licensed under the MIT open source license. See the COPYING -- file in this distribution for the full text. function Cmd.AddBlankDocument(name) if not name then name = PromptForString("Name of new document?", "Please enter the new document name:") if not name or (name == "...
mit
RebootRevival/FFXI_Test
scripts/zones/Upper_Jeuno/Zone.lua
26
2502
----------------------------------- -- -- Zone: Upper_Jeuno (244) -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Upper_Jeuno/TextIDs"); -----------------------------------...
gpl-3.0
rafradek/wire
lua/wire/stools/lamp.lua
9
4708
WireToolSetup.setCategory( "Visuals/Lights" ) WireToolSetup.open( "lamp", "Lamp", "gmod_wire_lamp", nil, "Lamps" ) if CLIENT then language.Add( "tool.wire_lamp.name", "Wire Lamps" ) language.Add( "tool.wire_lamp.desc", "Spawns a lamp for use with the wire system." ) language.Add( "tool.wire_lamp.0", "Primary: Creat...
apache-2.0
SinisterRectus/Discordia
libs/utils/Logger.lua
1
1915
--[=[ @c Logger @t ui @mt mem @p level number @p dateTime string @op file string @d Used to log formatted messages to stdout (the console) or to a file. The `dateTime` argument should be a format string that is accepted by `os.date`. The file argument should be a relative or absolute file path or `nil` if no log file i...
mit
RebootRevival/FFXI_Test
scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua
53
4980
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Adelbrecht -- Starts Quests: The Fighting Fourth -- Involved in Missions: Back to the Beginning -- CS IDs: -- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops. -- ...
gpl-3.0
TheRikyHUN/fooniks
resources/phoenix_Estonia/saar.lua
2
1387
local reloadAmount = tonumber( exports.cookies:Cookie( "cModelRemember" ) ) or 3; local reloadTimes = 0; -- addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource( ) ), function ( ) setTimer( LoadAllModels, 100, reloadAmount ); end ); addCommandHandler( "models", ...
gpl-3.0
Munchotaur/wordgrinder
scripts/dumpdoc.lua
3
5892
-- © 2013 David Given. -- WordGrinder is licensed under the MIT open source license. See the COPYING -- file in this distribution for the full text. -- This user script is a file diagnostic tool for debugging v2 dumpfiles. It -- will dump the entire contents of the file as structured text. -- -- It's theoretically pos...
mit
RebootRevival/FFXI_Test
scripts/zones/Mount_Zhayolm/npcs/HomePoint#1.lua
3
1268
----------------------------------- -- Area: Mount Zhayolm -- NPC: HomePoint#1 -- !pos -540.844 -4.000 70.809 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Mount_Zhayolm/TextIDs"); require("scripts/globa...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Beaucedine_Glacier/npcs/Chopapa_WW.lua
3
3349
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Chopapa, W.W. -- Type: Border Conquest Guards -- !pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Mamook/mobs/Colibri.lua
46
1626
----------------------------------- -- Area: Mamook -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) local delay =...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Tavnazian_Safehold/npcs/Gennoue.lua
30
1060
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Gennoue -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Tavnazian_S...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Windurst/npcs/Breanainn.lua
3
1036
----------------------------------- -- Area: Port Windurst -- NPC: Breanainn -- @zone 240 -- !pos 212 -6 96 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/Tex...
gpl-3.0
Afforess/Factorio-Stdlib
stdlib/data/data.lua
1
15232
--- Data -- @classmod Data require('__stdlib__/stdlib/core') -- Calling core up here to setup any required global stuffs if _G.remote and _G.script then error('Data Modules can only be required in the data stage', 2) end local Table = require('__stdlib__/stdlib/utils/table') local groups = require('__stdlib__/st...
isc
bttscut/skynet
service/snaxd.lua
29
2244
local skynet = require "skynet" local c = require "skynet.core" local snax_interface = require "snax.interface" local profile = require "skynet.profile" local snax = require "skynet.snax" local snax_name = tostring(...) local loaderpath = skynet.getenv"snax_loader" local loader = loaderpath and assert(dofile(loaderpat...
mit
ashang/koreader
frontend/apps/filemanager/filemanagersearch.lua
4
26481
local CenterContainer = require("ui/widget/container/centercontainer") local InputContainer = require("ui/widget/container/inputcontainer") local DocumentRegistry = require("document/documentregistry") local InputDialog = require("ui/widget/inputdialog") local InfoMessage = require("ui/widget/infomessage") local lfs = ...
agpl-3.0
petoju/awesome
tests/examples/wibox/layout/flex/spacing_widget.lua
6
1984
--DOC_GEN_IMAGE --DOC_HIDE local generic_widget = ... --DOC_HIDE local wibox = require("wibox") --DOC_HIDE local gears = {shape = require("gears.shape")}--DOC_HIDE local l = wibox.layout.flex.vertical() --DOC_HIDE -- Use the separator widget directly local w1 = wibox.widget { generic_widget( "first" , n...
gpl-2.0
hfjgjfg/jjjn
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
Luciferzn/luciferself
tg/tdcli.lua
102
88571
--[[ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be use...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Upper_Jeuno/npcs/Shalott.lua
17
1131
----------------------------------- -- Area: Upper Jeuno -- NPC: Shalott -- Optional Involvement in Quest: Save My Son -------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); --------------------------...
gpl-3.0
Qwertymine/crafting
intllib.lua
53
1122
-- Fallback functions for when `intllib` is not installed. -- Code released under Unlicense <http://unlicense.org>. -- Get the latest version of this file at: -- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua local function format(str, ...) local args = { ... } local function repl...
mit
RebootRevival/FFXI_Test
scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua
3
5931
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Fossil Rock -- Used in Mission: Windurst Mission 2-1 -- !pos 17 18 184 198 + <many pos> ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Green.lua
3
2441
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Magian Moogle (Green Bobble) -- Type: Magian Trials NPC (Job Emotes) -- !pos -4.558 2.451 111.305 64 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
rafradek/wire
lua/entities/gmod_wire_sensor.lua
10
6626
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Beacon Sensor" ENT.WireDebugName = "Beacon Sensor" if CLIENT then return end -- No more client local MODEL = Model( "models/props_lab/huladoll.mdl" ) function ENT:Initialize() self:SetModel( MODEL ) self:PhysicsInit( SOLID_VPHYSICS )...
apache-2.0
Munchotaur/wordgrinder
src/lua/addons/widescreen.lua
3
2213
-- © 2013 David Given. -- WordGrinder is licensed under the MIT open source license. See the COPYING -- file in this distribution for the full text. ----------------------------------------------------------------------------- -- Fetch the maximum allowed width. function GetMaximumAllowedWidth(screenwidth) local set...
mit
mzguanglin/LuCI
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-app.lua
137
15546
cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "") app_alarmreceiver:value("yes", "Load") app_alarmreceiver:value("no", "Do Not Load") app_al...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Mhaura/npcs/Celestina.lua
3
2688
----------------------------------- -- Area: Mhaura -- NPC: Celestina -- Finish Quest: The Sand Charm -- Involved in Quest: Riding on the Clouds -- Guild Merchant NPC: Goldsmithing Guild -- !pos -37.624 -16.050 75.681 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; package...
gpl-3.0
khoshhal/Fighterbot
plugins/ingroup.lua
2
9165
lock_group_fosh(msg, data, target) end if matches[2] == 'leave' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked leaving ") return unlock_group_leave(msg, data, target) end if matches[2] == 'join' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked...
gpl-2.0
onpon4/naev
dat/scripts/vn.lua
1
40049
--[[-- Visual Novel API for Naev Based on Love2D API @module vn ]] local utf8 = require 'utf8' local love = require 'love' local graphics = require 'love.graphics' local window = require 'love.window' local filesystem = require 'love.filesystem' local audio = require 'love.audio' local love_image = require 'love.image...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua
3
1402
----------------------------------- -- Area: North Gustaberg -- NPC: Waterfall Base -- Involved In Quest: Drachenfall -- !pos -217.594 98.644 464.722 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ques...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Quicksand_Caves/npcs/_5s1.lua
3
1265
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- !pos 21 0 -180 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs"...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-La_Theine/npcs/qm10.lua
3
1352
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm10 (???) -- Spawns Poroggo Dom Juan -- !pos ? ? ? 132 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tr...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Western_Adoulin/npcs/Ledericus.lua
3
1717
----------------------------------- -- Area: Western Adoulin -- NPC: Ledericus -- Type: Shop NPC -- @zone 256 -- !pos 37 32 117 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
Cyco12/PotatoBot
deps/discordia/containers/snowflakes/Member.lua
1
10141
local Snowflake = require('../Snowflake') local Color = require('../../utils/Color') local format = string.format local insert, remove, sort = table.insert, table.remove, table.sort local wrap, yield = coroutine.wrap, coroutine.yield local Member, property, method, cache = class('Member', Snowflake) Member.__descript...
apache-2.0
jyggen/storytime
Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
37
18708
--[[ $Id: AceGUIWidget-DropDown.lua 1116 2014-10-12 08:15:46Z nevcairiel $ ]]-- local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local min, max, floor = math.min, math.max, math.floor local select, pairs, ipairs, type = select, pairs, ipairs, type local tsort = table.sort -- WoW APIs local PlaySound = PlaySound local...
mit
RebootRevival/FFXI_Test
scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua
14
1284
----------------------------------- -- Area: Dynamis Jeuno -- Name: Dynamis Jeuno ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaJeuno]UniqueID",os.time()); SetServerVariable("[DynaJeuno]Boss_Trigg...
gpl-3.0
TheRikyHUN/fooniks
resources/admin/client/gui/admin_vehicle.lua
2
13107
--[[********************************** * * Multi Theft Auto - Admin Panel * * gui\admin_stats.lua * * Original File by lil_Toady * **************************************]] aVehicleForm = nil aVehicleCustomizePlayer = nil aVehicleCustomizeVehicle = nil aVehicleUpgrades = {} aUpgradeNames = {} function ...
gpl-3.0
chen0031/sysdig
userspace/sysdig/chisels/netlower.lua
12
4664
--[[ netlower.lua - trace network I/O slower than a given threshold. USAGE: sysdig -c netlower min_ms eg, sysdig -c netlower 1000 # show network I/O slower than 1000 ms. sysdig -c netlower "1 disable_colors" # show network I/O slower than 1 ms. w/ no colors sysdig -c netlower 1000 # show network...
gpl-2.0
RebootRevival/FFXI_Test
scripts/commands/zone.lua
7
14233
--------------------------------------------------------------------------------------------------- -- func: zone -- desc: Teleports a player to the given zone. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "b" }; ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/parsimony.lua
4
1139
----------------------------------- -- Ability: Parsimony -- Reduces the MP cost of your next black magic spell by 50%. -- Obtained: Scholar Level 10 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- ------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua
3
1063
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Khea Mhyyih -- Type: Standard NPC -- @zone 94 -- !pos -53.927 -4.499 56.215 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
chen0031/sysdig
userspace/sysdig/chisels/v_connections.lua
4
3168
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
petoju/awesome
spec/gears/cache_spec.lua
22
1875
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2015 Uli Schlachter --------------------------------------------------------------------------- local cache = require("gears.cache") describe("gears.cache", function() -- Make sure no cache is clear...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Dark.lua
3
2371
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Dark -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles")...
gpl-3.0
tommo/mock
mock/gfx/asset/RenderMaterial.lua
1
4960
module 'mock' CLASS: RenderMaterial () :MODEL{ Field 'tag' :string(); '----'; Field 'blend' :enum( EnumBlendMode ); Field 'shader' :asset( 'shader;shader_script' ); Field 'shaderContext' :string(); '----'; Field 'depthMask' :boolean(); Field 'depthTest' ...
mit
RebootRevival/FFXI_Test
scripts/zones/Palborough_Mines/npcs/_3z9.lua
3
1606
----------------------------------- -- 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/s...
gpl-3.0
rafradek/wire
lua/entities/info_wiremapinterface/entityoverride.lua
17
4526
-- Stuff that the entity gets for its wire stuff. local WIREENT = {} -- Trigger wire input function WIREENT:TriggerInput(name, value, ...) if (!name or (name == "") or !value) then return end local Entity = self._WireMapInterfaceEnt if (!IsValid(Entity)) then return end if (!Entity.TriggerWireInput) then return e...
apache-2.0
ashang/koreader
frontend/ui/font.lua
1
3513
local lfs = require("libs/libkoreader-lfs") local Freetype = require("ffi/freetype") local Screen = require("device").screen local Device = require("device") local DEBUG = require("dbg") local Font = { fontmap = { -- default font for menu contents cfont = "noto/NotoSans-Regular.ttf", -- def...
agpl-3.0
djianq/Game
examples/login/logind.lua
1
1663
local login = require "snax.loginserver" local crypt = require "crypt" local skynet = require "skynet" local server = { host = "0.0.0.0", port = 1922, -- 8001, multilogin = false, -- disallow multilogin name = "login_master", } local server_list = {} local user_online = {} local user_login = {} function server....
mit
RebootRevival/FFXI_Test
scripts/zones/Southern_San_dOria/npcs/Estiliphire.lua
2
1290
----------------------------------- -- Area: Southern Sandoria -- NPC: Estiliphire -- Type: Event Sideshow NPC -- @zone 230 -- !pos -41.550 1.999 -2.845 -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0
felixdae/skynet
lualib/http/httpc.lua
42
2906
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
mit
zzh442856860/skynet
lualib/http/httpc.lua
42
2906
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
mit
RebootRevival/FFXI_Test
scripts/zones/Palborough_Mines/mobs/Copper_Beetle.lua
3
1195
----------------------------------- -- Area: Palborough Mines -- Mob: Copper Beetle ----------------------------------- require("scripts/zones/Palborough_Mines/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, player, isKiller) end; ------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/North_Gustaberg/npcs/Kuuwari-Aori_WW.lua
3
3343
----------------------------------- -- Area: North Gustaberg -- NPC: Kuuwari-Aori, W.W. -- Type: Outpost Conquest Guards -- !pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
djianq/Game
service/snaxd.lua
1
2038
local skynet = require "skynet" local c = require "skynet.core" local snax_interface = require "snax.interface" local profile = require "profile" local snax = require "snax" local snax_name = tostring(...) local func, pattern = snax_interface(snax_name, _ENV) local snax_path = pattern:sub(1, pattern:find("?", 1, true)...
mit
RebootRevival/FFXI_Test
scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua
3
1283
----------------------------------- -- Area: Castle Zvahl Keep [S] -- NPC: HomePoint#1 -- !pos -554 -70 66 155 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"); require(...
gpl-3.0
mahdikord/mahdibary
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
silver-bot/antispam
plugins/plugins.lua
28
6273
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
jthomasbarry/aafmt
archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/layered/node_ranking.lua
3
2020
-- Copyright 2012 by Till Tantau -- -- This file may be distributed and/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/g...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Mhaura/npcs/Hagain.lua
17
2279
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Sauromugue_Champaign/npcs/qm4.lua
3
2437
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm4 (???) (Tower 4) -- Involved in Quest: THF AF "As Thick As Thieves" -- !pos 129.587 -0.600 -235.525 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; --------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/rarab_tail.lua
12
1180
----------------------------------------- -- ID: 4444 -- Item: rarab_tail -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
mohammadclashclash/sinaeror
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
ghxandsky/waifu2x
lib/srcnn.lua
1
1195
require 'cunn' require 'cudnn' require './LeakyReLU' function cudnn.SpatialConvolution:reset(stdv) stdv = math.sqrt(2 / ( self.kW * self.kH * self.nOutputPlane)) self.weight:normal(0, stdv) self.bias:fill(0) end local function create_model() local model = nn.Sequential() model:add(cudnn.SpatialConv...
mit
RebootRevival/FFXI_Test
scripts/globals/items/magma_steak_+1.lua
12
1603
----------------------------------------- -- ID: 6072 -- Item: Magma Steak +1 -- Food Effect: 240 Min, All Races ----------------------------------------- -- Strength +9 -- Attack +24% Cap 185 -- Ranged Attack +24% Cap 185 -- Vermin Killer +6 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/Label.lua
10
12761
-------------------------------- -- @module Label -- @extend SpriteBatchNode,LabelProtocol -- @parent_module cc -------------------------------- -- -- @function [parent=#Label] isClipMarginEnabled -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- Enable shadow...
gpl-3.0
AmirPGA/pgahide
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
kanaka/fuzzy-raft
research_class/pgfplots/tex/generic/pgfplots/lua/pgfplots/binary.lua
4
1660
-- Attention: functions in this file are part of the backend driver. -- They are supposed to work back with Lua 5.1 . -- Note that most of the 'lua backend' requires Lua 5.2 (currently) pgfplotsGetLuaBinaryStringFromCharIndicesChunkSize = 7000; if unpack == nil then -- LUA 0.76 renamed unpack to table.unpack pgfpl...
mpl-2.0
fmacias64/Dato-Core
src/unity/python/graphlab/lua/pl/lapp.lua
20
13955
--- Simple command-line parsing using human-readable specification. -- Supports GNU-style parameters. -- -- lapp = require 'pl.lapp' -- local args = lapp [[ -- Does some calculations -- -o,--offset (default 0.0) Offset to add to scaled number -- -s,--scale (number) Scaling factor -- ...
agpl-3.0
openwrt-es/openwrt-luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua
78
2244
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.sys.zoneinfo") require("luci.tools.webadmin") require("luci.util") m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li...
apache-2.0
tommo/mock
mock/sqscript/SQNodeCondition.lua
1
3398
module 'mock' -------------------------------------------------------------------- CLASS: SQNodeBranch ( SQNodeGroup ) :MODEL{ Field 'name' :string() :no_edit(); } function SQNodeBranch:__init() self.name = 'branch' end function SQNodeBranch:exit( state, env ) state:setJumpTarget( self.parentNode:getNextSibling...
mit
RebootRevival/FFXI_Test
scripts/zones/Southern_San_dOria/npcs/Kipopo.lua
3
1843
----------------------------------- -- Area: Southern San d'Oria -- NPC: Kipopo -- Type: Leathercraft Synthesis Image Support -- !pos -191.050 -2.15 12.285 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_1.lua
3
2253
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Sealed Entrance (Sealed_Entrance_1) -- !pos -245.000 -18.100 660.000 95 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/que...
gpl-3.0
bmichalo/MoonGen
test/testlib.lua
8
5249
-- Testlib.lua Library -- Provides a set of master functions for the test framework. -- Requires a valid config.lua to work. -- Requires luaunit to deliver correct test results. -- Some slaves need to return a boolean value for correct test results. -- masterPairX-functions effectively execute each slave twice with sw...
mit
olafhering/sysbench
third_party/luajit/luajit/src/jit/v.lua
54
5783
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Apollyon/mobs/Fir_Bholg.lua
17
1394
----------------------------------- -- Area: Apollyon SW -- NPC: Fir Bholg ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Lower_Jeuno/npcs/_l03.lua
3
2851
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- !pos -87 0 -124 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
rafradek/wire
lua/entities/gmod_wire_expression2/core/array.lua
6
17514
-------------------------------------------------------------------------------- -- Array Support -- Original author: Unknown (But the Wiki mentions Erkle) -- Rewritten by Divran at 2010-12-21 -------------------------------------------------------------------------------- ---------------------------------------------...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/settings.lua
9
12127
----------------------------------------------- ------------- GLOBAL SETTINGS ------------- ----------------------------------------------- -- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand. -- Anything scripted can be customize...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Western_Altepa_Desert/npcs/_3h0.lua
3
1190
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h0 (Altepa Gate) -- !pos -19 12 131 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Altepa_Desert/TextIDs"); ---...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/jar_of_ground_wasabi.lua
12
1589
----------------------------------------- -- ID: 5164 -- Item: jar_of_ground_wasabi -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Charisma -1 ----------------------------------------- require("scrip...
gpl-3.0
bmichalo/MoonGen
rfc2544/utils/testreport.lua
9
7504
local utils = require "utils.utils" local mod = {} mod.__index = mod local texHdr = [[ \documentclass{article} \usepackage{multirow} \usepackage{graphicx} \usepackage{longtable,tabu} \usepackage[margin=1in]{geometry} \renewcommand{\thesubsection}{\arabic{subsection}} \begin{document} \section*{RFC 2544 Test Report} ]...
mit
onpon4/naev
dat/missions/sirius/srs_ferry.lua
1
18386
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Sirius Pilgrimage Transport"> <avail> <priority>60</priority> <chance>266</chance> <cond>faction.playerStanding("Sirius") &gt; 5</cond> <location>Computer</location> <faction>Sirius</faction> </avail> </mission> --]] --[[ -- This mission involves fer...
gpl-3.0
tangrams/bgfxVectorTile
premake4.lua
1
1115
solution "bgfxVectorTile" BGFX_DIR = (path.getabsolute("..") .. "/bgfx/") BX_DIR = (BGFX_DIR .. "../bx/") configurations { "Debug", "Release" } configuration { "Debug" } targetdir "bin/debug" configuration { "Release" } targetdir "bin/release" if _ACTION == "clean" then os.rmdir("bin") end ...
mit
RebootRevival/FFXI_Test
scripts/zones/Western_Adoulin/npcs/Ruth.lua
3
1688
----------------------------------- -- Area: Western Adoulin -- NPC: Ruth -- Type: Standard NPC and Quest NPC -- Involved With Quest: 'A Pioneers Best (Imaginary) Friend' -- @zone 256 -- !pos -144 4 -10 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests");...
gpl-3.0
abbasgh12345/extreme11
plugins/boobs.lua
90
1731
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Caedarva_Mire/npcs/qm4.lua
3
1332
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? (Spawn Tyger(ZNM T4)) -- !pos -766 -12 632 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); require("scripts/glob...
gpl-3.0
chen0031/sysdig
userspace/sysdig/chisels/v_spy_users.lua
8
2137
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
sjmGithub/csi280LearningExperience
share/lua/playlist/metachannels.lua
92
2096
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Horlais_Peak/TextIDs.lua
3
1199
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6386; -- Ob...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
16
4793
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Coffer -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Metalworks/npcs/Vicious_Eye.lua
3
1187
----------------------------------- -- Area: Metalworks -- NPC: Vicious Eye -- Type: Guild Merchant (Blacksmithing Guild) -- !pos -106.132 0.999 -28.757 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua
10
6684
-------------------------------- -- @module CCBAnimationManager -- @extend Ref -- @parent_module cc -------------------------------- -- -- @function [parent=#CCBAnimationManager] moveAnimationsFromNode -- @param self -- @param #cc.Node fromNode -- @param #cc.Node toNode -------------------------------- -- ...
gpl-3.0
tommo/mock
mock/gfx/TexturePolygon.lua
1
3287
module 'mock' CLASS: TexturePolygon ( GraphicsPropComponent ) :MODEL{ Field 'verts' :array() :no_edit(); Field 'texture' :asset_pre('texture;render_target') :getset( 'Texture' ); '----'; Field 'fitPolygon' :boolean() :isset( 'FitPolygon' ); '----'; Field 'uvScale' :type('vec2') :getset( 'UVScale' ); ...
mit
RebootRevival/FFXI_Test
scripts/globals/abilities/pets/cannibal_blade.lua
1
1941
--------------------------------------------------- -- Cannibal Blade --------------------------------------------------- require("scripts/globals/automatonweaponskills") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg"); -----------------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Upper_Jeuno/npcs/Brutus.lua
3
8199
----------------------------------- -- Area: Upper Jeuno -- NPC: Brutus -- Starts Quest: Chocobo's Wounds, Save My Son, Path of the Beastmaster, Wings of gold, Scattered into Shadow, Chocobo on the Loose! -- !pos -55 8 95 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;...
gpl-3.0
rafradek/wire
lua/effects/thruster_ring_grow.lua
10
1652
EFFECT.Mat = Material( "effects/select_ring" ) /*--------------------------------------------------------- Initializes the effect. The data is a table of data which was passed from the server. ---------------------------------------------------------*/ function EFFECT:Init( data ) local size = 16 self:SetCol...
apache-2.0
bttscut/skynet
lualib/skynet/datasheet/init.lua
11
1531
local skynet = require "skynet" local service = require "skynet.service" local core = require "skynet.datasheet.core" local datasheet_svr skynet.init(function() datasheet_svr = service.query "datasheet" end) local datasheet = {} local sheets = setmetatable({}, { __gc = function(t) for _,v in pairs(t) do skyne...
mit
sperka/shogun
examples/undocumented/lua_modular/kernel_comm_word_string_modular.lua
21
1375
require 'modshogun' require 'load' traindat = load_dna('../data/fm_train_dna.dat') testdat = load_dna('../data/fm_test_dna.dat') parameter_list = {{traindat,testdat,4,0,false, false},{traindat,testdat,4,0,False,False}} function kernel_comm_word_string_modular (fm_train_dna,fm_test_dna, order, gap, reverse, use_sign) ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/bowl_of_emerald_soup.lua
12
1386
----------------------------------------- -- ID: 4327 -- Item: Bowl of Emerald Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -1 -- Health Regen While Healing 3 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
Telesuperior/amir
plugins/fun.lua
1
15071
local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end -------------------------------- local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" -------------------------------- local function get_latlong(area) local api = base_api ...
gpl-3.0