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
36c844c8839e2afc134913803a71fad41ff305e6
src/plugins/core/tangent/manager/action.lua
src/plugins/core/tangent/manager/action.lua
--- === plugins.core.tangent.manager.action === --- --- Represents a Tangent Action local require = require local is = require "cp.is" local prop = require "cp.prop" local x = require "cp.web.xml" local named = require "named" local format = string....
--- === plugins.core.tangent.manager.action === --- --- Represents a Tangent Action local require = require local is = require "cp.is" local prop = require "cp.prop" local x = require "cp.web.xml" local named = require "named" local format = string....
* Fixed bug in error handling in `action`.
* Fixed bug in error handling in `action`.
Lua
mit
CommandPost/CommandPost,CommandPost/CommandPost,fcpxhacks/fcpxhacks,fcpxhacks/fcpxhacks,CommandPost/CommandPost
2010c907d73dcfc093180637d910c30684c22715
mods/mff/mff_quests/init.lua
mods/mff/mff_quests/init.lua
mff.quests = {} mff.QPREFIX = "mff_quests:" mff.QNOPREFIX = function(s) return s:sub(mff.QPREFIX:len()+1) end mff.quests.quests = { still_testing_quests = { title = "Stone digger", description = "TEST QUEST!\nGet a Super Apple at the end!", repeating = 60*60*24, awards = {["maptools:superapple"] = 1}, tasks...
mff.quests = {} mff.QPREFIX = "mff_quests:" mff.QNOPREFIX = function(s) return s:sub(mff.QPREFIX:len()+1) end mff.quests.quests = { still_testing_quests = { title = "Stone digger", description = "TEST QUEST!\nGet a Super Apple at the end!", repeating = 60*60*24, awards = {["maptools:superapple"] = 1}, tasks...
Fix crash in mff's quests
Fix crash in mff's quests
Lua
unlicense
Ombridride/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,Gael-de-Sailly/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,Coethium/server-minetestforfun,MinetestForFun/minetest-minetestforfun-server,Coethium/server-minetestforfun,sys4-fr/server-minetestforfun,sys4-fr/server-minetest...
371f9bb5afb96fa0518bb813df4d813a9716114e
frontend/ui/reader/readerpanning.lua
frontend/ui/reader/readerpanning.lua
ReaderPanning = InputContainer:new{ key_events = { -- these will all generate the same event, just with different arguments MoveUp = { {"Up"}, doc = "move focus up", event = "Panning", args = {0, -1} }, MoveDown = { {"Down"}, doc = "move focus down", event = "Panning", args = {0, 1} }, MoveLeft = { {"Left"}, ...
ReaderPanning = InputContainer:new{ key_events = { -- these will all generate the same event, just with different arguments MoveUp = { {"Up"}, doc = "move visible area up", event = "Panning", args = {0, -1} }, MoveDown = { {"Down"}, doc = "move visible area down", event = "Panning", args = {0, 1} }, MoveLeft ...
fix doc for key events
fix doc for key events
Lua
agpl-3.0
houqp/koreader-base,NiLuJe/koreader-base,poire-z/koreader,Frenzie/koreader-base,frankyifei/koreader-base,Frenzie/koreader-base,robert00s/koreader,NiLuJe/koreader-base,Markismus/koreader,Hzj-jie/koreader,Frenzie/koreader,mihailim/koreader,apletnev/koreader-base,houqp/koreader-base,mwoz123/koreader,frankyifei/koreader-ba...
32d85cfaaed2c69f84f0ef0fa18b76eb2360f63e
MTCompatto.lua
MTCompatto.lua
--[[ Tabella contenente le MT e le MN delle varie generazioni Può essere chiamato con il nome della pagina {{#invoke: MTCompatto | MTCompatto | {{BASEPAGENAME}} }} oppure con il nome di una mossa {{#invoke: MTCompatto | MTCompatto | Surf }} oppure specificando le generazioni da mostrare {{#invoke: MTCompatto | MTCo...
--[[ Tabella contenente le MT e le MN delle varie generazioni Può essere chiamato con il nome della pagina {{#invoke: MTCompatto | MTCompatto | {{BASEPAGENAME}} }} oppure con il nome di una mossa {{#invoke: MTCompatto | MTCompatto | Surf }} oppure specificando le generazioni da mostrare {{#invoke: MTCompatto | MTCo...
Fixed MTCompatto bug that hided MT00 and DT00
Fixed MTCompatto bug that hided MT00 and DT00
Lua
cc0-1.0
pokemoncentral/wiki-lua-modules
c875d6d58e6b5edc7ceba4c8bbd05ae9aea3f299
vrp_mysql/MySQL.lua
vrp_mysql/MySQL.lua
-- begin MySQL module local MySQL = {} MySQL.debug = false local dpaths = {} local tasks = {} --[[ local function tick() SetTimeout(1, function() -- protect errors from breaking the loop SetTimeout(1000, tick) local rmtasks = {} for id,cb in pairs(tasks) do local r = exports.vrp_mysql:checkTask...
-- begin MySQL module local MySQL = {} MySQL.debug = false local dpaths = {} local tasks = {} --[[ local function tick() SetTimeout(1, function() -- protect errors from breaking the loop SetTimeout(1000, tick) local rmtasks = {} for id,cb in pairs(tasks) do local r = exports.vrp_mysql:checkTask...
Fix missing MySQL debug print.
Fix missing MySQL debug print.
Lua
mit
ImagicTheCat/vRP,ImagicTheCat/vRP
b59c90f98daf4c5c0c13aff1e0afb31d6ac15c87
lib/acid/redis_proxy.lua
lib/acid/redis_proxy.lua
local acid_json = require("acid.json") local strutil = require("acid.strutil") local tableutil = require("acid.tableutil") local redis_chash = require("acid.redis_chash") local aws_authenticator = require("resty.awsauth.aws_authenticator") local _M = {} local mt = { __index = _M } local to_str = strutil.to_str local...
local acid_json = require("acid.json") local acid_nwr = require("acid.nwr") local strutil = require("acid.strutil") local tableutil = require("acid.tableutil") local redis_chash = require("acid.redis_chash") local aws_authenticator = require("resty.awsauth.aws_authenticator") local _M = { _VERSION = "0.1" } local mt =...
fix redis_proxy.lua
fix redis_proxy.lua
Lua
mit
baishancloud/lua-acid,baishancloud/lua-acid,baishancloud/lua-acid
236609c4310514f47429d7da34122e1e58ddc725
frontend/ui/data/keyboardlayouts/ar_AA_keyboard.lua
frontend/ui/data/keyboardlayouts/ar_AA_keyboard.lua
local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup") local ar_popup = require("ui/data/keyboardlayouts/keypopup/ar_AA_popup") local com = en_popup.com -- comma (,) local prd = en_popup.prd -- period (.) local _at = en_popup._at local _eq = en_popup._eq -- equals sign (=) local alef = ar_popup.alef loca...
local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup") local ar_popup = require("ui/data/keyboardlayouts/keypopup/ar_AA_popup") local com = en_popup.com -- comma (,) local prd = en_popup.prd -- period (.) local _at = en_popup._at local _eq = en_popup._eq -- equals sign (=) local alef = ar_popup.alef loca...
fix arabic keyboard to conform to #5639 (#5793)
fix arabic keyboard to conform to #5639 (#5793) Fixes #5792
Lua
agpl-3.0
mwoz123/koreader,poire-z/koreader,poire-z/koreader,NiLuJe/koreader,Frenzie/koreader,pazos/koreader,koreader/koreader,Hzj-jie/koreader,NiLuJe/koreader,Frenzie/koreader,Markismus/koreader,mihailim/koreader,koreader/koreader
1614bb7b9cae730411d9b9949aca58c10cd48627
dxgui/components/dxCheckBox.lua
dxgui/components/dxCheckBox.lua
--[[ /*************************************************************************************************************** * * PROJECT: dxGUI * LICENSE: See LICENSE in the top level directory * FILE: components/dxCheckBox.lua * PURPOSE: All checkbox functions. * DEVELOPERS: Skyline <xtremecooker@gma...
--[[ /*************************************************************************************************************** * * PROJECT: dxGUI * LICENSE: See LICENSE in the top level directory * FILE: components/dxCheckBox.lua * PURPOSE: All checkbox functions. * DEVELOPERS: Skyline <xtremecooker@gma...
Se arregla bug
Se arregla bug
Lua
mit
morfeo642/mta_plr_server
79d44b2fed1a5201b955b9fd553747e95963aeaf
swig/ft/hello3.lua
swig/ft/hello3.lua
local fb = require("swig_fribidi") local iconv = require("iconv") local hb = require("harfbuzz") local cairo = require("cairo") local ft = require("freetype") local xcb = require("xcb") local text8 = "Ленивый рыжий кот شَدَّة latin العَرَبِية"; local ic = assert(iconv.open("utf-32le", "utf-8")) local text = ic:iconv...
local fb = require("swig_fribidi") local iconv = require("iconv") local hb = require("harfbuzz") local cairo = require("cairo") local ft = require("freetype") local xcb = require("xcb") local text8 = "Ленивый рыжий кот شَدَّة latin العَرَبِية"; local ic = assert(iconv.open("utf-32le", "utf-8")) local text = ic:iconv...
fixed hello3
fixed hello3
Lua
mit
juanchanco/lua-xcb,juanchanco/lua-xcb,juanchanco/lua-xcb
5cbc2685aab6d8ba1bd65803e09c9a2ecae73264
MMOCoreORB/bin/scripts/screenplays/caves/tatooine_sennex_cave.lua
MMOCoreORB/bin/scripts/screenplays/caves/tatooine_sennex_cave.lua
SennexCaveScreenPlay = 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 = 500000...
SennexCaveScreenPlay = 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 = 500000...
(unstable) [fixed] script issue if tatooine disabled.
(unstable) [fixed] script issue if tatooine disabled. git-svn-id: e4cf3396f21da4a5d638eecf7e3b4dd52b27f938@5538 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
Tatwi/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,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Ta...
bffe35f3ae1a2940be8e1c7c61c153982c8acef5
Boilerplate_Resource/src/Boilerplate_Resource.lua
Boilerplate_Resource/src/Boilerplate_Resource.lua
-------------------------------------------------------- -- This file is part of the JX3 Plugin Project. -- @desc : Դ -- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd. -------------------------------------------------------- ----------------------------------------------------------------------------------------...
-------------------------------------------------------- -- This file is part of the JX3 Plugin Project. -- @desc : Դ -- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd. -------------------------------------------------------- ----------------------------------------------------------------------------------------...
fix: 资源库按钮样式导出
fix: 资源库按钮样式导出
Lua
bsd-3-clause
tinymins/MY
dafab63ab29c507ebf5a0b756231371add948d4f
share/lua/playlist/appletrailers.lua
share/lua/playlist/appletrailers.lua
--[[ Translate trailers.apple.com video webpages URLs to the corresponding movie URL $Id$ Copyright © 2007-2010 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ve...
--[[ Translate trailers.apple.com video webpages URLs to the corresponding movie URL $Id$ Copyright © 2007-2010 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ve...
appletrailers.lua: Fix script for website changes
appletrailers.lua: Fix script for website changes Fix the Script to work again with the changed Apple trailers website. Signed-off-by: Pierre Ynard <efc674bf215af8c633f25041b289869f9d3ac058@yahoo.fr>
Lua
lgpl-2.1
xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc
bc396c252ce406984e8113046bb20cfcedd157b6
lua/entities/gmod_wire_expression2/core/custom/remoteupload.lua
lua/entities/gmod_wire_expression2/core/custom/remoteupload.lua
E2Lib.RegisterExtension("remoteupload", false) local antispam = {} local function check(ply) if antispam[ply] and antispam[ply] > CurTime() then return false else antispam[ply] = CurTime() + 1 return true end end umsg.PoolString("e2_remoteupload_request") __e2setcost(1000) e2function void e...
E2Lib.RegisterExtension("remoteupload", false) local antispam = {} local function check(ply) if antispam[ply] and antispam[ply] > CurTime() then return false else antispam[ply] = CurTime() + 1 return true end end umsg.PoolString("e2_remoteupload_request") __e2setcost(1000) e2function void e...
Fixed getCode op cost and forgotten table size
Fixed getCode op cost and forgotten table size
Lua
apache-2.0
rafradek/wire,dvdvideo1234/wire,garrysmodlua/wire,mitterdoo/wire,plinkopenguin/wiremod,bigdogmat/wire,CaptainPRICE/wire,Python1320/wire,mms92/wire,thegrb93/wire,wiremod/wire,notcake/wire,Grocel/wire,NezzKryptic/Wire,sammyt291/wire,immibis/wiremod
cec461c50598d0df95fb9c9abc3ae461d1448e22
filters/addpoints.lua
filters/addpoints.lua
-- Author: Carsten Gips <carsten.gips@fh-bielefeld.de> -- Copyright: (c) 2018 Carsten Gips -- License: MIT -- count of all points points = 0 -- add points of headers with attributes `{punkte=42}` function addPoints(el) points = points + (tonumber(el.attributes["punkte"]) or 0) end -- check `points` field in g...
-- Author: Carsten Gips <carsten.gips@fh-bielefeld.de> -- Copyright: (c) 2018 Carsten Gips -- License: MIT -- count of all points points = 0 -- add points of headers with attributes `{punkte=42}` function addPoints(el) points = points + (tonumber(el.attributes["punkte"]) or 0) end -- check `points` field in g...
fix script breakup due to modified handling of YAML in Pandoc 2.2.3
fix script breakup due to modified handling of YAML in Pandoc 2.2.3 In Pandoc 2.2.2 and earlier, a YAML element --- foo: 42 ... would produce a `MetaString`. Since Pandoc 2.2.3 this will result in a `MetaInlines`. (see https://github.com/jgm/pandoc/issues/4819)
Lua
mit
cagix/pandoc-lecture
f18253e2ce5f3c58c2a391afae8eb69fe24bb9f9
init.lua
init.lua
local textadept = require("textadept") local events = require("events") local constants = require("textadept-nim.constants") local icons = require("textadept-nim.icons") local nimsuggest = require("textadept-nim.nimsuggest") local check_executable = require("textadept-nim.utils").check_executable local sessions = requi...
local textadept = require("textadept") local events = require("events") local constants = require("textadept-nim.constants") local icons = require("textadept-nim.icons") local nimsuggest = require("textadept-nim.nimsuggest") local check_executable = require("textadept-nim.utils").check_executable local sessions = requi...
Fixed nimsuggest multiple processes on reset
Fixed nimsuggest multiple processes on reset
Lua
mit
xomachine/textadept-nim
f3359f91423bda4bc629d4bcd098aa7a04762287
main.lua
main.lua
--[[ ~ Copyright (c) 2014 by Adam Hellberg <sharparam@sharparam.com>. ~ ~ Permission is hereby granted, free of charge, to any person obtaining a copy ~ of this software and associated documentation files (the "Software"), to deal ~ in the Software without restriction, including without limitation the rights ~ to...
--[[ ~ Copyright (c) 2014 by Adam Hellberg <sharparam@sharparam.com>. ~ ~ Permission is hereby granted, free of charge, to any person obtaining a copy ~ of this software and associated documentation files (the "Software"), to deal ~ in the Software without restriction, including without limitation the rights ~ to...
Fix db issue in main
Fix db issue in main
Lua
mit
SharpWoW/ShareXP
413579c2e296d147521e5c73d7c1dbe8706f8caf
lua/settings/init.lua
lua/settings/init.lua
local nvim = require('nvim') local api = nvim.api local sys = require('sys') local plugs = require('nvim').plugs local parent = require('sys').data local mkdir = require('nvim').fn.mkdir local isdirectory = require('nvim').fn.isdirectory local tools = require('tools') local function isempty(s) re...
local nvim = require('nvim') local api = nvim.api local sys = require('sys') local plugs = require('nvim').plugs local parent = require('sys').data local mkdir = require('nvim').fn.mkdir local isdirectory = require('nvim').fn.isdirectory local tools = require('tools') local function isempty(s) re...
fix: Remove foldcolumn settings
fix: Remove foldcolumn settings Neovim HEAD have changes in foldcolumn usage, temporally disable it
Lua
mit
Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim
bda613589e7b28d8b268d9d1e3ae3ee08bcc4bef
entities/ui/wheel.lua
entities/ui/wheel.lua
local Wheel = Class('Wheel') function Wheel:initialize(parent, props) self.parent = parent self.radius = 40 self.inactiveColor = {255, 255, 255} self.pressColor = {400, 400, 400} self.position = Vector(0, 0) self.angle = 0 self.locked = {cw = true, ccw = true} self.onClicked = function(...
local Wheel = Class('Wheel') function Wheel:initialize(parent, props) self.parent = parent self.radius = 40 self.inactiveColor = {255, 255, 255} self.pressColor = {400, 400, 400} self.position = Vector(0, 0) self.angle = 0 self.locked = {cw = true, ccw = true} self.onClicked = function(...
fixed wheel art positioning
fixed wheel art positioning
Lua
mit
Nuthen/ludum-dare-39
94bcd70e9735b9308558a4d929b9d59818019b2b
applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua
--[[ LuCI - Lua Configuration Interface Copyright 2019 lisaac <https://github.com/lisaac/luci-app-dockerman> ]]-- local docker = require "luci.model.docker" local dk = docker.new() local m, s, o local res, containers, volumes function get_volumes() local data = {} for i, v in ipairs(volumes) do local index = v...
--[[ LuCI - Lua Configuration Interface Copyright 2019 lisaac <https://github.com/lisaac/luci-app-dockerman> ]]-- local docker = require "luci.model.docker" local dk = docker.new() local m, s, o local res, containers, volumes function get_volumes() local data = {} for i, v in ipairs(volumes) do local index = v....
luci-app-dockerman: cbi/volmes fix volume remove
luci-app-dockerman: cbi/volmes fix volume remove Signed-off-by: Florian Eckert <ee3e4af9c48a69f5a5c47153eb4a777754bfbe6f@dev.tdt.de>
Lua
apache-2.0
openwrt/luci,openwrt/luci,openwrt/luci,hnyman/luci,lbthomsen/openwrt-luci,hnyman/luci,lbthomsen/openwrt-luci,hnyman/luci,hnyman/luci,openwrt/luci,openwrt/luci,lbthomsen/openwrt-luci,lbthomsen/openwrt-luci,hnyman/luci,openwrt/luci,lbthomsen/openwrt-luci,lbthomsen/openwrt-luci,hnyman/luci,lbthomsen/openwrt-luci,hnyman/lu...
aec028dac76127cc74df74f89a9d3cd4cc53f2bb
makefiles/premake/RendererModules/OpenGLGUIRenderer/premake.lua
makefiles/premake/RendererModules/OpenGLGUIRenderer/premake.lua
-- -- OpenGLGUIRenderer premake script -- cegui_dynamic("OpenGLGUIRenderer") package.files = { matchfiles(pkgdir.."*.cpp"), matchfiles(pkgdir.."*.h"), } include(pkgdir) include(rootdir) library("OpenGL32") library("GLU32") dependency("CEGUIBase") if OPENGL_IMAGECODEC == "devil" then dependency("CEGUID...
-- -- OpenGLGUIRenderer premake script -- cegui_dynamic("OpenGLGUIRenderer") package.files = { matchfiles(pkgdir.."*.cpp"), matchfiles(pkgdir.."*.h"), } include(pkgdir) include(rootdir) if windows then library("OpenGL32") library("GLU32") define("NOMINMAX") end dependency("CEGUIBase") if OPENG...
Bug fix: Apparently in some cases OpenGLRenderer needs NOMINMAX in Win32 (Mantis #63)
Bug fix: Apparently in some cases OpenGLRenderer needs NOMINMAX in Win32 (Mantis #63)
Lua
mit
ruleless/CEGUI,OpenTechEngine/CEGUI,ruleless/CEGUI,OpenTechEngine/CEGUI,ruleless/CEGUI,ruleless/CEGUI,OpenTechEngine/CEGUI,OpenTechEngine/CEGUI
4bc8e76fac4688d0430cbeea50c3a959c6b1c72a
premake.lua
premake.lua
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
Minor fixes to release script
Minor fixes to release script
Lua
bsd-3-clause
starkos/premake-core,alarouche/premake-core,tvandijck/premake-core,soundsrc/premake-stable,premake/premake-4.x,CodeAnxiety/premake-core,jsfdez/premake-core,lizh06/premake-core,Blizzard/premake-core,tvandijck/premake-core,resetnow/premake-core,martin-traverse/premake-core,Blizzard/premake-core,xriss/premake-core,saberha...
f5857da6f46ce6cd9994c6547e51251a9e806986
profile.lua
profile.lua
-- Begin of globals bollards_whitelist = { [""] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["no"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true } access_tag_blackli...
-- Begin of globals bollards_whitelist = { [""] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["no"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true } access_tag_blackli...
Fixes issue #394
Fixes issue #394
Lua
bsd-2-clause
tkhaxton/osrm-backend,KnockSoftware/osrm-backend,alex85k/Project-OSRM,nagyistoce/osrm-backend,arnekaiser/osrm-backend,raymond0/osrm-backend,ammeurer/osrm-backend,frodrigo/osrm-backend,agruss/osrm-backend,raymond0/osrm-backend,raymond0/osrm-backend,Conggge/osrm-backend,Project-OSRM/osrm-backend,atsuyim/osrm-backend,neil...
c55a27d3c2cb278bb1e758ef0605b1253e3cd7b4
src/logfactory/LogLoader.lua
src/logfactory/LogLoader.lua
local LogLoader = {}; -- ------------------------------------------------ -- Constants -- ------------------------------------------------ local LOG_FOLDER = 'logs'; local LOG_FILE = 'log.txt'; local INFO_FILE = 'info.lua'; local TAG_INFO = 'info: '; local ROOT_FOLDER = 'root'; local WARNING_TITLE = 'No git log fou...
local LogLoader = {}; -- ------------------------------------------------ -- Constants -- ------------------------------------------------ local LOG_FOLDER = 'logs'; local LOG_FILE = 'log.txt'; local INFO_FILE = 'info.lua'; local TAG_INFO = 'info: '; local ROOT_FOLDER = 'root'; local WARNING_TITLE = 'No git log fou...
Fix #42 - Encapsulate love.filesystem.load in pcall to prevent crash
Fix #42 - Encapsulate love.filesystem.load in pcall to prevent crash This basically runs the function in a protected environment and catches any errors. If everything works out fine it returns true and the function's return values.
Lua
mit
rm-code/logivi
6d52800c279974affdc8a5c244c56f88ab53bada
core/ext/pm/buffer_browser.lua
core/ext/pm/buffer_browser.lua
-- Copyright 2007-2008 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE. --- -- Buffer browser for the Textadept project manager. -- It is enabled with the prefix 'buffers' in the project manager entry field. module('textadept.pm.browsers.buffer', package.seeall) function matches(entry_text) return entry_text...
-- Copyright 2007-2008 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE. --- -- Buffer browser for the Textadept project manager. -- It is enabled with the prefix 'buffers' in the project manager entry field. module('textadept.pm.browsers.buffer', package.seeall) function matches(entry_text) return entry_text...
Fixed bug for menu actions on non-focused buffer; core/ext/pm/buffer_browser.lua
Fixed bug for menu actions on non-focused buffer; core/ext/pm/buffer_browser.lua
Lua
mit
jozadaquebatista/textadept,jozadaquebatista/textadept
eb22714863cfd95a2a2d866efb63787fc137092e
game/scripts/vscripts/modules/structures/modifier_fountain_aura_arena.lua
game/scripts/vscripts/modules/structures/modifier_fountain_aura_arena.lua
local FOUNTAIN_PERCENTAGE_MANA_REGEN = 15 local FOUNTAIN_PERCENTAGE_HEALTH_REGEN = 15 modifier_fountain_aura_arena = class({ IsPurgable = function() return false end, GetModifierHealthRegenPercentage = function() return FOUNTAIN_PERCENTAGE_MANA_REGEN end, GetModifierTotalPercentageManaRe...
local FOUNTAIN_PERCENTAGE_MANA_REGEN = 15 local FOUNTAIN_PERCENTAGE_HEALTH_REGEN = 15 modifier_fountain_aura_arena = class({ IsPurgable = function() return false end, GetModifierHealthRegenPercentage = function() return FOUNTAIN_PERCENTAGE_MANA_REGEN end, GetModifierTotalPercentageManaRe...
fix)ability): parent check worked incorrectly
fix)ability): parent check worked incorrectly
Lua
mit
ark120202/aabs
ed61f27fe85bb861d943eb4a6d433a2b4e5b08ba
.conky.d/github_grass.lua
.conky.d/github_grass.lua
#!/usr/bin/lua local https = require 'ssl.https' require 'os' require 'rsvg' require 'cairo' user = "kizkoh" start_match = " <svg width=\"676\" height=\"104\" class=\"js-calendar-graph-svg\">" end_match = "</svg>" after_date = os.date("%Y.%m.%d", os.time() - 60 * 60 * 24 * (169 + tonumber(os.date("%u", os.t...
#!/usr/bin/lua local https = require 'ssl.https' require 'os' require 'rsvg' require 'cairo' user = "kizkoh" start_match = " <svg width=\"676\" height=\"104\" class=\"js-calendar-graph-svg\">" end_match = "</svg>" after_date = os.date("%Y.%m.%d", os.time() - 60 * 60 * 24 * (169 + tonumber(os.date("%u", os.t...
Fix rsvg create handle position
Fix rsvg create handle position
Lua
bsd-3-clause
kinoo/dotfiles,kinoo/dotfiles,kizkoh/dotfiles,kizkoh/dotfiles,kinoo/dotfiles
4da322ad2696a9cf2b87eeb8365ae696016a9a09
applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua
applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua
--[[ Luci configuration model for statistics - collectd iptables plugin configuration (c) 2008 Freifunk Leipzig / 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 Lice...
--[[ Luci configuration model for statistics - collectd iptables plugin configuration (c) 2008 Freifunk Leipzig / 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 Lice...
* ffluci/statistics: fix c'n'p errors in iptables cbi model
* ffluci/statistics: fix c'n'p errors in iptables cbi model git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@2092 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ch3n2k/luci,ReclaimYourPrivacy/cloak-luci,zwhfly/openwrt-luci,saraedum/luci-packages-old,Flexibity/luci,Canaan-Creative/luci,vhpham80/luci,ReclaimYourPrivacy/cloak-luci,ReclaimYourPrivacy/cloak-luci,phi-psi/luci,jschmidlapp/luci,8devices/carambola2-luci,Flexibity/luci,stephank/luci,8devices/carambola2-luci,Canaan-Creat...
efb939c3fbea7727908ef9dbc07c89a9bbb51052
cherry/screens/leaderboard.lua
cherry/screens/leaderboard.lua
-------------------------------------------------------------------------------- local _ = require 'cherry.libs.underscore' local gesture = require 'cherry.libs.gesture' local group = require 'cherry.libs.group' local http = require 'cherry.libs.http' local Background = require 'cherry.component...
-------------------------------------------------------------------------------- local _ = require 'cherry.libs.underscore' local gesture = require 'cherry.libs.gesture' local group = require 'cherry.libs.group' local http = require 'cherry.libs.http' local Background = require 'cherry.component...
fixed leaderboard loading https://github.com/chrisdugne/kodo/issues/39
fixed leaderboard loading https://github.com/chrisdugne/kodo/issues/39
Lua
bsd-3-clause
chrisdugne/cherry
46c68d1775da24c0749465736f46ded3bb6a7060
vrp/client/veh_blacklist.lua
vrp/client/veh_blacklist.lua
if not vRP.modules.veh_blacklist then return end local VehBlacklist = class("VehBlacklist", vRP.Extension) -- METHODS function VehBlacklist:__construct() vRP.Extension.__construct(self) self.veh_models = {} -- map of model hash self.interval = 10000 -- task: remove vehicles Citizen.CreateThread(function(...
if not vRP.modules.veh_blacklist then return end local VehBlacklist = class("VehBlacklist", vRP.Extension) -- METHODS function VehBlacklist:__construct() vRP.Extension.__construct(self) self.veh_models = {} -- map of model hash self.interval = 10000 -- task: remove vehicles Citizen.CreateThread(function(...
Fix - Using Garage module vRP
Fix - Using Garage module vRP
Lua
mit
ImagicTheCat/vRP,ImagicTheCat/vRP
699343a325878122e03051cdd180a6e85296c436
hostinfo/lsyncd.lua
hostinfo/lsyncd.lua
--[[ Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
--[[ Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
fix(lsyncd): Typo fix and add functionality to check if lsyncd is installed and fix on ubuntu
fix(lsyncd): Typo fix and add functionality to check if lsyncd is installed and fix on ubuntu
Lua
apache-2.0
virgo-agent-toolkit/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent
1dce464c98387b6a3b9ef0f39fe748b6cefce1f8
config/nvim/lua/file-icons.lua
config/nvim/lua/file-icons.lua
local colors = require("tokyonight.colors").setup() require "nvim-web-devicons".setup { override = { html = { icon = "", color = colors.baby_pink, name = "html" }, css = { icon = "", color = colors.blue, name = "css" ...
local colors = require("nightfox.colors").init() require "nvim-web-devicons".setup { override = { html = { icon = "", color = colors.pink_br, name = "html" }, css = { icon = "", color = colors.blue, name = "css" ...
Fix colors
Fix colors
Lua
mit
lisinge/dotfiles,lisinge/dotfiles
f6e1fef4211423e89a7d00bea4cccbc46719a97a
kong/plugins/aws-lambda/aws-serializer.lua
kong/plugins/aws-lambda/aws-serializer.lua
-- serializer to wrap the current request into the Amazon API gateway -- format as described here: -- https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format local request_util = require "kong.plugins.aws-lambda.request-util" ...
-- serializer to wrap the current request into the Amazon API gateway -- format as described here: -- https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format local request_util = require "kong.plugins.aws-lambda.request-util" ...
fix(aws-lambda) honor skip_large_bodies for aws-gateway format
fix(aws-lambda) honor skip_large_bodies for aws-gateway format
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
fc6ee384b81066ffac264d4b1fa5a56236b2671c
lua/LUA/ak/public-transport/Platform.lua
lua/LUA/ak/public-transport/Platform.lua
local Platform = {} ---@class Platform ---@field type string ---@field id string ---@field roadStation RoadStation ---@field platformNumber number --- Creates a new Bus or Tram Station ---@param roadStation RoadStation a roadstation ---@param platformNumber number number of the platform starting with 1 ---@return Pla...
---@class Platform ---@field type string ---@field id string ---@field roadStation RoadStation ---@field platformNumber number local Platform = {} --- Creates a new Bus or Tram Station ---@param roadStation RoadStation a roadstation ---@param platformNumber number number of the platform starting with 1 ---@return Plat...
fix emmylua
fix emmylua
Lua
mit
Andreas-Kreuz/ak-lua-skripte-fuer-eep,Andreas-Kreuz/ak-lua-skripte-fuer-eep
b0f4960cff9e66ab4b88834a4bdaa26dfef5ef78
libs/web/luasrc/dispatcher.lua
libs/web/luasrc/dispatcher.lua
--[[ LuCI - Dispatcher Description: The request dispatcher and module dispatcher generators FileId: $Id$ License: 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...
--[[ LuCI - Dispatcher Description: The request dispatcher and module dispatcher generators FileId: $Id$ License: 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...
* Fixed caching mechanism
* Fixed caching mechanism git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@2160 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
alxhh/piratenluci,projectbismark/luci-bismark,vhpham80/luci,phi-psi/luci,dtaht/cerowrt-luci-3.3,ReclaimYourPrivacy/cloak-luci,gwlim/luci,8devices/carambola2-luci,jschmidlapp/luci,vhpham80/luci,Canaan-Creative/luci,projectbismark/luci-bismark,ThingMesh/openwrt-luci,ThingMesh/openwrt-luci,ch3n2k/luci,zwhfly/openwrt-luci,...
c0ac4cc651c537c67f901cbe1f33a879e19e15b4
src/cosy/server.lua
src/cosy/server.lua
local loader = require "cosy.loader" local hotswap = loader.hotswap local Server = {} function Server.get (http) if http.request.method ~= "GET" then http.response.status = 405 http.response.message = "Method Not Allowed" elseif http.request.headers ["upgrade"] == "websocket" then http () -- send re...
local loader = require "cosy.loader" local hotswap = loader.hotswap local Server = {} function Server.get (http) if http.request.method ~= "GET" then http.response.status = 405 http.response.message = "Method Not Allowed" elseif http.request.headers ["upgrade"] == "websocket" then http () -- send re...
Fix error printing.
Fix error printing.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
a94ac96c993f7ebce059a20e911cd008844442b0
src/models/upload.lua
src/models/upload.lua
--- A basic lower upload API -- module(..., package.seeall) require 'posix' local http = require 'lglib.http' local normalizePath = require('lglib.path').normalize local Model = require 'bamboo.model' local Form = require 'bamboo.form' local function calcNewFilename(dir, oldname) -- separate the base name and exten...
--- A basic lower upload API -- module(..., package.seeall) require 'posix' local http = require 'lglib.http' local normalizePath = require('lglib.path').normalize local Model = require 'bamboo.model' local Form = require 'bamboo.form' local function calcNewFilename(dir, oldname) -- separate the base name and exten...
fix a bug in export path.
fix a bug in export path. Signed-off-by: Daogang Tang <6435653d2db08e7863743a16df53ecbb301fb4b0@gmail.com>
Lua
bsd-3-clause
daogangtang/bamboo,daogangtang/bamboo
42a7ef1f6a5c3b850ba323e4d9d390a1bec42e9e
lib/hpcpf.lua
lib/hpcpf.lua
--- for detection platform (return "Windows", "Darwin" or "Linux") function getPlatform() --- command capture function captureRedirectErr(cmd) local f = assert(io.popen(cmd .. ' 2>&1' , 'r')) local s = assert(f:read('*a')) f:close() s = string.gsub(s, '^%s+', '') s = s...
--- for detection platform (return "Windows", "Darwin" or "Linux") function getPlatform() --- command capture function captureRedirectErr(cmd) local f = assert(io.popen(cmd .. ' 2>&1' , 'r')) local s = assert(f:read('*a')) f:close() s = string.gsub(s, '^%s+', '') s = s...
fixed for Linux
fixed for Linux
Lua
bsd-2-clause
avr-aics-riken/hpcpfGUI,digirea/hpcpfGUI,digirea/hpcpfGUI,digirea/hpcpfGUI,avr-aics-riken/hpcpfGUI,avr-aics-riken/hpcpfGUI
d697c2fbbf1b7c6080a77cdb08d1ca263f23c4eb
tests/watch/quake.lua
tests/watch/quake.lua
require "sprite" require "theme" require "timer" local q = std.obj { { started = false; timer = false; step = 0; }; max = 3; -- iterations power = 40; -- power post = true; -- after action or before it nam = '@quake'; } local scr local cb = timer.callback function timer:callback(...) if q.started then ...
require "sprite" require "theme" require "timer" local q = std.obj { { started = false; timer = false; step = 0; }; max = 5; -- iterations power = 40; -- power post = true; -- after action or before it nam = '@quake'; } local scr local cb = timer.callback function timer:callback(...) if q.started then ...
snowball fix
snowball fix
Lua
mit
gl00my/stead3
c8537c571725257ab200fd8f64ca74ae2eb4f966
module/util/groupids.lua
module/util/groupids.lua
--[[! \file \brief Es un módulo que permite crear grupos de ids y comprobar si una id está en alguno de estos grupos. Los grupos pueden agruparse paara formar grupos más complejos, con operadores de negación y or. ]] loadModule("util/class"); loadModule("util/math/range"); loadModule("util/checkutils"); loadModul...
--[[! \file \brief Es un módulo que permite crear grupos de ids y comprobar si una id está en alguno de estos grupos. Los grupos pueden agruparse paara formar grupos más complejos, con operadores de negación y or. ]] loadModule("util/class"); loadModule("util/math/range"); loadModule("util/checkutils"); loadModul...
Bugfix en el módulo util/groupids
Bugfix en el módulo util/groupids
Lua
mit
morfeo642/mta_plr_server
09b439e8d0bda87238ddf535832c97f0bf4af64a
prosody/mod_auth_wordpress.lua
prosody/mod_auth_wordpress.lua
-- Prosody Wordpress Authentication local datamanager = require "util.datamanager"; local base64 = require "util.encodings".base64; local md5 = require "util.hashes".md5; local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; local log = require "util.logger".init("aut...
-- Prosody Wordpress Authentication local md5 = require "util.hashes".md5; local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; local log = require "util.logger".init("auth_wordpress"); local DBI; local connection; local params = module:get_option("wordpress"); fun...
Removed unuse variable and change database library to LuaDBI. fixes #4 fixes #3 fixes #1
Removed unuse variable and change database library to LuaDBI. fixes #4 fixes #3 fixes #1
Lua
mit
llun/wordpress-authenticator
6765359c156615f482612e3eb4b3655623c76a8c
convert.lua
convert.lua
-- modules that can be converted to nn seamlessly local layer_list = { 'SpatialConvolution', 'SpatialCrossMapLRN', 'SpatialMaxPooling', 'SpatialAveragePooling', 'ReLU', 'Tanh', 'Sigmoid', 'SoftMax', 'LogSoftMax', 'VolumetricConvolution', 'VolumetricMaxPooling', 'VolumetricAveragePooling', } -- ...
-- modules that can be converted to nn seamlessly local layer_list = { 'SpatialConvolution', 'SpatialCrossMapLRN', 'SpatialMaxPooling', 'SpatialAveragePooling', 'ReLU', 'Tanh', 'Sigmoid', 'SoftMax', 'LogSoftMax', 'VolumetricConvolution', 'VolumetricMaxPooling', 'VolumetricAveragePooling', } -- ...
fix cudnn -> nn avg-pooling conversion
fix cudnn -> nn avg-pooling conversion
Lua
bsd-3-clause
phunghx/phnn.torch,phunghx/phnn.torch,phunghx/phnn.torch
44b56f71bdb7813503261fbae599bbe6f8c61423
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local nw = require "luci.model.network" local fw = require "luci.model.firewall" local uci = require "luci.model.uci".cursor() local http = require "luci.http" local iw = lu...
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local nw = require "luci.model.network" local fw = require "luci.model.firewall" local uci = require "luci.model.uci".cursor() local http = require "luci.http" local iw = lu...
luci-mod-admin-full: fix help text for wifi join options
luci-mod-admin-full: fix help text for wifi join options Clarify the help text in the wifi join dialog. Reference to #793, #876, #897 Signed-off-by: Hannu Nyman <ab53a3387de93e31696058c104e6f769cd83fd1b@iki.fi>
Lua
apache-2.0
Wedmer/luci,cshore-firmware/openwrt-luci,tobiaswaldvogel/luci,Wedmer/luci,hnyman/luci,lbthomsen/openwrt-luci,LuttyYang/luci,artynet/luci,Noltari/luci,remakeelectric/luci,lbthomsen/openwrt-luci,oneru/luci,lbthomsen/openwrt-luci,wongsyrone/luci-1,981213/luci-1,openwrt-es/openwrt-luci,rogerpueyo/luci,taiha/luci,kuoruan/lu...
317b331f7b430337202463dd7c52a4e6fa29b8fd
LookupTable.lua
LookupTable.lua
local LookupTable, parent = torch.class('nn.LookupTable', 'nn.Module') LookupTable.__version = 3 function LookupTable:__init(nIndex, ...) parent.__init(self) local arg = {...} if select('#', ...) == 1 and type(arg[1]) ~= "number" then local size = arg[1] self.size = torch.LongStorage(#size + 1) ...
local LookupTable, parent = torch.class('nn.LookupTable', 'nn.Module') LookupTable.__version = 3 function LookupTable:__init(nIndex, ...) parent.__init(self) local arg = {...} if select('#', ...) == 1 and type(arg[1]) ~= "number" then local size = arg[1] self.size = torch.LongStorage(#size + 1) ...
fixed indentation
fixed indentation
Lua
bsd-3-clause
adamlerer/nn,douwekiela/nn,hery/nn,noa/nn,jzbontar/nn,caldweln/nn,jhjin/nn,eriche2016/nn,davidBelanger/nn,abeschneider/nn,PierrotLC/nn,elbamos/nn,rotmanmi/nn,mys007/nn,sbodenstein/nn,Djabbz/nn,clementfarabet/nn,forty-2/nn,eulerreich/nn,hughperkins/nn,vgire/nn,soumith/nn,jonathantompson/nn,Moodstocks/nn,ivendrov/nn,aaii...
f87b80ada3b45861f0bcd6b3ff858e4d87b920f7
_Out/NFDataCfg/ScriptModule/NFScriptSystem.lua
_Out/NFDataCfg/ScriptModule/NFScriptSystem.lua
package.path = '../NFDataCfg/ScriptModule/?.lua;../NFDataCfg/ScriptModule/game/?.lua;../NFDataCfg/ScriptModule/world/?.lua;../NFDataCfg/ScriptModule/proxy/?.lua;../NFDataCfg/ScriptModule/master/?.lua;../NFDataCfg/ScriptModule/login/?.lua;' require("NFScriptEnum"); script_module = nil; function init_script_system(xLua...
package.path = '../NFDataCfg/ScriptModule/?.lua;../NFDataCfg/ScriptModule/game/?.lua;../NFDataCfg/ScriptModule/world/?.lua;../NFDataCfg/ScriptModule/proxy/?.lua;../NFDataCfg/ScriptModule/master/?.lua;../NFDataCfg/ScriptModule/login/?.lua;' require("NFScriptEnum"); script_module = nil; function init_script_system(xLua...
fix bugs
fix bugs
Lua
apache-2.0
ketoo/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,ketoo/NoahGameFrame,ketoo/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,ketoo/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFr...
82c489d5c2d6378ba7df964a0837d832f17a518c
kong/dao/schemas/upstreams.lua
kong/dao/schemas/upstreams.lua
local Errors = require "kong.dao.errors" local utils = require "kong.tools.utils" local DEFAULT_SLOTS = 100 local SLOTS_MIN, SLOTS_MAX = 10, 2^16 local SLOTS_MSG = "number of slots must be between " .. SLOTS_MIN .. " and " .. SLOTS_MAX return { table = "upstreams", primary_key = {"id"}, fields = { id = { ...
local Errors = require "kong.dao.errors" local utils = require "kong.tools.utils" local DEFAULT_SLOTS = 100 local SLOTS_MIN, SLOTS_MAX = 10, 2^16 local SLOTS_MSG = "number of slots must be between " .. SLOTS_MIN .. " and " .. SLOTS_MAX return { table = "upstreams", primary_key = {"id"}, fields = { id = { ...
fix(dao) support self_check() on incomplete upstream objects
fix(dao) support self_check() on incomplete upstream objects
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong,jebenexer/kong,Mashape/kong
18d7fa7597fec82ac794500db4a3c02464d090b7
minetestforfun_game/mods/dye/init.lua
minetestforfun_game/mods/dye/init.lua
-- minetest/dye/init.lua -- Other mods can use these for looping through available colors dye = {} dye.basecolors = {"white", "grey", "black", "red", "yellow", "green", "cyan", "blue", "magenta"} dye.excolors = {"white", "lightgrey", "grey", "darkgrey", "black", "red", "orange", "yellow", "lime", "green", "aqua", "cya...
-- minetest/dye/init.lua -- Other mods can use these for looping through available colors dye = {} dye.basecolors = {"white", "grey", "black", "red", "yellow", "green", "cyan", "blue", "magenta"} dye.excolors = {"white", "lightgrey", "grey", "darkgrey", "black", "red", "orange", "yellow", "lime", "green", "aqua", "cya...
Fix flowers to dyes crafts
Fix flowers to dyes crafts
Lua
unlicense
sys4-fr/server-minetestforfun,sys4-fr/server-minetestforfun,MinetestForFun/server-minetestforfun,crabman77/minetest-minetestforfun-server,Gael-de-Sailly/minetest-minetestforfun-server,Ombridride/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,MinetestForFun/minetest...
fade00e91f2a8db9723b85ddbfd4fc63fcdc0ff6
turbovisor.lua
turbovisor.lua
--- Turbo.lua Turbovisor, auto-reload of application on file changes. -- -- Copyright 2013 John Abrahamsen, Deyuan Deng -- -- 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.ap...
--- Turbo.lua Turbovisor, auto-reload of application on file changes. -- -- Copyright 2013 John Abrahamsen, Deyuan Deng -- -- 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.ap...
turbovisor: Fix case where kernel might stop delivering inotify notifications
turbovisor: Fix case where kernel might stop delivering inotify notifications Test case: $ turbovisor api.lua -w somefile.lua And the inotify modify event is only triggered once for somefile.lua and never again. Signed-off-by: Petr Štetiar <f0d4d86d9c7002e67e6ae7bb5596bc0afa7b4c3a@true.cz>
Lua
apache-2.0
mniestroj/turbo,zcsteele/turbo,luastoned/turbo,YuanPeir-Chen/turbo-support-mipsel,YuanPeir-Chen/turbo-support-mipsel,zcsteele/turbo,kernelsauce/turbo,ddysher/turbo,luastoned/turbo,ddysher/turbo
e5f45dd994d191ccceba5409242fe4033cb2b2ed
kong/plugins/jwt/handler.lua
kong/plugins/jwt/handler.lua
local singletons = require "kong.singletons" local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local constants = require "kong.constants" local jwt_decoder = require "kong.plugins.jwt.jwt_parser" local string_format = string.format local ngx_re_gmatch = ngx.re.gmatch...
local singletons = require "kong.singletons" local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local constants = require "kong.constants" local jwt_decoder = require "kong.plugins.jwt.jwt_parser" local string_format = string.format local ngx_re_gmatch = ngx.re.gmatch...
remove the jwt 'bearer ' prefix from cookie
remove the jwt 'bearer ' prefix from cookie
Lua
apache-2.0
icyxp/kong
621b4840bc93b03f9321e5101ec9976f9325a215
util/debug.lua
util/debug.lua
-- Variables ending with these names will not -- have their values printed ('password' includes -- 'new_password', etc.) local censored_names = { password = true; passwd = true; pass = true; pwd = true; }; local optimal_line_length = 65; local termcolours = require "util.termcolours"; local getstring = termcolours...
-- Variables ending with these names will not -- have their values printed ('password' includes -- 'new_password', etc.) local censored_names = { password = true; passwd = true; pass = true; pwd = true; }; local optimal_line_length = 65; local termcolours = require "util.termcolours"; local getstring = termcolours...
util.debug: Fix level of locals when inspecting a coroutine
util.debug: Fix level of locals when inspecting a coroutine
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
4e29570511da781651ee20a33ccf0176f20e0210
test_scripts/Smoke/Resumption/ATF_Resumption_heartbeat_disconnect.lua
test_scripts/Smoke/Resumption/ATF_Resumption_heartbeat_disconnect.lua
-- Requirement summary: -- [Data Resumption]: Data resumption on Unexpected Disconnect -- -- Description: -- Check that SDL perform resumption after heartbeat disconnect. -- 1. Used precondition -- In smartDeviceLink.ini file HeartBeatTimeout parameter is: -- HeartBeatTimeout = 7000. -- App is registerer and a...
-- Requirement summary: -- [Data Resumption]: Data resumption on Unexpected Disconnect -- -- Description: -- Check that SDL perform resumption after heartbeat disconnect. -- 1. Used precondition -- In smartDeviceLink.ini file HeartBeatTimeout parameter is: -- HeartBeatTimeout = 7000. -- App is registerer and a...
Fix test script due to issue 1893
Fix test script due to issue 1893
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
9745755e0874aeed417590bed6cbca4cb5c27ccd
packages/lime-proto-bmx6/src/bmx6.lua
packages/lime-proto-bmx6/src/bmx6.lua
#!/usr/bin/lua local network = require("lime.network") local config = require("lime.config") local fs = require("nixio.fs") local libuci = require("uci") bmx6 = {} function bmx6.setup_interface(ifname, args) local interface = network.limeIfNamePrefix..ifname.."_bmx6" local owrtFullIfname = ifname if args[2] then ...
#!/usr/bin/lua local network = require("lime.network") local config = require("lime.config") local fs = require("nixio.fs") local libuci = require("uci") bmx6 = {} function bmx6.setup_interface(ifname, args) local interface = network.limeIfNamePrefix..ifname.."_bmx6" local owrtFullIfname = ifname if args[2] then ...
fix missing @lm_ prefix for bmx interfaces
fix missing @lm_ prefix for bmx interfaces
Lua
agpl-3.0
libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages
be31b82f17134624df698089e23b2d5652f95df9
strictness.lua
strictness.lua
-- ================================================================ -- "strictness" tracks declaration and assignment of globals in Lua -- Copyright (c) 2013 Roland Y., MIT License -- v0.1.0 - compatible Lua 5.1, 5.2 -- ================================================================ local setmetatable = setmetatable ...
-- ================================================================ -- "strictness" tracks declaration and assignment of globals in Lua -- Copyright (c) 2013 Roland Y., MIT License -- v0.1.0 - compatible Lua 5.1, 5.2 -- ================================================================ local setmetatable = setmetatable ...
Fixed Lua 5.2 getfenv compat
Fixed Lua 5.2 getfenv compat
Lua
mit
Yonaba/strictness
fd6654acea837372c18781047a9925de7ad02284
redis/change_track_order.lua
redis/change_track_order.lua
local room_id = ARGV[1] local track_id = ARGV[2] local destination_track_num = tonumber(ARGV[3]) local raw_track_order = redis.call('hgetall', 'room:' .. room_id .. ':track-order') local function index_of(arr, item) for i=1, #arr, 1 do if arr[i] == item then return i end end end local function get_...
local room_id = ARGV[1] local track_id = ARGV[2] local destination_track_num = tonumber(ARGV[3]) local raw_track_order = redis.call('hgetall', 'room:' .. room_id .. ':track-order') local current_track_num = tonumber(redis.call('get', 'room:' .. room_id .. ':current-track')) local function index_of(arr, item) for i=...
fixed bug when current track num changes
fixed bug when current track num changes
Lua
agpl-3.0
vheuken/moomoo
598292ee8bc732527a09fdbaee9ede8599179b4d
src/luarocks/build/builtin.lua
src/luarocks/build/builtin.lua
--- A builtin build system: back-end to provide a portable way of building C-based Lua modules. module("luarocks.build.builtin", package.seeall) local fs = require("luarocks.fs") local path = require("luarocks.path") local util = require("luarocks.util") local cfg = require("luarocks.cfg") local dir = require("luaroc...
--- A builtin build system: back-end to provide a portable way of building C-based Lua modules. module("luarocks.build.builtin", package.seeall) local fs = require("luarocks.fs") local path = require("luarocks.path") local util = require("luarocks.util") local cfg = require("luarocks.cfg") local dir = require("luaroc...
Fix installation of modules installed as init.lua files
Fix installation of modules installed as init.lua files git-svn-id: b90ab2797f6146e3ba3e3d8b20782c4c2887e809@126 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Lua
mit
aryajur/luarocks,usstwxy/luarocks,starius/luarocks,keplerproject/luarocks,lxbgit/luarocks,rrthomas/luarocks,tst2005/luarocks,luarocks/luarocks,rrthomas/luarocks,ignacio/luarocks,lxbgit/luarocks,starius/luarocks,keplerproject/luarocks,xiaq/luarocks,xpol/luainstaller,xpol/luavm,usstwxy/luarocks,keplerproject/luarocks,xpo...
baa750af6b88d840706743d1ee98a5d58037223d
plugins/lotteria.lua
plugins/lotteria.lua
local function estrai(t, chat_id, msg_id, n) local hash = 'lotteria:' .. chat_id local tab = { } if n == false then for k, v in pairs(t) do table.insert(tab, v) redis:hdel(hash, k) end if #tab > 0 then reply_msg(msg_id, 'Ci sono ' .. #tab ...
local function estrai(t, chat_id, msg_id, n) local hash = 'lotteria:' .. chat_id local tab = { } if n == false then for k, v in pairs(t) do table.insert(tab, v) redis:hdel(hash, k) end if #tab > 0 then reply_msg(msg_id, 'Ci sono ' .. #tab ...
fix adhoc
fix adhoc
Lua
agpl-3.0
xsolinsx/AISasha
21eab960d7fb51c4b48aa8b9bba53c85e422cde1
agents/monitoring/default/protocol/request.lua
agents/monitoring/default/protocol/request.lua
--[[ Copyright 2012 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
--[[ Copyright 2012 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
Fix request.lua to handle trying to open a stupid file
Fix request.lua to handle trying to open a stupid file
Lua
apache-2.0
kans/zirgo,kans/zirgo,kans/zirgo
5fa9299cde20a865ffaf9fbf66c37e9b11d0a642
Interface/AddOns/RayUI/libs/oUF_Plugins/TotemBar.lua
Interface/AddOns/RayUI/libs/oUF_Plugins/TotemBar.lua
--[[ Documentation: Element handled: .TotemBar (must be a table with statusbar inside) .TotemBar only: .delay : The interval for updates (Default: 0.1) .colors : The colors for the statusbar, depending on the totem .Name : The totem name .Destroy (boolean): Enables/Disable the totem destruction on...
--[[ Documentation: Element handled: .TotemBar (must be a table with statusbar inside) .TotemBar only: .delay : The interval for updates (Default: 0.1) .colors : The colors for the statusbar, depending on the totem .Name : The totem name .Destroy (boolean): Enables/Disable the totem destruction...
fix totem bar
fix totem bar
Lua
mit
fgprodigal/RayUI
2576e298ca0bbe99ad46fdaf395b43eb0c1dc63c
share/lua/website/ted.lua
share/lua/website/ted.lua
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Le...
-- libquvi-scripts -- Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the G...
FIX: website/ted.lua: Check for extern media
FIX: website/ted.lua: Check for extern media * Rewrite `Ted.is_external' func using a new embed URL pattern * Revise `parse' function for minor style changes * Update thumbnail_url pattern Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>
Lua
agpl-3.0
alech/libquvi-scripts,legatvs/libquvi-scripts,alech/libquvi-scripts,legatvs/libquvi-scripts
1b1425ea5958fe089b80c47066d45620a830b3aa
applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
--[[ Luci statistics - statistics controller module (c) 2008 Freifunk Leipzig / 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 http://www.apache....
--[[ Luci statistics - statistics controller module (c) 2008 Freifunk Leipzig / 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 http://www.apache....
applications/luci-statistics: fix translation issues in controller
applications/luci-statistics: fix translation issues in controller
Lua
apache-2.0
8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,8devices/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci
c2a1c9130cd93513c4429e7e86b5b93f9fb638d8
Hydra/hydra.lua
Hydra/hydra.lua
doc.hydra.resourcesdir = {"hydra.resourcesdir -> string", "The path of the built-in lua source files, with no trailing slash."} doc.hydra.userfile = {"hydra.userfile(name)", "Returns the full path to the file ~/.hydra/{name}.lua"} function hydra.userfile(name) return os.getenv("HOME") .. "/.hydra/" .. name .. ".lua"...
doc.hydra.resourcesdir = {"hydra.resourcesdir -> string", "The path of the built-in lua source files, with no trailing slash."} doc.hydra.userfile = {"hydra.userfile(name)", "Returns the full path to the file ~/.hydra/{name}.lua"} function hydra.userfile(name) return os.getenv("HOME") .. "/.hydra/" .. name .. ".lua"...
Do nothing if hydra.reload fails due to user syntax errors; fixes #119.
Do nothing if hydra.reload fails due to user syntax errors; fixes #119.
Lua
mit
heptal/hammerspoon,Hammerspoon/hammerspoon,cmsj/hammerspoon,wvierber/hammerspoon,bradparks/hammerspoon,Stimim/hammerspoon,chrisjbray/hammerspoon,kkamdooong/hammerspoon,ocurr/hammerspoon,heptal/hammerspoon,emoses/hammerspoon,nkgm/hammerspoon,cmsj/hammerspoon,chrisjbray/hammerspoon,latenitefilms/hammerspoon,peterhajas/ha...
93073b3fe61d00ec66877f93ec270989aacb2928
config/nvim/lua/plugins/init.lua
config/nvim/lua/plugins/init.lua
local g = vim.g local fn = vim.fn local utils = require("utils") local nmap = utils.nmap local env = vim.env local plugLoad = fn["functions#PlugLoad"] local plugBegin = fn["plug#begin"] local plugEnd = fn["plug#end"] local Plug = fn["plug#"] plugLoad() plugBegin("~/.config/nvim/plugged") -- NOTE: the argument passed...
local g = vim.g local fn = vim.fn local utils = require("utils") local nmap = utils.nmap local env = vim.env local cmd = vim.cmd local plugLoad = fn["functions#PlugLoad"] local plugBegin = fn["plug#begin"] local plugEnd = fn["plug#end"] local Plug = fn["plug#"] plugLoad() plugBegin("~/.config/nvim/plugged") -- NOTE:...
fix(vim): copilot locked node version
fix(vim): copilot locked node version use copilot aliased version of node for Apple Silicon
Lua
mit
nicknisi/dotfiles,nicknisi/dotfiles,nicknisi/dotfiles
537cd7359131e22a62ce99d3685da49913995d24
src/_premake_main.lua
src/_premake_main.lua
-- -- _premake_main.lua -- Script-side entry point for the main program logic. -- Copyright (c) 2002-2014 Jason Perkins and the Premake project -- local shorthelp = "Type 'premake5 --help' for help" local versionhelp = "premake5 (Premake Build Script Generator) %s" _WORKING_DIR = os.getcwd() -- -- S...
-- -- _premake_main.lua -- Script-side entry point for the main program logic. -- Copyright (c) 2002-2014 Jason Perkins and the Premake project -- local shorthelp = "Type 'premake5 --help' for help" local versionhelp = "premake5 (Premake Build Script Generator) %s" _WORKING_DIR = os.getcwd() -- -- S...
Fix action check to work with new interactive prompt
Fix action check to work with new interactive prompt
Lua
bsd-3-clause
jstewart-amd/premake-core,Blizzard/premake-core,bravnsgaard/premake-core,dcourtois/premake-core,TurkeyMan/premake-core,premake/premake-core,Blizzard/premake-core,tritao/premake-core,Zefiros-Software/premake-core,felipeprov/premake-core,sleepingwit/premake-core,Meoo/premake-core,dcourtois/premake-core,starkos/premake-co...
a06a691ea39e61ac1a266c67bdf383996f50e6cf
openwrt/package/linkmeter/luasrc/model/cbi/linkmeter/alarm-scripts.lua
openwrt/package/linkmeter/luasrc/model/cbi/linkmeter/alarm-scripts.lua
require "luci.fs" require "luci.sys" require "lmclient" local SCRIPT_PATH = "/usr/share/linkmeter/alarm-" local function isexec_cfgvalue(self) return luci.fs.access(SCRIPT_PATH .. self.config, "x") and "1" end local function isexec_write(self, section, value) self.value = value local curmode = luci.fs.stat(SCRI...
require "luci.fs" require "luci.sys" require "lmclient" local SCRIPT_PATH = "/usr/share/linkmeter/alarm-" local function isexec_cfgvalue(self) return luci.fs.access(SCRIPT_PATH .. self.config, "x") and "1" end local function isexec_write(self, section, value) self.value = value local curmode = luci.fs.stat(SCRI...
[lm] Fix inabilty to fully remove an alarm script
[lm] Fix inabilty to fully remove an alarm script
Lua
mit
CapnBry/HeaterMeter,shmick/HeaterMeter,CapnBry/HeaterMeter,CapnBry/HeaterMeter,dwright134/HeaterMeter,CapnBry/HeaterMeter,kdakers80/HeaterMeter,shmick/HeaterMeter,dwright134/HeaterMeter,CapnBry/HeaterMeter,kdakers80/HeaterMeter,kdakers80/HeaterMeter,shmick/HeaterMeter,shmick/HeaterMeter,dwright134/HeaterMeter,CapnBry/H...
f415273b50e655e2945d6a7c2fb50c48c7e65efc
premake5.lua
premake5.lua
local build_dir = "build/" .. _ACTION -------------------------------------------------------------------------------- solution "Format" configurations { "release", "debug" } architecture "x64" location (build_dir) objdir (build_dir .. "/obj") warnings "Extra" exceptionhandling "Off"...
local build_dir = "build/" .. _ACTION -------------------------------------------------------------------------------- solution "Format" configurations { "release", "debug" } architecture "x64" location (build_dir) objdir (build_dir .. "/obj") warnings "Extra" exceptionhandling "Off"...
Fix build script
Fix build script
Lua
mit
abolz/Format
9c7a9cf059bda9011bdb96158875be53b369a646
src/extensions/cp/apple/finalcutpro/browser/AppearanceAndFiltering.lua
src/extensions/cp/apple/finalcutpro/browser/AppearanceAndFiltering.lua
--- === cp.apple.finalcutpro.browser.AppearanceAndFiltering === --- --- Clip Appearance & Filtering Menu Popover local require = require --local log = require("hs.logger").new("appearanceAndFiltering") local axutils = require "cp.ui.axutils" local Button = require "cp.ui.Button...
--- === cp.apple.finalcutpro.browser.AppearanceAndFiltering === --- --- Clip Appearance & Filtering Menu Popover local require = require --local log = require("hs.logger").new("appearanceAndFiltering") local axutils = require "cp.ui.axutils" local Button = require "cp.u...
Fixed missing modules in Appearance & Filtering
Fixed missing modules in Appearance & Filtering
Lua
mit
CommandPost/CommandPost,CommandPost/CommandPost,fcpxhacks/fcpxhacks,CommandPost/CommandPost,fcpxhacks/fcpxhacks
36bf7d8b882523b5365dab449cbd0699e05857a2
.config/awesome/widgets/mpd.lua
.config/awesome/widgets/mpd.lua
local awful = require("awful") local utils = require("utils") local lain = require("lain") local wibox = require("wibox") local icons = require("icons") local BaseWidget = require("widgets.base").BaseWidget local MPDWidget = BaseWidget.derive() local mpdmenu = awful.menu({ items = { { "Play/Pause", "mpc t...
local awful = require("awful") local utils = require("utils") local lain = require("lain") local wibox = require("wibox") local icons = require("icons") local BaseWidget = require("widgets.base").BaseWidget local MPDWidget = BaseWidget.derive() local mpdmenu = awful.menu({ items = { { "Play/Pause", "mpc t...
[Awesome] Fix MPD widget text not updating
[Awesome] Fix MPD widget text not updating widget:set_markup(...) sometiems failed because the string contains characters that need to be escaped.
Lua
mit
mphe/dotfiles,mall0c/dotfiles,mphe/dotfiles,mphe/dotfiles,mphe/dotfiles,mphe/dotfiles,mphe/dotfiles,mall0c/dotfiles
ffb4cf164449e029aeb4269c501366e2eb483798
src/core/shm.lua
src/core/shm.lua
-- shm.lua -- shared memory alternative to ffi.new() -- API: -- shm.map(name, type[, readonly]) => ptr -- Map a shared object into memory via a heirarchical name. -- shm.unmap(ptr) -- Delete a memory mapping. -- shm.unlink(path) -- Unlink a subtree of objects from the filesystem. -- -- (See NAME SYNT...
-- shm.lua -- shared memory alternative to ffi.new() -- API: -- shm.map(name, type[, readonly]) => ptr -- Map a shared object into memory via a heirarchical name. -- shm.unmap(ptr) -- Delete a memory mapping. -- shm.unlink(path) -- Unlink a subtree of objects from the filesystem. -- -- (See NAME SYNT...
core.shm: Fix bug in resolve()
core.shm: Fix bug in resolve() Corrected bug caught by SnabbBot and selftest(). resolve() was broken.
Lua
apache-2.0
plajjan/snabbswitch,SnabbCo/snabbswitch,lukego/snabbswitch,pirate/snabbswitch,andywingo/snabbswitch,pirate/snabbswitch,kbara/snabb,aperezdc/snabbswitch,snabbnfv-goodies/snabbswitch,pavel-odintsov/snabbswitch,hb9cwp/snabbswitch,Igalia/snabb,eugeneia/snabbswitch,pavel-odintsov/snabbswitch,eugeneia/snabbswitch,aperezdc/sn...
3af8ac2ec6602ed839cae962c334b72aecaaea31
tests/test_gmake_cpp.lua
tests/test_gmake_cpp.lua
-- -- tests/test_gmake_cpp.lua -- Automated test suite for GNU Make C/C++ project generation. -- Copyright (c) 2009 Jason Perkins and the Premake project -- T.gmake_cpp = { } -- -- Configure a solution for testing -- local sln, prj function T.gmake_cpp.setup() _ACTION = "gmake" _OPTIONS.os = "linux" sln = ...
-- -- tests/test_gmake_cpp.lua -- Automated test suite for GNU Make C/C++ project generation. -- Copyright (c) 2009 Jason Perkins and the Premake project -- T.gmake_cpp = { } -- -- Configure a solution for testing -- local sln, prj function T.gmake_cpp.setup() _ACTION = "gmake" _OPTIONS.os = "linux" sln = ...
Fixed failing GMake C++ tests
Fixed failing GMake C++ tests --HG-- extra : convert_revision : svn%3A644ed5ae-bb15-0410-aa60-99f397bbb77a/trunk%40927
Lua
bsd-3-clause
annulen/premake-annulen,annulen/premake-annulen,annulen/premake-dev-rgeary,warrenseine/premake,annulen/premake,Lusito/premake,annulen/premake,annulen/premake-dev-rgeary,annulen/premake-dev-rgeary,annulen/premake-annulen,Lusito/premake,annulen/premake-annulen,Lusito/premake,annulen/premake,annulen/premake,warrenseine/pr...
bd0b476dce5f3fe745f645757a5b3436900d1263
Framework/BuildTools/protoc.lua
Framework/BuildTools/protoc.lua
local function checkRecompileNeeded(file, cppOut, javaOut, pythonOut) local file_info = os.stat(file) local name = path.getbasename(file) if file_info == nil then print ("ERROR: conld not get the stats from file " .. file) return false end local cpp_info = os.stat(path.join(cppOut, name..".pb....
local function checkRecompileNeeded(file, cppOut, javaOut, pythonOut) local file_info = os.stat(file) local name = path.getbasename(file) if file_info == nil then print ("ERROR: conld not get the stats from file " .. file) return false end local cpp_info = os.stat(path.join(cppOut, name..".pb....
bugfix: only modify the file which had been rebuilt
bugfix: only modify the file which had been rebuilt
Lua
apache-2.0
BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH
91eac1bd7cea45c05a74239fe45c8703d3a3701d
turttlebot2_v4_turtlebot.lua
turttlebot2_v4_turtlebot.lua
function setVels_cb(msg) -- not sure if a scale factor is must be applied local linVel = msg.linear.x/2 -- in m/s local rotVel = msg.angular.z*wheelAxis/2 -- in rad/s velocityRight = linVel+rotVel velocityLeft = linVel-rotVel if simulationIsKinematic then -- Simulation is kinematic p=s...
function setVels_cb(msg) -- not sure if a scale factor must be applied local linVel = msg.linear.x/2 -- in m/s local rotVel = msg.angular.z*interWheelDistance/2 -- in rad/s velocityRight = linVel+rotVel velocityLeft = linVel-rotVel if simulationIsKinematic then -- Simulation is kinematic ...
Bug-fix: robot position]
Bug-fix: robot position]
Lua
apache-2.0
EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu
5abd0ffd1ee7db8da318a79fe2af888bc46c5698
tcpdns.lua
tcpdns.lua
local socket = require("socket") local struct = require("struct") ----------------------------------------- -- LRU cache function ----------------------------------------- local function LRU(size) local keys, dict = {}, {} local function get(key) local value = dict[key] if value and keys[1] ~= key then ...
local socket = require("socket") local struct = require("struct") ----------------------------------------- -- LRU cache function ----------------------------------------- local function LRU(size) local keys, dict = {}, {} local function get(key) local value = dict[key] if value and keys[1] ~= key then ...
fix wrong cache response
fix wrong cache response
Lua
mit
uleelx/dnsforwarder
c78a2e68ddccdcd26d8c2566a105f8c863fadfd5
src/extensions/cp/apple/finalcutpro/inspector/audio/AudioConfiguration.lua
src/extensions/cp/apple/finalcutpro/inspector/audio/AudioConfiguration.lua
--- === cp.apple.finalcutpro.inspector.audio.AudioConfiguration === --- --- The Audio Configuration section of the Audio Inspector. local require = require local log = require("hs.logger").new("audioConfiguration") local axutils = require("cp.ui.axutils") local...
--- === cp.apple.finalcutpro.inspector.audio.AudioConfiguration === --- --- The Audio Configuration section of the Audio Inspector. local require = require --local log = require("hs.logger").new("audioConfiguration") local axutils = require("cp.ui.axutils") loc...
#1747
#1747 - Fixed @stickler-ci errors
Lua
mit
CommandPost/CommandPost,fcpxhacks/fcpxhacks,fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost
498d060da9c60732eb3c4a465b798f355e84c676
Interface/AddOns/RayUI/modules/map/worldmap.lua
Interface/AddOns/RayUI/modules/map/worldmap.lua
local R, L, P, G = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, GlobalDB local WM = R:NewModule("WorldMap", "AceEvent-3.0", "AceHook-3.0", "AceTimer-3.0") --Cache global variables --Lua functions local _G = _G local select, unpack = select, unpack --WoW API / Variables local CreateFrame = CreateFrame...
local R, L, P, G = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, GlobalDB local WM = R:NewModule("WorldMap", "AceEvent-3.0", "AceHook-3.0", "AceTimer-3.0") --Cache global variables --Lua functions local _G = _G local select, unpack = select, unpack --WoW API / Variables local CreateFrame = CreateFrame...
fix #4.
fix #4.
Lua
mit
fgprodigal/RayUI
2049f5badbd3be66ee6cbff76cf219825bff4aab
lua/parse/char/utf8/tools.lua
lua/parse/char/utf8/tools.lua
local strbyte, strchar = string.byte, string.char local strsub = string.sub local contiguous_byte_ranges = require 'parse.char.utf8.data.contiguous_byte_ranges' local blob_tools = require 'parse.blob.tools' local next_blob = blob_tools.next local previous_blob = blob_tools.previous local special_next = {} local spec...
local strbyte, strchar = string.byte, string.char local strsub = string.sub local contiguous_byte_ranges = require 'parse.char.utf8.data.contiguous_byte_ranges' local blob_tools = require 'parse.blob.tools' local next_blob = blob_tools.next local previous_blob = blob_tools.previous local special_next = {} local spec...
More next/previous char edge case fixing
More next/previous char edge case fixing
Lua
mit
taxler/radish,taxler/radish,taxler/radish,taxler/radish,taxler/radish,taxler/radish
364c1b5c0bca6b81cd4bf90290cc6663889a33b2
worker.lua
worker.lua
#!/usr/bin/luajit local io = require("io") local os = require("os") local string = require("string") local http = require("socket.http") local json = require("dkjson") local memcache = require("memcached") local nonblock = require("nonblock") -- check effective uid if io.popen("whoami"):read("*l") ~= "root" then ...
#!/usr/bin/luajit local io = require("io") local os = require("os") local string = require("string") local http = require("socket.http") local json = require("dkjson") local memcache = require("memcached") local nonblock = require("nonblock") -- check effective uid if io.popen("whoami"):read("*l") ~= "root" then ...
to fix: tar file changed as we read it
to fix: tar file changed as we read it
Lua
mit
wizawu/meeci-worker
0d0c65524c086a80c07b0a3fd0f22daf272fecea
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"....
Fixed nova.object visibility bug. Supposedly.
Fixed nova.object visibility bug. Supposedly.
Lua
mit
Kazuo256/luxproject
2e434cc4612cee2627717537f2895dc117edeabf
pages/library/support/get.lua
pages/library/support/get.lua
function get() local data = {} local groups = xml:unmarshalFile(serverPath .. "/data/XML/groups.xml") data.list = {} for _, group in pairs(groups.groups.group) do if tonumber(group["-access"]) >= 1 then data.list[group["-name"]] = db:query("SELECT name, lastlogin FROM players WHERE...
function get() local data = {} local groups = xml:unmarshalFile(serverPath .. "/data/XML/groups.xml") data.list = {} for _, group in pairs(groups.groups.group) do if tonumber(group["-access"]) >= 1 then data.list[group["-name"]] = db:query("SELECT name, lastlogin FROM players WHERE...
Fix support page when a group has no players
Fix support page when a group has no players
Lua
mit
Raggaer/castro,Raggaer/castro,Raggaer/castro
35691ffbc44f13236469628d2dba56a53484e6fb
modules/title/sites/komplett.lua
modules/title/sites/komplett.lua
local simplehttp = require'simplehttp' local html2unicode = require'html' local trim = function(s) if(not s) then return end return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end local handler = function(queue, info) local query = info.query local path = info.path if((query and query:match('sku=%d+')) or (path and ...
local simplehttp = require'simplehttp' local html2unicode = require'html' local trim = function(s) if(not s) then return end return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end local handler = function(queue, info) local query = info.query local path = info.path if((query and query:match('sku=%d+')) or (path and ...
title/komplett: fix site plugin
title/komplett: fix site plugin Former-commit-id: c13af0a9186ba7c47e4b1b072f3d8be7da43b45f [formerly daee3ecf69d0f83e8f58fd1fb2a2e989cd79a807] Former-commit-id: 0577e5080bbc333fa882e723f578c498a21baa09
Lua
mit
torhve/ivar2,torhve/ivar2,torhve/ivar2,haste/ivar2
779480a50e424528c448cc7fcf6dcab51577149a
scen_edit/command/abstract_terrain_modify_command.lua
scen_edit/command/abstract_terrain_modify_command.lua
AbstractTerrainModifyCommand = Command:extends{} AbstractTerrainModifyCommand.className = "AbstractTerrainModifyCommand" Math = Math or {} function Math.RoundInt(x, step) x = math.round(x) return x - x % step end local function rotate(x, y, rotation) return x * math.cos(rotation) - y * math.sin(rotation)...
AbstractTerrainModifyCommand = Command:extends{} AbstractTerrainModifyCommand.className = "AbstractTerrainModifyCommand" Math = Math or {} function Math.RoundInt(x, step) x = math.round(x) return x - x % step end local function rotate(x, y, rotation) return x * math.cos(rotation) - y * math.sin(rotation)...
fix rotating brush patterns for synced operations; close #178
fix rotating brush patterns for synced operations; close #178
Lua
mit
Spring-SpringBoard/SpringBoard-Core,Spring-SpringBoard/SpringBoard-Core
413f4b7482a9b7dabaf3ac4e20d3cfb245357cf0
src/c3_spec.lua
src/c3_spec.lua
require "busted.runner" () local assert = require "luassert" describe ("c3 algorithm implementation", function () it ("can be required", function() assert.has.no.errors (function () require "c3" end) end) it ("linearizes correctly a hierarchy", function () local c3 = require "c3" local o...
require "busted.runner" () local assert = require "luassert" describe ("c3 algorithm implementation", function () it ("can be required", function() assert.has.no.errors (function () require "c3" end) end) it ("linearizes correctly a hierarchy", function () local C3 = require "c3" local c...
Fix tests.
Fix tests.
Lua
mit
saucisson/lua-c3
6587bd94be20707b017ae79905fcc5a68ed13d18
src/spy.lua
src/spy.lua
-- module will return spy table, and register its assertions with the main assert engine local assert = require('luassert.assert') local util = require('luassert.util') -- Spy metatable local spy_mt = { __call = function(self, ...) local arguments = {...} arguments.n = select('#',...) -- add argument count ...
-- module will return spy table, and register its assertions with the main assert engine local assert = require('luassert.assert') local util = require('luassert.util') -- Spy metatable local spy_mt = { __call = function(self, ...) local arguments = {...} arguments.n = select('#',...) -- add argument count ...
Fix called and called_with assertions
Fix called and called_with assertions Need to use `rawget(state, "payload")` instead of `state.payload` since `state.payload` will never return `nil`. Also use `util.tinsert` instead of `table.insert` to respect `nil` values.
Lua
mit
mpeterv/luassert,ZyX-I/luassert,o-lim/luassert
e5890bab7fd36dfb553935413b97c3a87ac1ddad
util/datamanager.lua
util/datamanager.lua
-- Prosody IM v0.4 -- 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 format = string.format; local setmetatable, type = setmetatable, type; local pairs, ipairs = ...
-- Prosody IM v0.4 -- 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 format = string.format; local setmetatable, type = setmetatable, type; local pairs, ipairs = ...
util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far.
util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
4bcb891c5c628cda37b9ce1080d488d482079f8e
board.lua
board.lua
T = require("tictaclib") local Board = {} -- 9x9 board local SBoard = {} -- 3x3 board SBoard.tostring = function(self) local ret = T.StringBuffer() for x = 1, 3 do for y = 1, 3 do ret = ret .. (self[x][y] == nil and "-" or self[x][y]) .. " " end ret = ret .. "\n" end ...
T = require("tictaclib") local Board = {} -- 9x9 board local SBoard = {} -- 3x3 board SBoard.tostring = function(self) local ret = T.StringBuffer() for x = 1, 3 do for y = 1, 3 do ret = ret .. (self[x][y] == nil and "-" or self[x][y]) .. " " end ret = ret .. "\n" end ...
Fix algorithm bugs
Fix algorithm bugs
Lua
apache-2.0
Motiejus/tictactoelib,Motiejus/tictactoelib
8e9d893b8febade76c5057aba4afc1fe439c331f
OS/DiskOS/Programs/run.lua
OS/DiskOS/Programs/run.lua
--This file loads a lk12 disk and execute it --First we will start by obtaining the disk data --We will run the current code in the editor print("") local eapi = require("C://Editors") local sprid = "spritesheet" local codeid = "luacode" local diskdata = eapi:export() diskdata = loadstring(diskdata)() --Load the sp...
--This file loads a lk12 disk and execute it --First we will start by obtaining the disk data --We will run the current code in the editor print("") local eapi = require("C://Editors") local sprid = "spritesheet" local codeid = "luacode" local diskdata = eapi:export() diskdata = loadstring(diskdata)() --Load the sp...
Bugfix
Bugfix
Lua
mit
RamiLego4Game/LIKO-12
034c5364e87f4acef941582f095e0169a71ed941
premake5.lua
premake5.lua
function CommonConfig() language "C++" if os.get() ~= "windows" then buildoptions "-std=c++11" else links { "ws2_32" } end configuration "Debug" defines { "DEBUG" } flags { "Symbols" } configuration "Release" defines { "NDEBUG" } flags { "Optimize" } end solution "lib-lifx" configurations { "...
function CommonConfig() language "C++" if os.get() ~= "windows" then buildoptions "-std=c++11" else links { "ws2_32" } end configuration "Debug" defines { "DEBUG" } flags { "Symbols" } configuration "Release" defines { "NDEBUG" } flags { "Optimize" } end solution "lib-lifx" configurations { "...
Fixed C++14 warning. Fixed library name.
Fixed C++14 warning. Fixed library name.
Lua
mit
sanyaade-iot/lib-lifx,codemaster/lib-lifx
334643cefb329fd068a856da118af1c05aa1c6f2
MMOCoreORB/bin/scripts/managers/loot_manager.lua
MMOCoreORB/bin/scripts/managers/loot_manager.lua
--Copyright (C) 2007 <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 lat...
--Copyright (C) 2007 <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 lat...
(unstable) [fixed] fixed LLC sea's to use the correct string. Mantis 2719. Patch by Ivojedi.
(unstable) [fixed] fixed LLC sea's to use the correct string. Mantis 2719. Patch by Ivojedi. git-svn-id: e4cf3396f21da4a5d638eecf7e3b4dd52b27f938@6559 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/lege...
3588da93d8a3c07826814212a69d817280ce4457
libremap-agent/luasrc/libremap/plugins/wireless.lua
libremap-agent/luasrc/libremap/plugins/wireless.lua
--[[ Copyright 2013 Nicolás Echániz <nicoechaniz@altermundi.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 http://www.apache.org/licenses/LICENSE-2.0 ]]-- local netm = require "luci.model....
--[[ Copyright 2013-2015 Nicolás Echániz <nicoechaniz@altermundi.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 http://www.apache.org/licenses/LICENSE-2.0 ]]-- local netm = require "luci.m...
fixed wireless plugin
fixed wireless plugin
Lua
apache-2.0
libre-mesh/libremap-agent,rogerpueyo/libremap-agent-openwrt,libremap/libremap-agent-openwrt
0d34af972e57f8171df6ffc1a3db8c5b1b0c5d46
modules/game_ruleviolation/ruleviolation.lua
modules/game_ruleviolation/ruleviolation.lua
RuleViolation = {} -- private variables local rvreasons = {} rvreasons[0] = tr("1a) Offensive Name") rvreasons[1] = tr("1b) Invalid Name Format") rvreasons[2] = tr("1c) Unsuitable Name") rvreasons[3] = tr("1d) Name Inciting Rule Violation") rvreasons[4] = tr("2a) Offensive Statement") rvreasons[5] = tr("2b) Spamming")...
RuleViolation = {} -- private variables local rvreasons = {} rvreasons[1] = tr("1a) Offensive Name") rvreasons[2] = tr("1b) Invalid Name Format") rvreasons[3] = tr("1c) Unsuitable Name") rvreasons[4] = tr("1d) Name Inciting Rule Violation") rvreasons[5] = tr("2a) Offensive Statement") rvreasons[6] = tr("2b) Spamming")...
fix on ruleviolation reason indexes
fix on ruleviolation reason indexes
Lua
mit
dreamsxin/otclient,kwketh/otclient,EvilHero90/otclient,gpedro/otclient,Cavitt/otclient_mapgen,Radseq/otclient,EvilHero90/otclient,kwketh/otclient,dreamsxin/otclient,Cavitt/otclient_mapgen,gpedro/otclient,dreamsxin/otclient,gpedro/otclient,Radseq/otclient
0f8bd011f21fc6c9c77b448287d35cfa269b9a22
Happy_Number/Lua/Yonaba/happy.lua
Happy_Number/Lua/Yonaba/happy.lua
-- Happy Number implementation -- See: http://en.wikipedia.org/wiki/Happy_number -- Utility function -- Returns the sums of squares of the digits of a number n local function sumsq(n) local ssq = 0 for d in tostring(n):gmatch('%d') do local num_d = tonumber(d) ssq = ssq + num_d * num_d end return ssq end -- C...
-- Happy Number implementation -- See: http://en.wikipedia.org/wiki/Happy_number -- Utility function -- Returns the sums of squares of the digits of a number n local function sumsq(n) local ssq = 0 for d in tostring(n):gmatch('%d') do local num_d = tonumber(d) ssq = ssq + num_d * num_d end return ssq e...
Fixed implementation
Fixed implementation
Lua
mit
imanmafi/Algorithm-Implementations,varunparkhe/Algorithm-Implementations,Sweet-kid/Algorithm-Implementations,imrandomizer/Algorithm-Implementations,AntonioModer/Algorithm-Implementations,Yonaba/Algorithm-Implementations,girishramnani/Algorithm-Implementations,warreee/Algorithm-Implementations,aayushKumarJarvis/Algorith...
e4473b66fbbb48ec96761d74e592e4a73df55ee6
plugins/why.lua
plugins/why.lua
do local function is_banned(user_id, chat_id) local hash = 'banned:'..chat_id..':'..user_id local banned = redis:get(hash) return banned or false end local function is_super_banned(user_id) local hash = 'superbanned:'..user_id local superbanned = redis:get(hash) return superbanned or fal...
local function is_banned(user_id, chat_id) local hash = 'banned:'..chat_id..':'..user_id local banned = redis:get(hash) return banned or false end local function is_super_banned(user_id) local hash = 'superbanned:'..user_id local superbanned = redis:get(hash) return superbanned or false ...
Fixed plugin why
Fixed plugin why command !why <id> didn't work for local gruoup ban, just for superban, fixed now !why <username> don't need the @ unified plugin style
Lua
mit
KevinGuarnati/controllore,KevinGuarnati/controllore
e7863543489de790fbafbbfc1c0dfb9dd78fe733
util/events.lua
util/events.lua
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local pairs = pairs; local t_insert = table.insert; local t_sort = table.sort; module "events" functio...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local pairs = pairs; local t_insert = table.insert; local t_sort = table.sort; module "events" functio...
util.events: Fixed the exposed API for adding/removing sets of event handlers.
util.events: Fixed the exposed API for adding/removing sets of event handlers.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
64c91c5543de0d458bea69b78763b12f5155aff2
durden/atypes/wayland-x11.lua
durden/atypes/wayland-x11.lua
-- -- Simplified policy/mutation rules for X11 surfaces allocated via -- wayland->x11-bridge. These are slightly special in that they can -- possibly change role/behavior as they go along, and current -- behavior as to visibility etc. is based on that. -- -- The corresponding low-level implementation is in waybridge/ -...
-- -- Simplified policy/mutation rules for X11 surfaces allocated via -- wayland->x11-bridge. These are slightly special in that they can -- possibly change role/behavior as they go along, and current -- behavior as to visibility etc. is based on that. -- -- The corresponding low-level implementation is in waybridge/ -...
xwayland, support more window types, popup pos fix
xwayland, support more window types, popup pos fix
Lua
bsd-3-clause
letoram/durden
b242f6dba354ec80d9fcc0fb9472a65146573a2b
test_scripts/Polices/Policy_Table_Update/ATF_PTU_request_after_N_ignition_cycles.lua
test_scripts/Polices/Policy_Table_Update/ATF_PTU_request_after_N_ignition_cycles.lua
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [PolicyTableUpdate] Request to update PT - after "N" ignition cycles -- -- Description: -- Triggering PTU on reaching 'ignition_cycles_since_last_exchange' value -- 1. Used preconditions: -- Delete l...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [PolicyTableUpdate] Request to update PT - after "N" ignition cycles -- -- Description: -- Triggering PTU on reaching 'ignition_cycles_since_last_exchange' value -- 1. Used preconditions: -- Delete l...
Add fix after clarification requirements
Add fix after clarification requirements
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
f09a0b78eb95ebdb1e426c3d668b4eeabf01a1c8
applications/luci-statistics/luasrc/statistics/i18n.lua
applications/luci-statistics/luasrc/statistics/i18n.lua
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / 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 http://www.apache.org/licen...
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / 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 http://www.apache.org/licen...
application/luci-statistics: fix i18n binding, use string() instead of translate
application/luci-statistics: fix i18n binding, use string() instead of translate git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5181 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
47a5341b064120fd85cae7d8e0ade5a103fdfdb5
testserver/item/id_74_axe.lua
testserver/item/id_74_axe.lua
-- lumberjacking -- UPDATE common SET com_script='item.id_74_axe' WHERE com_itemid IN (74,2946); require("base.common") require("item.general.metal") require("content.gathering") module("item.id_74_axe", package.seeall) function UseItem( User, SourceItem, TargetItem, Counter, Param, ltstate ) content.gathering.Init...
-- lumberjacking -- UPDATE common SET com_script='item.id_74_axe' WHERE com_itemid IN (74,2946); require("base.common") require("item.general.metal") require("content.gathering") module("item.id_74_axe", package.seeall) function UseItem( User, SourceItem, TargetItem, Counter, Param, ltstate ) content.gathering.Init...
Nil value fix
Nil value fix
Lua
agpl-3.0
Illarion-eV/Illarion-Content,vilarion/Illarion-Content,LaFamiglia/Illarion-Content,KayMD/Illarion-Content,Baylamon/Illarion-Content
387ada5bd9a2d435362a0dc0a9af6c1b59401323
ferre/updates.lua
ferre/updates.lua
#!/usr/local/bin/lua local sql = require'carlos.sqlite' local fd = require'carlos.fold' local aux = require'ferre.aux' local mx = require'ferre.timezone' local hd = require'ferre.header' local week = os.date('W%U', mx()) local QRY = 'SELECT * FROM updates %s' local function push(week, vers, ret) local conn = a...
#!/usr/local/bin/lua local sql = require'carlos.sqlite' local fd = require'carlos.fold' local aux = require'ferre.aux' local mx = require'ferre.timezone' local hd = require'ferre.header' local week = os.date('W%U', mx()) local QRY = 'SELECT * FROM updates %s' local function push(week, vers, ret) local conn = a...
Fixing the LOOP
Fixing the LOOP
Lua
bsd-2-clause
CAAP/ferre
22ba36cf60163369971e9b71b7ba7e7951b7de46
utils.lua
utils.lua
require('nn') require('image') local utils = {} function utils.center2Corners(g, delta, N, dim_size) local p1 = math.max(math.floor(g + (1 - N/ 2 - 0.5) * delta), 1) local p2 = math.min(math.ceil(g + (N / 2 - 0.5) * delta), dim_size) return p1, p2 end function utils.toRGB(batch) local output = torch.Tensor(...
require('nn') require('image') local utils = {} function utils.center2Corners(g, delta, N, dim_size) local p1 = math.floor(g + (1 - N/ 2 - 0.5) * delta) p1 = math.max(math.min(p1, dim_size), 1) local p2 = math.ceil(g + (N / 2 - 0.5) * delta) p2 = math.max(math.min(p2, dim_size), 1) return p1, p2 end funct...
Fix rectangle coordinate clipping
Fix rectangle coordinate clipping
Lua
mit
vasilish/torch-draw
58cf56bb8dd03b215d5508c1fda18be05c57b9ef
item/id_271_scythe.lua
item/id_271_scythe.lua
-- scythe ( 271 ) -- (fully grown) grain (248) --> bundle of grain (249) -- UPDATE common SET com_script='item.id_271_scythe' WHERE com_itemid IN (271); require("base.common") require("item.general.metal") require("content.gathering") module("item.id_271_scythe", package.seeall, package.seeall(item.general.metal)) ...
-- scythe ( 271 ) -- (fully grown) grain (248) --> bundle of grain (249) -- UPDATE common SET com_script='item.id_271_scythe' WHERE com_itemid IN (271); require("base.common") require("item.general.metal") require("content.gathering") module("item.id_271_scythe", package.seeall, package.seeall(item.general.metal)) ...
fix search for (fully grown) grain (Mantis 0009436)
fix search for (fully grown) grain (Mantis 0009436)
Lua
agpl-3.0
Baylamon/Illarion-Content,KayMD/Illarion-Content,vilarion/Illarion-Content,LaFamiglia/Illarion-Content,Illarion-eV/Illarion-Content
eb6e61fc11f8ef2375ad8715cb57518b9201ebc9
src/screens/SelectionScreen.lua
src/screens/SelectionScreen.lua
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
Fix deletion of temporary files when exiting from the selection menu
Fix deletion of temporary files when exiting from the selection menu
Lua
mit
rm-code/logivi
36d7318ebb2bf5b6d84af626c70aea4d1b3ae7cf
lua/tcp.lua
lua/tcp.lua
local internet = require('internet'); local JSON = require("json"); local config = require('config'); local conf = config.get(config.path); local handle = internet.open(conf.serverIP, tonumber(conf.tcpPort)); handle:setvbuf('line'); -- handle:setTimeout('10'); local M = {}; function M.read() -- reads delimited by ...
local internet = require('internet'); local JSON = require("json"); local config = require('config'); local conf = config.get(config.path); local handle = internet.open(conf.serverIP, tonumber(conf.tcpPort)); handle:setvbuf('line'); -- handle:setTimeout('10'); local M = {}; function M.read() -- reads delimited by ...
tcp crash from failure to serialize functions fixed maybe
tcp crash from failure to serialize functions fixed maybe
Lua
mit
dunstad/roboserver,dunstad/roboserver