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
abd4fbabfe59505b207019e927ed162c545244e3
Container.lua
Container.lua
-- This is code common to container modules, which are collections of -- smaller constituent modules like Parallel, Sequential, etc. local Container, parent = torch.class('nn.Container', 'nn.Module') function Container:__init(...) parent.__init(self, ...) self.modules = {} end function Container:add(module) ...
-- This is code common to container modules, which are collections of -- smaller constituent modules like Parallel, Sequential, etc. local Container, parent = torch.class('nn.Container', 'nn.Module') function Container:__init(...) parent.__init(self, ...) self.modules = {} end function Container:add(module) ...
Fix error handling
Fix error handling When using luajit strings have no split method.
Lua
bsd-3-clause
eriche2016/nn,diz-vara/nn,jonathantompson/nn,apaszke/nn,sagarwaghmare69/nn,colesbury/nn,joeyhng/nn,nicholas-leonard/nn,kmul00/nn,PraveerSINGH/nn
83c1a2ac8875be03f20aeb6647718ec3b6a16c77
lua/sfoto/imagegrid.lua
lua/sfoto/imagegrid.lua
module(..., package.seeall) require("sfoto") local Gridder = {} local Gridder_mt = {__metatable = {}, __index = Gridder} function new(node, photo_url, sputnik) return setmetatable({node=node, photo_url=photo_url, sputnik=sputnik}, Gridder_mt) end -----------------------------------------------------------------...
module(..., package.seeall) require("sfoto") local Gridder = {} local Gridder_mt = {__metatable = {}, __index = Gridder} function new(node, photo_url, sputnik) return setmetatable({node=node, photo_url=photo_url, sputnik=sputnik}, Gridder_mt) end -----------------------------------------------------------------...
Another fix for sfoto grid paths.
Another fix for sfoto grid paths.
Lua
mit
yuri/sfoto
19d3fbb199dcca0de559177e83214ba5185a1e77
android-demo-cifar/appication/assets/init-only.lua
android-demo-cifar/appication/assets/init-only.lua
---------------------------------------------------------------------- -- This script is based on file from below address. -- -- https://github.com/torch/demos/blob/master/train-on-cifar/train-on-cifar.lua -- -- Some lines are added for using model on android demo application. -- without require Cifar-10 data set agai...
---------------------------------------------------------------------- -- This script is based on file from below address. -- -- https://github.com/torch/demos/blob/master/train-on-cifar/train-on-cifar.lua -- -- Some lines are added for using model on android demo application. -- without require Cifar-10 data set agai...
fix TensorType error
fix TensorType error
Lua
bsd-3-clause
appaquet/torch-android,quanhua92/torch-android,soumith/torch-android,soumith/torch-android,quanhua92/torch-android,appaquet/torch-android,appaquet/torch-android,soumith/torch-android,soumith/torch-android,appaquet/torch-android,quanhua92/torch-android,appaquet/torch-android,quanhua92/torch-android,quanhua92/torch-andro...
75d1f7f045cda17501190b03935778b968ab0e7d
pages/admin/shop/offer/new/post.lua
pages/admin/shop/offer/new/post.lua
require "bbcode" require "util" function post() if not app.Shop.Enabled then http:redirect("/") return end if not session:isAdmin() then http:redirect("/") return end local data = {} data.category = db:singleQuery("SELECT id, name FROM castro_shop_categories W...
require "bbcode" require "util" function post() if not app.Shop.Enabled then http:redirect("/") return end if not session:isAdmin() then http:redirect("/") return end local data = {} data.category = db:singleQuery("SELECT id, name FROM castro_shop_categories W...
Fix #93
Fix #93
Lua
mit
Raggaer/castro,Raggaer/castro,Raggaer/castro
497566ce0371285230e38b9bca467fc8e8676185
plugins/mod_uptime.lua
plugins/mod_uptime.lua
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local jid_split = require "util.jid".split; local t_concat = table.co...
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local jid_split = require "util.jid".split; local t_concat = table.conc...
mod_uptime: Updated to use events (which also fixes a few minor issues).
mod_uptime: Updated to use events (which also fixes a few minor issues).
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
6bd7890e36ae3279cf57903e24747f4688fdbc7f
cmd/lark/lark.lua
cmd/lark/lark.lua
require 'string' require 'table' require 'os' local core = require('lark.core') local function flatten(...) local flat = {} for i, v in pairs(arg) do if i == 'n' then -- noop elseif type(v) == 'table' then for j, v_inner in pairs(flatten(unpack(v))) do t...
require 'string' require 'table' require 'os' local core = require('lark.core') local function flatten(...) local flat = {} for i, v in pairs(arg) do if i == 'n' then -- noop elseif type(v) == 'table' then for j, v_inner in pairs(flatten(unpack(v))) do t...
remove invalid BUG comment
remove invalid BUG comment The semantics of `or` are not as were believed. An empty string is a true value.
Lua
mit
bmatsuo/lark,bmatsuo/lark
f41657d563a34eab94a6921277a753f2bac6b4df
examples/ipsec-vpn.lua
examples/ipsec-vpn.lua
local dpdk = require "dpdk" local ipsec = require "ipsec" local memory = require "memory" local device = require "device" function master(txPort, rxPort) if not txPort or not rxPort then return print("Usage: txPort rxPort") end local txDev = device.config(txPort, 1) local rxDev = device.config(rxPort, 1) device...
local dpdk = require "dpdk" local ipsec = require "ipsec" local memory = require "memory" local device = require "device" function master(txPort, rxPort) if not txPort or not rxPort then return print("Usage: txPort rxPort") end local txDev = device.config(txPort, 1) local rxDev = device.config(rxPort, 1) device...
ipsec: fixed IPs, counter in payload
ipsec: fixed IPs, counter in payload
Lua
mit
atheurer/MoonGen,wenhuizhang/MoonGen,emmericp/MoonGen,scholzd/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,NetronomeMoongen/MoonGen,gallenmu/MoonGen,wenhuizhang/MoonGen,duk3luk3/MoonGen,scholzd/MoonGen,emmericp/MoonGen,NetronomeMoongen/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,emmericp/MoonGen,NetronomeMoongen/MoonGen,ath...
414962d02150e868269fbbc63e7c378d8f089ff0
src/cli/utils/start.lua
src/cli/utils/start.lua
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handle:read() handle:close() local matched =...
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local KONG_SYSLOG = "kong-hf.mashape.com" local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handl...
Fixes #111
Fixes #111
Lua
apache-2.0
salazar/kong,rafael/kong,vzaramel/kong,Kong/kong,kyroskoh/kong,jebenexer/kong,Vermeille/kong,vzaramel/kong,Kong/kong,icyxp/kong,ind9/kong,akh00/kong,shiprabehera/kong,ind9/kong,ccyphers/kong,streamdataio/kong,rafael/kong,isdom/kong,ejoncas/kong,xvaara/kong,jerizm/kong,Mashape/kong,isdom/kong,kyroskoh/kong,ajayk/kong,sm...
d4133f277f4129adef08c82020bf82611effb803
vi_mode_search.lua
vi_mode_search.lua
-- Handle the vim search emulation -- Modeled on textadept's command_entry.lua local M = {} M.search_hl_indic = _SCINTILLA.next_indic_number() local function set_colours() buffer.indic_fore[M.search_hl_indic] = 0xFF0000 buffer.indic_style[M.search_hl_indic] = _SCINTILLA.constants.INDIC_ROUNDBOX buffer.ind...
-- Handle the vim search emulation -- Modeled on textadept's command_entry.lua local M = {} M.search_hl_indic = _SCINTILLA.next_indic_number() local function set_colours() buffer.indic_fore[M.search_hl_indic] = 0xFF0000 buffer.indic_style[M.search_hl_indic] = _SCINTILLA.constants.INDIC_ROUNDBOX buffer.ind...
A much simpler fix for the search default text issue.
A much simpler fix for the search default text issue.
Lua
mit
jugglerchris/textadept-vi,jugglerchris/textadept-vi
b3a32b74aca7178c26769052d9e2e6f179cfadea
Quadtastic/AppLogic.lua
Quadtastic/AppLogic.lua
local unpack = unpack or table.unpack local quit = love.event.quit or os.exit local AppLogic = {} local function run(self, f, ...) assert(type(f) == "function" or self._state.coroutine) local co, ret if self._state.coroutine then co = self._state.coroutine ret = {coroutine.resume(co, ...)} else c...
local unpack = unpack or table.unpack local quit = love.event.quit or os.exit local AppLogic = {} local function run(self, f, ...) assert(type(f) == "function" or self._state.coroutine) local co, ret if self._state.coroutine then co = self._state.coroutine ret = {coroutine.resume(co, ...)} else c...
Fix how function calls are queued while target state is not active
Fix how function calls are queued while target state is not active
Lua
mit
25A0/Quadtastic,25A0/Quadtastic
07599c84fc1a01bfe999f3ad13206c568eea89ee
src/controls.lua
src/controls.lua
local datastore = require 'datastore' local controls = {} local buttonmap = datastore.get( 'buttonmap', { UP = 'up', DOWN = 'down', LEFT = 'left', RIGHT = 'right', SELECT = 'v', START = 'escape', JUMP = ' ', ACTION = 'z', } ) function controls.getKeymap() local keymap = {} for...
local datastore = require 'datastore' local controls = {} local buttonmap = datastore.get( 'buttonmap', { UP = 'up', DOWN = 'down', LEFT = 'left', RIGHT = 'right', SELECT = 'v', START = 'escape', JUMP = ' ', ACTION = 'z', } ) function controls.getKeymap() local keymap = {} for...
compliance fix
compliance fix
Lua
mit
hawkthorne/hawkthorne-client-lua,hawkthorne/hawkthorne-client-lua
2497f473f9d0567314e5232cd8bf9505702e90ec
src/lunajson/encode.lua
src/lunajson/encode.lua
local byte = string.byte local find = string.find local format = string.format local gsub = string.gsub local match = string.match local rawequal = rawequal local tostring = tostring local type = type local function encode(v, nullv) local i = 1 local builder = {} local visited = {} local function f_tostring(v) ...
local byte = string.byte local find = string.find local format = string.format local gsub = string.gsub local match = string.match local rawequal = rawequal local tostring = tostring local pairs = pairs local type = type local function encode(v, nullv) local i = 1 local builder = {} local visited = {} local funct...
fix tonumber precision
fix tonumber precision
Lua
mit
bigcrush/lunajson,tst2005/lunajson,grafi-tt/lunajson,csteddy/lunajson,grafi-tt/lunajson,grafi-tt/lunajson,tst2005/lunajson,bigcrush/lunajson,csteddy/lunajson
248223599e402b16217674350776296861463455
src/plugins/finalcutpro/timeline/stabilization.lua
src/plugins/finalcutpro/timeline/stabilization.lua
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- C O M M A N D P O S T -- -----------------------------------------------------------------------------...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- C O M M A N D P O S T -- -----------------------------------------------------------------------------...
#1074
#1074 - Fixed bug when toggling Stabilisation - Closes #1074
Lua
mit
fcpxhacks/fcpxhacks,CommandPost/CommandPost,fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost
44ca73d9f263332d4017ee25c41c7a9463e70486
mods/soundset/init.lua
mods/soundset/init.lua
minetest.log("action","[mod soundset] Loading...") soundset = {} soundset.file = minetest.get_worldpath() .. "/sounds_config.txt" soundset.gainplayers = {} soundset.tmp = {} local function save_sounds_config() local input = io.open(soundset.file, "w") if input then input:write(minetest.serialize(soundset.gainpla...
minetest.log("action","[mod soundset] Loading...") soundset = {} soundset.file = minetest.get_worldpath() .. "/sounds_config.txt" soundset.gainplayers = {} soundset.tmp = {} local function save_sounds_config() local input = io.open(soundset.file, "w") if input then input:write(minetest.serialize(soundset.gainpla...
Soundset: Fix crash when dead players rejoin a rebooted server
Soundset: Fix crash when dead players rejoin a rebooted server
Lua
unlicense
LeMagnesium/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,crabman77/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,Coethium/server-minetestforfun,MinetestForFun/minetest-minetestforfun-server,Coethium/server-minetestforfun,sy...
fa5dc09c5f01d70641d5bd4d5fd04a34948e3a2e
core/ext/find.lua
core/ext/find.lua
-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE. local find = textadept.find --- -- [Local table] Text escape sequences with their associated characters. -- @class table -- @name escapes local escapes = { ['\\a'] = '\a', ['\\b'] = '\b', ['\\f'] = '\f', ['\\n'] = '\n', ['\\r'] = '\r', ['\\t'] = ...
-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE. local find = textadept.find --- -- [Local table] Text escape sequences with their associated characters. -- @class table -- @name escapes local escapes = { ['\\a'] = '\a', ['\\b'] = '\b', ['\\f'] = '\f', ['\\n'] = '\n', ['\\r'] = '\r', ['\\t'] = ...
Fixed 'find previous' bug; core/ext/find.lua Changeset 15 introduced an 'increment' variable that is normally +/-1 for find next and find prev respectively. However instead of adding the increment for find prev, it subtracts it, effectively adding 1 which is not right.
Fixed 'find previous' bug; core/ext/find.lua Changeset 15 introduced an 'increment' variable that is normally +/-1 for find next and find prev respectively. However instead of adding the increment for find prev, it subtracts it, effectively adding 1 which is not right.
Lua
mit
rgieseke/textadept,rgieseke/textadept
fab27a7909658f0125a478de2993513717fad8c8
Peripherals/GPU/calibrate.lua
Peripherals/GPU/calibrate.lua
--This file is responsible of generating all the drawing offsets --It will works by testing on canvases, invisibly to the user. --[[local ofs = {} --Offsets table. ofs.point = {0,0} --The offset of GPU.point/s. ofs.print = {-1,-1} --The offset of GPU.print. ofs.print_grid = {-1,-1} --The offset of GPU.print with grid m...
--This file is responsible of generating all the drawing offsets --It will works by testing on canvases, invisibly to the user. --[[local ofs = {} --Offsets table. ofs.point = {0,0} --The offset of GPU.point/s. ofs.print = {-1,-1} --The offset of GPU.print. ofs.print_grid = {-1,-1} --The offset of GPU.print with grid m...
Color values fix calibrate.lua
Color values fix calibrate.lua Former-commit-id: 659a057d9fd97905df0ed132163f2fe72edf423c
Lua
mit
RamiLego4Game/LIKO-12
faf2ece79d5e8f4c79c0c57d81cc7b1136fda425
baraza.lua
baraza.lua
dofile("urlcode.lua") dofile("table_show.lua") local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local downloaded = {} local addedtolist = {} read_file = function(file) if file then local f = assert(io.open(file)) local data = f:read("*a...
dofile("urlcode.lua") dofile("table_show.lua") local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local downloaded = {} local addedtolist = {} local ids = {} read_file = function(file) if file then local f = assert(io.open(file)) local d...
baraza.lua: fixes and additions
baraza.lua: fixes and additions
Lua
unlicense
ArchiveTeam/baraza-grab,ArchiveTeam/baraza-grab
2d6598ef14b231369d1e7c73aaa5f18504a38583
src/Source.lua
src/Source.lua
local system = require 'system' local Source = {} function Source:new(o) local o = o or {} setmetatable(o, self) self.__index = self return o end local GitSource = Source:new() local HgSource = Source:new() local RepoSource = Source:new() -- Source function Source:is_scm() return self.type ...
local system = require 'system' local Source = {} function Source:new(o) local o = o or {} setmetatable(o, self) self.__index = self return o end local GitSource = Source:new() local HgSource = Source:new() local RepoSource = Source:new() -- Source function Source:is_scm() return self.type ...
Fix HgSource update and switch
Fix HgSource update and switch
Lua
mit
bazurbat/jagen
bb54d580dc1f8cbe01c43de6a2fe4a89c9b2f349
tests/test.lua
tests/test.lua
--[[-------------------------------------------------------------------------- LGI core testsuite runner. Copyright (c) 2010, 2011 Pavel Holejsovsky Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php --]]-------------------------------------------------------------------------...
--[[-------------------------------------------------------------------------- LGI core testsuite runner. Copyright (c) 2010, 2011 Pavel Holejsovsky Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php --]]-------------------------------------------------------------------------...
Fix testsuite runner in debug mode - break when debugger is detected.
Fix testsuite runner in debug mode - break when debugger is detected. Propagate .debug flag into groups only after the groups are actually created and loaded.
Lua
mit
pavouk/lgi,zevv/lgi,psychon/lgi
746452873839752fcd092b9406f3f5449cf02f24
heka/sandbox/filters/telemetry_latency.lua
heka/sandbox/filters/telemetry_latency.lua
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. --[[ 1) How many days do we need to look back for k% of active profiles to be up-to-date? Each active profile is a...
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. --[[ 1) What’s the delay in hours between the date a ping was created and the time it was received on our servers...
Followed up on comment for Bug 1134669.
Followed up on comment for Bug 1134669.
Lua
mpl-2.0
mozilla-services/data-pipeline,whd/data-pipeline,nathwill/data-pipeline,mreid-moz/data-pipeline,sapohl/data-pipeline,whd/data-pipeline,nathwill/data-pipeline,sapohl/data-pipeline,acmiyaguchi/data-pipeline,mreid-moz/data-pipeline,acmiyaguchi/data-pipeline,nathwill/data-pipeline,mozilla-services/data-pipeline,kparlante/d...
a55ccf980ac9e68cb20499dc74f39b33834ac21b
mod_register_redirect/mod_register_redirect.lua
mod_register_redirect/mod_register_redirect.lua
-- (C) 2010-2011 Marco Cirillo (LW.Org) -- (C) 2011 Kim Alvefur -- -- Registration Redirect module for Prosody -- -- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration. local st = require "util.stanza" local cman = configmanager function reg_redirect(event) loca...
-- (C) 2010-2011 Marco Cirillo (LW.Org) -- (C) 2011 Kim Alvefur -- -- Registration Redirect module for Prosody -- -- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration. local st = require "util.stanza" local cman = configmanager function reg_redirect(event) loca...
mod_register_redirect: rebacked in changeset c6f1427da79d (behaviour fixed).
mod_register_redirect: rebacked in changeset c6f1427da79d (behaviour fixed).
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
4f860f189797cc7767e0e6890d6b76c2afead13a
Shilke2D/Utils/Table.lua
Shilke2D/Utils/Table.lua
---Extends table namespace ---clears a table, setting all the values to nil --@param t the table to clear --@param recursive [optional] if true clear all subtables deeply. Default value is false function table.clear(t,recursive) for k,_ in pairs(t) do if recursive and type(t[k]) == 'table' then table.clear(t...
---Extends table namespace ---clears a table, setting all the values to nil --@param t the table to clear --@param recursive [optional] if true clear all subtables deeply. Default value is false function table.clear(t,recursive) for k,_ in pairs(t) do if recursive and type(t[k]) == 'table' then table.clear(t...
fix/improvement for sortedpairs iterator
fix/improvement for sortedpairs iterator the compare function is in now the form comp(t,a,b) where t is the table and a,b the keys to be compared. That allows to make compare functions based on table values, comparing t[a] with t[b]
Lua
mit
Shrike78/Shilke2D
d725a42e2efd2df34dc21cc1a8bb087241064268
src/luarocks/cache.lua
src/luarocks/cache.lua
--- Module handling the LuaRocks local cache. -- Adds a rock or rockspec to a rocks server. --module("luarocks.cache", package.seeall) local cache = {} package.loaded["luarocks.cache"] = cache local fs = require("luarocks.fs") local cfg = require("luarocks.cfg") local dir = require("luarocks.dir") local util = requir...
--- Module handling the LuaRocks local cache. -- Adds a rock or rockspec to a rocks server. --module("luarocks.cache", package.seeall) local cache = {} package.loaded["luarocks.cache"] = cache local fs = require("luarocks.fs") local cfg = require("luarocks.cfg") local dir = require("luarocks.dir") local util = requir...
Do not handle cfg.local_cache == nil in luarocks.cache
Do not handle cfg.local_cache == nil in luarocks.cache cfg.local_cache is always set by defaults. Fixes #479.
Lua
mit
keplerproject/luarocks,starius/luarocks,ignacio/luarocks,xpol/luarocks,robooo/luarocks,xpol/luavm,xpol/luavm,keplerproject/luarocks,keplerproject/luarocks,luarocks/luarocks,robooo/luarocks,xpol/luavm,starius/luarocks,xpol/luainstaller,luarocks/luarocks,starius/luarocks,xpol/luavm,ignacio/luarocks,robooo/luarocks,luaroc...
404610707ad4dc79c9544b110a9eca0cb3dca05a
input.lua
input.lua
local function event(name, ...) if input[name] then input[name](...) return true end return false end function love.keypressed(name, num) return event("key_"..name) or event("key_any", name) end function love.joystickpressed(joystick, button) local name = "joy_"..joystick.."_bu...
-- Input handling library. This is meant to simplify the handling of keyboard -- and joystick events. -- Note that it doesn't really support joystick axes except as d-pads - that is -- to say, pushing an axis all the way will register as (say) "up" and anything -- else is "center". -- Dispatch an event with the given ...
Lots of commenting for input.lua. FIXME: still needs some refactoring, multihat support
Lots of commenting for input.lua. FIXME: still needs some refactoring, multihat support
Lua
mit
ToxicFrog/EmuFun
efc244cbdac6f4bf230fb3bc2faa5df603680757
cherry/libs/group.lua
cherry/libs/group.lua
-------------------------------------------------------------------------------- local animation = require 'cherry.libs.animation' local Group = {} -- destroyFromDisplay --> destroy -------------------------------------------------------------------------------- function Group.empty( group ) if(group ~= nil and...
-------------------------------------------------------------------------------- local animation = require 'cherry.libs.animation' local Group = {} -- destroyFromDisplay --> destroy -------------------------------------------------------------------------------- function Group.empty( group ) if(group == nil) th...
fixed group.empty
fixed group.empty
Lua
bsd-3-clause
chrisdugne/cherry
e66d2aab07ed6f2b394e468effa136728320f733
lantern/accumulators/accuracy.lua
lantern/accumulators/accuracy.lua
require "torch" require "cutorch" local accuracy = lantern.make_accumulator("accuracy") function accuracy:__init(classes) assert( classes > 1, "Number of classes must be greater than one. For binary " .. "classification, use the indices one and two." ) self.classes = classes self.correct = 0 self.total ...
require "torch" require "cutorch" local accuracy = lantern.make_accumulator("accuracy") function accuracy:__init(classes) assert( classes > 1, "Number of classes must be greater than one. For binary " .. "classification, use the indices one and two." ) self.classes = classes self.correct = 0 self.total ...
Small bugfix.
Small bugfix.
Lua
bsd-3-clause
adityaramesh/lantern
573013bf2ea65d21ad64c62e149cf2ccb710e76e
hammerspoon/layouts/lapseofthought_com.lua
hammerspoon/layouts/lapseofthought_com.lua
-------------------------------------------------------------------------------- -- LAYOUTS -- SINTAX: -- { -- name = "App name" ou { "App name", "App name" } -- title = "Window title" (optional) -- func = function(index, win) -- COMMANDS -- end -- }, -- -- It searches for application "name" and cal...
-------------------------------------------------------------------------------- -- LAYOUTS -- SINTAX: -- { -- name = "App name" ou { "App name", "App name" } -- title = "Window title" (optional) -- func = function(index, win) -- COMMANDS -- end -- }, -- -- It searches for application "name" and cal...
Fix Adium positioning
Fix Adium positioning
Lua
mit
sjthespian/dotfiles,sjthespian/dotfiles,sjthespian/dotfiles,sjthespian/dotfiles
392be620f55077e9a91241a6d677f1019b55958a
lua/mediaplayer/menu/common.lua
lua/mediaplayer/menu/common.lua
local clamp = math.Clamp local FontTbl = { font = "Roboto Medium", size = 21, weight = 400, antialias = true } surface.CreateFont( "MP.MediaTitle", FontTbl ) FontTbl.font = "Roboto Medium" FontTbl.size = 18 surface.CreateFont( "MP.MediaTime", FontTbl ) FontTbl.font = "Roboto Medium" FontTbl.size = 18 surface.Cr...
local clamp = math.Clamp local FontTbl = { font = "Roboto Medium", size = 21, weight = 400, antialias = true } surface.CreateFont( "MP.MediaTitle", FontTbl ) FontTbl.font = "Roboto Medium" FontTbl.size = 18 surface.CreateFont( "MP.MediaTime", FontTbl ) FontTbl.font = "Roboto Medium" FontTbl.size = 18 surface.Cr...
Fixed errors with sidebar baseclass derma control.
Fixed errors with sidebar baseclass derma control.
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
00b507509a9f2b73cea35b2fc6fc38632a225257
Concat.lua
Concat.lua
local Concat, parent = torch.class('nn.Concat', 'nn.Module') function Concat:__init(dimension) parent.__init(self) self.modules = {} self.size = torch.LongStorage() self.dimension = dimension end function Concat:add(module) table.insert(self.modules, module) return self end function Concat:get(inde...
local Concat, parent = torch.class('nn.Concat', 'nn.Module') function Concat:__init(dimension) parent.__init(self) self.modules = {} self.size = torch.LongStorage() self.dimension = dimension end function Concat:add(module) table.insert(self.modules, module) return self end function Concat:get(inde...
fixing concat in the case when gradInput is not emmitted
fixing concat in the case when gradInput is not emmitted
Lua
bsd-3-clause
nicholas-leonard/nn,fmassa/nn,zhangxiangxiao/nn,Djabbz/nn,lvdmaaten/nn,adamlerer/nn,elbamos/nn,ominux/nn,caldweln/nn,noa/nn,vgire/nn,GregSatre/nn,joeyhng/nn,jzbontar/nn,davidBelanger/nn,hery/nn,bartvm/nn,kmul00/nn,apaszke/nn,xianjiec/nn,forty-2/nn,hughperkins/nn,clementfarabet/nn,andreaskoepf/nn,colesbury/nn,LinusU/nn,...
4eb11633bc98b4bd7faf5c39d6e97b4c0657368e
game/scripts/vscripts/internal/events.lua
game/scripts/vscripts/internal/events.lua
-- The overall game state has changed function GameMode:_OnGameRulesStateChange(keys) if GameMode._reentrantCheck then return end local newState = GameRules:State_Get() if newState == DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD then self.bSeenWaitForPlayers = true elseif newState == DOTA_GAMERULES_STATE_INI...
-- The overall game state has changed function GameMode:_OnGameRulesStateChange(keys) if GameMode._reentrantCheck then return end local newState = GameRules:State_Get() if newState == DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD then self.bSeenWaitForPlayers = true elseif newState == DOTA_GAMERULES_STATE_INI...
Fixed killing players from one team gave score points
Fixed killing players from one team gave score points
Lua
mit
ark120202/aabs
394612dd18e431cbc3cf2960ccc24782a91fe504
lua/entities/gmod_wire_turret.lua
lua/entities/gmod_wire_turret.lua
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Turret" ENT.WireDebugName = "Turret" if ( CLIENT ) then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self:DrawShadow( ...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Turret" ENT.WireDebugName = "Turret" if ( CLIENT ) then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self:DrawShadow( ...
Optimized: Internal sound is the same as `nil` when empty string is used Fixed: Force trimming on the sound path according to the manual
Optimized: Internal sound is the same as `nil` when empty string is used Fixed: Force trimming on the sound path according to the manual
Lua
apache-2.0
wiremod/wire,dvdvideo1234/wire,Grocel/wire
68a444cc560e46a4aeb032f4d461968e41e616cf
demo/videocap.lua
demo/videocap.lua
-- a translated demo from here: -- http://docs.opencv.org/3.0-beta/modules/videoio/doc/reading_and_writing_video.html local cv = require 'cv' require 'cv.highgui' require 'cv.videoio' require 'cv.imgproc' local cap = cv.VideoCapture{device=0} if not cap:isOpened() then print("Failed to open the default camera") ...
-- a translated demo from here: -- http://docs.opencv.org/3.0-beta/modules/videoio/doc/reading_and_writing_video.html local cv = require 'cv' require 'cv.highgui' require 'cv.videoio' require 'cv.imgproc' local cap = cv.VideoCapture{device=0} if not cap:isOpened() then print("Failed to open the default camera") ...
Fix #52
Fix #52
Lua
mit
VisionLabs/torch-opencv
93df2296595fb5dfa2748da312c03ca4f6b1e449
src/app/scenes/RectBoyScene.lua
src/app/scenes/RectBoyScene.lua
-- Author: Hua Liang[Stupid ET] <et@everet.org> local RectBoyScene = class("RectBoyScene", function() local scene = cc.Scene:create() scene.name = "RectBoyScene" return scene end) function RectBoyScene:ctor() local schedulerID = 0 local visibleSize = cc.Director:getIns...
-- Author: Hua Liang[Stupid ET] <et@everet.org> local RectBoyScene = class("RectBoyScene", function() local scene = cc.Scene:create() scene.name = "RectBoyScene" return scene end) function RectBoyScene:ctor() local schedulerID = 0 local visibleSize = cc.Director:getIns...
fix bug of speed of boy
fix bug of speed of boy
Lua
apache-2.0
cedricporter/everlost,cedricporter/everlost,cedricporter/everlost,cedricporter/everlost,cedricporter/everlost,cedricporter/everlost
119a5b069b9aaba108c4eef7ff817e952eb2a2f9
nyagos.d/open.lua
nyagos.d/open.lua
nyagos.alias("open",function(args) local count=0 for i=1,#args do local list=nyagos.glob(args[i]) if list and #list >= 1 then for i=1,#list do assert(nyagos.shellexecute("open",list[i])) end else if nyagos.access(args[i],0) the...
nyagos.alias("open",function(args) local count=0 for i=1,#args do local list=nyagos.glob(args[i]) if list and #list >= 1 then for i=1,#list do local fd = io.open(list[i]) if fd then fd:close() assert(nya...
Fixed open.lua did not print error when wildcard did not match anyfiles.
Fixed open.lua did not print error when wildcard did not match anyfiles.
Lua
bsd-3-clause
kissthink/nyagos,tyochiai/nyagos,kissthink/nyagos,hattya/nyagos,zetamatta/nyagos,kissthink/nyagos,nocd5/nyagos,hattya/nyagos,hattya/nyagos,tsuyoshicho/nyagos
d69c23c3c530ad08b21faf7525c508f6d829bff7
kong/plugins/acme/handler.lua
kong/plugins/acme/handler.lua
local BasePlugin = require("kong.plugins.base_plugin") local kong_certificate = require("kong.runloop.certificate") local client = require("kong.plugins.acme.client") if kong.configuration.database == "off" then error("acme can't be used in Kong dbless mode currently") end local acme_challenge_path = [[^/\.well-k...
local kong_certificate = require("kong.runloop.certificate") local client = require("kong.plugins.acme.client") if kong.configuration.database == "off" then error("acme can't be used in Kong dbless mode currently") end local acme_challenge_path = [[^/\.well-known/acme-challenge/(.+)]] -- cache for dummy cert kon...
fix(acme) remove BasePlugin dependency (#3)
fix(acme) remove BasePlugin dependency (#3) Inheriting from BasePlugin is no longer needed and can cause performance drop. See #2
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
da95579ce3b117717d419d421c8a670fd3c50ded
utils.lua
utils.lua
local utils = {} -- a script to simplify trained net by incorporating every Spatial/VolumetricBatchNormalization -- to Spatial/VolumetricConvolution and BatchNormalization to Linear local function BNtoConv(net) for i,v in ipairs(net.modules) do if v.modules then BNtoConv(v) else local cur = v ...
local utils = {} -- a script to simplify trained net by incorporating every Spatial/VolumetricBatchNormalization -- to Spatial/VolumetricConvolution and BatchNormalization to Linear local function BNtoConv(net) for i,v in ipairs(net.modules) do if v.modules then BNtoConv(v) else local cur = v ...
fix for foldBN
fix for foldBN
Lua
bsd-3-clause
szagoruyko/imagine-nn
674867629d2858f3acb7889c0dab783af39d7b2b
packages/cropmarks.lua
packages/cropmarks.lua
SILE.require("packages/frametricks") SILE.registerCommand("crop:setup", function (o,c) local papersize = SU.required(o, "papersize", "setting up crop marks") local size = SILE.paperSizeParser(papersize) local oldsize = SILE.documentState.paperSize SILE.documentState.paperSize = size local offsetx = ( SILE.doc...
local outcounter = 1 local outputMarks = function() local page = SILE.getFrame("page") SILE.outputter.rule(page:left() - 10, page:top(), -10, 0.5) SILE.outputter.rule(page:left(), page:top() - 10, 0.5, -10) SILE.outputter.rule(page:right() + 10, page:top(), 10, 0.5) SILE.outputter.rule(page:right(), page:top...
Crop marks package. Fixes #196.
Crop marks package. Fixes #196.
Lua
mit
simoncozens/sile,simoncozens/sile,neofob/sile,alerque/sile,simoncozens/sile,alerque/sile,alerque/sile,neofob/sile,simoncozens/sile,alerque/sile,neofob/sile,neofob/sile
6631781a7cdb4491e7069bd31f79a6ab83441bea
main.lua
main.lua
require "postshader" require "light" require "world" require "game" require "map" require "tower" require "sound" require "TESound" require "gui" require "gameoverlayer" function love.load() G = love.graphics W = love.window T = love.turris S = love.sounds currentgamestate = 0 -- create game world turGame = lov...
require "postshader" require "light" require "world" require "game" require "map" require "tower" require "sound" require "TESound" require "gui" require "gameoverlayer" function love.load() G = love.graphics W = love.window T = love.turris S = love.sounds currentgamestate = 0 -- create game world turGame = lov...
fix bloom blur
fix bloom blur
Lua
mit
sam1i/Turres-Monacorum,sam1i/Turres-Monacorum
69141be75fbba58dab2fe77dc1b2aefcea43a59e
love2d/mapGenerator.lua
love2d/mapGenerator.lua
require('math') MapGenerator = {} MAP_PLAIN = 0 MAP_MOUNTAIN = 1 MAP_OBJ_NOTHING = 0 MAP_OBJ_WATER = 1 MAP_OBJ_TREE = 2 MAP_OBJ_START = 3 MAP_OBJ_FIREPLACE = 4 MAP_WATER_PERCENTAGE = 0.15 MAP_TREE_PERCENTAGE = 0.1 MAP_FIREPLACE_PERCENTAGE = 0.1 function MapGenerator.newMap(width, height) local map = {} local pla...
require('math') MapGenerator = {} MAP_UNDEFINED = 0 MAP_PLAIN = 1 MAP_MOUNTAIN = 2 MAP_OBJ_NOTHING = 0 MAP_OBJ_WATER = 1 MAP_OBJ_TREE = 2 MAP_OBJ_START = 3 MAP_OBJ_FIREPLACE = 4 MAP_WATER_PERCENTAGE = 0.15 MAP_TREE_PERCENTAGE = 0.1 MAP_FIREPLACE_PERCENTAGE = 0.1 function MapGenerator.newMap(width, height) local m...
Fixed map generator
Fixed map generator
Lua
mit
nczempin/lizard-journey
8ca32de9569779d4e57362ce7018499ea0779425
lua/sfoto/imagegrid.lua
lua/sfoto/imagegrid.lua
module(..., package.seeall) require("sfoto") local Gridder = {} local Gridder_mt = {__metatable = {}, __index = Gridder} function new(node, photo_url, sputnik) return setmetatable({node=node, photo_url=photo_url, sputnik=sputnik}, Gridder_mt) end -----------------------------------------------------------------...
module(..., package.seeall) require("sfoto") local Gridder = {} local Gridder_mt = {__metatable = {}, __index = Gridder} function new(node, photo_url, sputnik) return setmetatable({node=node, photo_url=photo_url, sputnik=sputnik}, Gridder_mt) end -----------------------------------------------------------------...
Fixed path for grids.
Fixed path for grids.
Lua
mit
yuri/sfoto
2908b82b33237a8e256f954cc97064dc69322fc3
item/traps.lua
item/traps.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
Remove unneeded, imbalanced and buggy code
Remove unneeded, imbalanced and buggy code
Lua
agpl-3.0
vilarion/Illarion-Content,KayMD/Illarion-Content,LaFamiglia/Illarion-Content,Baylamon/Illarion-Content,Illarion-eV/Illarion-Content
f14a5f64cb55e45924a68923e758b4f6c152c977
mods/bobblocks/trap.lua
mods/bobblocks/trap.lua
-- State Changes local update_bobtrap = function (pos, node) local nodename="" local param2="" --Switch Trap State if -- Swap Traps node.name == 'bobblocks:trap_spike' then nodename = 'bobblocks:trap_spike_set' elseif node.name == 'bobblocks:trap_spike_set' then nodename = 'b...
-- State Changes local update_bobtrap = function (pos, node) local nodename="" local param2="" --Switch Trap State if -- Swap Traps node.name == 'bobblocks:trap_spike' then nodename = 'bobblocks:trap_spike_set' elseif node.name == 'bobblocks:trap_spike_set' then nodename = 'b...
trap spike don't re-kill dead player, fix multidead, issue https://github.com/MinetestForFun/server-minetestforfun/issues/375
trap spike don't re-kill dead player, fix multidead, issue https://github.com/MinetestForFun/server-minetestforfun/issues/375
Lua
unlicense
MinetestForFun/server-minetestforfun-creative,MinetestForFun/server-minetestforfun-creative,MinetestForFun/server-minetestforfun-creative
58fafdad73b89a5a8b2fdd1da3a1d4f91bea4d73
test/inspect_namespace_test.lua
test/inspect_namespace_test.lua
--[[------------------------------------------------------ dub.Inspector test ------------------ Test introspective operations with the 'namespace' group of classes. --]]------------------------------------------------------ local lub = require 'lub' local lut = require 'lut' local dub = require 'dub' local...
--[[------------------------------------------------------ dub.Inspector test ------------------ Test introspective operations with the 'namespace' group of classes. --]]------------------------------------------------------ local lub = require 'lub' local lut = require 'lut' local dub = require 'dub' local...
Temporary test fix to see if we can build on travis.
Temporary test fix to see if we can build on travis.
Lua
mit
Laeeth/dub,Laeeth/dub,lubyk/dub,lubyk/dub
ba4fd170ee37d10103de5ea8f5d428971780f80c
main.lua
main.lua
io.stdout:setvbuf("no") local reboot, events = false --==Contribution Guide==-- --[[ I did create an events system for liko12, making my work more modular. Below there is a modified love.run function which implements 4 things: - Instead of calling love callbacks, it triggers the events with name "love:callback", for e...
io.stdout:setvbuf("no") local reboot, events = false --==Contribution Guide==-- --[[ I did create an events system for liko12, making my work more modular. Below there is a modified love.run function which implements 4 things: - Instead of calling love callbacks, it triggers the events with name "love:callback", for e...
Fix main.lua crash
Fix main.lua crash Former-commit-id: 32f39eea5376f5fdb4c1b5eca3d1ba5ddd26b59c
Lua
mit
RamiLego4Game/LIKO-12
895e5a0a04147733cadee962563cf5e482ada529
tools/migration/migrator/prosody_files.lua
tools/migration/migrator/prosody_files.lua
local print = print; local assert = assert; local setmetatable = setmetatable; local tonumber = tonumber; local char = string.char; local coroutine = coroutine; local lfs = require "lfs"; local loadfile = loadfile; local pcall = pcall; local mtools = require "migrator.mtools"; local next = next; local pairs = pairs; l...
local print = print; local assert = assert; local setmetatable = setmetatable; local tonumber = tonumber; local char = string.char; local coroutine = coroutine; local lfs = require "lfs"; local loadfile = loadfile; local pcall = pcall; local mtools = require "migrator.mtools"; local next = next; local pairs = pairs; l...
tools/migration/migrator/prosody_files: Fix undefined global access of ?error?, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration.
tools/migration/migrator/prosody_files: Fix undefined global access of ?error?, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
63f81fa4aa31408063baf8b00124b5d04349e567
fimbul/eh/range.lua
fimbul/eh/range.lua
---@fimbul.eh.range local range = {} local rules = require('fimbul.eh.rules') function range:new(value) local neu = {} setmetatable(neu, self) self.__index = self neu._value = value or 0 return neu end function range:value(v) if v == nil then return self._value else if v < 0 then...
---@fimbul.eh.range local range = {} local rules = require('fimbul.eh.rules') function range:new(value) local neu = {} setmetatable(neu, self) self.__index = self neu._value = value or 0 return neu end function range:value(v) if v == nil then return self._value else if v < 0 then...
Fixed range class.
Fixed range class.
Lua
bsd-2-clause
n0la/fimbul
db82e99dee520a1751cc093c709da45f1e4fdf60
lua/starfall/libs_sh/hook.lua
lua/starfall/libs_sh/hook.lua
------------------------------------------------------------------------------- -- Hook library ------------------------------------------------------------------------------- --- Deals with hooks -- @shared local hook_library, _ = SF.Libraries.Register("hook") local registered_instances = {} --- Sets a hook function...
------------------------------------------------------------------------------- -- Hook library ------------------------------------------------------------------------------- --- Deals with hooks -- @shared local hook_library, _ = SF.Libraries.Register("hook") local registered_instances = {} --- Sets a hook function...
untested fix for errored starfall chips still calling hooks
untested fix for errored starfall chips still calling hooks untested fix for errored starfall chips still calling hooks
Lua
bsd-3-clause
INPStarfall/Starfall,Xandaros/Starfall,Ingenious-Gaming/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall,Jazzelhawk/Starfall
f7b298690de8cbe8fb6ff10e45432b192ab0a8f3
lib/srcnn.lua
lib/srcnn.lua
require 'w2nn' -- ref: http://arxiv.org/abs/1502.01852 -- ref: http://arxiv.org/abs/1501.00092 local srcnn = {} function srcnn.channels(model) return model:get(model:size() - 1).weight:size(1) end function srcnn.waifu2x_cunn(ch) local model = nn.Sequential() model:add(nn.SpatialConvolutionMM(ch, 32, 3, 3, 1, ...
require 'w2nn' -- ref: http://arxiv.org/abs/1502.01852 -- ref: http://arxiv.org/abs/1501.00092 local srcnn = {} function nn.SpatialConvolutionMM:reset(stdv) stdv = math.sqrt(2 / ((1.0 + 0.1 * 0.1) * self.kW * self.kH * self.nOutputPlane)) self.weight:normal(0, stdv) self.bias:zero() end if cudnn then func...
Fix the missing initialization function
Fix the missing initialization function I don't know why was this function removed.
Lua
mit
higankanshi/waifu2x,vitaliylag/waifu2x,vitaliylag/waifu2x,Spitfire1900/upscaler,nagadomi/waifu2x,higankanshi/waifu2x,higankanshi/waifu2x,nagadomi/waifu2x,zyhkz/waifu2x,zyhkz/waifu2x,nagadomi/waifu2x,zyhkz/waifu2x,Spitfire1900/upscaler,nagadomi/waifu2x,nagadomi/waifu2x,zyhkz/waifu2x,vitaliylag/waifu2x
60c48e31b9582b8c14de17a8df7e3dbabda379ef
slt2.lua
slt2.lua
--[[ -- slt2 - Simple Lua Template 2 -- -- Project page: https://github.com/henix/slt2 -- -- @License -- MIT License -- -- @Copyright -- Copyright (C) 2012-2013 henix. --]] local slt2 = {} -- a tree fold on inclusion tree -- @param init_func: must return a new value when called local function include_fold(template, s...
--[[ -- slt2 - Simple Lua Template 2 -- -- Project page: https://github.com/henix/slt2 -- -- @License -- MIT License -- -- @Copyright -- Copyright (C) 2012-2013 henix. --]] local slt2 = {} -- a tree fold on inclusion tree -- @param init_func: must return a new value when called local function include_fold(template, s...
Remove redundant assign to ret.name ; Fix #6
Remove redundant assign to ret.name ; Fix #6
Lua
mit
FSMaxB/liluat
4b9b3af14778ca88abdc07f8d30422e148ad14ba
spec/complete_spec.lua
spec/complete_spec.lua
local mock_loop = require 'spec.mock_loop' describe("textDocument/completion #atm", function() it("returns nothing with no symbols", function() mock_loop(function(rpc) local text = "\n" local doc = { uri = "file:///tmp/fake.lua" } rpc.notify("textDocument/didOpen", { textDocument = {uri = doc.u...
local mock_loop = require 'spec.mock_loop' describe("textDocument/completion #atm", function() it("returns nothing with no symbols", function() mock_loop(function(rpc) local text = "\n" local doc = { uri = "file:///tmp/fake.lua" } rpc.notify("textDocument/didOpen", { textDocument = {uri = doc.u...
Fix bug with unsequenced list
Fix bug with unsequenced list all completion tests are sorted now for safety
Lua
mit
Alloyed/lua-lsp
19029bf6c2c2a7ee1b02ed938559dd764828b4ca
etc/querylib.lua
etc/querylib.lua
-- -- Some common queries for Ion -- if QueryLib~=nil then return end QueryLib={} -- -- Helper functions -- function QueryLib.make_simple_fn(prompt, initfn, handler, completor) local function query_it(frame) local initvalue; if initfn then initvalue=initfn() end ...
-- -- Some common queries for Ion -- if QueryLib~=nil then return end QueryLib={} -- -- Helper functions -- function QueryLib.make_simple_fn(prompt, initfn, handler, completor) local function query_it(frame) local initvalue; if initfn then initvalue=initfn() end ...
trunk: changeset 414
trunk: changeset 414 complete_function fixed. darcs-hash:20030411051952-e481e-b6477ae09ecffbb499140cfcef6d6834f74bfdb1.gz
Lua
lgpl-2.1
knixeur/notion,dkogan/notion.xfttest,raboof/notion,anoduck/notion,knixeur/notion,p5n/notion,neg-serg/notion,p5n/notion,raboof/notion,anoduck/notion,anoduck/notion,neg-serg/notion,dkogan/notion,anoduck/notion,p5n/notion,knixeur/notion,dkogan/notion.xfttest,dkogan/notion,neg-serg/notion,neg-serg/notion,anoduck/notion,dko...
bce851d5f0bc5386e0a9d3615b4d8688909a9fae
scope/index.lua
scope/index.lua
--package.path = package.path .. ";/usr/local/share/lua/5.1/" local jwt = require 'resty.jwt' local json = require 'json' local mp = require 'MessagePack' local module = {} local log = ngx.log local ERR = ngx.ERR local format = string.format module._VERSION = '0.0.1' local HEADER_R = "X-Cache-Restriction" local HEAD...
--package.path = package.path .. ";/usr/local/share/lua/5.1/" local jwt = require 'resty.jwt' local json = require 'json' local mp = require 'MessagePack' local module = {} local log = ngx.log local ERR = ngx.ERR local format = string.format module._VERSION = '0.0.1' local HEADER_R = "X-Cache-Restriction" local HEAD...
Fix publicKey handshake
Fix publicKey handshake
Lua
mit
kapouer/upcache,kapouer/cache-protocols
e00f80aa4a746b89828234d03729e9f7dc051798
src/plugins/finalcutpro/timeline/editnewtitle.lua
src/plugins/finalcutpro/timeline/editnewtitle.lua
-- imports local require = require local log = require "hs.logger" .new "editnewtitle" local fcp = require "cp.apple.finalcutpro" local i18n = require "cp.i18n" local tools = require "cp.tools" local geometry = require "hs.geometry" local go ...
--- === plugins.finalcutpro.timeline.editnewtitle === --- --- Allows adding and editing titles in Final Cut Pro's timeline. local require = require local log = require "hs.logger" .new "editnewtitle" local fcp = require "cp.apple.finalcutpro" local i18n = require "cp.i18n" lo...
Fixed the documentation markup
Fixed the documentation markup
Lua
mit
CommandPost/CommandPost,CommandPost/CommandPost,CommandPost/CommandPost
8cdf6ede2361fae948723fbada7563d44d39901d
packages/twoside/init.lua
packages/twoside/init.lua
local base = require("packages.base") local package = pl.class(base) package._name = "twoside" local _odd = true local mirrorMaster = function (_, existing, new) -- Frames in one master can't "see" frames in another, so we have to get creative -- XXX This knows altogether too much about the implementation of mas...
local base = require("packages.base") local package = pl.class(base) package._name = "twoside" local _odd = true local mirrorMaster = function (_, existing, new) -- Frames in one master can't "see" frames in another, so we have to get creative -- XXX This knows altogether too much about the implementation of mas...
fix(packages): Avoid forcing mirrored masters in twoside package (#1562)
fix(packages): Avoid forcing mirrored masters in twoside package (#1562)
Lua
mit
alerque/sile,alerque/sile,alerque/sile,alerque/sile
cdc4ff57e72d3f3c6c095aba3e64866e8c120d12
test/dom/Node-appendChild.lua
test/dom/Node-appendChild.lua
local gumbo = require "gumbo" local input = [[ <header id=header></header> <div id="main" class="foo bar baz etc"> <h1 id="h1">Title <!--comment --></h1> </div> <footer id=footer>...</footer> ]] local document = assert(gumbo.parse(input)) local body = assert(document.body) local main = assert(document:getElementB...
local gumbo = require "gumbo" local assert, pcall = assert, pcall local _ENV = nil local input = [[ <header id=header></header> <div id="main" class="foo bar baz etc"> <h1 id="h1">Title <!--comment --></h1> </div> <footer id=footer>...</footer> ]] local document = assert(gumbo.parse(input)) local body = assert(do...
Fix test/dom/Node-appendChild.lua
Fix test/dom/Node-appendChild.lua
Lua
apache-2.0
craigbarnes/lua-gumbo,craigbarnes/lua-gumbo,craigbarnes/lua-gumbo
7f8702541a895d98aebc0b1908598c3c994b875b
src/rpc-interface.lua
src/rpc-interface.lua
local config = require("config") local cjdnsTunnel = require("cjdnstools.tunnel") local bit32 = require("bit32") local socket = require("socket") local db = require("db") -- need better random numbers math.randomseed(socket.gettime()*1000) local interface = { echo = function (msg) return msg end, gatewayInfo =...
local config = require("config") local cjdnsTunnel = require("cjdnstools.tunnel") local bit32 = require("bit32") local socket = require("socket") local db = require("db") -- need better random numbers math.randomseed(socket.gettime()*1000) local interface = { echo = function (msg) return msg end, gatewayInfo =...
Bug fix
Bug fix
Lua
mit
transitd/transitd,transitd/transitd,intermesh-networks/transitd,transitd/transitd,pdxmeshnet/mnigs,pdxmeshnet/mnigs,intermesh-networks/transitd
188fe8b819e608fcea87275c36ed0c3f16457814
src/cli/utils/start.lua
src/cli/utils/start.lua
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handle:read() handle:close() local matched =...
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handle:read() handle:close() local matched =...
Fixing auto-migration
Fixing auto-migration
Lua
apache-2.0
wakermahmud/kong,AnsonSmith/kong,paritoshmmmec/kong,Skyscanner/kong,sbuettner/kong,skynet/kong,bbalu/kong,puug/kong,ropik/kong,vmercierfr/kong,chourobin/kong,ChristopherBiscardi/kong,peterayeni/kong
0d0e23c3a1a597a053bb8f200b5a54ac73423394
src/cli/utils/start.lua
src/cli/utils/start.lua
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handle:read() handle:close() local matched =...
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local _M = {} local function is_openresty(path_to_check) local cmd = tostring(path_to_check).." -v 2>&1" local handle = io.popen(cmd) local out = handle:read() handle:close() local matched =...
Fixing auto-migration
Fixing auto-migration
Lua
apache-2.0
ind9/kong,ind9/kong,Kong/kong,smanolache/kong,jebenexer/kong,ejoncas/kong,Kong/kong,shiprabehera/kong,ajayk/kong,Mashape/kong,streamdataio/kong,akh00/kong,ejoncas/kong,xvaara/kong,li-wl/kong,isdom/kong,kyroskoh/kong,vzaramel/kong,ccyphers/kong,isdom/kong,streamdataio/kong,beauli/kong,Vermeille/kong,salazar/kong,jerizm/...
3e2fecb8e707389feb7069d82b031873eac424d8
src/lib/ptree/trace.lua
src/lib/ptree/trace.lua
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) local lib = require('core.lib') local json = require("lib.ptree.json") local Trace = {} local trace_config_spec = { file = {required=true}, file_mode = {default="w"}, } function new (conf) local conf =...
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) local lib = require('core.lib') local json = require("lib.ptree.json") local Trace = {} local trace_config_spec = { file = {required=true}, file_mode = {default="w"}, } function new (conf) local conf =...
Fix ptree trace selftest
Fix ptree trace selftest
Lua
apache-2.0
alexandergall/snabbswitch,Igalia/snabbswitch,dpino/snabb,Igalia/snabb,dpino/snabb,Igalia/snabbswitch,eugeneia/snabb,Igalia/snabb,eugeneia/snabbswitch,SnabbCo/snabbswitch,alexandergall/snabbswitch,SnabbCo/snabbswitch,eugeneia/snabb,snabbco/snabb,eugeneia/snabbswitch,snabbco/snabb,dpino/snabbswitch,snabbco/snabb,Igalia/s...
1f5aefe482c84462118a7de6f4ffa9cb13540d0b
spec/02-integration/10-go_plugins/01-reports_spec.lua
spec/02-integration/10-go_plugins/01-reports_spec.lua
local helpers = require "spec.helpers" local constants = require "kong.constants" local cjson = require "cjson" local pl_file = require "pl.file" for _, strategy in helpers.each_strategy() do local admin_client local dns_hostsfile local reports_server describe("anonymous reports for go plugins #" .. strategy,...
local helpers = require "spec.helpers" local constants = require "kong.constants" local cjson = require "cjson" local pl_file = require "pl.file" for _, strategy in helpers.each_strategy() do local admin_client local dns_hostsfile local reports_server describe("anonymous reports for go plugins #" .. strategy,...
tests(reports) go_plugins: fix tcp server timeouts
tests(reports) go_plugins: fix tcp server timeouts
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
7d2375e0a4570dca8cb83a3e619f1691507b09d2
plugins/youtube.lua
plugins/youtube.lua
local youtube = {} local mattata = require('mattata') local HTTPS = require('ssl.https') local URL = require('socket.url') local JSON = require('dkjson') function youtube:init(configuration) youtube.arguments = 'youtube <query>' youtube.commands = mattata.commands(self.info.username, configuration.commandPrefix):...
local youtube = {} local mattata = require('mattata') local HTTPS = require('ssl.https') local URL = require('socket.url') local JSON = require('dkjson') function youtube:init(configuration) youtube.arguments = 'youtube <query>' youtube.commands = mattata.commands(self.info.username, configuration.commandPrefix):c('...
mattata v3.2
mattata v3.2 Began changes; here I fixed some issues with the indentation in youtube.lua and slightly minified the code
Lua
mit
barreeeiroo/BarrePolice
242ea88bbeefa1dfa50d00bf07760594b1b72d37
cherry/libs/animation.lua
cherry/libs/animation.lua
-------------------------------------------------------------------------------- local _ = require 'cherry.libs.underscore' local isArray = require 'cherry.libs.is-array' -------------------------------------------------------------------------------- local animation = {} -------------------------------------------...
-------------------------------------------------------------------------------- local _ = require 'cherry.libs.underscore' local isArray = require 'cherry.libs.is-array' -------------------------------------------------------------------------------- local animation = {} -------------------------------------------...
fixed scaleBackAndForth reset with initialScale
fixed scaleBackAndForth reset with initialScale
Lua
bsd-3-clause
chrisdugne/cherry
2296e3517409fa3d35dfe1a54511dd9b0ea8ce22
modules/game_containers/containers.lua
modules/game_containers/containers.lua
function init() g_ui.importStyle('container') connect(Container, { onOpen = onContainerOpen, onClose = onContainerClose, onAddItem = onContainerAddItem, onUpdateItem = onContainerUpdateItem, onRemoveItem = onContainerRemove...
function init() g_ui.importStyle('container') connect(Container, { onOpen = onContainerOpen, onClose = onContainerClose, onAddItem = onContainerAddItem, onUpdateItem = onContainerUpdateItem, onRemoveItem = onContainerRemove...
Fix issue with closing containers * Wasn't clearing references properly.
Fix issue with closing containers * Wasn't clearing references properly.
Lua
mit
EvilHero90/otclient,gpedro/otclient,Radseq/otclient,dreamsxin/otclient,gpedro/otclient,gpedro/otclient,Cavitt/otclient_mapgen,kwketh/otclient,Radseq/otclient,dreamsxin/otclient,EvilHero90/otclient,kwketh/otclient,dreamsxin/otclient,Cavitt/otclient_mapgen
44d0bfe0427d7e4d9a2dd437c218e7e964f88b7d
selist.lua
selist.lua
function box.auto_increment_uniq(spaceno, uniq, ...) local tuple = box.select(spaceno, 1, uniq) if tuple then local format = 'i' if #tuple[0] == 8 then format = 'l' end return box.replace(spaceno, box.unpack(format, tuple[0]), uniq, ...) end return box.aut...
function box.auto_increment_uniq(spaceno, uniq, ...) local tuple = box.select(spaceno, 1, uniq) if tuple then local format = 'i' if #tuple[0] == 8 then format = 'l' end return box.replace(spaceno, box.unpack(format, tuple[0]), uniq, ...) end return box.aut...
Selist2 fix
Selist2 fix
Lua
bsd-2-clause
mailru/tntlua,BHYCHIK/tntlua,derElektrobesen/tntlua,spectrec/tntlua,grechkin-pogrebnyakov/tntlua
996309128b99c6ec9105dd8545a65494023a50ec
modules/title/post/pgolds.lua
modules/title/post/pgolds.lua
local DBI = require 'DBI' local util = require'util' require'logging.console' local log = logging.console() -- Connection handle local conn = false -- Open connection to the postgresql database using DBI lib and ivar2 global config local connect = function() local dbh, err = DBI.Connect('PostgreSQL', ivar2.confi...
local DBI = require 'DBI' local util = require'util' -- Connection handle local conn = false -- Open connection to the postgresql database using DBI lib and ivar2 global config local connect = function() local dbh, err = DBI.Connect('PostgreSQL', ivar2.config.dbname, ivar2.config.dbuser, ivar2.config.dbpass, iva...
title: pgolds: fix the count, logging, indent
title: pgolds: fix the count, logging, indent Former-commit-id: 290c82ab2840deefb7368bb7faf70e658a826afa Former-commit-id: 8b53abdc3230608a8a1ee3f71e14ecaf7047734a
Lua
mit
torhve/ivar2,torhve/ivar2,torhve/ivar2,haste/ivar2
21da9283d698934d02b248228eadf599ca2a8ac3
Resources/Scripts/Modules/ShipBuilding.lua
Resources/Scripts/Modules/ShipBuilding.lua
function LookupBuildId(class, race) for id, obj in ipairs(data.objects) do if class == obj.class and race == obj.race then return id end end end function CalculateBuildables(object, scen)--[HACK] for idx, class in ipairs(object.building.classes) do object.building.ids[id...
function LookupBuildId(class, race) for id, obj in ipairs(data.objects) do if class == obj.class and race == obj.race then return id end end end function CalculateBuildables(object, scen)--[HACK] for idx, class in ipairs(object.building.classes) do object.building.ids[id...
Fixed AddCash function.
Fixed AddCash function. Signed-off-by: Scott McClaugherty <8e7c5f3edf627752a626365ddad308cf01055c6e@gmail.com>
Lua
mit
adam000/xsera,adam000/xsera,prophile/xsera,prophile/xsera,adam000/xsera,prophile/xsera,prophile/xsera,adam000/xsera,prophile/xsera
b4b67b1f75be5e4014240bb5c5103da6579666a1
scripts/chem_notepad.lua
scripts/chem_notepad.lua
dofile("common.inc"); function doit() local tree = loadNotes("scripts/chem-cheap.txt"); browseMenu(tree); end function browseMenu(tree) local done = false; local tags = {}; local nextIndex = 1; while not done do local y = 0; for i=1,#tags do y = y + 30; lsPrint(40, y, 0, 0.9, 0.9, 0xd...
dofile("common.inc"); function doit() local tree = loadNotes("scripts/chem-cheap.txt"); browseMenu(tree); end function browseMenu(tree) local done = false; local tags = {}; local nextIndex = 1; while not done do local y = 0; for i=1,#tags do y = y + 30; lsPrint(40, y, 0, 0.9, 0.9, 0xd...
chem_notepad.lua - Fix missing text on buttons (missing explode function)
chem_notepad.lua - Fix missing text on buttons (missing explode function)
Lua
mit
DashingStrike/Automato-ATITD,DashingStrike/Automato-ATITD
b753819e37332470c6e525a58e48691ca338cb7c
stdlib/utils/scripts/console.lua
stdlib/utils/scripts/console.lua
--- Debug console. -- Creates a textfield allowing you to run commands directly in your mod's enviorment. -- <p>This module requires the use of stdlib's @{Event} module for GUI interactions. -- <p>This module was originally the ***Console*** code from a modder named ***adil***, which has been modified for use with stdl...
--- Debug console. -- Creates a textfield allowing you to run commands directly in your mod's enviorment. -- <p>This module requires the use of stdlib's @{Event} module for GUI interactions. -- <p>This module was originally the ***Console*** code from a modder named ***adil***, which has been modified for use with stdl...
Console pattern matching fix (#112)
Console pattern matching fix (#112) The only thing worse than losing days to an infuriatingly elusive bug is finding out it's a completely uninteresting head-slapper, for the slaying of which there will be no glory. Signed-off-by: Gregory M. Turner <1f6d1f05bf03ff30afa6123e0bee2caa2da7cff0@be-evil.net>
Lua
isc
Afforess/Factorio-Stdlib
4a2fcca79963eb33bf06c841015567a2ffcef9ce
pud/view/GameCam.lua
pud/view/GameCam.lua
local Class = require 'lib.hump.class' local Camera = require 'lib.hump.camera' local vector = require 'lib.hump.vector' local Rect = getClass 'pud.kit.Rect' local math_max, math_min = math.max, math.min local _zoomLevels = {1, 0.5, 0.25} local _isVector = function(...) local n = select('#',...) for i=1,n do loc...
local Class = require 'lib.hump.class' local Camera = require 'lib.hump.camera' local vector = require 'lib.hump.vector' local Rect = getClass 'pud.kit.Rect' local message = require 'pud.component.message' local property = require 'pud.component.property' local math_max, math_min = math.max, math.min local _zoomLevel...
fix GameCam follow to work with ComponentMediator
fix GameCam follow to work with ComponentMediator
Lua
mit
scottcs/wyx
6ee4ddbdb9dd901e1650988cd6f5409e84267b33
gateway/src/apicast/management.lua
gateway/src/apicast/management.lua
local _M = {} local cjson = require('cjson') local context = require('apicast.executor'):context() local router = require('router') local configuration_parser = require('apicast.configuration_parser') local configuration_loader = require('apicast.configuration_loader') local inspect = require('inspect') local resolver...
local _M = {} local cjson = require('cjson') local context = require('apicast.executor'):context() local router = require('router') local configuration_parser = require('apicast.configuration_parser') local configuration_loader = require('apicast.configuration_loader') local inspect = require('inspect') local resolver...
[management] fix policies API
[management] fix policies API Setting cjson.array_mt would not serialize non integer elements resulting in always empty array response.
Lua
mit
3scale/apicast,3scale/docker-gateway,3scale/apicast,3scale/docker-gateway,3scale/apicast,3scale/apicast
eff60dacf1e85722c64dc8138b8ce5a00744ba69
lua/mediaplayer/players/entity/cl_init.lua
lua/mediaplayer/players/entity/cl_init.lua
include "shared.lua" DEFINE_BASECLASS( "mp_base" ) local pcall = pcall local print = print local Angle = Angle local IsValid = IsValid local ValidPanel = ValidPanel local Vector = Vector local cam = cam local Start3D = cam.Start3D local Start3D2D = cam.Start3D2D local End3D2D = cam.End3D2D local draw = draw local mat...
include "shared.lua" DEFINE_BASECLASS( "mp_base" ) local pcall = pcall local print = print local Angle = Angle local IsValid = IsValid local ValidPanel = ValidPanel local Vector = Vector local cam = cam local Start3D = cam.Start3D local Start3D2D = cam.Start3D2D local End3D2D = cam.End3D2D local draw = draw local mat...
Fixed media player entities erroring when attempting to draw in 3D2D.
Fixed media player entities erroring when attempting to draw in 3D2D.
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
bfeab5bc8344b16e975b4b3205141fbaa498f56f
libs/sys/luasrc/sys/mtdow.lua
libs/sys/luasrc/sys/mtdow.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ht...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ht...
mtdow fixes level 1
mtdow fixes level 1 git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3355 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
dtaht/cerowrt-luci-3.3,projectbismark/luci-bismark,alxhh/piratenluci,freifunk-gluon/luci,ReclaimYourPrivacy/cloak-luci,ch3n2k/luci,saraedum/luci-packages-old,yeewang/openwrt-luci,Flexibity/luci,gwlim/luci,freifunk-gluon/luci,Flexibity/luci,zwhfly/openwrt-luci,stephank/luci,ThingMesh/openwrt-luci,8devices/carambola2-luc...
081a48ada0b00d514b3ddc118f1fa2d17b9eadda
core/storagemanager.lua
core/storagemanager.lua
local error, type = error, type; local setmetatable = setmetatable; local config = require "core.configmanager"; local datamanager = require "util.datamanager"; local modulemanager = require "core.modulemanager"; local multitable = require "util.multitable"; local hosts = hosts; local log = require "util.logger".init...
local error, type = error, type; local setmetatable = setmetatable; local config = require "core.configmanager"; local datamanager = require "util.datamanager"; local modulemanager = require "core.modulemanager"; local multitable = require "util.multitable"; local hosts = hosts; local log = require "util.logger".init...
storagemanager: Fixed a nil global access.
storagemanager: Fixed a nil global access.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
91c14286788d6358340ae8fd8960d3cdb0b6717d
test.lua
test.lua
local json = require 'json' print(json.parse("\"hello\"")) print(json.parse("'hello'")) print(json.parse("1234")) print(json.parse("true")) print(json.parse("false")) print(json.parse("null")) function print_json(arg) if type(arg) == 'table' then io.write("{\n") for k, v in pairs(arg) do io.write(strin...
local json = require 'json' print(json.parse("\"hello\"")) print(json.parse("'hello'")) print(json.parse("1234")) print(json.parse("true")) print(json.parse("false")) print(json.parse("null")) function print_json(arg) if type(arg) == 'table' then io.write("{\n") for k, v in pairs(arg) do io.write(string.form...
fixes indentations
fixes indentations
Lua
mit
FilWisher/lua-json,FilWisher/lua-json
883ff4ffe839bb77579c7e902a665763091397fa
src/wiola/wiola.lua
src/wiola/wiola.lua
-- -- Project: this project -- User: kostik -- Date: 16.03.14 -- local redisLib = require "resty.redis" local redis = redisLib:new() local ok, err = redis:connect("unix:/tmp/redis.sock") if not ok then ngx.say("failed to connect: ", err) return end local _M = { _VERSION = '0.1' } _M.__index = _M local wamp_feat...
-- -- Project: this project -- User: kostik -- Date: 16.03.14 -- local redisLib = require "resty.redis" local redis = redisLib:new() local ok, err = redis:connect("unix:/tmp/redis.sock") if not ok then ngx.say("failed to connect: ", err) return end local _M = { _VERSION = '0.1' } _M.__index = _M local wamp_feat...
Fixed client wamp features
Fixed client wamp features
Lua
bsd-2-clause
KSDaemon/wiola,KSDaemon/wiola,KSDaemon/wiola
a606cd90f3bf84a3d5dec5343b2d7e590a38b39f
modules/rpc/luasrc/controller/rpc.lua
modules/rpc/luasrc/controller/rpc.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
Fixed RPC-API
Fixed RPC-API
Lua
apache-2.0
deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci,deepak78/luci,8devices/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci
c71ecb5e9f074f17d6e3f917f6b62dc6103ed570
src/playerAttack.lua
src/playerAttack.lua
local sound = require 'vendor/TEsound' local Gamestate = require 'vendor/gamestate' local Sprite = require 'nodes/sprite' local Timer = require 'vendor/timer' local Server = require 'server' local server = Server.getSingleton() local PlayerAttack = {} PlayerAttack.__index = PlayerAttack PlayerAttack.playerAttack = tru...
local sound = require 'vendor/TEsound' local Gamestate = require 'vendor/gamestate' local Sprite = require 'nodes/sprite' local Timer = require 'vendor/timer' local Server = require 'server' local server = Server.getSingleton() local PlayerAttack = {} PlayerAttack.__index = PlayerAttack PlayerAttack.playerAttack = tru...
fixed punching error
fixed punching error
Lua
mit
hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-server-lua
fe9cfda22af00af2a87770df144a03cde6121628
config/nvim/lua/gb/statusline.lua
config/nvim/lua/gb/statusline.lua
local colors = { bg = "#202328", fg = "#bbc2cf", yellow = "#fabd2f", cyan = "#008080", darkblue = "#081633", green = "#98be65", orange = "#FF8800", violet = "#a9a1e1", magenta = "#c678dd", blue = "#51afef", red = "#ec5f67", white = "#e6e6e6" } local vi_mode_colors = { NORMAL = colors.green, ...
local colors = { bg = "#202328", fg = "#bbc2cf", yellow = "#fabd2f", cyan = "#008080", darkblue = "#081633", green = "#98be65", orange = "#FF8800", violet = "#a9a1e1", magenta = "#c678dd", blue = "#51afef", red = "#ec5f67", white = "#e6e6e6" } local vi_mode_colors = { NORMAL = colors.green, ...
Fixup feline
Fixup feline
Lua
mit
gblock0/dotfiles
3236bcc260ca9ce3b7c769b14a40a2e2fa5549f6
MMOCoreORB/bin/conf/config.lua
MMOCoreORB/bin/conf/config.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...
[Fixed] Config blunder
[Fixed] Config blunder git-svn-id: c34995188cc7e843f8a799edec2d9d4b36f36456@3077 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
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,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Ta...
69c42e1908f293498733eb5fa433f8742a513deb
tests/fibonacci.lua
tests/fibonacci.lua
-- -- FIBONACCI.LUA Copyright (c) 2007-08, Asko Kauppi <akauppi@gmail.com> -- -- Parallel calculation of Fibonacci numbers -- -- A sample of task splitting like Intel TBB library does. -- -- References: -- Intel Threading Building Blocks, 'test all' -- <http://shareit.intel.com/WikiHome/Articles/11111...
-- -- FIBONACCI.LUA Copyright (c) 2007-08, Asko Kauppi <akauppi@gmail.com> -- -- Parallel calculation of Fibonacci numbers -- -- A sample of task splitting like Intel TBB library does. -- -- References: -- Intel Threading Building Blocks, 'test all' -- <http://shareit.intel.com/WikiHome/Articles/11111...
Update fibonacci.lua
Update fibonacci.lua Fix issue #61. Pulling lanes as an upvalue is not a good idea after all, due to the fact that lanes.core changes its public API when lanes.core.configure() is called.
Lua
mit
aryajur/lanes,aryajur/lanes
e489433123b727d8e990f6ee78be81c6e71ea7f9
lua/wire/wire_paths.lua
lua/wire/wire_paths.lua
-- wire_paths.lua -- -- This file implements syncing of wire paths, which are the visual -- component of wires. -- -- Conceptually, a wire path has a material, a color, and a non-zero width, as -- well as as a non-empty polyline along the wire. (Each point in the line -- has both a parent entity, and a local offset fro...
-- wire_paths.lua -- -- This file implements syncing of wire paths, which are the visual -- component of wires. -- -- Conceptually, a wire path has a material, a color, and a non-zero width, as -- well as as a non-empty polyline along the wire. (Each point in the line -- has both a parent entity, and a local offset fro...
Fix wires not appearing on player join
Fix wires not appearing on player join
Lua
apache-2.0
dvdvideo1234/wire,Grocel/wire,garrysmodlua/wire,NezzKryptic/Wire,wiremod/wire,sammyt291/wire
7e5c3dad26af1fd00b5bdce6361a317ac0f71124
mod_statsd/mod_statsd.lua
mod_statsd/mod_statsd.lua
-- Log common stats to statsd -- -- Copyright (C) 2014 Daurnimator -- -- This module is MIT/X11 licensed. local socket = require "socket" local iterators = require "util.iterators" local jid = require "util.jid" local options = module:get_option("statsd") or {} -- Create UDP socket to statsd server local sock = sock...
-- Log common stats to statsd -- -- Copyright (C) 2014 Daurnimator -- -- This module is MIT/X11 licensed. local socket = require "socket" local iterators = require "util.iterators" local jid = require "util.jid" local options = module:get_option("statsd") or {} -- Create UDP socket to statsd server local sock = sock...
mod_statsd: Optionally include host in prefix
mod_statsd: Optionally include host in prefix
Lua
mit
Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules
b5b1c689f508068ffbde704194b08569151e383a
xmake/modules/detect/sdks/find_vstudio.lua
xmake/modules/detect/sdks/find_vstudio.lua
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
Fix bug for VS2003 can't be found (xmake config --vs=2003)
Fix bug for VS2003 can't be found (xmake config --vs=2003)
Lua
apache-2.0
tboox/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,tboox/xmake
2c3d33006cbe4b9d65d4c9922c44f548e6cd43b6
modules/admin-mini/luasrc/model/cbi/mini/system.lua
modules/admin-mini/luasrc/model/cbi/mini/system.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
modules/admin-mini: fix the same issue in admin-mini
modules/admin-mini: fix the same issue in admin-mini
Lua
apache-2.0
NeoRaider/luci,wongsyrone/luci-1,openwrt/luci,Hostle/openwrt-luci-multi-user,harveyhu2012/luci,thess/OpenWrt-luci,Wedmer/luci,florian-shellfire/luci,daofeng2015/luci,oyido/luci,urueedi/luci,deepak78/new-luci,chris5560/openwrt-luci,slayerrensky/luci,Sakura-Winkey/LuCI,harveyhu2012/luci,artynet/luci,aircross/OpenWrt-Fire...
179ec85593e24a7e8d4028c5007139de7e580b34
spec/core/core_send_recv.lua
spec/core/core_send_recv.lua
--local llthreads = require'llthreads' local nml=require'nml' local events = require'nml.events' --local pw=require'pl.pretty'.write require'busted' local AF_SP = nml.symbols.AF_SP.value local NN_PAIR = nml.symbols.NN_PAIR.value nml = nml.core local PAIR_ADDR = "inproc://pair" local msg local count local sockets lo...
local nml=require'nml' local events = require'nml.events' require'busted' local AF_SP = nml.symbols.AF_SP.value local NN_PAIR = nml.symbols.NN_PAIR.value nml = nml.core local PAIR_ADDR = "inproc://pair" local msg local count local sockets local pair_1 = nml.socket(AF_SP, NN_PAIR) nml.bind(pair_1, PAIR_ADDR) local p...
fixed core_send_recv busted tests, passes ok
fixed core_send_recv busted tests, passes ok
Lua
mit
trms/nml,trms/nml
c233ac2cb42aa84cc2ee5c9aedf0d43cf5591337
src/Author.lua
src/Author.lua
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
Fixed rotation and offset of author name labels
Fixed rotation and offset of author name labels
Lua
mit
rm-code/logivi
7cf6548e1d0630ae3c13b9fbd73f98e4e0e09ecd
Shilke2D/Display/Stage.lua
Shilke2D/Display/Stage.lua
-- Stage Stage = class(DisplayObjContainer) function Stage:init(viewport) DisplayObjContainer.init(self) self._prop:setViewport(viewport) self._debugDeck = MOAIScriptDeck.new () --self._debugDeck:setRect ( -64, -64, 64, 64 ) self._debugDeck:setDrawCallback ( function() if self._showAABounds t...
-- Stage Stage = class(DisplayObjContainer) function Stage:init(viewport) DisplayObjContainer.init(self) self._prop:setViewport(viewport) self._debugDeck = MOAIScriptDeck.new () --self._debugDeck:setRect ( -64, -64, 64, 64 ) self._debugDeck:setDrawCallback ( function() if self._showAABounds t...
stage:showDebugLines - fix for defaultValues
stage:showDebugLines - fix for defaultValues By default now shows only Oriented bboxes
Lua
mit
Shrike78/Shilke2D
c2ded8ec5036c806a1d7727f7d628bb85799ac76
src/patch/ui/hooks/joiningroom_enablemods.lua
src/patch/ui/hooks/joiningroom_enablemods.lua
if _mpPatch and _mpPatch.loaded then Modding = _mpPatch.hookTable(Modding, {ActivateAllowedDLC = function(...) _mpPatch.overrideModsFromPreGame() return Modding._super.ActivateAllowedDLC(...) end}) local function enterLobby() UIManager:QueuePopup(Controls.StagingRoomScreen, PopupPri...
if _mpPatch and _mpPatch.loaded then Modding = _mpPatch.hookTable(Modding, {ActivateAllowedDLC = function(...) _mpPatch.overrideModsFromPreGame() return Modding._super.ActivateAllowedDLC(...) end}) local function enterLobby() UIManager:QueuePopup(Controls.StagingRoomScreen, PopupPri...
Try to fix the unavailable leader bug.
Try to fix the unavailable leader bug.
Lua
mit
Lymia/MultiverseModManager,Lymia/MPPatch,Lymia/MPPatch,Lymia/MPPatch,Lymia/CivV_Mod2DLC,Lymia/MPPatch,Lymia/MultiverseModManager
eeb90dc39b0c0c548e3691424bdb1a49d8e0db2e
lib/pairwise_transform_utils.lua
lib/pairwise_transform_utils.lua
require 'image' local iproc = require 'iproc' local data_augmentation = require 'data_augmentation' local pairwise_transform_utils = {} function pairwise_transform_utils.random_half(src, p, filters) if torch.uniform() < p then local filter = filters[torch.random(1, #filters)] return iproc.scale(src, src...
require 'image' local iproc = require 'iproc' local data_augmentation = require 'data_augmentation' local pairwise_transform_utils = {} function pairwise_transform_utils.random_half(src, p, filters) if torch.uniform() < p then local filter = filters[torch.random(1, #filters)] return iproc.scale(src, src...
Fix a bug in preprocessing when filters=box only
Fix a bug in preprocessing when filters=box only
Lua
mit
Spitfire1900/upscaler,zyhkz/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,Spitfire1900/upscaler,zyhkz/waifu2x,zyhkz/waifu2x,nagadomi/waifu2x,zyhkz/waifu2x
f405ea7ae81be4146034aab14b029a84d8b70995
src/lua/export/troff.lua
src/lua/export/troff.lua
-- © 2008 David Given. -- WordGrinder is licensed under the MIT open source license. See the COPYING -- file in this distribution for the full text. local NextCharInWord = wg.nextcharinword local ReadU8 = wg.readu8 local string_len = string.len local string_char = string.char local string_format = string.format local ...
-- © 2008 David Given. -- WordGrinder is licensed under the MIT open source license. See the COPYING -- file in this distribution for the full text. local NextCharInWord = wg.nextcharinword local ReadU8 = wg.readu8 local string_len = string.len local string_char = string.char local string_format = string.format local ...
Fix minor bug in troff output.
Fix minor bug in troff output.
Lua
mit
Munchotaur/wordgrinder,rodoviario/wordgrinder,rodoviario/wordgrinder,NRauh/wordgrinder,NRauh/wordgrinder,Munchotaur/wordgrinder
2f5c77f2a763cf51e91de67c2d81a1b00096782b
src/program/ipfix/probe/probe.lua
src/program/ipfix/probe/probe.lua
-- This module implements the `snabb flow_export` command module(..., package.seeall) local now = require("core.app").now local lib = require("core.lib") local link = require("core.link") local arp = require("apps.ipv4.arp") local ipfix = require("apps.ipfix.ipfix") local ipv4 = require("lib...
-- This module implements the `snabb flow_export` command module(..., package.seeall) local now = require("core.app").now local lib = require("core.lib") local link = require("core.link") local basic = require("apps.basic.basic_apps") local arp = require("apps.ipv4.arp") local ipfix = require...
Fix app configuration in ipfix probe
Fix app configuration in ipfix probe When ARP is used (non-pcap cases), the output app should also feedback into the arp app so that arp replies are actually accepted.
Lua
apache-2.0
Igalia/snabb,snabbco/snabb,SnabbCo/snabbswitch,snabbco/snabb,alexandergall/snabbswitch,eugeneia/snabbswitch,dpino/snabbswitch,eugeneia/snabb,Igalia/snabbswitch,eugeneia/snabbswitch,Igalia/snabb,SnabbCo/snabbswitch,Igalia/snabb,alexandergall/snabbswitch,dpino/snabb,eugeneia/snabb,Igalia/snabbswitch,snabbco/snabb,Igalia/...
a214fda184cc74f2146dc63dc90cd271e78570ac
control.lua
control.lua
require "defines" function is_array(t) -- From: https://ericjmritz.name/2014/02/26/lua-is_array/ local i = 0 for _ in pairs(t) do i = i + 1 if t[i] == nil then return false end end return true end remote.add_interface("timelapse", { active = function(bool) if bool == nil then...
require "defines" local state = 0 local current_time = 1.0 function is_array(t) -- From: https://ericjmritz.name/2014/02/26/lua-is_array/ local i = 0 for _ in pairs(t) do i = i + 1 if t[i] == nil then return false end end return true end remote.add_interface("timelapse", { activ...
Add basic fixed light mode functionality
Add basic fixed light mode functionality
Lua
mit
david-wm-sanders/factorio-timelapse
8c7c7f131c0877b1464f044dd983090d41a78059
src/remy/cgilua.lua
src/remy/cgilua.lua
-- Remy - CGI-Lua compatibility -- Copyright (c) 2014 Felipe Daragon -- License: MIT require "base64" -- TODO: implement all functions from mod_lua's request_rec local request = { -- ENCODING/DECODING FUNCTIONS base64_decode = function(_,...) return base64.decode(...) end, base64_encode = function(_,...) return ba...
-- Remy - CGI-Lua compatibility -- Copyright (c) 2014 Felipe Daragon -- License: MIT require "base64" -- TODO: implement all functions from mod_lua's request_rec local request = { -- ENCODING/DECODING FUNCTIONS base64_decode = function(_,...) return base64.decode(...) end, base64_encode = function(_,...) return ba...
Fixing Remy's xavante recognizer
Fixing Remy's xavante recognizer
Lua
mit
jeary/sailor,felipedaragon/sailor,ignacio/sailor,ignacio/sailor,Etiene/sailor,sailorproject/sailor,felipedaragon/sailor,Etiene/sailor,mpeterv/sailor,mpeterv/sailor,hallison/sailor,noname007/sailor
e1b0324e93bb8abcc841c8a40afe0a4e90476dff
src/lib/fibers/sleep.lua
src/lib/fibers/sleep.lua
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Timeout events. module(..., package.seeall) local op = require('lib.fibers.op') local fiber = require('lib.fibers.fiber') local now = fiber.now local Timeout = {} Timeout.__index = Timeout function sleep_until_op(t) local function...
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Timeout events. module(..., package.seeall) local op = require('lib.fibers.op') local fiber = require('lib.fibers.fiber') local now = fiber.now local Timeout = {} Timeout.__index = Timeout function sleep_until_op(t) local function...
Fix fibers sleep self-test
Fix fibers sleep self-test
Lua
apache-2.0
alexandergall/snabbswitch,eugeneia/snabb,alexandergall/snabbswitch,Igalia/snabb,snabbco/snabb,eugeneia/snabb,Igalia/snabbswitch,snabbco/snabb,Igalia/snabbswitch,snabbco/snabb,alexandergall/snabbswitch,snabbco/snabb,alexandergall/snabbswitch,snabbco/snabb,eugeneia/snabb,alexandergall/snabbswitch,Igalia/snabb,Igalia/snab...
4c59f260714576e2c23aa068b4a1beae62756fd3
xmake/modules/package/tools/cmake.lua
xmake/modules/package/tools/cmake.lua
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
cmake "-A x64" fix
cmake "-A x64" fix
Lua
apache-2.0
waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake
3df1c68ce09653f84a1c955a1ff7e64dcd6dccc4
docs/lua-api/sound.lua
docs/lua-api/sound.lua
--- Play a sound to a specific player. -- @param player player to play the sound to -- @param sound sound to play function playSound(player, sound) end --- Play a note to a specific player. -- @param player player to play the note to -- @param instrument instrument which will playing -- @param note note to pla...
--- Provides sound and music functions. -- @module rpgplus.sound --- Play a sound to a specific player. -- @param player player to play the sound to -- @param sound sound to play function playSound(player, sound) end --- Play a note to a specific player. -- @param player player to play the note to -- @param...
Fix sound module luadoc.
Fix sound module luadoc.
Lua
mit
leMaik/RpgPlus
967f2e79b38bcacbf37de1ae4c0dfafb8e4a4117
nvim/nvim/lua/_/statusline.lua
nvim/nvim/lua/_/statusline.lua
local utils = require '_.utils' local M = {} --------------------------------------------------------------------------------- -- Helpers --------------------------------------------------------------------------------- -- display lineNoIndicator (from drzel/vim-line-no-indicator) local function line_no_indicator() ...
local utils = require '_.utils' local M = {} --------------------------------------------------------------------------------- -- Helpers --------------------------------------------------------------------------------- -- display lineNoIndicator (from drzel/vim-line-no-indicator) local function line_no_indicator() ...
fix(nvim): lsp status to be always shown
fix(nvim): lsp status to be always shown
Lua
mit
skyuplam/dotfiles,skyuplam/dotfiles
718ea2d25e20ca172530200561a797fe826b882c
scripts/lua/policies/mapping.lua
scripts/lua/policies/mapping.lua
-- Copyright (c) 2016 IBM. All rights reserved. -- -- 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 use, copy, mod...
-- Copyright (c) 2016 IBM. All rights reserved. -- -- 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 use, copy, mod...
fix empty body issue in request map (#204)
fix empty body issue in request map (#204)
Lua
apache-2.0
openwhisk/apigateway,LukeFarrell/incubator-openwhisk-apigateway,LukeFarrell/incubator-openwhisk-apigateway,alexsong93/openwhisk-apigateway,LukeFarrell/incubator-openwhisk-apigateway,openwhisk/openwhisk-apigateway,openwhisk/apigateway,openwhisk/apigateway,alexsong93/openwhisk-apigateway,alexsong93/openwhisk-apigateway,o...
e1c447a8178ca22e315243a8b673b85b85742c8e
xmake/modules/package/tools/cmake.lua
xmake/modules/package/tools/cmake.lua
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
vrunv fix
vrunv fix
Lua
apache-2.0
tboox/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake
c9db66a828e1ec72128a92e1b35ae7a0a8da4de9
Modules/Geometry/TouchingParts/PartTouchingCalculator.lua
Modules/Geometry/TouchingParts/PartTouchingCalculator.lua
--- Determines if parts are touching or not -- @classmod PartTouchingCalculator local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local CollectionService = game:GetService("CollectionService") local Workspace = game:GetService("Workspace") local BoundingBox = require("BoundingBo...
--- Determines if parts are touching or not -- @classmod PartTouchingCalculator local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local CollectionService = game:GetService("CollectionService") local Workspace = game:GetService("Workspace") local BoundingBox = require("BoundingBo...
Fix BoundingBox calls
Fix BoundingBox calls
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine