repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
DeinFreund/Zero-K | LuaUI/Widgets/camera_recorder.lua | 17 | 8831 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "CameraRecorder",
desc = "v0.011 Record positions of the camera to a file and repath those posi... | gpl-2.0 |
DeinFreund/Zero-K | units/damagesink.lua | 6 | 1118 | unitDef = {
unitname = [[damagesink]],
name = [[Damage Sink thing]],
description = [[Does not care if you shoot at it.]],
acceleration = 0,
autoHeal = 500000,
buildCostMetal = 10,
builder = false,
buildingGr... | gpl-2.0 |
thess/OpenWrt-luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua | 46 | 3168 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("RRDTool Plugin Configuration"),
translate(
"The rrdtool plugin stores the collected data in rrd database " ..
"files, the foundation of the diagrams... | apache-2.0 |
resetnow/premake-core | src/actions/vstudio/vs2005.lua | 7 | 3087 | --
-- actions/vstudio/vs2005.lua
-- Add support for the Visual Studio 2005 project formats.
-- Copyright (c) 2008-2015 Jason Perkins and the Premake project
--
premake.vstudio.vs2005 = {}
local p = premake
local vs2005 = p.vstudio.vs2005
local vstudio = p.vstudio
---
-- Register a command-line action for Visua... | bsd-3-clause |
AresTao/darkstar | scripts/zones/Quicksand_Caves/mobs/Princeps_IV-XLV.lua | 16 | 1428 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Princeps IV-XLV
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Quicksand_Caves/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
DeinFreund/Zero-K | LuaRules/Configs/StartBoxes/TheHunters-v3.lua | 17 | 1313 | return {
[0] = {
startpoints = {
{860,451},
},
boxes = {
{
{819,410},
{901,410},
{901,492},
{819,492},
},
},
},
[1] = {
startpoints = {
{7496,7578},
},
boxes = {
{
{7455,7537},
{7537,7537},
{7537,7619},
{7455,7619},
},
},
},
[2] = {
startpoints = ... | gpl-2.0 |
ld-test/prosody | plugins/mod_time.lua | 3 | 1335 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local st = require "util.stanza";
local datetime = require "util.datetime".datetime;
local legacy = requir... | mit |
DeinFreund/Zero-K | LuaRules/Gadgets/unit_priority.lua | 5 | 25161 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
--
-- Copyright (C) 2009.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
-----------------------------------------------------------... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Cavernous_Maw.lua | 29 | 1512 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Cavernous Maw
-- @pos 418 25 27 109
-- Teleports Players to Pashhow Marshlands [S]
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
DeinFreund/Zero-K | scripts/pw_dropfac.lua | 5 | 1466 | include "constants.lua"
local spGetUnitTeam = Spring.GetUnitTeam
--pieces
local base = piece("base")
local nano1, nano2 = piece("nano1", "nano2")
local build = piece("build")
--local vars
local nanoPieces = {nano1, nano2}
local nanoIdx = 1
local smokePiece = {base}
--opening animation
local function Open()
SetUnit... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua | 17 | 1880 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Zilart Mission 6
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems")... | gpl-3.0 |
AresTao/darkstar | scripts/globals/mobskills/Tail_Crush.lua | 25 | 1026 | ---------------------------------------------
-- Tail Crush
--
-- Description: Smashes a single target with its tail. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
u-stone/vlc | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | gpl-2.0 |
inoc603/my-vim | lua/config/explorer.lua | 1 | 1190 | local use = require("packer").use
use {
'kyazdani42/nvim-tree.lua',
requires = { 'kyazdani42/nvim-web-devicons' },
config = function()
require("nvim-tree").setup {
filters = {
custom = { '^.git' }
},
renderer = {
highlight_git = tr... | mit |
AresTao/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Raustigne.lua | 16 | 1506 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Raustigne
-- @zone 80
-- @pos 4 -2 44
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Rabao/npcs/Porter_Moogle.lua | 41 | 1509 | -----------------------------------
-- Area: Rabao
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 247
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rabao/TextIDs");
require("scripts/gl... | gpl-3.0 |
duncanc/packland | lua/denzquix/packland/formats/ags-room.lua | 1 | 39221 |
local ffi = require 'ffi'
local bit = require 'bit'
local R = require 'denzquix.packland.reader'
require 'denzquix.packland.data.ags.read'
-------------------------------------------------------------------------------
local format = {}
local reader_proto = {}
-----------------------------------------------------... | mit |
AresTao/darkstar | scripts/globals/items/anthos_xiphos.lua | 41 | 1078 | -----------------------------------------
-- ID: 17750
-- Item: Anthos Xiphos
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
DeinFreund/Zero-K | LuaRules/Gadgets/unit_terraform.lua | 1 | 130296 | -- $Id: unit_terraform.lua 4610 2009-05-12 13:03:32Z google frog $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Terraformers",
desc = "Terr... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Treasure_Coffer.lua | 17 | 1898 | -----------------------------------
-- Area:
-- NPC: Treasure Coffer
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bc... | gpl-3.0 |
AresTao/darkstar | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -205.593 -23.210 -119.670 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
hsk81/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
Raybird/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
AresTao/darkstar | scripts/zones/Garlaige_Citadel/TextIDs.lua | 7 | 1860 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6542; -- Obtained: <item>.
GIL_OBTAINED = 6543; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6545; -- Obtained... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Luck_Rune.lua | 34 | 1089 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 70.736 -37.778 149.624 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-------------------------------------
require("sc... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Lower_Jeuno/npcs/_l08.lua | 36 | 1561 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -32.897 0 -28.521
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
prosody-modules/import | mod_couchdb/couchdb/couchapi.lib.lua | 32 | 2213 |
local setmetatable = setmetatable;
local pcall = pcall;
local type = type;
local t_concat = table.concat;
local print = print;
local socket_url = require "socket.url";
local http = require "socket.http";
local ltn12 = require "ltn12";
--local json = require "json";
local json = module:require("couchdb/js... | mit |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Milazahn.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Milazahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
AresTao/darkstar | scripts/globals/spells/bluemagic/magic_fruit.lua | 18 | 1794 | -----------------------------------------
-- Spell: Magic Fruit
-- Restores HP for the target party member
-- Spell cost: 72 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1 HP+5
-- Level: 58
-- Casting Time: 3.5 seconds
-- Recast Time: 6 seconds
--
-- ... | gpl-3.0 |
Jmainguy/docker_images | prosody/prosody/lib/luarocks/rocks/luasocket/3.0rc1-1/test/ltn12test.lua | 12 | 8625 | local ltn12 = require("ltn12")
dofile("testsupport.lua")
local function format(chunk)
if chunk then
if chunk == "" then return "''"
else return string.len(chunk) end
else return "nil" end
end
local function show(name, input, output)
local sin = format(input)
local sout = format(output... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua | 36 | 1731 | -----------------------------------------
-- ID: 5202
-- Item: Dish of Spaghetti Nero Di Seppia +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------------... | gpl-3.0 |
NREL/api-umbrella | src/api-umbrella/proxy/middleware/api_key_validator.lua | 1 | 1729 | local get_user = require("api-umbrella.proxy.user_store").get
return function(settings)
-- Retrieve the API key found in the resolve_api_key middleware.
local api_key = ngx.ctx.api_key
if not api_key then
if settings and settings["disable_api_key"] then
return nil
else
return nil, "api_key_mi... | mit |
Milkyway-at-home/milkywayathome_client | nbody/tests/NBodyTesting.lua | 1 | 12977 | --
-- Copyright (C) 2011 Matthew Arsenault
--
-- This file is part of Milkway@Home.
--
-- Milkyway@Home 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
-- (at your option... | gpl-3.0 |
chanko08/Ludum-Dare-33 | lib/tiny.lua | 3 | 23223 | --[[
Copyright (c) 2015 Calvin Rose
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, s... | mit |
AresTao/darkstar | scripts/zones/AlTaieu/Zone.lua | 17 | 2407 | -----------------------------------
--
-- Zone: AlTaieu (33)
--
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/titles");
req... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/hellsteak.lua | 35 | 1725 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
---------... | gpl-3.0 |
Guard13007/LightWorld-Editor | src/lib/LoveFrames/objects/internal/scrollable/scrollarea.lua | 12 | 5719 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.scrollable.s... | mit |
prosody-modules/import | mod_bidi/mod_bidi.lua | 32 | 4894 | -- Bidirectional Server-to-Server Connections
-- http://xmpp.org/extensions/xep-0288.html
-- Copyright (C) 2013 Kim Alvefur
--
-- This file is MIT/X11 licensed.
--
local add_filter = require "util.filters".add_filter;
local st = require "util.stanza";
local jid_split = require"util.jid".prepped_split;
local core_proces... | mit |
AresTao/darkstar | scripts/zones/Uleguerand_Range/npcs/HomePoint#2.lua | 19 | 1189 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#2
-- @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 |
chanko08/Ludum-Dare-33 | systems/animation.lua | 2 | 1851 | local animation = {}
animation.system = tiny.processingSystem()
animation.system.filter = tiny.requireAll('animations')
function animation.system:process(entity, dt)
entity.current_animation:update(dt)
end
animation.renderer = tiny.processingSystem()
animation.renderer.draw = true
animation.renderer.wi... | mit |
AresTao/darkstar | scripts/zones/Bhaflau_Remnants/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Bhaflau_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil;
require("scripts/zones/Bhaflau_Remnants/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Southern_San_dOria/npcs/Raimbroy.lua | 17 | 3329 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raimbroy
-- Starts and Finishes Quest: The Sweetest Things
-- @zone 230
-- @pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
DeinFreund/Zero-K | gamedata/explosions_post.lua | 17 | 1247 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- Load CA's effects from ./effects and not ./gamedata/explosions
--
local luaFiles = VFS.DirList('effects', '*.lua', '*.tdf')
--couldn't be arsed to con... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/galette_des_rois.lua | 39 | 1322 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 1
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status");
require("scripts/zones/Bastok_Mines/Text... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Lower_Jeuno/npcs/Domenic.lua | 34 | 1998 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Domenic
-- BCNM/KSNM Teleporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/settings")... | gpl-3.0 |
DeinFreund/Zero-K | scripts/corcom_alt.lua | 16 | 8793 | include "constants.lua"
local spSetUnitShieldState = Spring.SetUnitShieldState
--------------------------------------------------------------------------------
-- pieces
--------------------------------------------------------------------------------
local torso = piece 'torso'
local lfirept = piece 'lfirept'
local... | gpl-2.0 |
AresTao/darkstar | scripts/zones/FeiYin/TextIDs.lua | 7 | 2354 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6562; -- Obtained: <item>
GIL_OBTAINED = 6563; -- Obtained <number> gil
KEYITEM_OBTAINED = 6565; -- Obtain... | gpl-3.0 |
DeinFreund/Zero-K | units/cloakskirm.lua | 1 | 3804 | unitDef = {
unitname = [[cloakskirm]],
name = [[Ronin]],
description = [[Skirmisher Bot (Direct-Fire)]],
acceleration = 0.3,
brakeRate = 0.2,
buildCostMetal = 90,
buildPic = [[cloakskirm.png]],
canGuard ... | gpl-2.0 |
ld-test/prosody | util/prosodyctl.lua | 1 | 6365 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local config = require "core.configmanager";
local encodings = require "util.encodings";
local stringprep... | mit |
roboxt/fik | plugins/Badwords.lua | 8 | 2478 | local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local function list_variablesbad(msg)
local hash... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Metalworks/Zone.lua | 28 | 1683 | -----------------------------------
--
-- Zone: Metalworks (237)
--
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/globals/settings");
requi... | gpl-3.0 |
openium/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 50 | 4887 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local nw = require "luci.model.network"
local fw = require "luci.model.firewall"
local uci = require "luci.model.uci".cursor()
local http = require "luci.http"
local iw = lu... | gpl-3.0 |
DeinFreund/Zero-K | LuaUI/Widgets/api_cluster_detection.lua | 17 | 26408 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Cluster Detection",
desc = "Unit cluster detection API",
author = "msafwan",
date ... | gpl-2.0 |
small-Wood/FlappyBird | runtime/linux/Resources/src/main.lua | 3 | 1713 |
-- cclog
cclog = function(...)
print(string.format(...))
end
-- for CCLuaEngine traceback
function __G__TRACKBACK__(msg)
cclog("----------------------------------------")
cclog("LUA ERROR: " .. tostring(msg) .. "\n")
cclog(debug.traceback())
cclog("----------------------------------------")
end
-... | gpl-2.0 |
AresTao/darkstar | scripts/globals/spells/huton_san.lua | 17 | 1612 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----... | gpl-3.0 |
ld-test/prosody | tools/migration/migrator/prosody_sql.lua | 3 | 6351 |
local assert = assert;
local have_DBI, DBI = pcall(require,"DBI");
local print = print;
local type = type;
local next = next;
local pairs = pairs;
local t_sort = table.sort;
local json = require "util.json";
local mtools = require "migrator.mtools";
local tostring = tostring;
local tonumber = tonumber;
if not have_DB... | mit |
NeoRaider/luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua | 47 | 3729 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local username, password, ac, service
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
username = section:taboption("gener... | apache-2.0 |
DIVIY/TG-Bot | data/config.lua | 1 | 1319 | --DIVIY_IQ--
do local _ = {
about_text = "🚩Welcome to TH3BOSS V6 For more information Subscribe to the channel @llDEV1lln\n https://github.com/moody2020/TH3BOSS\n\n🚩Dev @TH3BOSS\n\n🚩 Dev Bot @ll60Kllbot\n\n 🚩channel @llDEV1ll",
enabled_plugins = {
"badword",
"admin",
"ingroup",
"stats",
"a... | gpl-2.0 |
prosody-modules/import | mod_listusers/mod_listusers.lua | 34 | 2522 | function module.command(args)
local action = table.remove(args, 1);
if not action then -- Default, list registered users
local data_path = CFG_DATADIR or "data";
if not pcall(require, "luarocks.loader") then
pcall(require, "luarocks.require");
end
local lfs = require "lfs";
function decode... | mit |
AresTao/darkstar | scripts/zones/Nashmau/npcs/Pipiroon.lua | 34 | 1224 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
DeinFreund/Zero-K | LuaUI/Widgets/gfx_sun_and_atmosphere.lua | 5 | 5793 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Sun and Atmosphere Handler.",
desc = "Overrides sun and atmosphere for maps with poor settings",
... | gpl-2.0 |
NeoRaider/luci | applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua | 1 | 6833 | -- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local DISP = require "luci.dispatcher"
local SYS = require "luci.sys"
local CTRL = require "luci.controller.ddns" -- this application's controller
local DDNS = require "luc... | apache-2.0 |
AresTao/darkstar | scripts/globals/mobskills/Calcifying_Deluge.lua | 25 | 1064 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
--------------... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/bowl_of_delicious_puls.lua | 35 | 1320 | -----------------------------------------
-- ID: 4533
-- Item: Bowl of Delicious Puls
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity -1
-- Vitality 3
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Bastok_Mines/npcs/Sieglinde.lua | 24 | 1809 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sieglinde
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafti... | gpl-3.0 |
AresTao/darkstar | scripts/commands/giveitem.lua | 27 | 1612 | ---------------------------------------------------------------------------------------------------
-- func: @giveitem <player> <itemId> <amount> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4>
-- desc: Gives an item to the target player.
------------------------------------------------------------------------------... | gpl-3.0 |
NREL/api-umbrella | src/api-umbrella/proxy/jobs/elasticsearch_setup.lua | 1 | 4778 | local config = require "api-umbrella.proxy.models.file_config"
local elasticsearch = require "api-umbrella.utils.elasticsearch"
local elasticsearch_templates = require "api-umbrella.proxy.elasticsearch_templates_data"
local icu_date = require "icu-date-ffi"
local interval_lock = require "api-umbrella.utils.interval_loc... | mit |
DeinFreund/Zero-K | LuaUI/Widgets/gui_chili_vote.lua | 1 | 8891 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Vote Display",
desc = "GUI for votes",
author = "KingRaptor",
date = "Ma... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua | 38 | 1045 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mhoti Pyiahrs
-- Type: Allegiance
-- @zone: 94
-- @pos 6.356 -2 26.677
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
DeinFreund/Zero-K | LuaUI/Widgets/gfx_color_blindness_correction.lua | 5 | 4004 | function widget:GetInfo()
return {
name = "Color Blindness Correction",
version = 1.0,
desc = "Corrects a screen colors for color-blinded people",
author = "ivand",
date = "2017",
license = "GPL",
layer = math.huge, --wanna draw last
enabled = true
}
end
options_path = "Se... | gpl-2.0 |
Jmainguy/docker_images | prosody/prosody/lib/prosody/modules/mod_time.lua | 4 | 1336 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local st = require "util.stanza";
local datetime = require "util.datetime".datetime;
local legacy = requi... | gpl-2.0 |
DeinFreund/Zero-K | LuaUI/Widgets/gui_persistent_build_height.lua | 1 | 12525 | function widget:GetInfo()
return {
name = "Persistent Build Height",
desc = "Persistent UI for setting Skydust height.",
author = "Google Frog",
version = "v1",
date = "7th June, 2016",
license = "GNU GPL, v2 or later",
layer = math.huge,
enabled = true,
handler = true,
... | gpl-2.0 |
AresTao/darkstar | scripts/globals/weaponskills/atonement.lua | 18 | 4766 | -----------------------------------
-- Atonement
-- TODO: This needs to be reworked, as this weapon skill does damage based on current enmity, not based on stat modifiers. http://wiki.ffxiclopedia.org/wiki/Atonement http://www.bg-wiki.com/bg/Atonement
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twof... | gpl-3.0 |
thess/OpenWrt-luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua | 68 | 16296 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
local fs = require "nixio.fs"
local util = require "luci.util"
local ip = require "luci.ip"
local has_ipip = fs.glob("/etc/mo... | apache-2.0 |
NeoRaider/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua | 68 | 16296 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
local fs = require "nixio.fs"
local util = require "luci.util"
local ip = require "luci.ip"
local has_ipip = fs.glob("/etc/mo... | apache-2.0 |
AresTao/darkstar | scripts/globals/weaponskills/burning_blade.lua | 30 | 1294 | -----------------------------------
-- Burning Blade
-- Sword weapon skill
-- Skill Level: 30
-- Desription: Deals Fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300... | gpl-3.0 |
qlee001/lua-rbtree | test.lua | 1 | 7321 | local rb = require "rbtree"
local function test_insert()
local size = 1024
local tree, err = rb.new(size)
assert(tree and not err, "new rbtree failed")
local t = {}
local index = 1
while index <= size do
local num = math.random(10240000)
if not t[num] then
local ... | mit |
ignacio/route66 | unittest/run.lua | 1 | 5116 | package.path = [[C:\LuaRocks\1.0\lua\?.lua;C:\LuaRocks\1.0\lua\?\init.lua;]] .. package.path
require "luarocks.require"
local Runner = require "siteswap.runner"
local Test = require "siteswap.test"
local event_emitter = require "luanode.event_emitter"
local Class = require "luanode.class"
local route66 = ... | mit |
AresTao/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua | 35 | 1154 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
openium/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua | 4 | 2603 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2015 OVH <OverTheBox@ovh.net>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
m = Map("network", translate("Interfaces"))
m.pageaction = false
m:section(SimpleSect... | gpl-3.0 |
thess/OpenWrt-luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua | 57 | 1951 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.processes", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
{
title = "%H: Processes",
vlabel = "Proce... | apache-2.0 |
AresTao/darkstar | scripts/zones/Port_Windurst/npcs/Pyo_Nzon.lua | 36 | 2750 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pyo Nzon
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_W... | gpl-3.0 |
AresTao/darkstar | scripts/globals/abilities/equanimity.lua | 28 | 1166 | -----------------------------------
-- Ability: Equanimity
-- Your next black magic spell will generate less enmity.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -... | gpl-3.0 |
sandrinr/XCSoar | Data/Lua/gestures.lua | 4 | 2791 | -- Gestures -------------------------------------------------------------------
xcsoar.input_event.new("gesture_U",
function(e)
xcsoar.fire_legacy_event("Zoom","in");
e:cancel();
end
)
... | gpl-2.0 |
DeinFreund/Zero-K | LuaUI/Widgets/gui_chili_crudeplayerlist.lua | 1 | 29769 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Crude Player List",
desc = "v1.327 Chili Crude Player List.",
author = "CarRepair... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/quus.lua | 18 | 1314 | -----------------------------------------
-- ID: 5793
-- Item: quus
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
DeinFreund/Zero-K | scripts/pw_wormhole.lua | 5 | 1839 | include "constants.lua"
local base = piece('base')
local panel1, panel2 = piece('pannel1', 'pannel2')
local slider1, slider2, focal1, focal2 = piece('slider1', 'slider2', 'focal1', 'focal2')
local wheel1, wheel2 = piece('wheel1', 'wheel2')
local turret, cylinder, cannon, cannonbase = piece('turret', 'cylinder', 'canon... | gpl-2.0 |
AresTao/darkstar | scripts/globals/abilities/celerity.lua | 28 | 1156 | -----------------------------------
-- Ability: Celerity
-- Reduces the casting time and the recast time of your next white magic spell by 50%.
-- Obtained: Scholar Level 25
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first.
--
-- Level |Charges |Recharge T... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Rabao/npcs/HomePoint#1.lua | 17 | 1235 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#1
-- @pos -29.276 0.001 -76.585 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint")... | gpl-3.0 |
AresTao/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/Logging_Point.lua | 29 | 1113 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/East_Ronfaure_[S]/TextIDs... | gpl-3.0 |
soroushwilson/soroush | plugins/stickermarker.lua | 28 | 2159 | local function run(msg, matches)
local text = URL.escape(matches[1])
local color = 'blue'
if matches[2] == 'red' then
color = 'red'
elseif matches[2] == 'black' then
color = 'black'
elseif matches[2] == 'blue' then
color = 'blue'
elseif matches... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Iruki-Waraki.lua | 38 | 2851 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Iruki-Waraki
-- Type: Standard NPC
-- Involved in quest: No Strings Attached
-- @pos 101.329 -6.999 -29.042 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/RuAun_Gardens/Zone.lua | 28 | 15340 | -----------------------------------
--
-- Zone: RuAun_Gardens (130)
--
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/conque... | gpl-3.0 |
AresTao/darkstar | scripts/globals/abilities/pets/frost_breath.lua | 25 | 1248 | ---------------------------------------------------
-- Frost Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCh... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p3.lua | 34 | 1082 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Notes: Entrance to Misareaux Coast
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require(... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 23 | 1306 | -----------------------------------
-- Area: Carpenters' Landing
-- Mob: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMob... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Nashmau/npcs/Leleroon.lua | 17 | 3000 | -----------------------------------
-- Area: Nashmau
-- NPC: Leleroon
-- Standard Info NPC -- Corsair SideQuests
-- @pos -14.687 0.000 25.114 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Somnolent_Rooster.lua | 34 | 1042 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Somnolent Rooster
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Northern_San_dOria/npcs/Danngogg.lua | 36 | 1427 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Danngogg
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l3.lua | 51 | 1321 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
---------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.