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 |
|---|---|---|---|---|---|
Invertika/data | scripts/maps/ow-p0014-n0020-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
AlphaStaxLLC/rackspace-monitoring-agent | tests/test-check-windows.lua | 4 | 4679 | local los = require('los')
local WindowsChecks = require('../check/windows').checks
local env = require('env')
local fixtures = require('./fixtures').checks
require('tap')(function(test)
test('check WindowsPerfOSCheck', function(expect)
local check = WindowsChecks.WindowsPerfOSCheck:new({id='foo', period=30})
... | apache-2.0 |
Android092921/farsi | plugins/inpm.lua | 1 | 3073 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
dvdvideo1234/wire | lua/entities/gmod_wire_expression2/core/unitconv.lua | 18 | 2668 | /******************************************************************************\
Unit conversion
\******************************************************************************/
/*
u - source unit
A Source Unit is 0.75 Inch long, more info here:
http://developer.valvesoftware.com/wiki/Dimensions#Map_Grid_Units:... | apache-2.0 |
BloodyKnight/nginx-openresty-windows | lua-resty-string-0.09/t/sha384.lua | 10 | 2111 | # vi:ft=
use Test::Nginx::Socket;
repeat_each(2);
plan tests => repeat_each() * (3 * blocks());
our $HttpConfig = <<'_EOC_';
#lua_code_cache off;
lua_package_path 'lib/?.lua;;';
lua_package_cpath 'lib/?.so;;';
_EOC_
no_long_string();
run_tests();
__DATA__
=== TEST 1: hello SHA-384
--- http_config ev... | bsd-2-clause |
GoogleFrog/Zero-K | LuaRules/Gadgets/ceasefire2.lua | 7 | 11753 | function gadget:GetInfo()
return {
name = "Ceasefires2",
desc = "Handles reciprocating ceasefires with a voting system.",
author = "CarRepairer",
date = "2011-06-25",
license = "GNU GPL, v2 or later",
layer = 1,
enabled = false -- loaded by default?
}
end
local... | gpl-2.0 |
AlphaStaxLLC/rackspace-monitoring-agent | hostinfo/cpu.lua | 3 | 1518 | --[[
Copyright 2015 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
teleofis/OpenWRT | feeds/luci/applications/luci-app-samba/luasrc/model/cbi/samba.lua | 56 | 2389 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("samba", translate("Network Shares"))
s = m:section(TypedSection, "samba", "Samba")
s.anonymous = true
s:tab("general", translate("General Settings"... | gpl-2.0 |
dvdvideo1234/wire | lua/wire/stools/forcer.lua | 8 | 1438 | WireToolSetup.setCategory( "Physics/Force" )
WireToolSetup.open( "forcer", "Forcer", "gmod_wire_forcer", nil, "Forcers" )
if CLIENT then
language.Add( "tool.wire_forcer.name", "Forcer Tool (Wire)" )
language.Add( "tool.wire_forcer.desc", "Spawns a forcer prop for use with the wire system." )
TOOL.Information = { { ... | apache-2.0 |
teleofis/OpenWRT | feeds/luci/modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua | 74 | 6456 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.mini.system", package.seeall)
function index()
entry({"mini", "system"}, alias("mini", "system", "index"), _("System"), 40).index = t... | gpl-2.0 |
zjohn4/PD2-lua-src | core/lib/managers/viewport/interfaces/coreenvironmentdebuginterface.lua | 1 | 1087 | core:module("CoreEnvironmentDebugInterface")
core:import("CoreClass")
EnvironmentDebugInterface = EnvironmentDebugInterface or CoreClass.class()
EnvironmentDebugInterface.DATA_PATH = nil
EnvironmentDebugInterface.SHARED = nil
----------------------------------------------------------------------------
--
-- P U ... | gpl-2.0 |
1lann/Firewolf | src/1.58/client.lua | 4 | 77100 |
--
-- Firewolf
-- Made by GravityScore and 1lann
--
-- 1.58 Wrapper
-- Rednet
local rednet = {}
rednet.CHANNEL_BROADCAST = 65535
rednet.CHANNEL_REPEAT = 65533
local tReceivedMessages = {}
local tReceivedMessageTimeouts = {}
local tHostnames = {}
function rednet.open( sModem )
if type( sModem ) ~= "stri... | mit |
Invertika/data | scripts/maps/ow-n0020-p0008-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
gnosek/sysdig | userspace/sysdig/chisels/v_procs_errors.lua | 3 | 3886 | --[[
Copyright (C) 2013-2015 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 |
splay-project/splay | applications/cyclon.lua | 2 | 3150 | --[[
Cyclon overlay protocol implementation.
Copyright (C) 2007 Lorenzo Leonini - University of Neuchâtel
http://www.splay-project.org
1. Increase by one the age of all neighbors.
2. Select neighbor Q with the highest age among all neighbors, and l - 1 other random neighbors.
3. Replace Q’s entry with a ne... | gpl-3.0 |
splay-project/splay | tools/scripts/planetlab_utils/splay_pl_pack/splayd_planetlab/lualibs/lib/socket/smtp.lua | 142 | 7961 | -----------------------------------------------------------------------------
-- SMTP client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: smtp.lua,v 1.46 2007/03/12 04:08:40 diego Exp $
-----------------------------------------------------------------------------
---------... | gpl-3.0 |
techiejohn/SimTools | RandomWeather/Lua/socket/smtp.lua | 142 | 7961 | -----------------------------------------------------------------------------
-- SMTP client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: smtp.lua,v 1.46 2007/03/12 04:08:40 diego Exp $
-----------------------------------------------------------------------------
---------... | mit |
Invertika/data | scripts/maps/ow-n0009-p0018-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | LuaRules/Configs/tactics.lua | 7 | 4522 | -- $Id: tactics.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: LuaRules/Configs/deployment.lua
-- brief: LuaRules deployment mode configuration
-- au... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0010-n0014-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
ahmadnamed/ANIMUS | plugins/invite.lua | 197 | 1336 | do
local function callbackres(extra, success, result)
--vardump(result)
local user = 'user#id'..result.peer_id
local chat = 'chat#id'..extra.chatid
local channel = 'channel#id'..extra.chatid
if is_banned(result.id, extra.chatid) then
send_large_msg(chat, 'User is banned.')
send_large_msg(c... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0015-n0017-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | LuaRules/Configs/timeslow_defs.lua | 7 | 2332 | local array = {}
------------------------
-- Config
local MAX_SLOW_FACTOR = 0.5
-- Max slow damage on a unit = MAX_SLOW_FACTOR * current health
-- Slowdown of unit = slow damage / current health
-- So MAX_SLOW_FACTOR is the limit for how much units can be slowed
local DEGRADE_TIMER = 0.5
-- Time in seconds before th... | gpl-2.0 |
GoogleFrog/Zero-K | scripts/armasp.lua | 16 | 1718 | include "constants.lua"
local base = piece 'base'
local body = piece 'body'
local land1 = piece 'land1'
local land2 = piece 'land2'
local land3 = piece 'land3'
local land4 = piece 'land4'
local radar = piece 'radar'
local nanoPieces = {radar}
local smokePiece = {base,land1,land2,land3,land4}
local function Sp... | gpl-2.0 |
Maui-84/seven | jobs/brd.lua | 1 | 8248 | require 'ffxi.recast';
local config = require('config');
local party = require('party');
local actions = require('actions');
local packets = require('packets');
local buffs = require('behaviors.buffs')
local healing = require('behaviors.healing');
local jwhm = require('jobs.whm');
local magic = require('magic');
loca... | apache-2.0 |
GoogleFrog/Zero-K | gamedata/featuredefs_post.lua | 2 | 3635 | -- $Id: featuredefs_post.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: featuredefs_post.lua
-- brief: featureDef post processing
-- author: Dave Ro... | gpl-2.0 |
GoogleFrog/Zero-K | effects/teleporter.lua | 17 | 8440 | -- teleport_out
-- teleport_in
-- teleport_progress
return {
["teleport_in"] = {
sparks = {
air = true,
class = [[CSimpleParticleSystem]],
ground = true,
water = true,
underwater = true,
properties = {
airdrag ... | gpl-2.0 |
Maui-84/seven | packets.lua | 1 | 13663 | local packets = {
out = { -- outgoing
PACKET_NPC_INTERACTION = 0x1A,
PACKET_NPC_CHOICE = 0x5B,
PACKET_IDX_UPDATE = 0x15,
PACKET_TRADE_OFFER = 0x34,
PACKET_TRADE_MENU_ITEM = 0x36,
},
inc = { -- incoming
PACKET_MENU_INFO = 0x5C,
PACKET_INCOMING_CHAT = 0x17,
PACKET_PARTY_STATUS_EFF... | apache-2.0 |
dvdvideo1234/wire | lua/entities/gmod_wire_expression2/core/e2doc.lua | 3 | 7876 | if SERVER then
--[[
Keep in mind that GMod can only write .txt files and github requires other file types, such as .md
I recommend using any kind of mass-renamer to rename the text files after using this command.
Here's a small php script that does the job
$files = glob("*.txt");
foreach( $files as $idx =>... | apache-2.0 |
metakermit/vlc | share/lua/intf/luac.lua | 116 | 2333 | --[==========================================================================[
luac.lua: lua compilation module for VLC (duplicates luac)
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0011-p0013-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
teleofis/OpenWRT | feeds/luci/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua | 59 | 5943 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.freifunk.freifunk", package.seeall)
function index()
local uci = require "luci.model.uci".cursor()
local page
-- Frontend
page = node()
page.lock = true
page.target ... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0012-p0016-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-p0019-n0021-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-n0001-p0004-o0000.lua | 1 | 1393 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | units/factoryship.lua | 7 | 3827 | unitDef = {
unitname = [[factoryship]],
name = [[Shipyard]],
description = [[Produces Ships, Builds at 10 m/s]],
acceleration = 0,
brakeRate = 0,
buildCostEnergy = 600,
buildCostMetal = 600,
builder = true,
... | gpl-2.0 |
teleofis/OpenWRT | feeds/luci/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua | 68 | 1416 | -- Copyright 2013 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local mode = section:taboption("general", ListValue, "mode", translate("Category"))
mode:value("auto", translate("Automatic"))
mode:value("external", translate("External"))
mode:va... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0024-n0012-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
xDShot/csgo_knives_sweps | lua/weapons/csgo_bayonet_freehand.lua | 1 | 2428 | if not file.Exists( "weapons/csgo_baseknife.lua", "LUA" ) then
SWEP.Spawnable = false
print( "csgo_bayonet_freehand failed to initialize: csgo_baseknife.lua not found. Did you install the main part?" )
return
end
local TTT = ( GAMEMODE_NAME == "terrortown" or cvars.Bool("csgo_knives_force_ttt", false) )
DEFINE_... | mit |
splay-project/splay | src/rpc_client/splay-get-log.lua | 1 | 4397 | #!/usr/bin/env lua
--[[
Splay Client Commands ### v1.4 ###
Copyright 2006-2011
http://www.splay-project.org
]]
--[[
This file is part of Splay.
Splay 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 Foun... | gpl-3.0 |
mendsley/premake-core | modules/codelite/tests/test_codelite_project.lua | 9 | 2295 | ---
-- codelite/tests/test_codelite_project.lua
-- Automated test suite for CodeLite project generation.
-- Copyright (c) 2015 Manu Evans and the Premake project
---
local suite = test.declare("codelite_cproj")
local p = premake
local codelite = p.modules.codelite
-------------------------------------------------... | bsd-3-clause |
AlphaStaxLLC/rackspace-monitoring-agent | protocol/virgo_connection.lua | 3 | 2820 | local msg = require('./virgo_messages')
local hostInfo = require('../hostinfo')
local check = require('../check')
local logging = require('logging')
local JSON = require('json')
local fmt = require('string').format
local AgentProtocolConnection = require('virgo/protocol/connection')
local VirgoProtocolConnection = Ag... | apache-2.0 |
dvdvideo1234/wire | lua/entities/gmod_wire_spu/init.lua | 3 | 10411 | -- Load shared/clientside stuff
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("cl_spuvm.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
DEFINE_BASECLASS("base_wire_entity")
ENT.WireDebugName = "ZSPU"
--------------------------------------------------------------------------------
WireSPU_MaxChannels = 32
--------... | apache-2.0 |
GoogleFrog/Zero-K | gamedata/planetwars/pw_unitdefgen.lua | 12 | 3630 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: pw_unitdefgen.lua
-- brief: procedural generation of unitdefs for planetwars
-- author: GoogleFrog
--
-----------------------------------... | gpl-2.0 |
tobiaswaldvogel/luci | applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua | 8 | 7189 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008-2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("tinyproxy", translate("Tinyproxy"),
translate("Tinyproxy is a small and fast non-caching HTTP(S)-Proxy"))
s = m:section(TypedSection, "tinyprox... | apache-2.0 |
GoogleFrog/Zero-K | gamedata/modularcomms/weapons/peashooter.lua | 3 | 1247 | local name = "commweapon_peashooter"
local weaponDef = {
name = [[Laser Blaster]],
areaOfEffect = 8,
beamWeapon = true,
coreThickness = 0.5,
craterBoost = 0,
craterMult = 0,
customParams = {
slot = [[5]],
muzzleEffectShot = [[cu... | gpl-2.0 |
zjohn4/PD2-lua-src | lib/units/civilians/logics/civilianlogicflee.lua | 1 | 38110 | -----------------------------------------------------------------------------
-- ************* (the glorious) FLEE LOGIC *******************
-----------------------------------------------------------------------------
CivilianLogicFlee = class( CopLogicBase )
function CivilianLogicFlee.enter( data, new_logic_name, e... | gpl-2.0 |
dvdvideo1234/wire | lua/entities/gmod_wire_turret.lua | 3 | 5109 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Turret"
ENT.WireDebugName = "Turret"
if ( CLIENT ) then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self:DrawShadow( ... | apache-2.0 |
dvdvideo1234/wire | lua/wire/stools/light.lua | 3 | 4437 | WireToolSetup.setCategory( "Visuals/Lights" )
WireToolSetup.open( "light", "Light", "gmod_wire_light", nil, "Lights" )
if CLIENT then
language.Add( "tool.wire_light.name", "Light Tool (Wire)" )
language.Add( "tool.wire_light.desc", "Spawns a Light for use with the wire system." )
language.Add( "WireLightTool_RopeLe... | apache-2.0 |
zjohn4/PD2-lua-src | core/lib/utils/dev/editor/worldholder.lua | 1 | 59645 | core:import( "CoreWorldDefinition" )
core:import( "CoreEditorUtils" )
core:import( "CoreEngineAccess" )
core:import( "CoreUnit" )
CoreOldWorldDefinition = CoreOldWorldDefinition or class() -- WorldDefinition inherits this
CoreMissionElementUnit = CoreMissionElementUnit or class() -- MissionElementUnit in WorldDefiniti... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0017-p0009-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
zjohn4/PD2-lua-src | lib/managers/infamymanager.lua | 1 | 3943 | InfamyManager = InfamyManager or class()
InfamyManager.VERSION = 1
function InfamyManager:init()
self:_setup()
end
function InfamyManager:_setup( reset )
if not Global.infamy_manager or reset then
Global.infamy_manager = {}
Global.infamy_manager.points = Application:digest_value( 0, true )
Global.infamy_manag... | gpl-2.0 |
ahmadnamed/ANIMUS | plugins/lk_emoji.lua | 2 | 2347 | --[[
$ :)
-- - ( #ANIMUS ) - --
$ :)
-- - ( @ahmadnamed ) - --
$ :)
--Channel-( @ahmadnameddd )--
$ :)
]]--
local function run(msg)
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['emoji'] == 'yes' then
if not is_momod(msg) then
delete_msg(msg.id, ok_cb, t... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0013-n0007-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | LuaRules/Configs/MetalSpots/Aberdeen6v6_Fix.lua | 17 | 3933 | return {
spots = {
{x = 11544, z = 7496, metal = 1.8931498527527},
{x = 15608, z = 6808, metal = 1.8742498159409},
{x = 15240, z = 2536, metal = 1.8746001720428},
{x = 1176, z = 2520, metal = 1.8735501766205},
{x = 12872, z = 760, metal = 1.8942002058029},
{x = 14472, z = 152, metal = 1.8738996... | gpl-2.0 |
Invertika/data | scripts/maps/iw-okitas-house-o00-o00-o00.lua | 1 | 3751 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger u... | gpl-3.0 |
zjohn4/PD2-lua-src | core/lib/utils/dev/tools/cutscene_editor/corecutscenemayaexportercurve.lua | 1 | 4151 | CoreCutsceneMayaExporterCurve = CoreCutsceneMayaExporterCurve or class()
CoreCutsceneMayaExporterCurveSet = CoreCutsceneMayaExporterCurveSet or class()
local SAMPLED_COMPONENTS = { "x", "y", "z" }
local ROTATION_ACCESS_METHODS = { x = "yaw", y = "pitch", z = "roll" }
local VALID_MAYA_NODE_TYPES = {}
for _, char in ip... | gpl-2.0 |
gnosek/sysdig | userspace/sysdig/chisels/v_spectro_all.lua | 6 | 1136 | --[[
Copyright (C) 2013-2015 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 |
ugtaems/ugteam | bot/utils.lua | 6 | 16235 | --Begin Utils.lua @titantims :)
function serialize_to_file(data, file, uglify)
file = io.open(file, 'w+')
local serialized
if not uglify then
serialized = serpent.block(data, {
comment = false,
name = '_'
})
else
serialized = serpent.dump(data)
end
file:write(serialized)
fil... | gpl-3.0 |
sdalton1/legion | bindings/lua/array_test.lua | 1 | 3762 | -- Copyright 2017 Stanford University
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agree... | apache-2.0 |
JTriggerFish/protoplug | ProtoplugFiles/include/core/stereofx.lua | 2 | 1865 | --- Use this module to create a stereo effect.
-- Example at @{classic-filter.lua}.
--
-- This module acts as a layer that conceals the @{plugin.processBlock} function,
-- manages stereo channels, and exposes the `stereoFx.Channel` prototype for you
-- define per-channel audio processing. Initialize it by calling `st... | mit |
mendsley/premake-core | modules/gmake/tests/workspace/test_group_rule.lua | 15 | 1154 | --
-- tests/actions/make/workspace/test_group_rule.lua
-- Validate generation of group rules
-- Copyright (c) 2012-2015 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("make_group_rule")
local make = p.make
--
-- Setup/teardown
--
local wks
function suite.setup()
wks = ... | bsd-3-clause |
Invertika/data | scripts/maps/ow-n0006-p0019-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
BloodyKnight/nginx-openresty-windows | LuaJIT-2.1-20150622/dynasm/dasm_arm.lua | 120 | 34598 | ------------------------------------------------------------------------------
-- DynASM ARM module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | bsd-2-clause |
strukturag/vlc | share/lua/playlist/joox.lua | 113 | 1637 | --[[
$Id$
Copyright © 2007 the VideoLAN team
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 distribut... | gpl-2.0 |
ahmadnamed/ANIMUS | ANIMUS/ANIMUS.lua | 1 | 8262 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./DevProx/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function... | gpl-2.0 |
lazlowProductions/awesomewm | theme.lua | 1 | 5281 | ---------------------------
-- Default awesome theme --
---------------------------
theme = {}
theme.font = "Ubuntu 11"
theme.bg_normal = "#222222"
theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal
theme.fg_normal =... | unlicense |
GoogleFrog/Zero-K | gamedata/resources.lua | 8 | 6159 | -- $Id: resources.lua 4609 2009-05-12 01:32:58Z carrepairer $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: resources.lua
-- brief: resources definitions
--
----------------------------... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0013-p0008-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
strukturag/vlc | share/lua/sd/metachannels.lua | 90 | 3200 | --[[
$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 |
metakermit/vlc | share/lua/sd/metachannels.lua | 90 | 3200 | --[[
$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 |
Meoo/premake-core | tests/config/test_targetinfo.lua | 3 | 5054 | --
-- tests/config/test_targetinfo.lua
-- Test the config object's build target accessor.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
local suite = test.declare("config_targetinfo")
local config = premake.config
--
-- Setup and teardown
--
local sln, prj
function suite.setup()
_ACTION... | bsd-3-clause |
USABOT6/usabot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
TheSuperAlaa/TheSuperBot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
vintonrobot/antis | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0008-p0016-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | lups/headers/vectors.lua | 14 | 2819 | -- $Id: vectors.lua 3171 2008-11-06 09:06:29Z det $
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
--
-- file: vectors.h.lua
-- brief: collection of some usefull vector fun... | gpl-2.0 |
teleofis/OpenWRT | feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua | 68 | 1310 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.colors", package.seeall)
require("luci.util")
Instance = luci.util.class()
function Instance.from_string( self, s )
return {
tonumber(s:sub(1,2), 16),
... | gpl-2.0 |
detect00r/iranspammers | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0001-n0020-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
tobiaswaldvogel/luci | applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua | 10 | 36302 | -- Copyright 2014-2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed under the Apache License, Version 2.0
local NXFS = require "nixio.fs"
local SYS = require "luci.sys"
local UTIL = require "luci.util"
local DISP = require "luci.dispatcher"
local DTYP = require "luci.cbi.datatypes"
l... | apache-2.0 |
Invertika/data | scripts/maps/ow-n0012-p0017-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | gamedata/modularcomms/functions.lua | 5 | 3781 | function lowerkeys(t)
local tn = {}
for i,v in pairs(t) do
local typ = type(i)
if type(v)=="table" then
v = lowerkeys(v)
end
if typ=="string" then
tn[i:lower()] = v
else
tn[i] = v
end
end
return tn
end
mapWeaponToCEG = {
[3] = {3,4},
[5] = {1,2},
}
function ApplyWea... | gpl-2.0 |
stephen322/prosody-modules | mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua | 32 | 9113 | -- Dovecot authentication backend for Prosody
--
-- Copyright (C) 2008-2009 Tobias Markmann
-- Copyright (C) 2010 Javier Torres
-- Copyright (C) 2010-2011 Matthew Wild
-- Copyright (C) 2010-2011 Waqas Hussain
-- Copyright (C) 2011 Kim Alvefur
--
-- Redistribution and use in source and binary forms, with or without m... | mit |
Invertika/data | scripts/maps/ow-n0021-p0015-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
seanstermonstr/test | Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/stringx.lua | 12 | 12022 | --- Python-style extended string library.
--
-- see 3.6.1 of the Python reference.
-- If you want to make these available as string methods, then say
-- `stringx.import()` to bring them into the standard `string` table.
--
-- See @{03-strings.md|the Guide}
--
-- Dependencies: `pl.utils`
-- @module pl.stringx
local util... | bsd-3-clause |
AlphaStaxLLC/rackspace-monitoring-agent | hostinfo/apache2.lua | 2 | 11504 | --[[
Copyright 2015 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
fliping/flip | lib/system-store/cli/store.lua | 2 | 1298 | -- -*- mode: lua; tab-width: 2; indent-tabs-mode: 1; st-rulers: [70] -*-
-- vim: ts=4 sw=4 ft=lua noet
---------------------------------------------------------------------
-- @author Daniel Barney <daniel@pagodabox.com>
-- @copyright 2014, Pagoda Box, Inc.
-- @doc
--
-- @end
-- Created : 4 Feb 2015 by Daniel Barney ... | mit |
BooM-amour/hedie | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
alikingambav/archer | plugins/inpm.lua | 4 | 9312 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_f... | gpl-2.0 |
LoftedSpy/ThiefsAssistant | lib/LibAddonMenu-2.0/controls/slider.lua | 6 | 9260 | --[[sliderData = {
type = "slider",
name = "My Slider", -- or string id or function returning a string
getFunc = function() return db.var end,
setFunc = function(value) db.var = value doStuff() end,
min = 0,
max = 20,
step = 1, --(optional)
clampInput = true, -- boolean, if set t... | mit |
tobiaswaldvogel/luci | modules/luci-base/luasrc/sgi/uhttpd.lua | 3 | 2325 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require "nixio.util"
require "luci.http"
require "luci.sys"
require "luci.dispatcher"
require "luci.ltn12"
function handle_request(env)
exectime = os.clock()
local renv = {
CONTENT_LENGTH = env.CONTENT_LEN... | apache-2.0 |
Invertika/data | scripts/maps/ow-n0022-p0012-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
splay-project/splay | src/rpc_client/splay-list-splayds.lua | 1 | 4518 | #!/usr/bin/env lua
--[[
Splay Client Commands ### v1.4 ###
Copyright 2006-2011
http://www.splay-project.org
]]
--[[
This file is part of Splay.
Splay 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 Foun... | gpl-3.0 |
GoogleFrog/Zero-K | scripts/puppy.lua | 1 | 7229 | local gun = piece 'gun'
local pelvis = piece 'pelvis'
local fire = piece 'fire'
local rcalf = piece 'rcalf'
local rfoot = piece 'rfoot'
local lcalf = piece 'lcalf'
local lfoot = piece 'lfoot'
local lthigh = piece 'lthigh'
local rthigh = piece 'rthigh'
include "constants.lua"
-- Signal definitions
local SIG_M... | gpl-2.0 |
splay-project/splay | src/osx-installer/PKG_PAYLOAD/SPLAY/lualibs/splay/rpcq.lua | 2 | 13491 | --[[
Splay ### v1.3 ###
Copyright 2006-2011
http://www.splay-project.org
]]
--[[
This file is part of Splay.
Splay 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 L... | gpl-3.0 |
Invertika/data | scripts/maps/ow-p0002-p0024-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-o0000-n0009-o0000.lua | 1 | 1403 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-p0006-n0010-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
splay-project/splay | src/rpc_client/splay-change-passwd.lua | 1 | 5293 | #!/usr/bin/env lua
--[[
Splay Client Commands ### v1.4 ###
Copyright 2006-2011
http://www.splay-project.org
]]
--[[
This file is part of Splay.
Splay 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 Foun... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.