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 |
|---|---|---|---|---|---|
mendsley/premake-core | src/tools/gcc.lua | 1 | 11787 | ---
-- gcc.lua
-- Provides GCC-specific configuration strings.
-- Copyright (c) 2002-2015 Jason Perkins and the Premake project
---
local p = premake
p.tools.gcc = {}
local gcc = p.tools.gcc
local project = p.project
local config = p.config
--
-- Returns list of C preprocessor flags for a configuration.
--
... | bsd-3-clause |
remakeelectric/luci | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | 2 | 6897 | -- Copyright 2014 Aedan Renner <chipdankly@gmail.com>
-- Copyright 2018 Florian Eckert <fe@dev.tdt.de>
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
arg[1] = arg[1] or ""
m5 = Map("mwan3", translatef("MWAN Interface Configuration - %s", arg[1]))
m5.redirect = dsp... | apache-2.0 |
jnhwkim/cbp | test/test.lua | 1 | 2928 | require 'nn'
require 'cunn'
local cbptest = torch.TestSuite()
local precision = 1e-5
local debug = false
function cbptest.testPsi()
local homogeneous = true
local batch = 1
local dim = 5
local S = 100
local x = torch.rand(batch,dim):cuda()
local y = torch.rand(batch,dim):cuda()
local tmp = 0
l... | bsd-3-clause |
zjohn4/PD2-lua-src | lib/units/editor/securitycameraelement.lua | 1 | 15046 | SecurityCameraUnitElement = SecurityCameraUnitElement or class( MissionElement )
SecurityCameraUnitElement.SAVE_UNIT_POSITION = false
SecurityCameraUnitElement.SAVE_UNIT_ROTATION = false
SecurityCameraUnitElement._object_original_rotations = {}
function SecurityCameraUnitElement:init( unit )
SecurityCameraUnitEleme... | gpl-2.0 |
swganh/mmoserver | data/script/TatooineNpcTest6.lua | 5 | 17085 | -- Tatooine NPC test
-- This script will not start until Zoneserver is ready.
-- This script file is a placeholder, and free to be used for any testing.
-- Start of new code
local script = LuaScriptEngine.getScriptObj();
local SE = ScriptEngine:Init();
local scriptSupport = ScriptSupport:Instance();
scriptSupport:... | gpl-3.0 |
remakeelectric/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua | 68 | 3415 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys.iptparser")
ip = luci.sys.iptparser.IptParser()
chains = { }
targets = { }
for i, rule in ipairs( ip:find() ) do
if rule.chain and rule.target then
chains[rule.chain] ... | apache-2.0 |
Invertika/data | scripts/maps/ow-p0008-n0012-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-n0018-n0017-o0000.lua | 1 | 1401 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-n0021-n0015-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-n0015-n0024-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-n0016-n0017-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-p0015-p0011-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
stephen322/prosody-modules | mod_openid/mod_openid.lua | 32 | 15176 | local usermanager = require "core.usermanager"
local httpserver = require "net.httpserver"
local jidutil = require "util.jid"
local hmac = require "hmac"
local base64 = require "util.encodings".base64
local humane = require "util.serialization".serialize
-- Configuration
local base = "openid"
local openidns = "http:... | mit |
Invertika/data | scripts/maps/ow-n0001-p0008-o0000.lua | 1 | 1401 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
remakeelectric/luci | libs/luci-lib-nixio/root/usr/lib/lua/nixio/util.lua | 179 | 5824 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
hackpascal/luci | libs/luci-lib-nixio/root/usr/lib/lua/nixio/util.lua | 179 | 5824 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
Invertika/data | scripts/maps/ow-p0020-n0014-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-n0024-n0022-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-n0015-n0002-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
ld-test/tethys | tethys2/plugins/user_manager/LDAP.lua | 2 | 3196 | module(..., package.seeall)
local oo = require "loop.simple"
local Plugin = require 'tethys2.plugins.user_manager.Plugin'
local LDAPConnect = require('tethys2.util.LDAP')
require'config'
new = oo.class({}, Plugin.class)
LDAP = new
class = new
function class:getUser(account, host, default_con)
local user = account..... | gpl-3.0 |
zjohn4/PD2-lua-src | core/lib/managers/input/coreinputsettingsreader.lua | 1 | 4692 | core:module("CoreInputSettingsReader")
core:import("CoreInputLayerDescription")
core:import("CoreInputContextDescription")
core:import("CoreInputLayoutDescription")
core:import("CoreInputDeviceLayoutDescription")
core:import("CoreInputTargetDescription")
SettingsReader = SettingsReader or class()
SettingsReader.db_ty... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0006-p0006-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-n0007-p0018-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | units/amphraider2.lua | 1 | 7086 | unitDef = {
unitname = [[amphraider2]],
name = [[Archer]],
description = [[Amphibious Raider/Riot Bot]],
acceleration = 0.2,
activateWhenBuilt = true,
brakeRate = 0.4,
buildCostEnergy = 200,
buildCostMetal = 200,
bui... | gpl-2.0 |
6520874/pipiGame | MyGame/cocos2d/external/lua/luajit/src/src/host/genminilua.lua | 73 | 11943 | ----------------------------------------------------------------------------
-- Lua script to generate a customized, minified version of Lua.
-- The resulting 'minilua' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (C) 2005-2013 Mike P... | gpl-2.0 |
matortheeternal/fractal-miner | mandelbox/init.lua | 1 | 4709 | -- Import Helpers
dofile(minetest.get_modpath("fractal_helpers").."/helpers.lua")
-- Parameters
local YWATER = -31000
local fractal_size = 4096 -- max value 62000
local base_iteration = 4 -- the iteration at which we should start placing blocks
local scale = -1.6 -- the mandelbox scale multiplier
local f... | mit |
zjohn4/PD2-lua-src | core/lib/managers/corenewsreportmanager.lua | 1 | 5080 | core:module("CoreNewsReportManager")
core:import("CoreClass")
core:import("CoreString")
core:import("CoreDebug")
NewsReportManager = NewsReportManager or CoreClass.class()
NewsReportManager.NEWS_FILE = "settings/news"
NewsReportManager.OLD_NEWS_FILE = "settings/old_news"
NewsReportManager.KEYWORDS = {
SP = " ",
TB... | gpl-2.0 |
dvdvideo1234/wire | lua/entities/gmod_wire_gpu/cl_gpuvm.lua | 3 | 84087 | --------------------------------------------------------------------------------
-- Override virtual machine functions and features
--------------------------------------------------------------------------------
local VM = {}
surface.CreateFont( "WireGPU_ErrorFont",{
font="Coolvetica",
size = 26,
weight = 200,
an... | apache-2.0 |
linxiulei/sysdig | userspace/sysdig/chisels/topcontainers_net.lua | 18 | 1073 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without e... | gpl-2.0 |
zjohn4/PD2-lua-src | lib/managers/group_ai_states/groupaistatestreet.lua | 1 | 66344 | GroupAIStateStreet = GroupAIStateStreet or class( GroupAIStateBase )
function GroupAIStateStreet:init()
GroupAIStateStreet.super.init( self )
if Network:is_server() and not self._police_upd_task_queued then
self:_queue_police_upd_task()
end
end
------------------------------------------------------------------... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0020-p0006-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-n0014-n0022-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-p0015-n0002-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
prasoc/BetterUI | lang/nl.lua | 2 | 1756 | ZO_CreateStringId("SI_BUI_INV_ITEM_ALL","Inventaris")
ZO_CreateStringId("SI_BUI_INV_ITEM_MATERIALS","Materialen")
ZO_CreateStringId("SI_BUI_INV_ITEM_QUICKSLOT","|cFF6600Verbruikbaar|r")
ZO_CreateStringId("SI_BUI_INV_ITEM_WEAPONS","Wapens")
ZO_CreateStringId("SI_BUI_INV_ITEM_APPAREL","Kleding")
ZO_CreateStringId("SI_BUI... | mit |
Invertika/data | scripts/maps/ow-p0023-n0013-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Meoo/premake-core | tests/actions/vstudio/vc2010/test_rule_vars.lua | 3 | 1978 | --
-- tests/actions/vstudio/vc2010/test_rule_vars.lua
-- Validate generation of custom rule variables at the project level.
-- Author Jason Perkins
-- Copyright (c) 2014-2015 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_rule_vars")
local vc2010 = premake.vstudio.vc2010
--
-... | bsd-3-clause |
Maui-84/seven | jobs/thf.lua | 2 | 1634 | 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 jdnc = require('jobs.dnc');
local abilities = packets.abilities;
return {
tick = fun... | apache-2.0 |
GoogleFrog/Zero-K | units/factorygunship.lua | 5 | 4568 | unitDef = {
unitname = [[factorygunship]],
name = [[Gunship Plant]],
description = [[Produces Gunships, Builds at 10 m/s]],
acceleration = 0,
brakeRate = 0,
buildCostEnergy = 600,
buildCostMe... | gpl-2.0 |
linxiulei/sysdig | userspace/sysdig/chisels/v_spy_syslog.lua | 1 | 1992 | --[[
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 |
remakeelectric/luci | protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua | 11 | 2780 | -- Copyright 2014 Nikos Mavrogiannopoulos <nmav@gnutls.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local server, username, password, cert, ca
local oc_cert_file, oc_key_file, oc_ca_file
local ifc = net:get_interface():name()
oc_cert_file = "/etc/openconnect/user-cert-"... | apache-2.0 |
gnosek/sysdig | userspace/sysdig/chisels/v_containers.lua | 3 | 4579 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
GoogleFrog/Zero-K | LuaUI/Widgets/gui_auto_engine_falsecolor.lua | 2 | 4391 | local version = "v1.0"
function widget:GetInfo()
return {
name = "Auto-toggle false color vision",
desc = version .. " provide options to automatically toggle Spring's false color vision" ..
" by detecting current active command.",
author = "Msafwan",
date = "17 July 2013",
lice... | gpl-2.0 |
MeteoricGames/pioneer | data/libs/FlightLog.lua | 1 | 6177 | -- Copyright © 2008-2014 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
--
-- Class: FlightLog
--
-- A flight log, containing the last systems and stations visited by the
-- player. Can be used by scripts to find out where the player has been
-- recent... | gpl-3.0 |
linxiulei/sysdig | userspace/sysdig/chisels/topprocs_errors.lua | 12 | 1631 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without e... | gpl-2.0 |
GoogleFrog/Zero-K | LuaUI/Widgets/map_edge_barrier.lua | 7 | 7418 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Map Edge Barrier",
version = "v0.22",
desc = "Draws a vertical grid along map edge",
... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0017-p0014-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-p0021-n0011-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-p0014-p0001-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-n0003-p0011-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-p0018-p0020-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-p0014-n0008-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
dkogan/sysdig | userspace/sysdig/chisels/topprocs_file.lua | 2 | 1167 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
splay-project/splay | applications/scribe.lua | 2 | 21972 | --[[
Lua Pastry Protocol Implementation
Copyright (C) 2007 Lorenzo Leonini - University of Neuchâtel
http://www.leonini.net
netslave [at] leonini (dot) net
--]]
--[[
NOTES:
We not only hash IP, but IP-port, like that we can even test the protocol
locally.
A node is a triplet {id (key), ip, port} lik... | gpl-3.0 |
trink/lua-cjson | tests/bench.lua | 145 | 3247 | #!/usr/bin/env lua
-- This benchmark script measures wall clock time and should be
-- run on an unloaded system.
--
-- Your Mileage May Vary.
--
-- Mark Pulford <mark@kyne.com.au>
local json_module = os.getenv("JSON_MODULE") or "cjson"
require "socket"
local json = require(json_module)
local util = require "cjson.ut... | mit |
dvdvideo1234/wire | lua/entities/gmod_wire_dynamic_button.lua | 3 | 4486 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Dynamic Button"
ENT.WireDebugName = "Dynamic Button"
function ENT:SetupDataTables()
self:NetworkVar( "Bool", 0, "On" )
end
if CLIENT then
local halo_ent, halo_blur
function ENT:Draw()
self:DoNormalDraw(true,false)
if LocalPlaye... | apache-2.0 |
GoogleFrog/Zero-K | units/commrecon1.lua | 3 | 8249 | unitDef = {
unitname = [[commrecon1]],
name = [[Recon Commander]],
description = [[High Mobility Commander, Builds at 10 m/s]],
acceleration = 0.25,
activateWhenBuilt = true,
amphibious = [[1]],
autoHeal = 5,
brakeRate = 0.45,
bu... | gpl-2.0 |
zjohn4/PD2-lua-src | core/lib/utils/dev/settingshandling.lua | 1 | 32277 | -- The EWSControlSettingSync class is created to bridge EWS controls with different kinds of settings like Skies and Posteffects
EWSControlSettingSync = EWSControlSettingSync or class()
function EWSControlSettingSync:init( ews_frame )
if ews_frame == nil then
Application:error( "EWSControlSettingSync:init(): ... | gpl-2.0 |
strukturag/vlc | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
Invertika/data | scripts/maps/iw-selphi-timlet-middlehouse-o00-o00-o00.lua | 10 | 1450 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-selphi-timlet-middlehouse-o00-o00-n01.lua | 10 | 1450 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
GoogleFrog/Zero-K | LuaRules/Gadgets/unit_carrier_drones.lua | 3 | 23484 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
Invertika/data | scripts/maps/ow-p0013-n0019-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/states/ingameaccesscamera.lua | 1 | 15111 | require "lib/states/GameState"
IngameAccessCamera = IngameAccessCamera or class( IngamePlayerBaseState )
IngameAccessCamera.GUI_SAFERECT = Idstring( "guis/access_camera_saferect" )
IngameAccessCamera.GUI_FULLSCREEN = Idstring( "guis/access_camera_fullrect" )
function IngameAccessCamera:init( game_state_machine )
Ing... | gpl-2.0 |
GoogleFrog/Zero-K | scripts/corthud.lua | 4 | 6109 | -- original bos animation by Chris Mackey
-- converted to lua by psimyn
include 'constants.lua'
local base = piece 'base'
local head = piece 'head'
local l_gun = piece 'l_gun'
local r_gun = piece 'r_gun'
local firept1 = piece 'firept1'
local r_barrel = piece 'r_barrel'
local firept2 = piece 'firept2'
local l_b... | gpl-2.0 |
tickbh/tdengine_cocos2dx_demo | tdengine_ddz/src/cocos/cocos2d/Cocos2dConstants.lua | 7 | 16474 |
cc = cc or {}
cc.SPRITE_INDEX_NOT_INITIALIZED = 0xffffffff
cc.TMX_ORIENTATION_HEX = 0x1
cc.TMX_ORIENTATION_ISO = 0x2
cc.TMX_ORIENTATION_ORTHO = 0x0
cc.Z_COMPRESSION_BZIP2 = 0x1
cc.Z_COMPRESSION_GZIP = 0x2
cc.Z_COMPRESSION_NONE = 0x3
cc.Z_COMPRESSION_ZLIB = 0x0
cc.BLEND_DST = 0x303
cc.BLEND_SRC = 0x1... | apache-2.0 |
Invertika/data | scripts/maps/ow-n0019-n0006-o0000.lua | 1 | 1401 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
MeteoricGames/pioneer | data/modules/TradeShips.lua | 1 | 39393 | -- Copyright © 2008-2014 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
local Engine = import("Engine")
local Game = import("Game")
local Space = import("Space")
local Comms = import("Comms")
local Timer = import("Timer")
local Event = import("Event")
... | gpl-3.0 |
GoogleFrog/Zero-K | effects/gundam_factory_explosion.lua | 25 | 3751 | -- factory_explosion
return {
["factory_explosion"] = {
groundflash = {
air = true,
alwaysvisible = true,
circlealpha = 0.6,
circlegrowth = 6,
flashalpha = 0.9,
flashsize = 256,
ground = true,
ttl ... | gpl-2.0 |
royalharsh/flatbuffers | samples/lua/MyGame/Sample/Weapon.lua | 17 | 1219 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: Sample
local flatbuffers = require('flatbuffers')
local Weapon = {} -- the module
local Weapon_mt = {} -- the class metatable
function Weapon.New()
local o = {}
setmetatable(o, {__index = Weapon_mt})
return o
end
functio... | apache-2.0 |
stephen322/prosody-modules | 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 |
Invertika/data | scripts/maps/ow-p0021-n0025-o0000.lua | 1 | 1401 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/ow-p0019-n0018-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
dvdvideo1234/wire | lua/wire/stools/textreceiver.lua | 8 | 3624 | WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" )
WireToolSetup.open( "textreceiver", "Text Receiver", "gmod_wire_textreceiver", nil, "Text Receivers" )
if ( CLIENT ) then
language.Add( "Tool.wire_textreceiver.name", "Text Receiver Tool (Wire)" )
language.Add( "Tool.wire_textreceiver.desc", "Spawns a... | apache-2.0 |
Invertika/data | scripts/maps/ow-n0017-n0006-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
teleofis/OpenWRT | feeds/luci/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1459 | -- 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.
local sys = require"luci.sys"
local ip = require "luci.ip"
m = Map("coovachilli")
-- tun
s1 = m:section(TypedSection, "tun")
s1.anonymous = true
s1:option(... | gpl-2.0 |
remakeelectric/luci | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1459 | -- 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.
local sys = require"luci.sys"
local ip = require "luci.ip"
m = Map("coovachilli")
-- tun
s1 = m:section(TypedSection, "tun")
s1.anonymous = true
s1:option(... | apache-2.0 |
zhityer/zhityer | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0005-n0012-o0000.lua | 1 | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
splay-project/splay | tools/scripts/planetlab_utils/splay_pl_pack/splayd_planetlab/luasocket-2.0.2/src/http.lua | 121 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $
-----------------------------------------------------------------------------
-----... | gpl-3.0 |
splay-project/splay | tools/scripts/planetlab_utils/splay_pl_pack/splayd_planetlab/lualibs/lib/socket/http.lua | 121 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $
-----------------------------------------------------------------------------
-----... | gpl-3.0 |
AlphaStaxLLC/rackspace-monitoring-agent | check/plugin.lua | 2 | 4780 | --[[
Copyright 2012 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 |
Invertika/data | scripts/maps/ow-p0011-p0022-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Meoo/premake-core | tests/_tests.lua | 1 | 5706 | return {
-- Base API tests
"test_string.lua",
"base/test_configset.lua",
"base/test_context.lua",
"base/test_criteria.lua",
"base/test_detoken.lua",
"base/test_include.lua",
"base/test_module_loader.lua",
"base/test_option.lua",
"base/test_os.lua",
"base/test_override.lua",
"base/test_path.lua",... | bsd-3-clause |
MeteoricGames/pioneer | data/libs/ui/InfoGauge.lua | 1 | 1231 | -- Copyright © 2008-2014 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
local Engine = import("Engine")
local ui = Engine.ui
local InfoGauge = {}
local c = {r = 0.0, g = 0.86, b = 1.0}
function InfoGauge.New (args)
args = args or {}
local format... | gpl-3.0 |
JTriggerFish/protoplug | ProtoplugFiles/sci/math.lua | 2 | 11198 | --------------------------------------------------------------------------------
-- Special math functions module.
--
-- Copyright (C) 2011-2014 Stefano Peluchetti. All rights reserved.
--
-- Features, documentation and more: http://www.scilua.org .
--
-- This file is part of the SciLua library, which is released under... | mit |
GoogleFrog/Zero-K | LuaRules/Configs/MetalSpots/haunteddowns.lua | 17 | 4541 | return {
spots = {
{x = 3240, z = 904, metal = 1.3},
{x = 7128, z = 4088, metal = 1.3},
{x = 3112, z = 3272, metal = 1.3},
{x = 8424, z = 4216, metal = 1.3},
{x = 4808, z = 1688, metal = 1.3},
{x = 312, z = 4888, met... | gpl-2.0 |
Invertika/data | scripts/maps/ow-n0023-p0023-o0000.lua | 1 | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n11.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n58.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n02.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-nelaro-house23-o00-o00-o00.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n77.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n59.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n81.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n70.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n14.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n20.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n66.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n19.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Invertika/data | scripts/maps/iw-ancestral-cave-o00-o00-n03.lua | 116 | 1302 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.