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/iw-roststock-flat03-o00-o00-o00.lua
1
3593
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0018-p0016-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
strukturag/vlc
share/lua/playlist/vimeo.lua
65
3213
--[[ $Id$ Copyright © 2009-2013 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) François Revol (revol@free.fr) Pierre Ynard 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 S...
gpl-2.0
Invertika/data
scripts/maps/ow-p0015-n0016-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
tehran980/Telehsn
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
Invertika/data
scripts/maps/ow-p0007-p0010-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
remakeelectric/luci
build/luadoc/luadoc/util.lua
32
5859
------------------------------------------------------------------------------- -- General utilities. -- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local posix = require "nixio.fs" local type, table, string, io, as...
apache-2.0
teleofis/OpenWRT
feeds/luci/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua
61
1072
-- Copyright 2009 Daniel Dickinson -- Licensed to the public under the Apache License 2.0. require("luci.controller.luci_diag.devinfo_common") m = Map("luci_devinfo", translate("SIP Device Scanning Configuration"), translate("Configure scanning for supported SIP devices on specified networks. Decreasing \'Timeout\', ...
gpl-2.0
GoogleFrog/Zero-K
units/vehdisable.lua
2
5593
unitDef = { unitname = [[vehdisable]], name = [[Dominatrix]], description = [[Electronic Warfare Vehicle]], acceleration = 0.0444, brakeRate = 0.0385, buildCostEnergy = 420, buildCostMetal = 420, builder = false, buildPic ...
gpl-2.0
Invertika/data
scripts/maps/ow-n0019-p0009-o0000.lua
1
1403
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
dvdvideo1234/wire
lua/wire/stools/output.lua
8
1075
WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" ) WireToolSetup.open( "output", "Numpad Output", "gmod_wire_output", nil, "Numpad Outputs" ) if CLIENT then language.Add( "Tool.wire_output.name", "Output Tool (Wire)" ) language.Add( "Tool.wire_output.desc", "Spawns an output for use with the wire syst...
apache-2.0
chuenlungwang/skynet
lualib/socketchannel.lua
1
17385
local skynet = require "skynet" local socket = require "socket" local socketdriver = require "socketdriver" -- channel support auto reconnect , and capture socket error in request/response transaction -- { host = "", port = , auth = function(so) , response = function(so) session, data } local socket_channel = {} loca...
mit
hackpascal/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
xDShot/csgo_knives_sweps
lua/weapons/csgo_flip_lore.lua
1
2401
if not file.Exists( "weapons/csgo_baseknife.lua", "LUA" ) then SWEP.Spawnable = false print( "csgo_flip_lore 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_BASECLA...
mit
Invertika/data
scripts/maps/ow-p0025-p0014-o0000.lua
1
1401
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
teleofis/OpenWRT
feeds/luci/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
68
7091
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ip = require "luci.ip" local fs = require "nixio.fs" if arg[1] then mp = Map("olsrd", translate("OLSR - Plugins")) p = mp:section(TypedSection, "Load...
gpl-2.0
walker020/Tele-inviter
plugins/stats.lua
236
3989
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
luvitrocks/ludash
test/test-ludash-collections.lua
1
4387
require('luvit-test/helper') local _ = require('../lib/ludash') -- each local r = {} local arrData = {12345, 'text', { foo = 'bar' }} _.each(arrData, function (row, i) r[i] = row end) assert(#r == 3) r = {} local objData = {foo = 'bar', num = 12345} _.each(objData, function (row, i) r[i] = row end) assert(r.foo ==...
mit
zjohn4/PD2-lua-src
core/lib/managers/controller/corecontrollermanager.lua
1
23843
core:module( "CoreControllerManager" ) core:import( "CoreControllerWrapperSettings" ) core:import( "CoreControllerWrapperGamepad" ) core:import( "CoreControllerWrapperPC" ) core:import( "CoreControllerWrapperXbox360" ) core:import( "CoreControllerWrapperPS3" ) core:import( "CoreControllerWrapperDebug" ) core:import( "...
gpl-2.0
Invertika/data
scripts/maps/ow-n0018-n0011-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
remakeelectric/luci
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
AndranikMarkosyan/advschool
lib/canvas/request_throttle/increment_bucket.lua
43
1169
local cache_key = KEYS[1] local amount = tonumber(ARGV[1]) local current_time = tonumber(ARGV[2]) local outflow = tonumber(ARGV[3]) local maximum = tonumber(ARGV[4]) -- Our modified leaky bucket algorithm is explained in lib/canvas/request_throttle.rb local leak = function(count, last_touched, current_time, outflow) ...
agpl-3.0
ls-/oUF
elements/range.lua
10
3089
--[[ # Element: Range Fader Changes the opacity of a unit frame based on whether the frame's unit is in the player's range. ## Widget Range - A table containing opacity values. ## Notes Offline units are handled as if they are in range. ## Options .outsideAlpha - Opacity when the unit is out of range. Defaults t...
mit
Meoo/premake-core
src/actions/make/make_solution.lua
4
4284
-- -- make_solution.lua -- Generate a solution-level makefile. -- Copyright (c) 2002-2012 Jason Perkins and the Premake project -- local make = premake.make local solution = premake.solution local tree = premake.tree local project = premake.project -- -- Generate a GNU make "solution" makefile, with support for ...
bsd-3-clause
Invertika/data
scripts/maps/ow-n0007-p0008-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/weapons/shockrifle.lua
6
1076
local name = "commweapon_shockrifle" local weaponDef = { name = [[Shock Rifle]], areaOfEffect = 16, colormap = [[0 0 0 0 0 0 0.2 0.2 0 0 0.5 0.5 0 0 0.7 0.7 0 0 1 1 0 0 1 1]], craterBoost = 0, craterMult = 0, customParams ...
gpl-2.0
Invertika/data
scripts/maps/ow-p0002-p0004-o0000.lua
1
6061
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Meoo/premake-core
tests/actions/vstudio/cs2005/test_project_refs.lua
5
3253
-- -- tests/actions/vstudio/cs2005/test_project_refs.lua -- Test the project dependencies block of a Visual Studio 2005+ C# project. -- Copyright (c) 2012 Jason Perkins and the Premake project -- T.vstudio_cs2005_project_refs = {} local suite = T.vstudio_cs2005_project_refs local cs2005 = premake.vstudio.cs2005 -...
bsd-3-clause
tobiaswaldvogel/luci
applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_order.lua
15
1080
-- Copyright 2017 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local http = require("luci.http") local cfg = http.formvalue("cfg") local dir = http.formvalue("dir") local uci = require("luci.model.uci").cursor() local trmiface = uci:get("travelmate", "global",...
apache-2.0
nightcj/mmo
lualib/http/internal.lua
95
2613
local table = table local type = type local M = {} local LIMIT = 8192 local function chunksize(readbytes, body) while true do local f,e = body:find("\r\n",1,true) if f then return tonumber(body:sub(1,f-1),16), body:sub(e+1) end if #body > 128 then -- pervent the attacker send very long stream without ...
mit
chuenlungwang/skynet
lualib/dns.lua
23
8758
--[[ lua dns resolver library See https://github.com/xjdrew/levent/blob/master/levent/dns.lua for more detail -- resource record type: -- TYPE value and meaning -- A 1 a host address -- NS 2 an authoritative name server -- MD 3 a mail destination (Obsolete - use MX...
mit
bestofkeeperbot/yourkeeperbot
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
mendsley/premake-core
modules/vstudio/tests/cs2005/test_assembly_refs.lua
2
5881
-- -- tests/actions/vstudio/cs2005/test_assembly_refs.lua -- Test the assembly linking block of a Visual Studio 2005+ C# project. -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_cs2005_assembly_refs") local cs2005 = p.vstudio.cs2005 -- -- S...
bsd-3-clause
remakeelectric/luci
applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua
12
1137
-- Copyright 2017 Yousong Zhou <yszhou4tech@gmail.com> -- Licensed to the public under the Apache License 2.0. -- module("luci.controller.shadowsocks-libev", package.seeall) function index() entry({"admin", "services", "shadowsocks-libev"}, alias("admin", "services", "shadowsocks-libev", "instances"), _("Shadowso...
apache-2.0
AlphaStaxLLC/rackspace-monitoring-agent
tests/fixtures/init.lua
3
1458
local los = require('los') local fs = require('fs') local path = require('path') local get_static local load_fixtures = function(dir, is_json) local finder = is_json and '(.*)' or '(.*).json' -- Convert the \ to / so path.posix works if los.type() == 'win32' then dir = dir:gsub("\\", "/") end local fixt...
apache-2.0
jac8/Self
plugins/spamfuck.lua
2
106306
local function run(msg) if msg.text == "spam" and is_sudo(msg) then return [[spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! spamming! sp...
gpl-2.0
tobiaswaldvogel/luci
applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua
10
7037
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ip = require "luci.ip" local fs = require "nixio.fs" if arg[1] then mp = Map("olsrd6", translate("OLSR - Plugins")) p = mp:section(TypedSection, "Loa...
apache-2.0
jgardner1/More_Weapon_Research
data.lua
1
19390
function create_bullet_damage_upgrade(level, count) return { type = "technology", name = "bullet-damage-"..level, icon = "__base__/graphics/technology/bullet-damage.png", effects = { { type = "ammo-damage", ammo_category = "bullet", modifier = "0.4" } }, ...
gpl-2.0
bradparks/punchdrunk__love_lua_games_in_browser
examples/iyfct/main.lua
2
7570
require("table-save") require("player") require("cloud") require("train") require("tunnel") require("gorge") require("bird") require("terrain") require("menu") WIDTH = 300 HEIGHT = 100 SCALE = 3 bgcolor = {236,243,201,255} darkcolor = {2,9,4,255} TRACK_SPEED = 150 SPEED_INCREASE = 0.04 START_SPEED = 1.7 MAX_SPEED =...
mit
hackpascal/luci
modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua
14
17148
-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzdata" TZ = { { 'Africa/Abidjan', 'GMT0' }, { 'Africa/Accra', 'GMT0' }, { 'Africa/Addis Ababa', 'EAT-3' }, { 'Africa/Algiers', 'CET-1' }, { 'Africa/Asmara', 'EAT-3' }, { 'Africa/Bamako', 'GMT0' }, { 'Africa/Bangui', 'WAT-1' }, ...
apache-2.0
Invertika/data
scripts/maps/ow-n0020-n0012-o0000.lua
1
1403
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
stephen322/prosody-modules
mod_measure_cpu/mod_measure_cpu.lua
26
1075
module:set_global(); local measure = require"core.statsmanager".measure; local mt = require"util.multitable"; local get_time = require "socket".gettime; local get_clock = os.clock; local measure_cpu_now = measure("amount", "cpu.percent"); -- Current percentage local last_cpu_wall, last_cpu_clock; module:hook("stats-...
mit
Dual-Boxing/MultiBoxMaster
MultiBoxMaster/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua
2
33275
--[[ Name: LibRangeCheck-2.0 Revision: $Revision: 134 $ Author(s): mitch0 Website: http://www.wowace.com/projects/librangecheck-2-0/ Description: A range checking library based on interact distances and spell ranges Dependencies: LibStub License: Public Domain ]] --- LibRangeCheck-2.0 provides an easy way to check for...
mit
Invertika/data
scripts/maps/ow-n0017-n0023-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
MOHAMMAD-MOSAVI/ABCD
plugins/banhammer.lua
214
11956
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
Disslove77777/pppp
plugins/logger.lua
28
1214
do local function pre_process(msg) if is_chat_msg(msg) then local logtxt = os.date('%F;%T', msg.date)..';'..msg.to.title..';'..msg.to.id ..';'..(msg.from.first_name or '')..(msg.from.last_name or '') ..';@'..(msg.from.username or '')..';'..msg.from.id..';' ...
gpl-2.0
GoogleFrog/Zero-K
LuaUI/Widgets/gui_highlight_geos.lua
6
2920
function widget:GetInfo() return { name = 'Highlight Geos', desc = 'Highlights geothermal spots when in metal map view', author = 'Niobium, modified by GoogleFrog', version = '1.0', date = 'Mar, 2011', license = 'GNU GPL, v2 or later', layer = 0, enabled = true, -- loaded...
gpl-2.0
Invertika/data
scripts/maps/ow-p0012-p0004-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-p0013-p0024-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
tobiaswaldvogel/luci
modules/luci-compat/luasrc/tools/webadmin.lua
22
2326
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
windyuuy/spt
src/tools/opfile.lua
1
1421
require('lua_ext') require('lfs') local _current_file_path='$_current_file_path' function lines_in_file(name,...) return io.open(name,'r'):lines(...) end function runfile(name,env) -- return runner.runfile(name,env) name=fspath.abs_path(name,3) local f=io.open(name,'r') local content=f:read('*all')...
gpl-2.0
mortezamosavy999/mm
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
1lann/Firewolf
old/firewolf 2.4 concept.lua
5
3960
-- Variables local event_exitWebsite = "test_exitWebsiteEvent" local event_waitForLoad = "test_waitForLoadEvent" local noQuitPrefix = ":fn2:" -- -------- Override os.pullEvent local oldpullevent = os.pullEvent local oldEnv = {} local env = {} local api = {} local pullevent = function(data) while true do -- P...
mit
GoogleFrog/Zero-K
units/terraunit.lua
7
1714
unitDef = { unitname = [[terraunit]], name = [[Terraform]], description = [[Spent: 0]], acceleration = 0, brakeRate = 0, buildCostEnergy = 1000000, buildCostMetal = 1000000, builder = false, buildPic ...
gpl-2.0
Invertika/data
scripts/maps/ow-p0009-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-n0006-n0013-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
xDShot/csgo_knives_sweps
lua/weapons/csgo_flip_crimsonwebs.lua
1
2422
if not file.Exists( "weapons/csgo_baseknife.lua", "LUA" ) then SWEP.Spawnable = false print( "csgo_flip_crimsonwebs 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
Invertika/data
scripts/maps/ow-n0025-n0024-o0000.lua
1
1401
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
stephen322/prosody-modules
mod_auth_http_async/mod_auth_http_async.lua
16
1862
-- Prosody IM -- Copyright (C) 2008-2013 Matthew Wild -- Copyright (C) 2008-2013 Waqas Hussain -- Copyright (C) 2014 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local usermanager = require "core.usermanager"; local new_sasl = require...
mit
Invertika/data
scripts/maps/ow-n0019-p0004-o0000.lua
1
1403
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-selphi-timlet-ipsum-house1-o00-o00-o00.lua
1
2046
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
splay-project/splay
src/osx-installer/PKG_PAYLOAD/SPLAY/lualibs/splay/misc.lua
2
11743
--[[ 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
tickbh/tdengine_cocos2dx_demo
tdengine_ddz/src/cocos/cocos2d/DeprecatedOpenglEnum.lua
148
11934
-- This is the DeprecatedEnum DeprecatedClass = {} or DeprecatedClass _G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT _G.GL_LINE_WIDTH = gl.LINE_WIDTH _G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA _G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA _G.GL_GREEN_BITS = gl.GREEN_BITS _G.GL_STENCIL_REF = gl.STENCI...
apache-2.0
Meoo/premake-core
tests/actions/vstudio/vc200x/test_project.lua
5
4159
-- -- tests/actions/vstudio/vc200x/test_project.lua -- Validate generation of the opening <VisualStudioProject> element. -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_vs200x_project") local vc200x = premake.vstudio.vc200x -- -- Setup -- local sln, prj f...
bsd-3-clause
mendsley/premake-core
modules/gmake2/gmake2_cpp.lua
1
20936
-- -- gmake2_cpp.lua -- Generate a C/C++ project makefile. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local p = premake local gmake2 = p.modules.gmake2 gmake2.cpp = {} local cpp = gmake2.cpp local project = p.project local config = p.config local file...
bsd-3-clause
Authorjames/gcap
gcap/lua/autorun/gcap_config.lua
1
2651
/* [[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]] __ ___ __ _____ /'_ `\ /'___\ /'__`\ /\ '__`\ /\ \L\ \/\ \__//\ \L\.\_\ \ \L\ \ \ \____ \ \____\ \__/.\_\\ \ ,__/ \/___L\ \/____/\/__/\/_/ \ \ \/ /\____/ \ \_\ \_/__/ ...
mit
chandra1087/vpn989group
api_bad_requests.lua
5
4457
return { [101] = 'not enough rights to kick/unban chat member', --SUPERGROUP: bot is not admin [102] = 'user_admin_invalid', --SUPERGROUP: trying to kick an admin [103] = 'method is available for supergroup chats only', --NORMAL: trying to unban [104] = 'only creator of the group can kick administrators from the gr...
gpl-2.0
zjohn4/PD2-lua-src
core/lib/managers/menu/reference_renderer/coremenunodegui.lua
1
23919
core:module("CoreMenuNodeGui") core:import( "CoreUnit" ) ----------------------------------------------------------- -- A gui class representing a menu node. Used by Renderer NodeGui = NodeGui or class() function NodeGui:init( node, layer, parameters ) self.node = node self.name = node:parameters().name self...
gpl-2.0
hackpascal/luci
applications/luci-app-pbx/luasrc/model/cbi/pbx.lua
146
4360
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
apache-2.0
GoogleFrog/Zero-K
units/corllt.lua
1
6593
unitDef = { unitname = [[corllt]], name = [[Lotus]], description = [[Light Laser Tower]], acceleration = 0, brakeRate = 0, buildAngle = 32768, buildCostEnergy = 90, build...
gpl-2.0
Invertika/data
scripts/maps/ow-p0002-p0008-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-p0011-p0023-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
matortheeternal/fractal-miner
fractal_helpers/helpers.lua
1
2274
-- ####################################################### -- -- HELPER FUNCTIONS -- -- Prints message if DEBUG is true function debug_message(DEBUG, message) if DEBUG then print (message) end end -- Fixes buried spreading blocks such as dirt_with_snow and dirt_with_grass function fix_spreading_blocks(data, a...
mit
GoogleFrog/Zero-K
LuaUI/Widgets/unit_showallcommands_2.lua
5
8661
-- $Id$ function widget:GetInfo() return { name = "Show All Commands v2", desc = "Provide ZK Epicmenu with Command visibility options. Go to \255\90\255\90Setting/ Interface/ Command Visibility\255\255\255\255 for options.", --"Acts like CTRL-A SHIFT all the time", author = "Google Frog, msaf...
gpl-2.0
AlphaStaxLLC/rackspace-monitoring-agent
hostinfo/memory.lua
3
1396
--[[ 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
dvdvideo1234/wire
lua/entities/gmod_wire_hologram.lua
1
10499
AddCSLuaFile() DEFINE_BASECLASS("base_anim") -- NOTE: Not base_wire_entity! Simpler than that ENT.PrintName = "Wire Hologram" ENT.RenderGroup = RENDERGROUP_OPAQUE ENT.DisableDuplicator = true function ENT:SetupDataTables() self:NetworkVar( "Entity", 0, "PlayerEnt" ) end function ENT:GetPlayer() local ply = self:Get...
apache-2.0
AlphaStaxLLC/rackspace-monitoring-agent
certs.lua
4
6789
--[[ 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
Invertika/data
scripts/maps/ow-p0018-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-n0010-n0020-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
hackpascal/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool.lua
17
15378
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool", package.seeall) require("luci.statistics.datatree") require("luci.statistics.rrdtool.colors") require("luci.statistics.i18n") require("luci.model.uci") requi...
apache-2.0
Invertika/data
scripts/maps/ow-p0016-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-n0020-n0001-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-n0009-n0010-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-n0024-p0008-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
tmandry/hammerspoon
extensions/mjomatic/init.lua
4
4677
--- === hs.mjomatic === --- --- tmuxomatic-like window management local mjomatic = {} local alert = require 'hs.alert' local appfinder = require 'hs.appfinder' local screen = require 'hs.screen' local gridh local gridw local function resizetogrid(window, coords) -- alert.show(string.format('move window %q to %d...
mit
nightcj/mmo
service/cslave.lua
19
6492
local skynet = require "skynet" local socket = require "socket" require "skynet.manager" -- import skynet.launch, ... local table = table local slaves = {} local connect_queue = {} local globalname = {} local queryname = {} local harbor = {} local harbor_service local monitor = {} local monitor_master_set = {} local ...
mit
Invertika/data
scripts/maps/ow-p0015-p0018-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
StaymanHou/Hacking-the-Pentest-Tutor-Game
lib/LoveFrames/objects/button.lua
5
5586
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- button object local newobject = loveframes.NewObject("button", "loveframes_object_button", true) --[[-------------------...
apache-2.0
Invertika/data
scripts/maps/ow-p0009-n0006-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
JTriggerFish/protoplug
ProtoplugFiles/include/controllers/PushColors.lua
1
2584
-- Adapted from Push4Bitwig -- https://github.com/git-moss/Push4Bitwig local PushColors = {} --- PushColors.PadColors : colors for grid pads and second row ( State Control row ) -- PushColors.PadColors = { Black = 0, GreyLo = 1, GreyMd = 2, White = 3, Rose = 4, RedHi = 5, Red = 6, RedL...
mit
ugtaems/ugteam
plugins/addBy.lua
1
4753
local function pre_process(msg) if not is_mod(msg) then local username = '' local cpmadd = 'addpm'..msg.to.id local pmadd = redis:get(cpmadd) local add_lock = redis:hget('addmeminvite', msg.to.id) if add_lock == 'on' then local setadd = redis:hget('addmemset', msg.to.id) or 5 if msg.adduser t...
gpl-3.0
GoogleFrog/Zero-K
units/empiricaldpser.lua
8
1296
unitDef = { unitname = [[empiricaldpser]], name = [[Empirical DPS thing]], description = [[Shoot at it for science.]], acceleration = 0, buildCostEnergy = 30000000, buildCostMetal = 30000000, builder = false, build...
gpl-2.0
StaymanHou/Hacking-the-Pentest-Tutor-Game
mods/std/actions/nmap.lua
1
5434
require "lib.util" if Action == nil then Action = require "lib.Action" end if Outcome == nil then Outcome = require "lib.Outcome" end function avaliable_host_targets(self, observed_map) local targets = {} for _,host in ipairs(observed_map.hosts) do for _,nic in ipairs(host.network_interfaces) do targ...
apache-2.0
Invertika/data
scripts/maps/ow-n0016-p0023-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
remakeelectric/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua
68
1143
-- 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("TCPConns Plugin Configuration"), translate( "The tcpconns plugin collects informations about open tcp " .. "connections on selected ports." )) -- ...
apache-2.0
prasoc/BetterUI
Modules/Inventory/InventoryList.lua
2
22966
local TEXTURE_EQUIP_ICON = "BetterUI/Modules/CIM/Images/inv_equip.dds" local TEXTURE_EQUIP_BACKUP_ICON = "BetterUI/Modules/CIM/Images/inv_equip_backup.dds" local TEXTURE_EQUIP_SLOT_ICON = "BetterUI/Modules/CIM/Images/inv_equip_quickslot.dds" local NEW_ICON_TEXTURE = "EsoUI/Art/Miscellaneous/Gamepad/gp_icon_new.dds" lo...
mit
GoogleFrog/Zero-K
effects/lightning.lua
8
17553
-- lightningplosion -- lightningplosion160AoE -- lightningplosion_yellowbolts -- zeusmuzzle -- panther_spark -- lightningplosion_bluebolts1 -- lightningplosion_stormbolt -- zeusgroundflash -- lightningplosion_smallbolts return { ["lightningplosion"] = { bluebolts1 = { air = true, clas...
gpl-2.0
GoogleFrog/Zero-K
LuaRules/Gadgets/game_over.lua
1
14037
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
fliping/flip
lib/packet.lua
2
2883
-- -*- 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 : 19 Nov 2014 by Daniel Barney...
mit
Meoo/premake-core
tests/actions/vstudio/vc2010/test_project_configs.lua
2
2892
-- -- tests/actions/vstudio/vc2010/test_project_configs.lua -- Test the Visual Studio 2010 project configurations item group. -- Copyright (c) 2009-2014 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_vc2010_project_configs") local vc2010 = premake.vstudio.vc2010 -- -- Setup...
bsd-3-clause