commit
stringlengths
40
40
old_file
stringlengths
6
181
new_file
stringlengths
6
181
old_contents
stringlengths
448
7.17k
new_contents
stringlengths
449
7.17k
subject
stringlengths
0
450
message
stringlengths
6
4.92k
lang
stringclasses
1 value
license
stringclasses
12 values
repos
stringlengths
9
33.9k
92949416a45e4d784e0df9723ec6b7cc7da9f7bc
mod_auth_dovecot/mod_auth_dovecot.lua
mod_auth_dovecot/mod_auth_dovecot.lua
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2010 Javier Torres -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- local socket_unix = require "socket.unix"; local datamanager = require "util.datamanager"; local log = require "util.logger".init("auth_dovecot"); loc...
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2010 Javier Torres -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- local socket_unix = require "socket.unix"; local datamanager = require "util.datamanager"; local log = require "util.logger".init("auth_dovecot"); loc...
mod_auth_dovecot: Use sequential (instead of fixed) id for messages
mod_auth_dovecot: Use sequential (instead of fixed) id for messages
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
718861d80c197980fc600502e371b7e025c1362a
mods/builtin_item/init.lua
mods/builtin_item/init.lua
minetest.register_entity(":__builtin:item", { initial_properties = { hp_max = 1, physical = true, collisionbox = {-0.175, -0.175, -0.175, 0.175, 0.175, 0.175}, collide_with_objects = false, visual = "sprite", visual_size = {x=0.5, y=0.5}, textures = {""}, spritediv = {x=1, y=1}, initial_sprite_basepo...
minetest.register_entity(":__builtin:item", { initial_properties = { hp_max = 1, physical = true, collisionbox = {-0.175, -0.175, -0.175, 0.175, 0.175, 0.175}, collide_with_objects = false, visual = "sprite", visual_size = {x=0.5, y=0.5}, textures = {""}, spritediv = {x=1, y=1}, initial_sprite_basepo...
Fixed all unknown's use in builtin with a check then return
Fixed all unknown's use in builtin with a check then return
Lua
unlicense
Coethium/server-minetestforfun,paly2/minetest-minetestforfun-server,Coethium/server-minetestforfun,crabman77/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,LeMagnesium/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,Gael-de-Sailly/minetest-min...
89ba9a8391c429a3891003265f0e55de1db08358
Modules/Localization/ClientTranslator.lua
Modules/Localization/ClientTranslator.lua
--- Gets local translator for player -- @module ClientTranslator local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local LocalizationService = game:GetService("LocalizationService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Pl...
--- Gets local translator for player -- @module ClientTranslator local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local LocalizationService = game:GetService("LocalizationService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Pl...
Fix translator not loading on instant return
Fix translator not loading on instant return
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
a63d7633d12cd65e0947774c02cf81ecf9d2b8e1
protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua
protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.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 ]]-- local ma...
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.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 ]]-- local ma...
protocols/6x4: fix turning off 6ro4 advertising on all interfaces
protocols/6x4: fix turning off 6ro4 advertising on all interfaces git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@8135 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
Flexibity/luci,ThingMesh/openwrt-luci,ThingMesh/openwrt-luci,8devices/carambola2-luci,yeewang/openwrt-luci,phi-psi/luci,dtaht/cerowrt-luci-3.3,stephank/luci,8devices/carambola2-luci,vhpham80/luci,jschmidlapp/luci,ReclaimYourPrivacy/cloak-luci,ThingMesh/openwrt-luci,yeewang/openwrt-luci,eugenesan/openwrt-luci,eugenesan/...
76129e47ff9acc33888cfe1a2999cd45db6ba26a
nyagos.d/catalog/git.lua
nyagos.d/catalog/git.lua
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end share.git = {} -- setup local branch listup local branchlist = function() local gitbranches = {} local gitbranch_tmp = nyagos.eval('git for-each-ref --format="%(refname:short)" refs/heads/ 2> nul') for line in gitbranch_t...
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end share.git = {} -- setup local branch listup local branchlist = function() local gitbranches = {} local gitbranch_tmp = nyagos.eval('git for-each-ref --format="%(refname:short)" refs/heads/ 2> nul') for line in ...
Fix git.lua lf to crlf and small style treat
Fix git.lua lf to crlf and small style treat
Lua
bsd-3-clause
zetamatta/nyagos,nocd5/nyagos,tsuyoshicho/nyagos
fb4ffa06d9c6ff2f26383e23fb03c50e9a18d163
agents/monitoring/tests/net/init.lua
agents/monitoring/tests/net/init.lua
local table = require('table') local async = require('async') local ConnectionStream = require('monitoring/default/client/connection_stream').ConnectionStream local misc = require('monitoring/default/util/misc') local helper = require('../helper') local timer = require('timer') local fixtures = require('../fixtures') l...
local table = require('table') local async = require('async') local ConnectionStream = require('monitoring/default/client/connection_stream').ConnectionStream local misc = require('monitoring/default/util/misc') local helper = require('../helper') local timer = require('timer') local fixtures = require('../fixtures') l...
fixes
fixes
Lua
apache-2.0
kans/zirgo,kans/zirgo,kans/zirgo
3010a2deadb740c3e4990aa9f2d9e13a709a1c99
core/componentmanager.lua
core/componentmanager.lua
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local prosody = prosody; local log = require "util.logger".init("componentmanager"); local configmanager ...
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local prosody = prosody; local log = require "util.logger".init("componentmanager"); local configmanager ...
componentmanager: Remove FIXME
componentmanager: Remove FIXME
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
c28d97394101a193cbed7c0b01378831b60194e6
frontend/device/pocketbook/device.lua
frontend/device/pocketbook/device.lua
local Generic = require("device/generic/device") -- <= look at this file! local DEBUG = require("dbg") local function yes() return true end local PocketBook = Generic:new{ -- both the following are just for testing similar behaviour -- see ffi/framebuffer_mxcfb.lua model = "KindlePaperWhite", isKindle...
local Generic = require("device/generic/device") -- <= look at this file! local DEBUG = require("dbg") local function yes() return true end local PocketBook = Generic:new{ -- both the following are just for testing similar behaviour -- see ffi/framebuffer_mxcfb.lua model = "KindlePaperWhite", isKindle...
fix: load input driver before configuring it
fix: load input driver before configuring it
Lua
agpl-3.0
Hzj-jie/koreader,koreader/koreader,chihyang/koreader,NiLuJe/koreader,poire-z/koreader,noname007/koreader,poire-z/koreader,ashang/koreader,frankyifei/koreader,apletnev/koreader,lgeek/koreader,mwoz123/koreader,Frenzie/koreader,houqp/koreader,chrox/koreader,NickSavage/koreader,robert00s/koreader,pazos/koreader,Markismus/k...
a66cc99708aabdaa0e3c963e36dc7af850e40832
dmc_lua/lua_states_mix.lua
dmc_lua/lua_states_mix.lua
--====================================================================-- -- dmc_lua/lua_states_mix.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2013-2015 David McCuskey. All Rights Reserved. ...
--====================================================================-- -- dmc_lua/lua_states_mix.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2013-2015 David McCuskey. All Rights Reserved. ...
minor fixes
minor fixes
Lua
mit
dmccuskey/lua-states-mixin
a91c5c365b94f1b2392089d1360e742e9afa392d
lib/http.lua
lib/http.lua
local TCP = require('tcp') local Request = require('request') local Response = require('response') local HTTP_Parser = require('http_parser') local HTTP = {} function HTTP.create_server(host, port, on_connection) local server = TCP.new() server:bind(host, port) server:listen(function (err) if err then ...
local TCP = require('tcp') local Request = require('request') local Response = require('response') local HTTP_Parser = require('http_parser') local HTTP = {} function HTTP.create_server(host, port, on_connection) local server = TCP.new() server:bind(host, port) server:listen(function (err) if err then ...
Possible fix for upgrade events
Possible fix for upgrade events Change-Id: Iab1f16737880d781204918b6e431cb3045a656cd
Lua
apache-2.0
AndrewTsao/luvit,rjeli/luvit,rjeli/luvit,kaustavha/luvit,bsn069/luvit,sousoux/luvit,zhaozg/luvit,GabrielNicolasAvellaneda/luvit-upstream,sousoux/luvit,boundary/luvit,boundary/luvit,sousoux/luvit,DBarney/luvit,sousoux/luvit,GabrielNicolasAvellaneda/luvit-upstream,luvit/luvit,bsn069/luvit,zhaozg/luvit,AndrewTsao/luvit,rj...
0f949350e08df282bc2c9d2f22f56d960de65009
scheduled/mapitemreset.lua
scheduled/mapitemreset.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
fix typo
fix typo
Lua
agpl-3.0
KayMD/Illarion-Content,Illarion-eV/Illarion-Content,vilarion/Illarion-Content,Baylamon/Illarion-Content
40ec582c601a735c614bbf175be27192833941a3
configs/neovim/lua/packer-config.lua
configs/neovim/lua/packer-config.lua
local fn = vim.fn local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then packer_bootstrap = fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }) end return require("packer")...
-- clean install with -- rm -rf ~/.cache/nvim ~/.local/share/nvim ~/.local/state/nvim ~/.config/nvim/plugin local ensure_packer = function() local fn = vim.fn local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then fn.system({ ...
fix(neovim): fix ensure_packer script
fix(neovim): fix ensure_packer script also sort/update use thingies for neovim v0.8
Lua
mit
EdJoPaTo/LinuxScripts
a5940ecf4ae76c1e0ae947fb85ae97f796e3f34d
agents/monitoring/tests/fixtures/protocol/server.lua
agents/monitoring/tests/fixtures/protocol/server.lua
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local string = require('string') local math = require('math') local table = require('table') local http = require("http...
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local table = require('table') local tls = require('tls') local timer = require('timer') local string = require('string') local math = require('math') local table = require('tab...
monitoring: fixtures: server: clear interval timers
monitoring: fixtures: server: clear interval timers setup infrastructure to clear interval timers if a connection is destroyed.
Lua
apache-2.0
AlphaStaxLLC/rackspace-monitoring-agent,cp16net/virgo-base,cp16net/virgo-base,cp16net/virgo-base,christopherjwang/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,cp16net/virgo-base,virgo-agent-toolkit/rackspace-monitoring-agent,kaustavha/rackspace-monitoring-agent,kaustavha/rackspace-monitorin...
fc4ae61aaaa1899445c9c69d77e1be3fe4d4a9f8
Main/Libraries/Macaroni/Lua/5.1.4/Source/PrepareBoostBuild.lua
Main/Libraries/Macaroni/Lua/5.1.4/Source/PrepareBoostBuild.lua
require "Macaroni.IO.GeneratedFileWriter"; require "Macaroni.Model.Library"; require "Macaroni.IO.Path"; function getIncludePath() local success, path = pcall(function() return properties.lua["5.1.4"].include; end); if (not success) then error([[Could not find variable properties.lua["5.1.4"].include....
require "Macaroni.IO.GeneratedFileWriter"; require "Macaroni.Model.Library"; require "Macaroni.IO.Path"; function getIncludePath() local success, path = pcall(function() return properties.lua["5.1.4"].include; end); if (not success) then error([[Could not find variable properties.lua["5.1.4"].include....
Fixed a *very* annoying issue in the Macaroni Library for Lua.
Fixed a *very* annoying issue in the Macaroni Library for Lua.
Lua
apache-2.0
TimSimpson/Macaroni,bowlofstew/Macaroni,TimSimpson/Macaroni,TimSimpson/Macaroni,bowlofstew/Macaroni,bowlofstew/Macaroni,bowlofstew/Macaroni,bowlofstew/Macaroni,TimSimpson/Macaroni,TimSimpson/Macaroni
8fbf3c0fc4b973ff6a1f3a13113e90a4491b8717
examples/languagemodel.lua
examples/languagemodel.lua
require 'dp' --error"Work in progress: not ready for use" --[[command line arguments]]-- cmd = torch.CmdLine() cmd:text() cmd:text('Train a Language Model on BillionWords dataset using SoftmaxTree') cmd:text('Example:') cmd:text('$> th languagemodel.lua --small --batchSize 512 --momentum 0.5') cmd:text('Options:') cmd...
require 'dp' --error"Work in progress: not ready for use" --[[command line arguments]]-- cmd = torch.CmdLine() cmd:text() cmd:text('Train a Language Model on BillionWords dataset using SoftmaxTree') cmd:text('Example:') cmd:text('$> th languagemodel.lua --small --batchSize 512 --momentum 0.5') cmd:text('Options:') cmd...
Tiny dataset temp fix
Tiny dataset temp fix
Lua
bsd-3-clause
fiskio/dp,kracwarlock/dp,sagarwaghmare69/dp,eulerreich/dp,rickyHong/dptorchLib,nicholas-leonard/dp,jnhwkim/dp
ec1bca238e2ea6bca3fd641a36d2bc821e0bda95
lualib/http/httpc.lua
lualib/http/httpc.lua
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
fix: httpc.post
fix: httpc.post 调用httpc.post时,如果没有在header里面设置host时有问题
Lua
mit
sundream/skynet,firedtoad/skynet,cpascal/skynet,helling34/skynet,ag6ag/skynet,yinjun322/skynet,ludi1991/skynet,lc412/skynet,letmefly/skynet,cdd990/skynet,xjdrew/skynet,ypengju/skynet_comment,samael65535/skynet,sundream/skynet,microcai/skynet,puXiaoyi/skynet,fztcjjl/skynet,great90/skynet,icetoggle/skynet,xjdrew/skynet,z...
acf9a1a7df758a24c728625143e53ab130b2076f
src/lgi.lua
src/lgi.lua
--[[-- Base lgi bootstrapper. Author: Pavel Holejsovsky Licence: MIT --]]-- local pairs, table = pairs, table local core = require 'lgi._core' module 'lgi' -- Helper for loading gi methods used only during bootstrapping. local function getface(namespace, interface, prefix, functions) local t = {} ...
--[[-- Base lgi bootstrapper. Author: Pavel Holejsovsky Licence: MIT --]]-- local setmetatable, pairs, table = setmetatable, pairs, table local core = require 'lgi._core' module 'lgi' -- Helper for loading gi methods used only during bootstrapping. local function getface(namespace, interface, prefix, ...
More loader fixes.
More loader fixes.
Lua
mit
zevv/lgi,psychon/lgi,pavouk/lgi
e5d5e2a7a2bc0ba957f3bd280ccee97de66744ce
tools/premake/android_studio/android_studio.lua
tools/premake/android_studio/android_studio.lua
-- Android Studio Premake Module -- Module interface local m = {} newaction { trigger = "android-studio", shortname = "Android Studio", description = "Generate Android Studio Gradle Files", toolset = "clang", -- The capabilities of this action valid_kinds = { "ConsoleApp", "WindowedApp", "...
-- Android Studio Premake Module -- Module interface local m = {} newaction { trigger = "android-studio", shortname = "Android Studio", description = "Generate Android Studio Gradle Files", toolset = "clang", -- The capabilities of this action valid_kinds = { "ConsoleApp", "WindowedApp", "...
fix premake generation always taking the android path, after adding module
fix premake generation always taking the android path, after adding module
Lua
mit
polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech
913fa262741d84deda352930448cfbee4f8434a8
config/nvim/lua/plugins/init.lua
config/nvim/lua/plugins/init.lua
local cmd = vim.cmd local g = vim.g local fn = vim.fn local utils = require("utils") local nmap = utils.nmap local plugLoad = fn["functions#PlugLoad"] local plugBegin = fn["plug#begin"] local plugEnd = fn["plug#end"] plugLoad() -- cmd('call functions#PlugLoad()') plugBegin("~/.config/nvim/plugged") -- NOTE: the argu...
local cmd = vim.cmd local g = vim.g local fn = vim.fn local utils = require("utils") local nmap = utils.nmap local plugLoad = fn["functions#PlugLoad"] local plugBegin = fn["plug#begin"] local plugEnd = fn["plug#end"] plugLoad() -- cmd('call functions#PlugLoad()') plugBegin("~/.config/nvim/plugged") -- NOTE: the argu...
feat(vim): add qfedit plugin to edit quickfix lists
feat(vim): add qfedit plugin to edit quickfix lists
Lua
mit
nicknisi/dotfiles,nicknisi/dotfiles,nicknisi/dotfiles
85d5fd38ed34a506f26bca5b0f13c65c81cd9894
includes/server/nginx.lua
includes/server/nginx.lua
local time, ngx_print, ngx_var, ngx_req = os.time, ngx.print, ngx.var, ngx.req local explode, unescape = seawolf.text.explode, socket.url.unescape local trim = seawolf.text.trim env._SERVER = function (v) if v == 'QUERY_STRING' then return ngx_var.args elseif v == 'SCRIPT_NAME' then return ngx_var.uri el...
local time, ngx_print, ngx_var, ngx_req = os.time, ngx.print, ngx.var, ngx.req local explode, unescape = seawolf.text.explode, socket.url.unescape local trim = seawolf.text.trim env._SERVER = function (v) if v == 'QUERY_STRING' then return ngx_var.args elseif v == 'SCRIPT_NAME' then return ngx_var.uri el...
Bug fix: HTTP header 'status' not being assigned on nginx.
Bug fix: HTTP header 'status' not being assigned on nginx.
Lua
agpl-3.0
ophal/core,ophal/core,coinzen/coinage,coinzen/coinage,coinzen/coinage,ophal/core
75141123f4caf0c9d187b4e2b4ba327ecde12b6c
build/LLVM.lua
build/LLVM.lua
-- Setup the LLVM dependency directories LLVMRootDir = "../../deps/llvm/" LLVMBuildDir = "../../deps/llvm/build/" -- TODO: Search for available system dependencies function SetupLLVMIncludes() local c = configuration() includedirs { path.join(LLVMRootDir, "include"), path.join(LLVMRootDir, "tools/clan...
-- Setup the LLVM dependency directories LLVMRootDir = "../../deps/llvm/" LLVMBuildDir = "../../deps/llvm/build/" -- TODO: Search for available system dependencies function SetupLLVMIncludes() local c = configuration() includedirs { path.join(LLVMRootDir, "include"), path.join(LLVMRootDir, "tools/clan...
build: fix llvm linking
build: fix llvm linking At least on linux with gcc the linking order of the libraries is important. Fix linking llvm libraries by changing the link order. Signed-off-by: Tomi Valkeinen <e1ca4dbb8be1acaf20734fecd2da10ed1d46a9bb@iki.fi>
Lua
mit
mydogisbox/CppSharp,mono/CppSharp,u255436/CppSharp,Samana/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,mono/CppSharp,SonyaSa/CppSharp,txdv/CppSharp,KonajuGames/CppSharp,SonyaSa/CppSharp,zillemarco/CppSharp,mydogisbox/CppSharp,ktopouzi/CppSharp,nalkaro/CppSharp,zillemarco/CppSharp,SonyaSa/CppSharp,nalkaro/CppSharp,ino...
524d1ed86cefa774f40e5fb4fa82e44b08706834
src_trunk/resources/realism-system/s_weapons_back.lua
src_trunk/resources/realism-system/s_weapons_back.lua
function createWeaponModelOnBack(x, y, z, weapon) local objectID = 355 if (weapon==31) then objectID = 356 elseif (weapon==30) then objectID = 355 end local currobject = getElementData(source, "weaponback.object") if (isElement(currobject)) then destroyElement(currobject) end local obje...
function createWeaponModelOnBack(x, y, z, weapon) local objectID = 355 if (weapon==31) then objectID = 356 elseif (weapon==30) then objectID = 355 end local currobject = getElementData(source, "weaponback.object") if (isElement(currobject)) then destroyElement(currobject) end local obje...
small fix
small fix git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@1117 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
d7644d92a99a64d02f4c9b430411ed3076ab6179
transportation.lua
transportation.lua
--[[ This file is part of ClearTables @author Paul Norman <penorman@mac.com> @copyright 2015-2016 Paul Norman, MIT license ]]-- --[[ Code for the transportation layers. These are some of the most complex. There's a few principles - Separate tables are needed for roads and rail - A way might appear in both if it's ...
--[[ This file is part of ClearTables @author Paul Norman <penorman@mac.com> @copyright 2015-2016 Paul Norman, MIT license ]]-- --[[ Code for the transportation layers. These are some of the most complex. There's a few principles - Separate tables are needed for roads and rail - A way might appear in both if it's ...
Remove disused rail from rail table
Remove disused rail from rail table Fixes #31
Lua
mit
ClearTables/ClearTables,pnorman/ClearTables
674c0915d81526edbf8565428331816835594a1d
plugins/mod_auth_internal_hashed.lua
plugins/mod_auth_internal_hashed.lua
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2010 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local log = require "u...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2010 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local log = require "u...
mod_auth_internal_hashed: Fixed SCRAM-SHA-1 mechanism to not traceback on non-existent users.
mod_auth_internal_hashed: Fixed SCRAM-SHA-1 mechanism to not traceback on non-existent users.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
e8f8e6e7b206162c6358a8242518ce18eee82903
triangle/triangle_test.lua
triangle/triangle_test.lua
local Triangle = require('triangle') describe("Triangle", function() it("equilateral triangles have equal sides", function() assert.are.equals(Triangle.kind(2, 2, 2), "equilateral") end) it("larger equilateral triangles also have equal sides", function() assert.are.equals(Triangle.kind(10...
local Triangle = require('triangle') describe("Triangle", function() it("equilateral triangles have equal sides", function() assert.are.equals("equilateral", Triangle.kind(2, 2, 2)) end) it("larger equilateral triangles also have equal sides", function() assert.are.equals("equilateral", T...
Fixed assertion order
Fixed assertion order
Lua
mit
ryanplusplus/xlua,exercism/xlua,fyrchik/xlua
20daf19a6a28c49fc1507a99353a082238662f30
src/cosy/tool/cli.lua
src/cosy/tool/cli.lua
package.path = package.path .. ";./?.lua" local Loader = require "cosy.loader.lua" {} local I18n = Loader.load "cosy.i18n" local Scheduler = Loader.load "cosy.scheduler" local Layer = Loader.require "layeredata" local Arguments = Loader.require "argparse" local Colors = Loader.require "ansicolors" l...
package.path = package.path .. ";./?.lua" local Loader = require "cosy.loader.lua" {} local I18n = Loader.load "cosy.i18n" local Scheduler = Loader.load "cosy.scheduler" local Layer = Loader.require "layeredata" local Arguments = Loader.require "argparse" local Colors = Loader.require "ansicolors" l...
Dump all formalisms and models at the end of tool executions. Fix #191
Dump all formalisms and models at the end of tool executions. Fix #191
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
70bb5200cdbfdf9ab4a20e415cedf683cc67ccb4
test/runtest.lua
test/runtest.lua
-- See Copyright Notice in the file LICENSE do local path = "./?.lua;" if package.path:sub(1, #path) ~= path then package.path = path .. package.path end end local luatest = require "luatest" -- returns: number of failures local function test_library (libname, setfile, verbose) if verbose then print (...
-- See Copyright Notice in the file LICENSE do local path = "./?.lua;" if package.path:sub(1, #path) ~= path then package.path = path .. package.path end end local luatest = require "luatest" -- returns: number of failures local function test_library (libname, setfile, verbose) if verbose then print (...
small fix
small fix
Lua
mit
LuaDist/lrexlib-pcre,LuaDist/lrexlib-pcre,LuaDist/lrexlib-oniguruma,LuaDist/lrexlib-gnu,LuaDist/lrexlib-tre,LuaDist/lrexlib-oniguruma,LuaDist/lrexlib-gnu,LuaDist/lrexlib-posix,LuaDist/lrexlib-posix,StoneDot/lrexlib,StoneDot/lrexlib,LuaDist/lrexlib-tre
df6b54d2f57d1b50fee2f2b69f2118b266f65f37
worldedit_commands/mark.lua
worldedit_commands/mark.lua
worldedit.marker1 = {} worldedit.marker2 = {} worldedit.marker_region = {} --marks worldedit region position 1 worldedit.mark_pos1 = function(name) local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name] if pos1 ~= nil then --make area stay loaded local manip = minetest.get_voxel_manip() mani...
worldedit.marker1 = {} worldedit.marker2 = {} worldedit.marker_region = {} --marks worldedit region position 1 worldedit.mark_pos1 = function(name) local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name] if pos1 ~= nil then --make area stay loaded local manip = minetest.get_voxel_manip() mani...
Fix blowing up TNT near worldedit markers
Fix blowing up TNT near worldedit markers
Lua
agpl-3.0
Uberi/Minetest-WorldEdit
51411a6e53703877fa0b9835e2c6846a0c9e37cc
applications/luci-samba/luasrc/model/cbi/samba.lua
applications/luci-samba/luasrc/model/cbi/samba.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
Fix samba "read only" and "guest ok" settings not applied correctly.
Fix samba "read only" and "guest ok" settings not applied correctly.
Lua
apache-2.0
8devices/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci
b40cd8ee3ba056d10d00aed50ff8a5e8466f1aff
constants.lua
constants.lua
<<<<<<< HEAD PULL_LENGTH = 300; -- How far player can pull PULL_LENGTH2 = PULL_LENGTH * PULL_LENGTH; -- Square of how far player can pull PULL_FORCE = 400; -- Force at which the player pulls the ball PUSH_COST = 100; PUSH_COOLDOWN = 5; PUSH_LENGTH = 100; -- How far player can push PUSH_LENGTH2 = PUSH_LENGTH * PUSH_LE...
PULL_LENGTH = 325; -- How far player can pull PULL_LENGTH2 = PULL_LENGTH * PULL_LENGTH; -- Square of how far player can pull PULL_FORCE = 500; -- Force at which the player pulls the ball PUSH_COST = 100; PUSH_COOLDOWN = 5; PUSH_LENGTH = 100; -- How far player can push PUSH_LENGTH2 = PUSH_LENGTH * PUSH_LENGTH; -- Squa...
fix my stuff
fix my stuff
Lua
mit
GuiSim/pixel
f5e7956e69ac581d2ed5bf5aa5e00ae7f3a28f4e
src/cosy/methods/i18n.lua
src/cosy/methods/i18n.lua
local Configuration = require "cosy.configuration" local Layer = require "layeredata" Configuration.load "cosy.methods" local result = { ["translation:failure"] = { "translation failed: {{{reason}}}", }, ["captcha:failure"] = { "captcha verification failed", }, ["method:administration-only"]...
local Configuration = require "cosy.configuration" local Layer = require "layeredata" Configuration.load "cosy.methods" local result = { ["translation:failure"] = { "translation failed: {{{reason}}}", }, ["captcha:failure"] = { "captcha verification failed", }, ["method:administration-only"]...
Fix english messages for resource methods.
Fix english messages for resource methods.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
fab54e9f44459d535ca036748b21018e007c8e3a
.config/nvim/lua/config/nvim-tree.lua
.config/nvim/lua/config/nvim-tree.lua
local status_ok, nvim_tree = pcall(require, "nvim-tree") if not status_ok then return end vim.g.nvim_tree_icons = { default = "", symlink = "", git = { unstaged = "", staged = "", unmerged = "", renamed = "➜", untracked = "", deleted = "", ignored = "◌", }, folder = { arrow_open = "", a...
local status_ok, nvim_tree = pcall(require, "nvim-tree") if not status_ok then return end nvim_tree.setup({ -- BEGIN_DEFAULT_OPTS auto_reload_on_write = true, disable_netrw = true, hijack_cursor = true, hijack_netrw = true, open_on_setup = false, view = { width = 30, mappings = { custom_only = true, l...
[nvim] Fix nvim-tree config
[nvim] Fix nvim-tree config
Lua
mit
masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles
af2c63c7c4d9c0a41af8a22b9a1c3838159e0962
kong/pdk/private/phases.lua
kong/pdk/private/phases.lua
local bit = require "bit" local band = bit.band local fmt = string.format local PHASES = { --init = 0x00000001, init_worker = 0x00000001, certificate = 0x00000002, --set = 0x00000004, rewrite = 0x00000010, access = 0x00000020, balancer = 0x00000040, --content ...
local bit = require "bit" local band = bit.band local fmt = string.format local ngx_get_phase = ngx.get_phase local PHASES = { --init = 0x00000001, init_worker = 0x00000001, certificate = 0x00000002, --set = 0x00000004, rewrite = 0x00000010, access = 0x00000020, balance...
fix(pdk) treat custom content blocks as the Admin API
fix(pdk) treat custom content blocks as the Admin API This is a small workaround to a problem that happens when any custom content_by_lua block attempts to use the PDK. For example, this happens when trying to hit the `/` endpoint of the metrics server of the Prometheus plugin: https://github.com/Kong/kong-plugin-pro...
Lua
apache-2.0
Kong/kong,Mashape/kong,Kong/kong,Kong/kong
2990fbc7cfa07522757a289f45fff3e1d63d670b
lualib/skynet/multicast.lua
lualib/skynet/multicast.lua
local skynet = require "skynet" local mc = require "skynet.multicast.core" local multicastd local multicast = {} local dispatch = setmetatable({} , {__mode = "kv" }) local chan = {} local chan_meta = { __index = chan, __gc = function(self) self:unsubscribe() end, __tostring = function (self) return string.for...
local skynet = require "skynet" local mc = require "skynet.multicast.core" local multicastd local multicast = {} local dispatch = setmetatable({} , {__mode = "kv" }) local chan = {} local chan_meta = { __index = chan, __gc = function(self) self:unsubscribe() end, __tostring = function (self) return string.for...
ignore response, fix #841
ignore response, fix #841
Lua
mit
cloudwu/skynet,firedtoad/skynet,bigrpg/skynet,sundream/skynet,icetoggle/skynet,ag6ag/skynet,wangyi0226/skynet,korialuo/skynet,jxlczjp77/skynet,JiessieDawn/skynet,zhouxiaoxiaoxujian/skynet,bigrpg/skynet,korialuo/skynet,pigparadise/skynet,great90/skynet,zhangshiqian1214/skynet,bttscut/skynet,sundream/skynet,great90/skyne...
1db4dab0c9b341f360fb2d5efb9a9df1a4294d28
Modules/qGUI/3DRender/GUIRender3D.lua
Modules/qGUI/3DRender/GUIRender3D.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage") local NevermoreEngine = require(ReplicatedStorage:WaitForChild("NevermoreEngine")) local LoadCustomLibrary = NevermoreEngine.LoadLibrary local ScreenSpace = LoadCustomLibrary("ScreenSpace") local GUIRender3D = {} GUIRender3D.__index = GUIRender3D GUIRen...
local ReplicatedStorage = game:GetService("ReplicatedStorage") local NevermoreEngine = require(ReplicatedStorage:WaitForChild("NevermoreEngine")) local LoadCustomLibrary = NevermoreEngine.LoadLibrary local ScreenSpace = LoadCustomLibrary("ScreenSpace") local GUIRender3D = {} GUIRender3D.__index = GUIRender3D GUIRen...
Fix ScreenWidth usage, add a way to retrieve the fake frame.
Fix ScreenWidth usage, add a way to retrieve the fake frame.
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
c5dedd5eb888d5b8fab596c880898022c4ca104e
src_trunk/resources/realism-system/c_nametags.lua
src_trunk/resources/realism-system/c_nametags.lua
local localPlayer = getLocalPlayer() local show = true function startRes(res) if (res==getThisResource()) then for key, value in ipairs(getElementsByType("player")) do setPlayerNametagShowing(value, false) end end end addEventHandler("onClientResourceStart", getRootElement(), startRes) function s...
local localPlayer = getLocalPlayer() local show = true function startRes(res) if (res==getThisResource()) then for key, value in ipairs(getElementsByType("player")) do setPlayerNametagShowing(value, false) end end end addEventHandler("onClientResourceStart", getRootElement(), startRes) function s...
More nametags fixes
More nametags fixes git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@1173 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
07ab038935a500f450ec41a7055013df21e77c1b
OS/DiskOS/Libraries/map.lua
OS/DiskOS/Libraries/map.lua
local path = select(1,...) local strformat = string.format local function newMap(w,h,sheet) local Map = {} Map.w, Map.h = w or 24, h or 9 --Initialize the map table Map.m = {} for x=0, Map.w-1 do Map.m[x] = {} for y=0, Map.h-1 do Map.m[x][y] = 0 end end Map.sheet = sheet --If cal...
local path = select(1,...) local strformat = string.format local function newMap(w,h,sheet) local Map = {} Map.w, Map.h = w or 24, h or 9 --Initialize the map table Map.m = {} for x=0, Map.w-1 do Map.m[x] = {} for y=0, Map.h-1 do Map.m[x][y] = 0 end end Map.sheet = sheet --If cal...
Fixed bug with Map:draw function
Fixed bug with Map:draw function Map:draw now has automatic clamping. Former-commit-id: ad066c447683f700c105c8f68906077f5a223b8c
Lua
mit
RamiLego4Game/LIKO-12
f7f25c26ae1db48c918a71e7cbca870778ac857a
spec/resty/concurrent/timer_pool_executor_spec.lua
spec/resty/concurrent/timer_pool_executor_spec.lua
local TimerPoolExecutor = require('resty.concurrent.timer_pool_executor') local function yield() ngx.sleep(0) end local noop = function() end describe('TimerPoolExecutor', function() describe('worker garbage collection', function() it('automatically checks in back old workers', function() loc...
local TimerPoolExecutor = require('resty.concurrent.timer_pool_executor') local function yield() ngx.sleep(0) end local timeout = 10 local noop = function() end describe('TimerPoolExecutor', function() describe('worker garbage collection', function() it('automatically checks in back old workers', function...
[spec] fix random failure in resty.concurrent spec
[spec] fix random failure in resty.concurrent spec sometimes tests would timeout, increasing the timeout to 10 seconds works
Lua
mit
3scale/docker-gateway,3scale/docker-gateway,3scale/apicast,3scale/apicast,3scale/apicast,3scale/apicast
39549bfce231528ec8d07b3546b0a7c1792a7e67
lua/job.lua
lua/job.lua
local _M = { _VERSION = "1.1.0" } local lock = require "resty.lock" local JOBS = ngx.shared.jobs local ipairs = ipairs local update_time = ngx.update_time local ngx_now = ngx.now local worker_exiting = ngx.worker.exiting local timer_at = ngx.timer.at local ngx_log = ngx.log local INFO, ERR, WARN = ngx.INFO, ngx.E...
local _M = { _VERSION = "1.1.0" } local lock = require "resty.lock" local JOBS = ngx.shared.jobs local ipairs = ipairs local update_time = ngx.update_time local ngx_now = ngx.now local worker_exiting = ngx.worker.exiting local timer_at = ngx.timer.at local ngx_log = ngx.log local INFO, ERR, WARN = ngx.INFO, ngx.E...
job:finish fix
job:finish fix
Lua
bsd-2-clause
ZigzagAK/nginx-resty-auto-healthcheck-config,ZigzagAK/nginx-resty-auto-healthcheck-config
0508572f99d0fe5bc56c49e5a10e5f7810ed5421
src/apps/socket/unix.lua
src/apps/socket/unix.lua
--unix socket app: transmit and receive packets through a named socket. --can be used in server (listening) or client (connecting) mode. module(...,package.seeall) local ffi = require("ffi") local link = require("core.link") local packet = require("core.packet") local S = require("syscall") UnixSocket = {...
--unix socket app: transmit and receive packets through a named socket. --can be used in server (listening) or client (connecting) mode. module(...,package.seeall) local ffi = require("ffi") local link = require("core.link") local packet = require("core.packet") local S = require("syscall") UnixSocket = {...
Fix Unix socket EOF handling
Fix Unix socket EOF handling Signed-off-by: Ben Agricola <cbb16a9d1d32c4e66ce66f5b2f968b6c11ea841b@squiz.co.uk>
Lua
apache-2.0
alexandergall/snabbswitch,eugeneia/snabbswitch,dpino/snabb,snabbco/snabb,Igalia/snabbswitch,snabbco/snabb,alexandergall/snabbswitch,dpino/snabb,Igalia/snabb,Igalia/snabb,dpino/snabbswitch,dpino/snabb,Igalia/snabb,dpino/snabb,Igalia/snabb,alexandergall/snabbswitch,SnabbCo/snabbswitch,Igalia/snabb,eugeneia/snabb,snabbco/...
9904ae3bda3bf82d03470ffcfbb495b55af0b7bc
mods/death_messages/init.lua
mods/death_messages/init.lua
----------------------------------------------------------------------------------------------- local title = "Death Messages" local version = "0.1.2" local mname = "death_messages" ----------------------------------------------------------------------------------------------- dofile(minetest.get_modpath("death_message...
----------------------------------------------------------------------------------------------- local title = "Death Messages" local version = "0.1.2" local mname = "death_messages" ----------------------------------------------------------------------------------------------- dofile(minetest.get_modpath("death_message...
fixed crash if irc mod disabled
fixed crash if irc mod disabled
Lua
unlicense
MinetestForFun/server-minetestforfun,crabman77/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,paly2/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,Ombridride/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,Coethium/server-minetestforfun,paly2/minetest-minetestforfun-serve...
4db557bedf4839f2c09b5104a834e57b1d369071
xmake/modules/private/tools/vstool.lua
xmake/modules/private/tools/vstool.lua
--!A cross-platform build utility based on Lua -- -- 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...
--!A cross-platform build utility based on Lua -- -- 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...
fix vstool
fix vstool
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake
119932c9928eb72da71f9ae6d278b574d71a563d
ffi/framebuffer_SDL1_2.lua
ffi/framebuffer_SDL1_2.lua
local ffi = require("ffi") local bit = require("bit") -- load common SDL input/video library local SDL = require("ffi/SDL1_2") local BB = require("ffi/blitbuffer") local fb = {} function fb.open() if not fb.dummy then SDL.open() -- we present this buffer to the outside fb.bb = BB.new(SDL.screen.w, SDL.screen....
local ffi = require("ffi") local bit = require("bit") -- load common SDL input/video library local SDL = require("ffi/SDL1_2") local BB = require("ffi/blitbuffer") local fb = {} function fb.open() if not fb.dummy then SDL.open() -- we present this buffer to the outside fb.bb = BB.new(SDL.screen.w, SDL.screen....
fix SDL1.2 implementation: don't use shadow blitbuffer
fix SDL1.2 implementation: don't use shadow blitbuffer The use of a shadow blitbuffer lead to the issue that the night mode doesn't work. Since the blitbuffer module is fine using any implemented buffer layout, we can get rid of the shadow blitbuffer alltogether.
Lua
agpl-3.0
NiLuJe/koreader-base,Frenzie/koreader-base,Hzj-jie/koreader-base,frankyifei/koreader-base,frankyifei/koreader-base,NiLuJe/koreader-base,koreader/koreader-base,Frenzie/koreader-base,Hzj-jie/koreader-base,NiLuJe/koreader-base,houqp/koreader-base,apletnev/koreader-base,apletnev/koreader-base,Frenzie/koreader-base,houqp/ko...
f594547391dee2f75272ddbb4704afaa33c1b956
Modules/Shared/Utility/QFrame.lua
Modules/Shared/Utility/QFrame.lua
--- CFrame representation as a quaternion -- @module QFrame local QFrame = {} QFrame.__index = QFrame function QFrame.new(x, y, z, W, X, Y, Z) local self = setmetatable({}, QFrame) self.x = x or 0 self.y = y or 0 self.z = z or 0 self.W = W or 1 self.X = X or 0 self.Y = Y or 0 self.Z = Z or 0 return self end...
--- CFrame representation as a quaternion -- @module QFrame local QFrame = {} QFrame.__index = QFrame function QFrame.new(x, y, z, W, X, Y, Z) local self = setmetatable({}, QFrame) self.x = x or 0 self.y = y or 0 self.z = z or 0 self.W = W or 1 self.X = X or 0 self.Y = Y or 0 self.Z = Z or 0 return self end...
Fix __eq implementation in qFrame
Fix __eq implementation in qFrame
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
8ed8f49f45db6d64e45b5dfda8bd6a179a8acc1f
Modules/Client/Camera/Effects/FadeBetweenCamera.lua
Modules/Client/Camera/Effects/FadeBetweenCamera.lua
--- Add another layer of effects that can be faded in/out -- @classmod FadeBetweenCamera local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Spring = require("Spring") local SummedCamera = require("SummedCamera") local EPSILON = 1e-4 local FadeBetweenCamera = {} FadeBetween...
--- Add another layer of effects that can be faded in/out -- @classmod FadeBetweenCamera local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Spring = require("Spring") local SummedCamera = require("SummedCamera") local EPSILON = 1e-4 local FadeBetweenCamera = {} FadeBetween...
Fix long standing quaternion interpolation bug
Fix long standing quaternion interpolation bug
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
af748aa82660e3098da65068dccc6bc998ff5c68
src/plugins/finalcutpro/tangent/overlay.lua
src/plugins/finalcutpro/tangent/overlay.lua
--- === plugins.finalcutpro.tangent.overlay === --- --- Final Cut Pro Tangent Viewer Overlay Group -------------------------------------------------------------------------------- -- -- EXTENSIONS: -- -------------------------------------------------------------------------------- ------------------------------------...
--- === plugins.finalcutpro.tangent.overlay === --- --- Final Cut Pro Tangent Viewer Overlay Group -------------------------------------------------------------------------------- -- -- EXTENSIONS: -- -------------------------------------------------------------------------------- ------------------------------------...
#1289
#1289 - Fixed @stickler-ci errors
Lua
mit
fcpxhacks/fcpxhacks,CommandPost/CommandPost,fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost
0fd251753f4122b56ab1f382314593ac1058d0cd
MMOCoreORB/bin/scripts/screenplays/caves/tatooine_hutt_hideout.lua
MMOCoreORB/bin/scripts/screenplays/caves/tatooine_hutt_hideout.lua
HuttHideoutScreenPlay = ScreenPlay:new { numberOfActs = 1, lootContainers = { 134411, 8496263, 8496262, 8496261, 8496260 }, lootLevel = 26, lootGroups = { { groups = { {group = "color_crystals", chance = 160000}, {group = "junk", chance = 8600000}, {group = "rifles", chance = 50000...
HuttHideoutScreenPlay = ScreenPlay:new { numberOfActs = 1, lootContainers = { 134411, 8496263, 8496262, 8496261, 8496260 }, lootLevel = 26, lootGroups = { { groups = { {group = "color_crystals", chance = 160000}, {group = "junk", chance = 8600000}, {group = "rifles", chance = 50000...
(unstable) [fixed] Unremovable loot in jabba cave.
(unstable) [fixed] Unremovable loot in jabba cave. git-svn-id: e4cf3396f21da4a5d638eecf7e3b4dd52b27f938@5526 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Ta...
cd2fe6e758b86f174e93f3c0f6104841243a1765
applications/luci-radvd/luasrc/model/cbi/radvd.lua
applications/luci-radvd/luasrc/model/cbi/radvd.lua
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.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$ ]]-- m ...
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.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$ ]]-- m ...
applications/luci-radvd: fix removal of section in overview page
applications/luci-radvd: fix removal of section in overview page git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@6530 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
mzguanglin/LuCI,mzguanglin/LuCI,mzguanglin/LuCI,mzguanglin/LuCI,mzguanglin/LuCI,mzguanglin/LuCI
c0da355bbeb8b9334e4e43fc405fe6abdcdbfb08
modules/admin-mini/luasrc/model/cbi/mini/system.lua
modules/admin-mini/luasrc/model/cbi/mini/system.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 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$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 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$ ]]-- req...
modules/admin-mini: fix the same issue in admin-mini
modules/admin-mini: fix the same issue in admin-mini git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5149 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,Flexibity/luci,dtaht/cerowrt-luci-3.3,8devices/carambola2-luci,gwlim/luci,Flexibity/luci,ThingMesh/openwrt-luci,phi-psi/luci,saraedum/luci-packages-old,jschmidlapp/luci,zwhfly/openwrt-luci,saraedum/luci-packages-old,vhpham80/luci,jschmidlapp/luci,Flexibity/luci,ReclaimYourPrivacy/cloak-luc...
9a6ac53de7a7becec2598aeedfa3c38ccee3f519
modules/alarm.lua
modules/alarm.lua
local ev = require'ev' if(not ivar2.timers) then ivar2.timers = {} end local dateFormat = '%Y-%m-%d %X %Z' local split = function(str, pattern) local out = {} str:gsub(pattern, function(match) table.insert(out, match) end) return out end local timeMatches = { { '(%d+)[:.](%d%d)[:.]?(%d?%d?)', function(h,...
local ev = require'ev' if(not ivar2.timers) then ivar2.timers = {} end local dateFormat = '%Y-%m-%d %X %Z' local split = function(str, pattern) local out = {} str:gsub(pattern, function(match) table.insert(out, match) end) return out end local timeMatches = { { '(%d+)[:.](%d%d)[:.]?(%d?%d?)', function(h,...
alarm: Only parse times without postfix as minutes, if there hasn't been a duration found earlier.
alarm: Only parse times without postfix as minutes, if there hasn't been a duration found earlier.
Lua
mit
torhve/ivar2,torhve/ivar2,torhve/ivar2,haste/ivar2
0210e9796eaae64db1279fb5d0e29d42eee1de5a
server-test-send-webpage.lua
server-test-send-webpage.lua
wifi.sta.disconnect() wifi.setmode(wifi.STATIONAP) local cfg = {} cfg.ssid = "mysticalNetwork" cfg.pwd = "mystical5000" wifi.ap.config(cfg) local srv=net.createServer(net.TCP, 300) srv:listen(80,function(conn) conn:on("receive", function(client, request) print("recieve") print(request) sendW...
wifi.sta.disconnect() wifi.setmode(wifi.STATIONAP) local cfg = {} cfg.ssid = "mysticalNetwork" cfg.pwd = "mystical5000" wifi.ap.config(cfg) local srv=net.createServer(net.TCP, 300) srv:listen(80,function(conn) conn:on("receive", function(client, request) print("recieve") print(request) sendW...
fixed loop
fixed loop
Lua
mit
wordsforthewise/esp8266-server-test
c5bfbbbc2d4a5327a2a49e30e9106d82babb8279
mock/anim/AnimatorState.lua
mock/anim/AnimatorState.lua
module 'mock' local function _onAnimUpdate( anim ) local t = anim:getTime() local state = anim.source return state:onUpdate( t ) end local function _onAnimKeyFrame( timer, keyId, timesExecuted, time, value ) local state = timer.source local keys= state.keyEventMap[ keyId ] local time = timer:getTime() for i...
module 'mock' local function _onAnimUpdate( anim ) local t = anim:getTime() local state = anim.source return state:onUpdate( t ) end local function _onAnimKeyFrame( timer, keyId, timesExecuted, time, value ) local state = timer.source local keys= state.keyEventMap[ keyId ] local time = timer:getTime() for i...
fix minor animator bug
fix minor animator bug
Lua
mit
tommo/mock
acad517e5ce23a82979a87155bb639f91098adaf
xmake/core/base/winos.lua
xmake/core/base/winos.lua
--!A cross-platform build utility based on Lua -- -- 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...
--!A cross-platform build utility based on Lua -- -- 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...
fix winver
fix winver
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake
46de106e8a7aeb3d64453c59cae69de3106e2f33
inputbox.lua
inputbox.lua
require "rendertext" require "keys" require "graphics" InputBox = { -- Class vars: h = 100, input_slot_w = nil, input_start_x = 145, input_start_y = nil, input_cur_x = nil, -- points to the start of next input pos input_bg = 0, input_string = "", shiftmode = false, altmode = false, cursor = nil, -- fo...
require "rendertext" require "keys" require "graphics" InputBox = { -- Class vars: h = 100, input_slot_w = nil, input_start_x = 145, input_start_y = nil, input_cur_x = nil, -- points to the start of next input pos input_bg = 0, input_string = "", shiftmode = false, altmode = false, cursor = nil, -- fo...
fix: clear input_text before input result return
fix: clear input_text before input result return
Lua
agpl-3.0
houqp/koreader,Hzj-jie/koreader-base,mihailim/koreader,Hzj-jie/koreader,Hzj-jie/koreader-base,houqp/koreader-base,NickSavage/koreader,houqp/koreader-base,ashang/koreader,apletnev/koreader,Frenzie/koreader,houqp/koreader-base,apletnev/koreader-base,Frenzie/koreader-base,frankyifei/koreader-base,Frenzie/koreader-base,non...
f707ad8b74cb1a45dc5bd68612be2f1be109cb5d
spec/02-integration/02-dao/02-migrations_spec.lua
spec/02-integration/02-dao/02-migrations_spec.lua
local helpers = require "spec.02-integration.02-dao.helpers" local utils = require "kong.tools.utils" local Factory = require "kong.dao.factory" helpers.for_each_dao(function(kong_config) describe("Model migrations with DB: #"..kong_config.database, function() local factory setup(function() -- some `s...
local helpers = require "spec.02-integration.02-dao.helpers" local utils = require "kong.tools.utils" local Factory = require "kong.dao.factory" helpers.for_each_dao(function(kong_config) describe("Model migrations with DB: #"..kong_config.database, function() local factory setup(function() -- some `s...
tests(dao) fix failing C* tests due to host being considered down
tests(dao) fix failing C* tests due to host being considered down Clean the shm after the forced failure in this test, so that the next time we spawn a C* DAO, the shm does not contain mislieading informations about the `127.0.0.1` peer.
Lua
apache-2.0
shiprabehera/kong,Kong/kong,akh00/kong,ccyphers/kong,Kong/kong,jebenexer/kong,li-wl/kong,Kong/kong,icyxp/kong,Mashape/kong,salazar/kong
2ff8f11b63a86defc1f941287ca607acb46cece7
src/entity.lua
src/entity.lua
Entity = class("Entity") function Entity:__init(parent) self.components = {} self.eventManager = nil self.alive = true if parent then self:setParent(parent) else parent = nil end self.children = {} end -- Sets the entities component of this type to the given component. -- A...
Entity = class("Entity") function Entity:__init(parent) self.components = {} self.eventManager = nil self.alive = true if parent then self:setParent(parent) else parent = nil end self.children = {} end -- Sets the entities component of this type to the given component. -- A...
Fixed Entity:setParent not updating the parent's children table
Fixed Entity:setParent not updating the parent's children table
Lua
mit
xpol/lovetoys,takaaptech/lovetoys
1eb9be75e8924379e03234f09d15129bdb670389
lua/hmap.lua
lua/hmap.lua
local ffi = require "ffi" local log = require "log" local flowtrackerlib = ffi.load("../build/flowtracker") local tuple = require "tuple" local C = ffi.C local hmapTemplate = [[ typedef struct hmapk{key_size}v{value_size} hmapk{key_size}v{value_size}; typedef struct hmapk{key_size}v{value_size}_accessor hmapk{key_size...
local ffi = require "ffi" local log = require "log" local flowtrackerlib = ffi.load("../build/flowtracker") local tuple = require "tuple" local C = ffi.C local hmapTemplate = [[ typedef struct hmapk{key_size}v{value_size} hmapk{key_size}v{value_size}; typedef struct hmapk{key_size}v{value_size}_accessor hmapk{key_size...
Fix small errors in hash map library
Fix small errors in hash map library
Lua
mit
emmericp/FlowScope
ec0bdb0fd0b07be3baf49fc0225b1439fa9fb0e4
lua/wincent/commandt/private/prompt.lua
lua/wincent/commandt/private/prompt.lua
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local prompt = {} local input_buffer = nil local input_window = nil local title_buffer = nil local title_window = nil prompt.show = function(options) -- TODO: merge options if input_buffer ==...
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local prompt = {} local input_buffer = nil local input_window = nil local title_buffer = nil local title_window = nil prompt.show = function(options) -- TODO: merge options if input_buffer ==...
fix(lua): make title appear on top of border
fix(lua): make title appear on top of border
Lua
bsd-2-clause
wincent/command-t,wincent/command-t,wincent/command-t
412177e01c94cb92eca322a78128c81810c6bce5
src/application.lua
src/application.lua
if not cfg.data.sta_ssid then print('Wifi: No config') return end if not (cfg.data.mqtt_user and cfg.data.mqtt_password) then print('MQTT: No config') return end local queue_report = nil local send_report = nil local flush_data = nil local mq_prefix = "/nodes/" .. node_id local mq = mqtt.Client(node_id, 120,...
if not cfg.data.sta_ssid then print('Wifi: No config') return end if not (cfg.data.mqtt_user and cfg.data.mqtt_password) then print('MQTT: No config') return end local queue_report = nil local send_report = nil local flush_data = nil local mq_prefix = "/nodes/" .. node_id local mq = mqtt.Client(node_id, 120,...
Bugfix to prefixing of report data
Bugfix to prefixing of report data Signed-off-by: Kalman Olah <aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d@kalmanolah.net>
Lua
mit
kalmanolah/kalmon-ESP8266
d75381a28c308bf4ec445dcb711a4c748d43e38d
src/program/lwaftr/generate_binding_table/generate_binding_table.lua
src/program/lwaftr/generate_binding_table/generate_binding_table.lua
module(...,package.seeall) local bit = require("bit") local ipv4 = require("lib.protocol.ipv4") local ipv6 = require("lib.protocol.ipv6") local lib = require("core.lib") local band, rshift = bit.band, bit.rshift local function to_ipv4_string(uint32) return ("%i.%i.%i.%i"):format( rshift(uint32, 24), r...
module(...,package.seeall) local bit = require("bit") local ipv4 = require("lib.protocol.ipv4") local ipv6 = require("lib.protocol.ipv6") local lib = require("core.lib") local band, rshift = bit.band, bit.rshift local function to_ipv4_string(uint32) return ("%i.%i.%i.%i"):format( rshift(uint32, 24), r...
Fix bugs in generate-binding-table.
Fix bugs in generate-binding-table. Fixes #889 and #890.
Lua
apache-2.0
eugeneia/snabbswitch,dpino/snabb,alexandergall/snabbswitch,eugeneia/snabb,eugeneia/snabb,snabbco/snabb,Igalia/snabbswitch,eugeneia/snabb,alexandergall/snabbswitch,snabbco/snabb,SnabbCo/snabbswitch,Igalia/snabbswitch,Igalia/snabbswitch,Igalia/snabbswitch,SnabbCo/snabbswitch,dpino/snabb,SnabbCo/snabbswitch,Igalia/snabb,s...
a4e5891423c060ea8e9057cbe64dc058196a7add
Assets/ToLua/Lua/list.lua
Assets/ToLua/Lua/list.lua
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -------------------------------------------------------------...
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -------------------------------------------------------------...
1.0.7.367 fixed list.find不到问题
1.0.7.367 fixed list.find不到问题
Lua
mit
topameng/tolua
6dc69d658fe62d3041af7f0edcd454984d0aef4f
libs/httpd/luasrc/httpd.lua
libs/httpd/luasrc/httpd.lua
--[[ HTTP server implementation for LuCI - core (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008 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...
--[[ HTTP server implementation for LuCI - core (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008 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...
* libs/httpd: Fixed last commit
* libs/httpd: Fixed last commit git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@2490 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
freifunk-gluon/luci,projectbismark/luci-bismark,projectbismark/luci-bismark,vhpham80/luci,vhpham80/luci,projectbismark/luci-bismark,jschmidlapp/luci,stephank/luci,yeewang/openwrt-luci,alxhh/piratenluci,eugenesan/openwrt-luci,ch3n2k/luci,yeewang/openwrt-luci,eugenesan/openwrt-luci,gwlim/luci,zwhfly/openwrt-luci,gwlim/lu...
4af2ca2aaa3a0cfc3f1d0955b32f6968bc6e1801
lua/entities/gmod_wire_egp/lib/egplib/materials.lua
lua/entities/gmod_wire_egp/lib/egplib/materials.lua
-------------------------------------------------------- -- Materials (And fonts) -------------------------------------------------------- local EGP = EGP -- Valid fonts table EGP.ValidFonts_Lookup = {} EGP.ValidFonts = {} EGP.ValidFonts[1] = "WireGPU_ConsoleFont" EGP.ValidFonts[2] = "Coolvetica" EGP.ValidFonts[3] = "...
-------------------------------------------------------- -- Materials (And fonts) -------------------------------------------------------- local EGP = EGP -- Valid fonts table EGP.ValidFonts_Lookup = {} EGP.ValidFonts = {} EGP.ValidFonts[1] = "WireGPU_ConsoleFont" EGP.ValidFonts[2] = "Coolvetica" EGP.ValidFonts[3] = "...
Add Roboto to the allowed EGP fonts. Fix #813.
Add Roboto to the allowed EGP fonts. Fix #813.
Lua
apache-2.0
sammyt291/wire,wiremod/wire,thegrb93/wire,rafradek/wire,plinkopenguin/wiremod,mitterdoo/wire,bigdogmat/wire,NezzKryptic/Wire,dvdvideo1234/wire,CaptainPRICE/wire,mms92/wire,immibis/wiremod,garrysmodlua/wire,Grocel/wire,Python1320/wire,notcake/wire
a24a65df15b291dfe0796137b44515055322fc17
ffi/framebuffer_android.lua
ffi/framebuffer_android.lua
local ffi = require("ffi") local android = require("android") local BB = require("ffi/blitbuffer") local C = ffi.C --[[ configuration for devices with an electric paper display controller ]]-- -- does the device has an e-ink screen? local has_eink_screen, eink_platform = android.isEink() -- does the device needs to ...
local ffi = require("ffi") local android = require("android") local BB = require("ffi/blitbuffer") local C = ffi.C --[[ configuration for devices with an electric paper display controller ]]-- -- does the device has an e-ink screen? local has_eink_screen, eink_platform = android.isEink() -- does the device needs to ...
[Android] some tolino/nook waveform fixes (#933)
[Android] some tolino/nook waveform fixes (#933)
Lua
agpl-3.0
NiLuJe/koreader-base,koreader/koreader-base,Frenzie/koreader-base,koreader/koreader-base,NiLuJe/koreader-base,NiLuJe/koreader-base,koreader/koreader-base,Frenzie/koreader-base,Frenzie/koreader-base,Frenzie/koreader-base,NiLuJe/koreader-base,koreader/koreader-base
65ebb891b422598feda49ebf6d56bc5fe0bbf5d5
OS/CartOS/Programs/rm.lua
OS/CartOS/Programs/rm.lua
--Remove/delete a specific file local args = {...} --Get the arguments passed to this program if #args < 1 then color(9) print("\nMust provide the path") return end local tar = table.concat(args," ") --The path may include whitespaces local term = require("C://terminal") print("") --A new line local function index(pat...
--Remove/delete a specific file local args = {...} --Get the arguments passed to this program if #args < 1 then color(9) print("\nMust provide the path") return end local tar = table.concat(args," ") --The path may include whitespaces local term = require("C://terminal") print("") --A new line local function index(pat...
Bugfix
Bugfix
Lua
mit
RamiLego4Game/LIKO-12
f4f419419e96fb22053f51dd8fbadfc376dffcef
NaoTHSoccer/Make/premake4.lua
NaoTHSoccer/Make/premake4.lua
-- set the default global platform PLATFORM = _OPTIONS["platform"] if PLATFORM == nil then PLATFORM = "Native" end -- load the global default settings dofile "projectconfig.lua" -- load some helpers dofile (FRAMEWORK_PATH .. "/BuildTools/info.lua") dofile (FRAMEWORK_PATH .. "/BuildTools/protoc.lua") --dofile (FRAME...
-- set the default global platform PLATFORM = _OPTIONS["platform"] if PLATFORM == nil then PLATFORM = "Native" end -- load the global default settings dofile "projectconfig.lua" -- load some helpers dofile (FRAMEWORK_PATH .. "/BuildTools/info.lua") dofile (FRAMEWORK_PATH .. "/BuildTools/protoc.lua") --dofile (FRAME...
fix macos stuff add some system info
fix macos stuff add some system info
Lua
apache-2.0
BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH
b0ce33d759adc66362ca7e34ed18298eb70da6ad
mod_mam/rsm.lib.lua
mod_mam/rsm.lib.lua
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
mod_mam/rsm.lib: Fix parsing of empty before tag
mod_mam/rsm.lib: Fix parsing of empty before tag
Lua
mit
Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules
597387c55758c5f2a5686b2b43cdc95f997bca00
src/nodes/floor.lua
src/nodes/floor.lua
local Floor = {} Floor.__index = Floor function Floor.new(node, collider) local floor = {} setmetatable(floor, Floor) --If the node is a polyline, we need to draw a polygon rather than rectangle if node.polyline or node.polygon then local polygon = node.polyline or node.polygon local v...
local Floor = {} Floor.__index = Floor function Floor.new(node, collider) local floor = {} setmetatable(floor, Floor) --If the node is a polyline, we need to draw a polygon rather than rectangle if node.polyline or node.polygon then local polygon = node.polyline or node.polygon local v...
bugfix... I'm dumb...
bugfix... I'm dumb...
Lua
mit
hawkthorne/hawkthorne-client-lua,hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-client-lua
049ddd9275eb667a58b9476257736a97380faef0
durden/tools/advfloat/minimize.lua
durden/tools/advfloat/minimize.lua
-- apply the hide- target config (tgt) defined as part of 'advfloat_hide' gconfig_register("advfloat_hide", "statusbar-left"); local function hide_tgt(wnd, tgt) if (tgt == "statusbar-left" or tgt == "statusbar-right") then local old_show = wnd.show; local btn; -- deal with window being destroyed while we're hidd...
-- apply the hide- target config (tgt) defined as part of 'advfloat_hide' gconfig_register("advfloat_hide", "statusbar-left"); local function hide_tgt(wnd, tgt) -- prevent dual invocation (from ipc or wherever) if wnd.minimize_btn then return; end if (tgt == "statusbar-left" or tgt == "statusbar-right") then l...
advfloat - safeguard on minimize to statusbar
advfloat - safeguard on minimize to statusbar if the minimize path was called mulitple times (possible through IPC) each new call would create a new button in the statusbar, fixed.
Lua
bsd-3-clause
letoram/durden
fa9b3137898c17a4410136263f2f1b7563598da2
lua/wire/stools/trigger.lua
lua/wire/stools/trigger.lua
-- Wire Trigger created by mitterdoo WireToolSetup.setCategory( "Detection" ) WireToolSetup.open( "trigger", "Trigger", "gmod_wire_trigger", nil, "Triggers" ) WireToolSetup.BaseLang() WireToolSetup.SetupMax( 64 ) TOOL.ClientConVar = { model = "models/jaanus/wiretool/wiretool_siren.mdl", filter = 0, -- 0: all enti...
-- Wire Trigger created by mitterdoo WireToolSetup.setCategory( "Detection" ) WireToolSetup.open( "trigger", "Trigger", "gmod_wire_trigger", nil, "Triggers" ) WireToolSetup.BaseLang() WireToolSetup.SetupMax( 64 ) TOOL.ClientConVar = { model = "models/jaanus/wiretool/wiretool_siren.mdl", filter = 0, -- 0: all enti...
Fixed drawing all trigger boxes not working properly
Fixed drawing all trigger boxes not working properly
Lua
apache-2.0
garrysmodlua/wire,rafradek/wire,NezzKryptic/Wire,dvdvideo1234/wire,Grocel/wire,plinkopenguin/wiremod,wiremod/wire,notcake/wire,CaptainPRICE/wire,immibis/wiremod,bigdogmat/wire,thegrb93/wire,mitterdoo/wire,sammyt291/wire,mms92/wire,Python1320/wire
4b2eec4bbd20bcf618b68136f413355dca7c61c1
base/repair.lua
base/repair.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
Hotfix for #11095
Hotfix for #11095
Lua
agpl-3.0
Illarion-eV/Illarion-Content,KayMD/Illarion-Content,Baylamon/Illarion-Content,vilarion/Illarion-Content
a7dfc8101b979fef009a51c32307fb12c209c35e
agents/monitoring/tests/fixtures/protocol/server.lua
agents/monitoring/tests/fixtures/protocol/server.lua
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local lineEmitter = LineEmitter:new() local port = 50041 local keyPem = [[ -----BEGIN RSA PRIVATE KEY----- MIICXQIBAA...
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local lineEmitter = LineEmitter:new() local port = 50041 local send_schedule_changed_initial = 2000 local send_schedul...
monitoring: fixtures: server: move constants to top
monitoring: fixtures: server: move constants to top move the timer constants to the top of the file.
Lua
apache-2.0
AlphaStaxLLC/rackspace-monitoring-agent,christopherjwang/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,cp16net/virgo-base,virgo-agent-toolkit/rackspace-monitoring-agent,cp16net/virgo-base,cp16net/virgo-base,christopherjwang/rackspace-monitoring-agent,cp16net/virgo-base,kaustavha/rackspace-monitorin...
f5fde2ebbdb1422062449c4a4c9baaafb437e26b
test_scripts/Polices/build_options/004_ATF_P_TC_REQUEST_PTU_Trigger_PTU_failed_previous_IGN_ON_HTTP.lua
test_scripts/Polices/build_options/004_ATF_P_TC_REQUEST_PTU_Trigger_PTU_failed_previous_IGN_ON_HTTP.lua
--------------------------------------------------------------------------------------------- -- Requirements summary: -- [PolicyTableUpdate] Policy Table Update in case of failed retry strategy during previous IGN_ON -- [HMI API] PolicyUpdate request/response -- Description: -- SDL should request in case of failed re...
--------------------------------------------------------------------------------------------- -- Requirements summary: -- [PolicyTableUpdate] Policy Table Update in case of failed retry strategy during previous IGN_ON -- [HMI API] PolicyUpdate request/response -- Description: -- SDL should request in case of failed re...
Fix issues
Fix issues
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
4625171ab714927799e599c9e8c35d9f0abbffb7
includes/bootstrap.lua
includes/bootstrap.lua
local version = { core = 'Ophal', number = '0.1', revision = 'alpha11', homepage = 'ophal.org', } -- Jailed environment functions and modules env = { io = io, os = os, tonumber = tonumber, type = type, module = module, pcall = pcall, loadstring = loadstring, setfenv = setfenv, getfenv = getfe...
local version = { core = 'Ophal', number = '0.1', revision = 'alpha11', homepage = 'ophal.org', } -- Jailed environment functions and modules env = { io = io, os = os, tonumber = tonumber, type = type, module = module, pcall = pcall, loadstring = loadstring, setfenv = setfenv, getfenv = getfe...
Bug fix: redirect to Installation Wizard not working on nginx.
Bug fix: redirect to Installation Wizard not working on nginx.
Lua
agpl-3.0
coinzen/coinage,coinzen/coinage,ophal/core,coinzen/coinage,ophal/core,ophal/core
0853d110051fdea1698b0f1bd118d26e9fc91a71
lib/gsmake/gsmake/init.lua
lib/gsmake/gsmake/init.lua
local fs = require "lemoon.fs" local class = require "lemoon.class" local filepath = require "lemoon.filepath" local logsink = require "lemoon.logsink" local logger = class.new("lemoon.log","gsmake") local console = class.new("lemoon.log","console") local module = {} local openlog = func...
local fs = require "lemoon.fs" local class = require "lemoon.class" local filepath = require "lemoon.filepath" local logsink = require "lemoon.logsink" local logger = class.new("lemoon.log","gsmake") local console = class.new("lemoon.log","console") local module = {} local openlog = func...
fix log output bug
fix log output bug
Lua
mit
gsmake/gsmake,gsmake/gsmake
40e5541951e6553c98337a735730b02f0c5bc85b
src/premake/Test.lua
src/premake/Test.lua
local testname = ... local sdl2_dir = (path.getabsolute("../../../SDKs/") .. "/SDL2-2.0.3/") project(testname) kind "ConsoleApp" includedirs { "../PGTA", "../tests/Common" } links "PGTALib" defines "SDL_MAIN_HANDLED" files { "../tests/"..testname.."/**.h", "../tests/"..testname....
local testname = ... target_dir = path.getabsolute("../../bin/") .. "/" local sdl2_dir = (path.getabsolute("../../../SDKs/") .. "/SDL2-2.0.3/") project(testname) kind "ConsoleApp" includedirs { "../PGTA", "../tests/Common" } links "PGTALib" defines "SDL_MAIN_HANDLED" files { "../tests/...
Issue #14, fixing windows build.
Issue #14, fixing windows build.
Lua
mit
PGTA/PGTA,PGTA/PGTA,PGTA/PGTA
fc3a12e777d10bded39c022fd83dc15eec54c3f2
MMOCoreORB/bin/scripts/object/tangible/loot/quest/rifle_quest_tusken.lua
MMOCoreORB/bin/scripts/object/tangible/loot/quest/rifle_quest_tusken.lua
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
[Fixed] tusken king rifle - mantis 6625
[Fixed] tusken king rifle - mantis 6625 Change-Id: I01366cbe0c1002c1caa61cdfb1f7409e8bd18ed7
Lua
agpl-3.0
Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo
8c0503196c8b7bca585997e465443c48be1f7e45
scheduled/factionLeader.lua
scheduled/factionLeader.lua
--Checks if the playable faction leaders is logged in and thus the NPC needs to be out of player sight require("base.common") module("scheduled.factionLeader", package.seeall) function checkFactionLeader() players=world:getPlayersOnline() for index, playerName in pairs(players) do if playerName == "Rosaline Edw...
--Checks if the playable faction leaders is logged in and thus the NPC needs to be out of player sight require("base.common") module("scheduled.factionLeader", package.seeall) function checkFactionLeader() players=world:getPlayersOnline() for index, player in pairs(players) do if player.name == "Rosaline Edward...
fixed if statement..i think
fixed if statement..i think
Lua
agpl-3.0
KayMD/Illarion-Content,Baylamon/Illarion-Content,LaFamiglia/Illarion-Content,Illarion-eV/Illarion-Content,vilarion/Illarion-Content
88d2252d76b5554a68d9ba162b2fc110d4a1255e
tools/utils/BPE.lua
tools/utils/BPE.lua
local unicode = require './unicode' local BPE = torch.class('BPE') function BPE:__init(codesfile_path) local codes = {} local f = assert(io.open(codesfile_path, "r")) local t=f:read("*line") local i=1 while not(t == nil) do l=string.split(t," ") if (#l==2) then codes[t]=i i=i+1 end ...
local unicode = require './unicode' local BPE = torch.class('BPE') function BPE:__init(codesfile_path) local codes = {} local f = assert(io.open(codesfile_path, "r")) local t=f:read("*line") local i=1 while not(t == nil) do local l=string.split(t," ") if (#l==2) then codes[t]=i i=i+1 ...
fix end of token <\w> replacement error
fix end of token <\w> replacement error
Lua
mit
jsenellart/OpenNMT,jungikim/OpenNMT,jungikim/OpenNMT,srush/OpenNMT,OpenNMT/OpenNMT,jsenellart-systran/OpenNMT,jsenellart/OpenNMT,OpenNMT/OpenNMT,OpenNMT/OpenNMT,cservan/OpenNMT_scores_0.2.0,jsenellart-systran/OpenNMT,da03/OpenNMT,monsieurzhang/OpenNMT,da03/OpenNMT,jsenellart-systran/OpenNMT,monsieurzhang/OpenNMT,monsie...
7775940177cea8a268c266e8d6a9690b0a317753
modules/farming_module.lua
modules/farming_module.lua
------------------------------------------------------------ -- Copyright (c) 2016 tacigar -- https://github.com/tacigar/maidroid ------------------------------------------------------------ local _aux = maidroid.modules._aux local state = { walk = 0, punch = 1, plant = 2, walk_to_plant = 3, walk_to_soil = ...
------------------------------------------------------------ -- Copyright (c) 2016 tacigar -- https://github.com/tacigar/maidroid ------------------------------------------------------------ local _aux = maidroid.modules._aux local state = { walk = 0, punch = 1, plant = 2, walk_to_plant = 3, walk_to_soil = ...
Fix farming module
Fix farming module
Lua
lgpl-2.1
tacigar/maidroid
405434e0f7bee0a157cb05c223afd1d4cf7f7cb8
game/scripts/vscripts/modules/SimpleAI/SimpleAI.lua
game/scripts/vscripts/modules/SimpleAI/SimpleAI.lua
AI_THINK_INTERVAL = 0.3 AI_STATE_IDLE = 0 AI_STATE_AGGRESSIVE = 1 AI_STATE_RETURNING = 2 AI_STATE_CASTING = 3 AI_STATE_ORDER = 4 ModuleLinkLuaModifier(..., "modifier_simple_ai") SimpleAI = {} SimpleAI.__index = SimpleAI function SimpleAI:new( unit, profile, params ) local ai = {} setmetatable( ai, SimpleAI ) ai...
AI_THINK_INTERVAL = 0.3 AI_STATE_IDLE = 0 AI_STATE_AGGRESSIVE = 1 AI_STATE_RETURNING = 2 AI_STATE_CASTING = 3 AI_STATE_ORDER = 4 ModuleLinkLuaModifier(..., "modifier_simple_ai") SimpleAI = {} SimpleAI.__index = SimpleAI function SimpleAI:new( unit, profile, params ) local ai = {} setmetatable( ai, SimpleAI ) ai...
fix(SimpleAI): abilities which are not dealing damage not triggering boss from idle state
fix(SimpleAI): abilities which are not dealing damage not triggering boss from idle state Fixes #32.
Lua
mit
ark120202/aabs
741e4e3b249eb9324209727dc7f8393ee7b06d9b
nova/object.lua
nova/object.lua
--- LuaNova's object module. -- This module is used to create objects from prototypes, through the use of -- the nova.object:new() method. It also defines a reference to a nil object, -- which may be acquired with nova.object.nilref(). module ("nova.object", package.seeall) do --- Local instance of the "nil object"....
--- LuaNova's object module. -- This module is used to create objects from prototypes, through the use of -- the nova.object:new() method. It also defines a reference to a nil object, -- which may be acquired with nova.object.nilref(). module ("nova.object", package.seeall) do --- Local instance of the "nil object"....
Init overwriting prototype fields fixed.
Init overwriting prototype fields fixed.
Lua
mit
Kazuo256/luxproject
c96aa183961beccb743757aaa1e672ba9996b37b
applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
applications/siitwizard: - fix default lan ip - make ip and netmask depend on client mode
applications/siitwizard: - fix default lan ip - make ip and netmask depend on client mode git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@3923 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci
414df0e01c4c81ba138c52e830f3164467b3da8f
mock/tools/Stat.lua
mock/tools/Stat.lua
module 'mock' CLASS: Stat () :MODEL{} function Stat:__init( data ) self.values = {} self.changeListeners = {} self.changeSignals = {} self.allowNotifyChanges = true self.globalChangeSignal = false self.globalChangeListenerList = {} self.changeListeners[ '*' ] = self.globalChangeListenerList if data then s...
module 'mock' CLASS: Stat () :MODEL{} function Stat:__init( data ) self.values = {} self.changeListeners = {} self.changeSignals = {} self.allowNotifyChanges = true self.globalChangeSignal = false self.globalChangeListenerList = {} self.changeListeners[ '*' ] = self.globalChangeListenerList if data then s...
-fix Stat deserialization
-fix Stat deserialization
Lua
mit
tommo/mock
56742558edb757f3839855b1b73f26f4b87e70ff
UCDworld/c_world.lua
UCDworld/c_world.lua
setBlurLevel(0) setBirdsEnabled(false) --[[function setWaterColour(cmd, r, g, b) if not (r) then outputChatBox("You must enter 3 numbers between 0 and 255") return end setWaterColor(tonumber(r), tonumber(g), tonumber(b)) outputChatBox("You changed the water colour to: "..r..", "..g..", "..b.."") end addCommandHandl...
setBlurLevel(0) setBirdsEnabled(false) --[[function setWaterColour(cmd, r, g, b) if not (r) then outputChatBox("You must enter 3 numbers between 0 and 255") return end setWaterColor(tonumber(r), tonumber(g), tonumber(b)) outputChatBox("You changed the water colour to: "..r..", "..g..", "..b.."") end addCommandHandl...
Fixed a debug error
Fixed a debug error
Lua
mit
nokizorque/ucd,nokizorque/ucd
0566dce6819a90832e0f3b5cf6dbc46b9c6f8557
nvim/lua/config.lua
nvim/lua/config.lua
local helper = require('helper') vim.o.background = "dark" -- dark or "light" for light mode vim.g.everforest_background = 'soft' -- vim.cmd([[colorscheme apprentice]]) --vim.cmd([[colorscheme gruvbox-material]]) --vim.g.everforest_better_performance = 1 vim.cmd([[colorscheme everforest]]) -- vim.cmd([[colorscheme gru...
local helper = require('helper') vim.o.background = "dark" -- dark or "light" for light mode vim.g.everforest_background = 'soft' -- vim.cmd([[colorscheme apprentice]]) --vim.cmd([[colorscheme gruvbox-material]]) --vim.g.everforest_better_performance = 1 vim.cmd([[colorscheme everforest]]) -- vim.cmd([[colorscheme gru...
Try quickfix
Try quickfix
Lua
bsd-2-clause
lateefj/side
9c3450b995e4371b3a9373782184d823d2d3dd5f
src/npge/io/ReadFromBs.lua
src/npge/io/ReadFromBs.lua
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2015 Boris Nagaev -- See the LICENSE file for terms of use. local function insertFragment( blockname2fragments, name, blockname, text ) local parseId = require 'npge.fragment.parseId' local seqname, start, stop, ori =...
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2015 Boris Nagaev -- See the LICENSE file for terms of use. local function insertFragment( blockname2fragments, name, blockname, text ) local parseId = require 'npge.fragment.parseId' local seqname, start, stop, ori =...
ReadFromBs: fix for Lua >= 5.2 (unpack)
ReadFromBs: fix for Lua >= 5.2 (unpack) https://travis-ci.org/npge/lua-npge/jobs/91505883#L2354
Lua
mit
npge/lua-npge,npge/lua-npge,starius/lua-npge,starius/lua-npge,npge/lua-npge,starius/lua-npge
b4df0092399a1296cb96350fc98ff7248e43b9b7
spec/unit/statics_spec.lua
spec/unit/statics_spec.lua
local spec_helper = require "spec.spec_helpers" local constants = require "kong.constants" local stringy = require "stringy" local IO = require "kong.tools.io" local fs = require "luarocks.fs" describe("Static files", function() describe("Constants", function() it("version set in constants should match the one...
local spec_helper = require "spec.spec_helpers" local constants = require "kong.constants" local stringy = require "stringy" local IO = require "kong.tools.io" local fs = require "luarocks.fs" describe("Static files", function() describe("Constants", function() it("version set in constants should match the one...
fixing test
fixing test
Lua
apache-2.0
Mashape/kong,akh00/kong,kyroskoh/kong,ccyphers/kong,shiprabehera/kong,vzaramel/kong,streamdataio/kong,kyroskoh/kong,Kong/kong,icyxp/kong,vzaramel/kong,isdom/kong,ajayk/kong,smanolache/kong,ind9/kong,rafael/kong,jebenexer/kong,li-wl/kong,Kong/kong,Kong/kong,jerizm/kong,ejoncas/kong,Vermeille/kong,salazar/kong,ind9/kong,...
a204f5abc89ae5faa9c1875b3fe9acba34bc1c5d
util/hashes.lua
util/hashes.lua
local softreq = function (...) return select(2, pcall(require, ...)); end local error = error; module "hashes" local md5 = softreq("md5"); if md5 then if md5.digest then local md5_digest = md5.digest; local sha1_digest = sha1.digest; function _M.md5(input) return md5_digest(input); end function _M.sha1...
local softreq = function (...) return select(2, pcall(require, ...)); end local error = error; module "hashes" local md5 = softreq("md5"); if md5 then if md5.digest then local md5_digest = md5.digest; local sha1_digest = sha1.digest; function _M.md5(input) return md5_digest(input); end function _M.sha1...
Fix MD5 loading check
Fix MD5 loading check
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
333156a16222e768f8dcb94e504bbf2ead8c3f6d
packages/lime-system/files/usr/lib/lua/lime/network.lua
packages/lime-system/files/usr/lib/lua/lime/network.lua
#!/usr/bin/lua network = {} local bit = require "nixio".bit local ip = require "luci.ip" local function hex(x) return string.format("%02x", x) end local function split(string, sep) local ret = {} for token in string.gmatch(string, "[^"..sep.."]+") do table.insert(ret, token) end return ret end func...
#!/usr/bin/lua network = {} local bit = require "nixio".bit local ip = require "luci.ip" local function hex(x) return string.format("%02x", x) end local function split(string, sep) local ret = {} for token in string.gmatch(string, "[^"..sep.."]+") do table.insert(ret, token) end return ret end func...
use dhcp-broadcast in anygw DHCPv4 to workaround dnsmasq bug
use dhcp-broadcast in anygw DHCPv4 to workaround dnsmasq bug
Lua
agpl-3.0
p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages
08a4c7be5c70fe4f3cb7e4757bbbc4576a8f9fc1
packages/pirania/files/usr/lib/lua/voucher/hooks.lua
packages/pirania/files/usr/lib/lua/voucher/hooks.lua
#!/usr/bin/lua local config = require('voucher.config') local fs = require("nixio.fs") local hooks = function(action) local hookPath = config.hooksDir..action..'/' local files = fs.dir(hookPath) or pairs({}) for file in files do os.execute("(( sh "..hookPath..file.." 0<&- &>/dev/null &) &)") e...
#!/usr/bin/lua local config = require('voucher.config') local fs = require("nixio.fs") local hooks = function(action) local hookPath = config.hooksDir..action..'/' local files = fs.dir(hookPath) if files then for file in files do os.execute("(( sh "..hookPath..file.." 0<&- &>/dev/null ...
pirania: fix hooks with empty directory
pirania: fix hooks with empty directory
Lua
agpl-3.0
libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages
5f0b1ce0059567de378916ca3a6f4332ff9ece23
modules/android/tests/test_android_project.lua
modules/android/tests/test_android_project.lua
local p = premake local suite = test.declare("test_android_project") local vc2010 = p.vstudio.vc2010 -- -- Setup -- local wks, prj function suite.setup() p.action.set("vs2015") wks, prj = test.createWorkspace() end local function prepare() system "android" local cfg = test.getconfig(prj, "Debug", pl...
local p = premake local suite = test.declare("test_android_project") local vc2010 = p.vstudio.vc2010 local android = p.modules.android -- -- Setup -- local wks, prj function suite.setup() p.action.set("vs2015") wks, prj = test.createWorkspace() end local function prepare() system "android" local cf...
Fix android test case for minVSversion
Fix android test case for minVSversion
Lua
bsd-3-clause
mandersan/premake-core,LORgames/premake-core,premake/premake-core,starkos/premake-core,noresources/premake-core,dcourtois/premake-core,LORgames/premake-core,mandersan/premake-core,premake/premake-core,starkos/premake-core,LORgames/premake-core,starkos/premake-core,noresources/premake-core,premake/premake-core,starkos/p...
1cffc37ec84cae21bab3e58f2aedbb4a154f4184
MMOCoreORB/bin/scripts/mobile/yavin4/serverobjects.lua
MMOCoreORB/bin/scripts/mobile/yavin4/serverobjects.lua
includeFile("yavin4/acklay.lua") includeFile("yavin4/alert_droideka.lua") includeFile("yavin4/ancient_mamien.lua") includeFile("yavin4/angler_be.lua") includeFile("yavin4/angler_hatchling.lua") includeFile("yavin4/angler.lua") includeFile("yavin4/angler_recluse.lua") includeFile("yavin4/biogenic_assistant.lua") include...
includeFile("yavin4/acklay.lua") includeFile("yavin4/alert_droideka.lua") includeFile("yavin4/ancient_mamien.lua") includeFile("yavin4/angler_be.lua") includeFile("yavin4/angler_hatchling.lua") includeFile("yavin4/angler.lua") includeFile("yavin4/angler_recluse.lua") includeFile("yavin4/biogenic_assistant.lua") include...
(unstable) [fixed] luke mission 2.
(unstable) [fixed] luke mission 2. git-svn-id: e4cf3396f21da4a5d638eecf7e3b4dd52b27f938@5958 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/...
6568c947dae211ac4ea23b9b874f2f396d4210b7
MMOCoreORB/bin/scripts/mobile/corellia/minor_gubbur.lua
MMOCoreORB/bin/scripts/mobile/corellia/minor_gubbur.lua
minor_gubbur = Creature:new { objectName = "@mob/creature_names:minor_gubbur", socialGroup = "gubbur", pvpFaction = "", faction = "", level = 4, chanceHit = 0.24, damageMin = 40, damageMax = 45, baseXp = 62, baseHAM = 113, baseHAMmax = 135, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "meat_carn...
minor_gubbur = Creature:new { objectName = "@mob/creature_names:minor_gubbur", socialGroup = "gubbur", pvpFaction = "", faction = "", level = 4, chanceHit = 0.24, damageMin = 40, damageMax = 45, baseXp = 62, baseHAM = 113, baseHAMmax = 135, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "meat_carn...
[Fixed] minor gubbur attacks - mantis 4318
[Fixed] minor gubbur attacks - mantis 4318 Change-Id: I8e2f8d5fcf46fff73d98c03eb00011ae68ec65ea
Lua
agpl-3.0
lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/...
0dd209a389f16efb08e0b0f53cdb7f8591e6d070
kong/pdk/service/response.lua
kong/pdk/service/response.lua
--- -- Manipulation of the response from the Service -- @module kong.service.response local phase_checker = require "kong.pdk.private.phases" local ngx = ngx local sub = string.sub local fmt = string.format local gsub = string.gsub local type = type local error = error local lower = string.lower local tonumber = ton...
--- -- Manipulation of the response from the Service -- @module kong.service.response local phase_checker = require "kong.pdk.private.phases" local ngx = ngx local sub = string.sub local fmt = string.format local gsub = string.gsub local type = type local error = error local lower = string.lower local tonumber = ton...
fix(pdk) prevent a memory leak with in 'service.response' module
fix(pdk) prevent a memory leak with in 'service.response' module Introduced in eb204989233b148397eb7751c1a58ed82123eaab, this index metamethod attachment for response headers tables maintains a references to itself. This was verified by increasing upvalues, functions, and table object counts increasing when using this...
Lua
apache-2.0
Kong/kong,Mashape/kong,Kong/kong,Kong/kong
e04db91800e2ff89aece41a737b73e0dbbf926b2
plugins/get.lua
plugins/get.lua
local function get_variables_hash(msg, global) if global then if not redis:get(msg.to.id .. ':gvariables') then return 'gvariables' end return false else if msg.to.type == 'channel' then return 'channel:' .. msg.to.id .. ':variables' end ...
local function get_variables_hash(msg, global) if global then if not redis:get(msg.to.id .. ':gvariables') then return 'gvariables' end return false else if msg.to.type == 'channel' then return 'channel:' .. msg.to.id .. ':variables' end ...
fix pre_process for global gets
fix pre_process for global gets
Lua
agpl-3.0
xsolinsx/AISasha
19496b9f53bc4e111ae2a1415d5998628eb0939e
usr/product/sigma-firmware/rules.lua
usr/product/sigma-firmware/rules.lua
-- Sigma rules -- base define_rule { 'ast-files' } define_rule { 'cmake-modules' } define_rule { 'linux' } define_rule { 'xsdk' } define_rule { 'ucode', 'target', { 'install' } } -- host define_rule { 'utils', 'host' } define_rule { 'karaoke-player', 'host', requires = { 'chicken-eggs', ...
-- Sigma rules -- base define_rule { 'ast-files' } define_rule { 'cmake-modules' } define_rule { 'linux' } define_rule { 'xsdk' } define_rule { 'ucode', 'target', { 'install' } } -- host define_rule { 'utils', 'host' } define_rule { 'karaoke-player', 'host', requires = { 'chicken-eggs', ...
sigma: fixing dependencies for packages installing modules
sigma: fixing dependencies for packages installing modules
Lua
mit
bazurbat/jagen
46f57e695d0f5b3f9a20300cd4c648d052a7999e
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua
--[[ netdiscover_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i1...
--[[ netdiscover_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i1...
applications/luci-diag-devinfo: fix lost description in netdiscover_devinfo.lua, patch by "BasicXP" <basicxp@ubuntu.com>
applications/luci-diag-devinfo: fix lost description in netdiscover_devinfo.lua, patch by "BasicXP" <basicxp@ubuntu.com> git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@9051 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
zwhfly/openwrt-luci,yeewang/openwrt-luci,vhpham80/luci,ThingMesh/openwrt-luci,ch3n2k/luci,phi-psi/luci,ReclaimYourPrivacy/cloak-luci,yeewang/openwrt-luci,zwhfly/openwrt-luci,yeewang/openwrt-luci,Canaan-Creative/luci,eugenesan/openwrt-luci,Canaan-Creative/luci,8devices/carambola2-luci,8devices/carambola2-luci,ch3n2k/luc...
b9efd615b614e7bdc30212649c1174bc75e07906
game/scripts/vscripts/modules/structures/structures.lua
game/scripts/vscripts/modules/structures/structures.lua
Structures = Structures or class({}) ModuleRequire(..., "data") ModuleRequire(..., "shops") ModuleLinkLuaModifier(..., "modifier_arena_healer") ModuleLinkLuaModifier(..., "modifier_arena_courier") ModuleLinkLuaModifier(..., "modifier_fountain_aura_arena") ModuleLinkLuaModifier(..., "modifier_fountain_aura_invulnerabil...
Structures = Structures or class({}) ModuleRequire(..., "data") ModuleRequire(..., "shops") ModuleLinkLuaModifier(..., "modifier_arena_healer") ModuleLinkLuaModifier(..., "modifier_arena_courier") ModuleLinkLuaModifier(..., "modifier_fountain_aura_arena") ModuleLinkLuaModifier(..., "modifier_fountain_aura_invulnerabil...
fix(structures): no longer removing courier_burst ability, which was removed in 7.07
fix(structures): no longer removing courier_burst ability, which was removed in 7.07
Lua
mit
ark120202/aabs
e999322bfd207896de7e70b874062395cbea73c8
Resources/Scripts/Modules/PilotAI.lua
Resources/Scripts/Modules/PilotAI.lua
--import('Math') --import('GlobalVars') function Think(object) if CanThink(object.base.attributes) then local target = object.ai.objectives.target or object.ai.objectives.dest local dist if target ~= nil then dist = hypot2(object.physics.position, target.physics.position) if object.base.attributes.isGuided =...
--import('Math') --import('GlobalVars') function Think(object) if CanThink(object.base.attributes) then local target = object.ai.objectives.target or object.ai.objectives.dest local dist if target ~= nil then dist = hypot2(object.physics.position, target.physics.position) if object.base.attributes.isGuide...
Fixed an unindented code block.
Fixed an unindented code block. Signed-off-by: Scott McClaugherty <8e7c5f3edf627752a626365ddad308cf01055c6e@gmail.com>
Lua
mit
adam000/xsera,prophile/xsera,prophile/xsera,adam000/xsera,prophile/xsera,adam000/xsera,prophile/xsera,prophile/xsera,adam000/xsera