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 |
|---|---|---|---|---|---|
Sonicrich05/FFXI-Server | scripts/zones/AlTaieu/npcs/HomePoint#1.lua | 17 | 1228 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
--------------------------... | gpl-3.0 |
correa/domoticz | dzVents/runtime/tests/testDomoticz.lua | 1 | 29091 | 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 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Beaucedine_Glacier/TextIDs.lua | 4 | 1104 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6537; -- You cannot obtain the item <item> come back again after sorting your inventory
FULL_INVENTORY_AFTER_TRADE = 6539; -- You cannot obtain the <item>. Try trading again after sorting your inventory
ITEM_OBTAINED = 654... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/RuLude_Gardens/npcs/_6r8.lua | 4 | 2299 | -----------------------------------
-- Area: Ru'Lud Gardens
-- Door: Windurstian Ambassador
-- Windurst Missions 3.3 "A New Journey" and 4.1 "Magicite"
-- @pos 31 9 -22 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil... | gpl-3.0 |
thgab/xupnpd-rc | profiles/samsung.lua | 5 | 1467 | sec_dlna_org_extras_none='*;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000'
profiles['Samsung-AllShare']=
{
['desc']='Samsung AllShare uPnP/DLNA',
-- SEC_HHP_[TV]UE32ES6757/1.0 DLNADOC/1.50
['match']=function(user_agent) if string.find(user_agent,'SEC_HHP_',1,true) then retur... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/tortilla.lua | 35 | 1264 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
Imagine-Programming/lh-framework | src/crypto/hash/md5_slow.lua | 1 | 22334 | --[[
Script: md5_slow.lua
Product: md5_slow.lh (MemoryEx LuaHeader)
Author: Imagine Programming <Bas Groothedde>
Website: http://www.imagine-programming.com
Contact: http://www.imagine-programming.com/contact.html
Date: 12-11... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua | 3 | 3324 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kuriodo-Moido
-- Involved In Quest: Making Amends, Wonder Wands
-- Starts and Finishes: Making Amens!
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
projectbismark/luci-bismark | modules/admin-full/luasrc/model/cbi/admin_system/startup.lua | 4 | 2773 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... | apache-2.0 |
dani-sj/nanebot | plugins/filter.lua | 32 | 4280 | do
TMP = {}
function First( msg )
local Xdata = load_data(_config.moderation.data);
if ( not Xdata[tostring(msg.to.id)]["settings"]["Blocked_Words"] ) then
Xdata[tostring(msg.to.id)]["settings"]["Blocked_Words"] = TMP
save_data(_config.moderation.data, Xdata);
print("i couldn't find the table so i cre... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Jeuno/npcs/Ajithaam.lua | 2 | 4071 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Ajithaam
-- @zone 244
-- @pos -82 0 160 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/missions");
require... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/inferno_sword.lua | 16 | 1030 | -----------------------------------------
-- ID: 16594
-- Item: Inferno Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 36 | 1375 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Tex... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua | 2 | 2989 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Goblin Statue
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
----------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Cape_Teriggan/mobs/Tegmine.lua | 20 | 1982 | ----------------------------------
-- Area: Cape Teriggan
-- NM: Tegmine
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
uuuuuuBoT/uuuuuuBoT | plugins/ar-weather.lua | 8 | 2658 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ (ملف الطقس) ▀▄ ▄▀
▀▄▀▀▄▄... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/low_rez_kotor_assets/lua/weapons/heavyblasterpistol5/shared.lua | 1 | 18068 | SWEP.Author = "Velian"
SWEP.Contact = "velianhailfrost@gmail.com"
--SWEP.Purpose = "What your SWep does."
--SWEP.Instructions = "How to operate your SWep"
SWEP.PrintName = "HeavyBlasterPistol5"
SWEP.Spawnable = true -- Whether regular players can see it
SWEP.AdminSpawnable = true -- Whether Admins/Super Admins can se... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua | 2 | 1049 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mhasbaf
-- Type: Standard NPC
-- @zone: 50
-- @pos: 54.701 -6.999 11.387
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Uleguerand_Range/npcs/HomePoint#1.lua | 19 | 1189 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sih_Gates/Zone.lua | 34 | 1231 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
dany-sj/permag.ir | libs/feedparser.lua | 31 | 12090 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-3.0 |
fw867/ntopng | scripts/lua/modules/voip_utils.lua | 1 | 4431 | --
-- (C) 2013-14 - ntop.org
--
-- ########################################################
require "flow_utils"
local payload_type = 0
function isVoip(key,value)
key_label = getFlowKey(key)
if (key_label == "Total number of exported flows") then return 1 end
if (key_label =='Rtp Voice Quality') then
... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/npcs/ai/[smith]_pavrick.lua | 2 | 1071 | registerNpc(1181, {
walk_speed = 0,
run_speed = 0,
scale = 140,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
Fatmice/Uranium-Power-Cont | prototypes/item/fuel-assembly-item.lua | 1 | 2574 | data:extend({
{
type = "item",
flags = {"goes-to-main-inventory"},
subgroup = "uranium-products",
order = "h[uranium]",
stack_size = 1,
name = "fuel-assembly-01",
icon = "__UraniumPower__/graphics/icons/fuel-assembly-01.png",
},
{
type = "item",
flags = {"goes-to-main-inventory"},
subgroup = "ura... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Morunaude.lua | 6 | 1370 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morunaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Markets/npcs/Degenhard.lua | 4 | 1968 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Degenhard
-- Starts & Ends Quest: The Bare Bones
-- Involved in Quests: Beat Around the Bushin
-- @zone 235
-- @pos -175 2 -135
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/hero/hero_nevermore.lua | 1 | 61430 | -- Author: Shush
-- Date: 22/04/2017
CreateEmptyTalents("nevermore")
------------------------------------
-- SHADOW RAZE (CLOSE) --
------------------------------------
imba_nevermore_shadowraze_close = imba_nevermore_shadowraze_close or class({})
LinkLuaModifier("modifier_shadow_raze_combo", "hero/hero_n... | mit |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_mega_pack/lua/weapons/npc_sw_weapon_752_dc15sa/ai_translations.lua | 11 | 11326 |
/*---------------------------------------------------------
Name: SetupWeaponHoldTypeForAI
Desc: Mainly a Todo.. In a seperate file to clean up the init.lua
---------------------------------------------------------*/
function SWEP:SetupWeaponHoldTypeForAI( t )
self.ActivityTranslateAI = {}
if ( t == "smg" )... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok_Mines/npcs/Rashid.lua | 19 | 3429 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Rashid
-- Type: Mission Giver
-- @pos -8.444 -2 -123.575 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
nrodriguez/SpellGainz | libs/CallbackHandler-1.0/CallbackHandler-1.0.lua | 35 | 8804 | --[[ $Id: CallbackHandler-1.0.lua 1131 2015-06-04 07:29:24Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 6
local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)
if not CallbackHandler then return end -- No upgrade needed
local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end}
... | gpl-3.0 |
0xbs/premade-groups-filter | Modules/PersistSignUpNote.lua | 1 | 1989 | -------------------------------------------------------------------------------
-- Premade Groups Filter
-------------------------------------------------------------------------------
-- Copyright (C) 2022 Elotheon-Arthas-EU
--
-- This program is free software; you can redistribute it and/or modify
-- it under the ter... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua | 16 | 1602 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
fw867/ntopng | scripts/lua/about.lua | 1 | 2471 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=utf-8')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
active_page = "about"
dofile(dirs.installdir .. "/scripts/... | gpl-3.0 |
metarow/metarow_lua | specs/metarow/MetaJSON_spec.lua | 1 | 3381 | MetaJSON = require"lib.metarow.MetaJSON"
local jsonString
describe( "basic functions", function ( )
setup( function ( )
local f = io.open( 'specs/metarow/view_string_01.json', "r" )
jsonString = f:read( "*a" )
end)
it( "stores empty table for no JSON string", function( )
local d = MetaJSON()
as... | mit |
Sonicrich05/FFXI-Server | scripts/globals/effects/teleport.lua | 23 | 2889 | -----------------------------------
--
-- EFFECT_TELEPORT
--
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/teleports");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
e... | gpl-3.0 |
Ding8222/skynet | examples/login/gated.lua | 29 | 2208 | local msgserver = require "snax.msgserver"
local crypt = require "skynet.crypt"
local skynet = require "skynet"
local loginservice = tonumber(...)
local server = {}
local users = {}
local username_map = {}
local internal_id = 0
-- login server disallow multi login, so login_handler never be reentry
-- call by login ... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/emerald_quiche.lua | 3 | 1284 | -----------------------------------------
-- ID: 5171
-- Item: emerald_quiche
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Agility 1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 32 | 1308 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
amirf2020/nod32 | plugins/time.lua | 94 | 3004 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
arabi373/nod32bot | plugins/time.lua | 94 | 3004 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/master_golem.lua | 2 | 1070 | registerNpc(163, {
walk_speed = 320,
run_speed = 700,
scale = 310,
r_weapon = 0,
l_weapon = 0,
level = 84,
hp = 181,
attack = 470,
hit = 260,
def = 266,
res = 216,
avoid ... | apache-2.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_kotor_repeaten_1/shared.lua | 1 | 2936 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Repeating Blaster T1"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.HoldType = "ar2"
SWEP.Base = "tfa_swsft_base_servius"
SWEP.Category = "TFA Star Wars"... | apache-2.0 |
metarow/metarow_lua | specs/metarow/controller_spec.lua | 1 | 2138 | require"specs.spec_helper"
local simple = require"lib.loop.simple"
local Stack = require"lib.metarow.Stack"
local controller = require"lib.metarow.controller"
describe( "basic functions", function( )
it( "has functions", function( )
assert.is_true( type( controller.display ) == "function" )
assert.is_true(... | mit |
RavenX8/osIROSE-new | scripts/npcs/ai/[sikuku_resident]_shilma.lua | 2 | 1065 | registerNpc(1261, {
walk_speed = 0,
run_speed = 0,
scale = 120,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 36 | 1569 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wind... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 17 | 5028 | -----------------------------------
-- 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("scri... | gpl-3.0 |
premake/premake-core | binmodules/luasocket/test/testclnt.lua | 20 | 22799 | local socket = require"socket"
host = host or "localhost"
port = port or "8383"
function printf(...)
io.stderr:write(string.format(...))
end
function pass(...)
printf(...)
io.stderr:write("\n")
end
function fail(...)
io.stderr:write("ERROR: ")
printf(...)
io.stderr:write("!\n")
os.exit()... | bsd-3-clause |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Aht_Urhgan_Whitegate/npcs/Naja_Salaheem.lua | 2 | 3581 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Naja Salaheem
-- Type: Standard NPC
-- @zone: 50
-- @pos: 22.700 -8.804 -45.591
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] ... | gpl-3.0 |
mamaddeveloper/inviterssss | plugins/spammer.lua | 4 | 299742 | do
function run(msg, matches)
return " Mr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜... | gpl-2.0 |
Cokemonkey11/WurstScript | Wurstpack/findpath.lua | 3 | 1033 | print "Grimoire 1.5 5/4/2008"
grimregpath = "Software\\Grimoire"
key = grimregpath
val = "War3InstallPath"
path = grim.getregpair(key,val)
-- uncomment to force path
--path = "C:\\Warcraft III"
if not grim.exists(path.."\\worldedit.exe") then
val = "InstallPathX"
path = grim.getregpair(key,val)
end
if not grim.ex... | apache-2.0 |
zhaoxx063/luci | applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua | 56 | 3828 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")),
translate("UPnP allows clients in the local network to automatically configure the... | apache-2.0 |
Fir3element/tfs11 | data/migrations/8.lua | 57 | 3350 | function onUpdateDatabase()
print("> Updating database to version 9 (global inbox)")
db.query("CREATE TABLE IF NOT EXISTS `player_inboxitems` (`player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` smallint(6) NOT NULL, `count` smallint(5) NOT NULL DEFAULT '0', `attribute... | gpl-2.0 |
comedinha/New-Poke-Lite | data/npc/lib/npc.lua | 21 | 3182 | -- Including the Advanced NPC System
dofile('data/npc/lib/npcsystem/npcsystem.lua')
function msgcontains(message, keyword)
local message, keyword = message:lower(), keyword:lower()
if message == keyword then
return true
end
return message:find(keyword) and not message:find('(%w+)' .. keyword)
end
function doNp... | gpl-2.0 |
suilteam/suil | tools/swept/sys/scripter.lua | 1 | 3441 | local function applyDefaults(to, defaults)
for key,value in pairs(defaults) do
if not to[key] then to[key] = value end
end
end
local Scripter = setmetatable({
startScript = function(this)
this:cmds(("#!%s %s"):format(this.shbang, this.shbangargs))
this:cmds(('# file: %s'):format(this.fname))
this:... | mit |
chewi/Aquaria | files/scripts/entities/breakablecommon.lua | 5 | 3492 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
RyanSquared/lua-http | http/h1_reason_phrases.lua | 2 | 2097 | -- This list should be kept in sync with IANA.
-- http://www.iana.org/assignments/http-status-codes
local reason_phrases = setmetatable({
["100"] = "Continue";
["101"] = "Switching Protocols";
["102"] = "Processing";
["200"] = "OK";
["201"] = "Created";
["202"] = "Accepted";
["203"] = "Non-Authoritative Inform... | mit |
atlesp/lightroom-integration | src/main/resources/export/ExportTask.lua | 2 | 6180 | -- Main export script
-- Config
local configurationManager = require 'ConfigurationManager'
local Config = configurationManager.getConfig()
-- Lightroom API
local LrPathUtils = import 'LrPathUtils'
local LrFileUtils = import 'LrFileUtils'
local LrErrors = import 'LrErrors'
local LrDialogs = import 'LrDialogs'
local L... | gpl-3.0 |
oratory/wago.io | backend/api/lua/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 38 | 6512 | --[[-----------------------------------------------------------------------------
Keybinding Widget
Set Keybindings in the Config UI.
-------------------------------------------------------------------------------]]
local Type, Version = "Keybinding", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | mit |
chewi/Aquaria | files/scripts/entities/sunkenmom.lua | 5 | 7420 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
chewi/Aquaria | files/scripts/entities/upsidedownjelly.lua | 6 | 6495 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
zhaoxx063/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 29 | 3928 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local util = require "nixio.util"
local has_fscheck = fs.access("/usr/sbin/e2fsck")
local block = io.popen("block info", "r")
local ln, dev, devices = nil, nil, {}
repeat
ln =... | apache-2.0 |
ld-test/hotswap-ev | src/hotswap/ev.lua | 11 | 1130 | local posix = require "posix"
local ev = require "ev"
local xxhash = require "xxhash"
local Hotswap = getmetatable (require "hotswap")
local Ev = {}
function Ev.new (t)
return Hotswap.new {
new = Ev.new,
observe = Ev.observe,
loop = t and t.loop or ev.Loop.default,
observed = {... | mit |
robertbrook/lib | pl/config.lua | 21 | 6527 | --- Reads configuration files into a Lua table.
-- Understands INI files, classic Unix config files, and simple
-- delimited columns of values. See @{06-data.md.Reading_Configuration_Files|the Guide}
--
-- # test.config
-- # Read timeout in seconds
-- read.timeout=10
-- # Write timeout in seconds
-- wri... | bsd-3-clause |
flamewing/sonic-gens-hud | sonic/common/boss-hud.lua | 1 | 9701 | --------------------------------------------------------------------------------
-- This file is part of the Lua HUD for TASing Sega Genesis Sonic games.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free ... | lgpl-3.0 |
rickyHong/dptorchLib | postgres/earlystopper.lua | 2 | 1857 | ------------------------------------------------------------------------
--[[ PGEarlyStopper ]]--
-- Observer, EarlyStopper
-- Maintains a postgreSQL table monitoring the epochs and errors of
-- successive minima.
------------------------------------------------------------------------
local PGEarlyStopper, parent = t... | bsd-3-clause |
team-smart/smart_team | plugins/lock_emoji.lua | 1 | 2300 | --[[
🔱➖➖➖➖➖➖➖➖➖➖➖➖➖➖🔱
#:[[
#For info file
#Developer :
#JOker < @lua_3 >
#JoZef < @jozef3 >
#our channel: @Smart_Team
#File type : (منع السمايلات)
🔱➖➖➖➖➖➖➖➖➖➖➖➖➖➖🔱
—]]
local function run(msg)
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['emoji'] == 'yes' then
... | gpl-2.0 |
tkdrob/Battle-Tag | Packages/Liquidator/Data/Script/Lua/UALiquidator.UIPlayerSlot.lua | 1 | 3658 |
--[[--------------------------------------------------------------------------
--
-- File: UALiquidator.UIPlayerSlot.lua
-- Copyright (c) Ubisoft Entertainment. All rights reserved.
--
-- Project: Ubitoys.Tag
-- Date: Novmber 18, 2010
--
-------------------------... | mit |
aspiraboo/kappa | data/talkactions/scripts/create_item.lua | 24 | 1147 | function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local split = param:split(",")
local itemType = ItemType(split[1])
if itemType:getId() == 0 then
itemType = ItemType(tonumber(split[1]))
if... | gpl-2.0 |
jiangzhw/QSanguosha | extension-doc/4-OtherSkill.lua | 7 | 3508 | --技能详解4:其他技能
--距离技(sgs.CreateDistanceSkill)
--顾名思义,修改自己与其他玩家的距离用的,可以加也可以减。
--国战中只有马术和飞影用到了距离技
--注意距离技一经声明全场生效,即使不附加给玩家
--锁定与单一玩家的距离不用距离技,用setFixedDistance
--国战中同名的距离技也要区分开
--马术实现:
function sgs.CreateMashuSkill(name) --创建马术技能,在CreateDistanceSkill函数基础上建立的函数,啦啦版中的CreateFakeMoveSkill就是这样实现的
local mashu_skill = {}
mash... | gpl-3.0 |
adonaac/yaoui | examples/anime/yaoui/dialogs/winapi/colorchooser.lua | 4 | 1685 |
--proc/colorchooser: color chooser dialog.
--Written by Cosmin Apreutesei. Public Domain.
local yui_path = (...):match('(.-)[^%.]+$')
setfenv(1, require(yui_path:sub(1, -2)))
require(yui_path .. 'comdlg')
ffi.cdef[[
typedef UINT_PTR (__stdcall *LPCCHOOKPROC)(HWND, UINT, WPARAM, LPARAM);
typedef struct tagCHOOSECOLO... | mit |
resistor58/deaths-gmod-server | SCars/lua/weapons/gmod_tool/stools/carhydraulic.lua | 1 | 3201 |
TOOL.Category = "Sakarias88 Cars"
TOOL.Name = "#Hydraulics"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.ClientConVar = {
SuspensionAddHeight = "0",
Active = "0",
}
if CLIENT then
language.Add( "Tool_CarHydraulic_SuspensionAddHeight", "Suspension Add Height" )
language.Add( "Tool_CarHydrau... | gpl-3.0 |
rjpcomputing/MinimalOrbit | api/init.lua | 1 | 2666 | -- -----------------------------------------------------------------------------
-- Main entry point for the REST Api.
--
-- Author: R. Pusztai <rpusztai@gmail.com>
-- Date: 01/14/2015
-- -----------------------------------------------------------------------------
local orbit = require( "orbit" )
local model = require... | mit |
robertbrook/lib | feedparser/url.lua | 2 | 9106 | --[[
Copyright 2004-2007 Diego Nehab.
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,... | bsd-3-clause |
amirik22/uzzbot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
maxmax1/fooniks | resources/admin/server/admin_wizard.lua | 2 | 3542 | local ADMIN_GROUP = "Admin"
local MAX_PASSWORD_CHARS = 30
local g_console = getElementsByType"console"[1]
local g_inWizard,g_wizardCR,g_pattern,g_inputIgnore
function aStartWizard ()
--Check if they have any admins
for i,object in ipairs(aclGroupListObjects ( aclGetGroup(ADMIN_GROUP) )) do
if string.find(o... | gpl-3.0 |
resistor58/deaths-gmod-server | Mad Cows Weapons/lua/weapons/weapon_mad_magnade/shared.lua | 1 | 8214 | // Variables that are used on both client and server
SWEP.Base = "weapon_mad_base"
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/weapons/v_magnade.mdl"
SWEP.WorldModel = "models/weapons/w_magnade.mdl"
SWEP.Spawnable = false
SWEP.AdminSpawnable = true
SWEP.Primary.Recoil = 5
SWEP.Prima... | gpl-3.0 |
mamadtnt/bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
milos-korenciak/heroku-buildpack-tex | buildpack/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/phylogenetics/SokalMichener1958.lua | 3 | 8625 | -- Copyright 2013 by Sarah Mäusle and Till Tantau
--
-- This file may be distributed an/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/graphd... | mit |
cyrillePrigent/kmod-ng | umod/modules/first_blood.lua | 1 | 2202 | -- First blood
-- From kmod script.
-- Global var
firstBlood = {
-- First blood sound status.
["enabledSound"] = tonumber(et.trap_Cvar_Get("u_fb_enable_sound")),
-- First blood sound file.
["sound"] = et.trap_Cvar_Get("u_fb_sound"),
-- First blood message content.
["message"] = et.trap_Cvar_Ge... | gpl-2.0 |
FrankZisko/likwid | src/applications/likwid-memsweeper.lua | 10 | 2687 | #!<PREFIX>/bin/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-memsweeper.lua
*
* Description: An application to clean up NUMA memory domains.
*
* Version: <VERSION>
* Released: <DATE>
*
* Author: Th... | gpl-3.0 |
Nottinghster/OTServ_SVN-0.6.4 | src/data/talkactions/scripts/teleportto.lua | 2 | 1648 | function onSay(cid, words, param)
if(param == "") then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need to type the parameter.")
return false
end
local destPos = getWaypointPositionByName(param)
local creature = getCreatureByName(param)
local tile = string.explode(param, ",")
local pos =... | gpl-2.0 |
chewi/Aquaria | files/scripts/entities/collectiblemithalaspot.lua | 6 | 1301 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
cyrillePrigent/kmod-ng | umod/command/client/admins.lua | 1 | 1662 | -- Display connected admins list in player console.
-- From kmod script.
-- Require : admins module
-- params is parameters passed from et_ClientCommand function.
function execute_command(params)
params.displayInConsole = true
if getAdminLevel(params.clientNum) >= 2 then
printCmdMsg(
param... | gpl-2.0 |
mengz0/amqp | logger.lua | 1 | 1346 | --
-- Copyright (C) 2016 Meng Zhang @ Yottaa,Inc
--
-- logger
--
module("logger",package.seeall)
local logger = {}
-- logging scaffold
local log = nil
if _G.ngx and _G.ngx.log then
log = ngx.log
else
log = print
end
-- logging level for print
local ERR = 4
local INFO = 7
local DEBUG = 8
-- ngx.log requir... | apache-2.0 |
DEVN0VAR/N0VAR-V2 | plugins/tahaj20.lua | 1 | 1122 |
do
function run(msg, matches)
local NOVAR = {'} انـۣۛـۣۛي طـۣۣۛـۣۂه تفۣۛـ﴿ ٰ@DEV_NOVAR ﴾ۣۣۙــضلۭۢ حيۣۣۙــہٰۭۢاتي ۦ❀ $️','✾❣هـ﴿😍﴾ـا بــعد كـ﴿ @DEV_NOVAR ﴾ـلبي اامـ﴿👏﴾ـرنـ﴿💃﴾ـْي❣✾️','بٌٍـٌِـٍٍّّــًٍ؏ـٌٍـًٌٍٍـٌٍــًٌٍد ؏ـۣۛمـۣۛـ﴿اٰنـۣۣۛـۣـہتۭۢ﴾ۣۣۙــہريۭۢ☻⇣','✬يـًًٍـًًٍٍـًًٍ❊ـًًٍـًًًًًٍٍٍـًًًٍٍ❦ًًٍـروح✬🌹طــ✬... | gpl-2.0 |
Aico/mudlet | src/old_mudlet-lua/lua/geyser/GeyserMiniConsole.lua | 6 | 4632 | --------------------------------------
-- --
-- The Geyser Layout Manager by guy --
-- --
--------------------------------------
--- Represents a miniconsole primitive
-- @class table
-- @name Geyser.MiniConsole
-- @field wrapAt Where line wrapping occu... | gpl-2.0 |
chewi/Aquaria | files/scripts/entities/triffle.lua | 6 | 3133 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
TestMaster12/Dynamic | plugins/chat.lua | 28 | 1195 | local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "و علی... | gpl-2.0 |
punisherbot/hh | plugins/chat.lua | 28 | 1195 | local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "و علی... | gpl-2.0 |
NogsIoT/Nogs-IDE | Templates/Projects/Default/socket/http.lua | 1 | 12333 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
---------------------------------------------------------------------... | gpl-2.0 |
comedinha/New-Poke-Lite | data/creaturescripts/scripts/playerdeath.lua | 32 | 3253 | local deathListEnabled = true
local maxDeathRecords = 5
function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
local playerId = player:getId()
if nextUseStaminaTime[playerId] ~= nil then
nextUseStaminaTime[playerId] = nil
end
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, ... | gpl-2.0 |
resistor58/deaths-gmod-server | SCars/lua/entities/sent_Sakarias_Car_Sabre/init.lua | 1 | 6160 | --Copyright (c) 2010 Sakarias Johansson
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
--[[
//Models
resource.AddFile( "models/sabregt_sep.mdl" )
resource.AddFile( "models/sabregt_wheel.mdl" )
//Materials
resource.AddFile( "materials/VGUI/entities/sent_Sakarias_Car_Sabre.vtf" ... | gpl-3.0 |
Nottinghster/OTServ_SVN-0.6.4 | src/data/game_classes/calculator.lua | 4 | 2506 | --[[
Tibia Calculator Class 0.1.1
Nostradamus
OBS: This is just a helpful library. If you feel that you need these functions, add the following line to global.lua:
dofile(getDataDir() .. "game_classes/calculator.lua")
--]]
-- Global consts
MAGES = 1
PALADINS = 2
KNIGHTS = 3
ROOKERS = 4
Calculator = {}
Calculator.__i... | gpl-2.0 |
chewi/Aquaria | files/scripts/maps/node_enter_forestspritecave.lua | 6 | 1129 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
fiskio/lstm-char-cnn | model/LSTMTDNN.lua | 1 | 4853 | local LSTMTDNN = {}
local ok, cunn = pcall(require, 'fbcunn')
if not ok then
LookupTable = nn.LookupTable
else
LookupTable = fbcunn.LookupTableGPU
end
function LSTMTDNN.lstmtdnn(rnn_size, n, dropout, word_vocab_size, word_vec_size, char_vocab_size, char_vec_size,
feature_maps, kernels, length, use_words, use... | mit |
chewi/Aquaria | files/scripts/maps/_unused/node_prologue.lua | 6 | 1881 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
maxmax1/fooniks | resources/phoenix_Pockets/pockets-server.lua | 2 | 11191 | items = { };
pockets = { };
max_items = 0;
function displayLoadedRes( res )
local ret = RegisterItems( );
max_items = tonumber( get( "#NUM_POCKETS" ) ) + ret;
outputDebugString( "Max Items is: " .. max_items );
PocketsSafe();
end
addEventHandler( "onResourceStart", getResourceRootElement( getResou... | gpl-3.0 |
RobertZenz/minetest-australopithecus-utils | mods/utils/textureutil.lua | 2 | 3641 | --[[
Copyright (c) 2015, Robert 'Bobby' Zenz
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | bsd-2-clause |
Salada/slua | build/luajit-2.0.4/dynasm/dasm_mips.lua | 120 | 28080 | ------------------------------------------------------------------------------
-- DynASM MIPS module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _i... | mit |
resistor58/deaths-gmod-server | wire/lua/entities/gmod_wire_keyboard/cl_init.lua | 1 | 2312 | include('shared.lua')
include("remap.lua")
local Wire_Keyboard_Remap = Wire_Keyboard_Remap
local KeyEvents = {}
local function GetRemappedKey( key )
if (!key or key == 0) then return 0 end
local current = Wire_Keyboard_Remap[GetConVarString("wire_keyboard_layout")]
if (!current) then return "" end
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.