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
9549cbc14ebd941d3cc1b934d410a5d9ddf34af6
UCDsafeZones/client.lua
UCDsafeZones/client.lua
local LS = createColTube(1181, -1324, 10, 30, 10) -- All Saints Hospital local LS2 = createColRectangle(1980, -1454, 125, 80) -- Jefferson Hospital local SF = createColRectangle(-2745, 576, 135, 100) -- SF Hospital local LV = createColPolygon(1559, 1801, 1559, 1801, 1558, 1910, 1674, 1910, 1681, 1806) -- LV Hospital l...
local LS = createColTube(1181, -1324, 10, 30, 10) -- All Saints Hospital local LS2 = createColRectangle(1980, -1454, 125, 80) -- Jefferson Hospital local SF = createColRectangle(-2745, 576, 135, 100) -- SF Hospital local LV = createColPolygon(1559, 1801, 1559, 1801, 1558, 1910, 1674, 1910, 1681, 1806) -- LV Hospital l...
UCDsafeZones
UCDsafeZones - Fixed it to work with new dx side bar.
Lua
mit
nokizorque/ucd,nokizorque/ucd
68fde66cb434bda810076ac128d46ab6f53c979d
MMOCoreORB/bin/scripts/mobile/lair/naboo_peko_peko_giant_pair_neutral_none.lua
MMOCoreORB/bin/scripts/mobile/lair/naboo_peko_peko_giant_pair_neutral_none.lua
naboo_peko_peko_giant_pair_neutral_none = Lair:new { mobiles = {{"giant_peko_peko", 0}}, spawnLimit = 15, buildingsVeryEasy = {"object/tangible/lair/peko_peko/lair_peko_peko_grassland.iff"}, buildingsEasy = {"object/tangible/lair/peko_peko/lair_peko_peko_grassland.iff"}, buildingsMedium = {"object/tangible/lair/pe...
naboo_peko_peko_giant_pair_neutral_none = Lair:new { mobiles = {{"giant_peko_peko", 0}}, spawnLimit = 15, buildingsVeryEasy = {"object/tangible/lair/base/poi_all_lair_bones_large_evil_fire_red.iff"}, buildingsEasy = {"object/tangible/lair/base/poi_all_lair_bones_large_evil_fire_red.iff"}, buildingsMedium = {"objec...
[Fixed] mantis 3970 giant peko peko lair
[Fixed] mantis 3970 giant peko peko lair Change-Id: Idedba8a4eb00bcd97c4bb5851fabef528479a9fd
Lua
agpl-3.0
lasko2112/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,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/...
9f69c4be20a38583cd928644c47c1f5165aae380
fontchooser.lua
fontchooser.lua
require "rendertext" require "keys" require "graphics" FontChooser = { -- font for displaying file/dir names face = freetype.newBuiltinFace("sans", 25), fhash = "s25", -- font for page title tface = freetype.newBuiltinFace("Helvetica-BoldOblique", 30), tfhash = "hbo30", -- font for paging display sface = freet...
require "rendertext" require "keys" require "graphics" FontChooser = { -- font for displaying file/dir names face = freetype.newBuiltinFace("sans", 25), fhash = "s25", -- font for page title tface = freetype.newBuiltinFace("Helvetica-BoldOblique", 30), tfhash = "hbo30", -- font for paging display sface = freet...
fix: fill space above title background
fix: fill space above title background
Lua
agpl-3.0
Frenzie/koreader-base,NiLuJe/koreader-base,houqp/koreader-base,apletnev/koreader-base,apletnev/koreader-base,Hzj-jie/koreader-base,koreader/koreader,Hzj-jie/koreader,mwoz123/koreader,Hzj-jie/koreader-base,koreader/koreader-base,Frenzie/koreader,frankyifei/koreader-base,chrox/koreader,Frenzie/koreader-base,NickSavage/ko...
a7d4a468c48308f83d1c0274a37ab84d8da7be97
LuaLibrary/MTATD.lua
LuaLibrary/MTATD.lua
----------------------------------------------------------- -- PROJECT: MTA:TD - Test and Debug Framework -- -- LICENSE: See LICENSE in top level directory -- PURPOSE: Shared across all MTA:TD modules ------------------------------------------------------------ MTATD = {} MTATD.Host = "localhost" MTATD.Port = "51237" ...
----------------------------------------------------------- -- PROJECT: MTA:TD - Test and Debug Framework -- -- LICENSE: See LICENSE in top level directory -- PURPOSE: Shared across all MTA:TD modules ------------------------------------------------------------ MTATD = {} MTATD.Host = "localhost" MTATD.Port = "51237" ...
Fix error on shutdown
Fix error on shutdown
Lua
mit
Jusonex/MTATD,Jusonex/MTATD,Jusonex/MTATD
2ec2b896e3f08722ef41761daa0a4ba6086f2372
src/npge/alignment/goodSlices.lua
src/npge/alignment/goodSlices.lua
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2015 Boris Nagaev -- See the LICENSE file for terms of use. -- Arguments: -- 1. list of column statuses (true is good column) -- 2. min_length (integer) -- 3. min_end (integer) -- number of begin and end good columns -- 4. min_identity (from...
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2015 Boris Nagaev -- See the LICENSE file for terms of use. -- Arguments: -- 1. list of column statuses (true is good column) -- 2. min_length (integer) -- 3. min_end (integer) -- number of begin and end good columns -- 4. min_identity (from...
goodSlices: fix out-of-range error
goodSlices: fix out-of-range error > local new_pos = start1 + min_end - 1 This line used to cause an error, if start1 is too close to end.
Lua
mit
npge/lua-npge,npge/lua-npge,starius/lua-npge,starius/lua-npge,npge/lua-npge,starius/lua-npge
3e70a85e5e61bde55112c06266dc9f22d20c8802
premake4.lua
premake4.lua
if not _ACTION then _ACTION="vs2010" end isPOSIX = false isVisualStudio = false if _ACTION == "vs2002" or _ACTION == "vs2003" or _ACTION == "vs2005" or _ACTION == "vs2008" or _ACTION == "vs2010" then isVisualStudio = true end if _ACTION == "codeblocks" then isPosix = true end solution "TaskSched...
if not _ACTION then _ACTION="vs2010" end isPOSIX = false isVisualStudio = false if _ACTION == "vs2002" or _ACTION == "vs2003" or _ACTION == "vs2005" or _ACTION == "vs2008" or _ACTION == "vs2010" then isVisualStudio = true end if _ACTION == "codeblocks" then isPosix = true end solution "TaskSched...
Fixed UniTest++, Squish and TaskScheduler compilation for POSIX systems
Fixed UniTest++, Squish and TaskScheduler compilation for POSIX systems
Lua
mit
vr3d/TaskScheduler,galek/TaskScheduler,galek/TaskScheduler,vr3d/TaskScheduler,SergeyMakeev/TaskScheduler,vr3d/TaskScheduler,SergeyMakeev/TaskScheduler,galek/TaskScheduler
34eb9c691a55a90d3100ef4a70b211b26367317c
src/actions/vstudio/vs2010_nuget.lua
src/actions/vstudio/vs2010_nuget.lua
-- -- vs2010_nuget.lua -- Generate a NuGet packages.config file. -- Copyright (c) 2016 Jason Perkins and the Premake project -- premake.vstudio.nuget2010 = {} local p = premake local vstudio = p.vstudio local nuget2010 = p.vstudio.nuget2010 local cs2005 = p.vstudio.cs2005 local packageAPIInfos = {} -- -- Thes...
-- -- vs2010_nuget.lua -- Generate a NuGet packages.config file. -- Copyright (c) 2016 Jason Perkins and the Premake project -- premake.vstudio.nuget2010 = {} local p = premake local vstudio = p.vstudio local nuget2010 = p.vstudio.nuget2010 local cs2005 = p.vstudio.cs2005 local packageAPIInfos = {} -- -- Thes...
Fix certain NuGet API error messages
Fix certain NuGet API error messages
Lua
bsd-3-clause
TurkeyMan/premake-core,dcourtois/premake-core,Blizzard/premake-core,noresources/premake-core,sleepingwit/premake-core,Blizzard/premake-core,premake/premake-core,premake/premake-core,tvandijck/premake-core,sleepingwit/premake-core,Zefiros-Software/premake-core,sleepingwit/premake-core,starkos/premake-core,soundsrc/prema...
a37e05784be5580b143233554ad69b227b156bcb
vi_entry.lua
vi_entry.lua
local M = {} local redux = require'textredux' local function ve_refresh(buf) buf:add_text(buf.data.prompt, redux.core.style.error) buf:add_text(buf.data.text, redux.core.style.comment) buf:goto_pos(buf.data.pos + #buf.data.prompt) end -- Return a saved version of splits so that we can regenerate them. local fu...
local M = {} local redux = require'textredux' local function ve_refresh(buf) -- Disable fold margin buffer.margin_width_n[2] = 0 buf:add_text(buf.data.prompt, redux.core.style.error) buf:add_text(buf.data.text, redux.core.style.comment) buf:goto_pos(buf.data.pos + #buf.data.prompt) if buf.data.compl...
Entry mode update: * Show completions when more than one (and no prefix) * Remember what the last view was, and restore that. * Narrow the completions when typing and a list is visible.
Entry mode update: * Show completions when more than one (and no prefix) * Remember what the last view was, and restore that. * Narrow the completions when typing and a list is visible.
Lua
mit
erig0/textadept-vi,jugglerchris/textadept-vi,jugglerchris/textadept-vi
b00a6980caad362d45f30f119d1e84ea88538f09
DebRes-1-glitch.lua
DebRes-1-glitch.lua
--[[ Crea una tabella in cui sono presenti tutte le debolezze e resistenze di un Pokémon Glitch di prima generazione. Per i Pokémon glitch con più forme (Missigno.), crea solo le tabelle effettivamente diverse, inserendo nel titolo tutte le forme che condividono la stessa. Può essere chiamato con il nome di un Pokémo...
--[[ Crea una tabella in cui sono presenti tutte le debolezze e resistenze di un Pokémon Glitch di prima generazione. Per i Pokémon glitch con più forme (Missigno.), crea solo le tabelle effettivamente diverse, inserendo nel titolo tutte le forme che condividono la stessa. Può essere chiamato con il nome di un Pokémo...
Minor bugfix, added possibility to get the table of a single game
Minor bugfix, added possibility to get the table of a single game
Lua
cc0-1.0
pokemoncentral/wiki-lua-modules
5da941263971cedfec3363a7edcab9c3fa90fddb
premake5.lua
premake5.lua
local CPPSHARP_DIR = "CppSharp/" local NEWTONSOFT_DIR = "Newtonsoft.Json.6.0.8/lib/net45/", solution "LLDBSharp" configurations { "Debug", "Release" } platforms { "x32", "x64" } flags { "Symbols" } project "LLDBBSharpGen" kind "ConsoleApp" language "C#" files { "*.cs" } links { ...
local CPPSHARP_DIR = "CppSharp/" local NEWTONSOFT_DIR = "Newtonsoft.Json.6.0.8/lib/net45/" action = _ACTION or "" builddir = path.getabsolute("./" .. action); libdir = path.join(builddir, "lib", "%{cfg.buildcfg}_%{cfg.platform}"); solution "LLDBSharp" configurations { "Debug", "Release" } platforms { "x32", "x6...
Premake build fixes.
Premake build fixes.
Lua
mit
tritao/LLDBSharp,tritao/LLDBSharp
f43cbc74e6dc01c46b4cc704a52e6a336c3bb818
frontend/device/kobo/device.lua
frontend/device/kobo/device.lua
local Generic = require("device/generic/device") local Geom = require("ui/geometry") local dbg = require("dbg") local function yes() return true end local Kobo = Generic:new{ model = "Kobo", isKobo = yes, isTouchDevice = yes, -- all of them are -- most Kobos have X/Y switched for the touch screen ...
local Generic = require("device/generic/device") local Geom = require("ui/geometry") local dbg = require("dbg") local function yes() return true end local Kobo = Generic:new{ model = "Kobo", isKobo = yes, isTouchDevice = yes, -- all of them are -- most Kobos have X/Y switched for the touch screen ...
Always forcibly wake the H2O IR grid on wakeup
Always forcibly wake the H2O IR grid on wakeup Fix #1862 Fix #1943
Lua
agpl-3.0
NiLuJe/koreader,houqp/koreader,apletnev/koreader,NickSavage/koreader,Frenzie/koreader,chihyang/koreader,frankyifei/koreader,mihailim/koreader,Markismus/koreader,pazos/koreader,lgeek/koreader,poire-z/koreader,koreader/koreader,Frenzie/koreader,mwoz123/koreader,robert00s/koreader,NiLuJe/koreader,koreader/koreader,Hzj-jie...
ef51dd4da207f5e92d70d16f96c9401222e8e495
premake4.lua
premake4.lua
if not _ACTION then _ACTION="vs2010" end isPOSIX = false isVisualStudio = false if _ACTION == "vs2002" or _ACTION == "vs2003" or _ACTION == "vs2005" or _ACTION == "vs2008" or _ACTION == "vs2010" then isVisualStudio = true end if _ACTION == "codeblocks" then isPosix = true end solution "TaskSched...
if not _ACTION then _ACTION="vs2010" end isPOSIX = false isVisualStudio = false if _ACTION == "vs2002" or _ACTION == "vs2003" or _ACTION == "vs2005" or _ACTION == "vs2008" or _ACTION == "vs2010" then isVisualStudio = true end if _ACTION == "codeblocks" then isPosix = true end solution "TaskSched...
Fixed project generator script.
Fixed project generator script. Remove added by mistake *.vcxproj, *.vcxproj.user from UnitTest++ project.
Lua
mit
vr3d/TaskScheduler,galek/TaskScheduler,galek/TaskScheduler,galek/TaskScheduler,SergeyMakeev/TaskScheduler,SergeyMakeev/TaskScheduler,vr3d/TaskScheduler,vr3d/TaskScheduler
7f9b3efc8c7d347b28c8af9ba32043b7629c69fb
share/lua/sd/icecast.lua
share/lua/sd/icecast.lua
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
lua: icecast: fix icecast meta import
lua: icecast: fix icecast meta import
Lua
lgpl-2.1
shyamalschandra/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,shyamalschandra/vlc,jomanmuk/vlc-2.1,krichter722/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc,vlc-mirror/vlc,krichter722/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.1,xkfz007/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,xkfz007/vlc,jomanmuk/...
9e69438ac517bdb38827d11b247f0f758ac17dcb
xmake/modules/core/tools/ml.lua
xmake/modules/core/tools/ml.lua
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
fix ml error output
fix ml error output
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake
2dc86e274f373041b9dd48c23dab4857398dca0e
libs/core/luasrc/model/wireless.lua
libs/core/luasrc/model/wireless.lua
--[[ LuCI - Wireless model Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
--[[ LuCI - Wireless model Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
libs/core: extend and fix luci.model.wireless
libs/core: extend and fix luci.model.wireless
Lua
apache-2.0
deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci
d99569894a2ef259782acfe7b1e8754ff2bb900b
lua/wincent/commandt/private/ui.lua
lua/wincent/commandt/private/ui.lua
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local ui = {} local MatchListing = require('wincent.commandt.private.match_listing').MatchListing local Prompt = require('wincent.commandt.private.prompt').Prompt local cmdline_enter_autocmd = ni...
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local ui = {} local MatchListing = require('wincent.commandt.private.match_listing').MatchListing local Prompt = require('wincent.commandt.private.prompt').Prompt local cmdline_enter_autocmd = ni...
fix(lua): restore current window before running open command
fix(lua): restore current window before running open command Remember the current window before going to the UI, then restore it when coming back. Otherwise, we end up always opening in the topmost/leftmost split, because that is where Neovim is going to put the focus when we close. Likewise if we dismiss the UI with...
Lua
bsd-2-clause
wincent/command-t,wincent/command-t,wincent/command-t
f2f04961049d477ed0d3f5dd13cc12eb706bb4a3
Peripherals/HDD.lua
Peripherals/HDD.lua
local events = require("Engine.events") --A function that calculates the total size of a directory local function calcSize(dir) local total = 0 local files = love.filesystem.getDirectoryItems(dir) for k,filename in ipairs(files) do if love.filesystem.isDirectory(dir..filename) then total = total + calc...
local events = require("Engine.events") --A function that calculates the total size of a directory local function calcSize(dir) local total = 0 local files = love.filesystem.getDirectoryItems(dir) for k,filename in ipairs(files) do if love.filesystem.isDirectory(dir.."/"..filename) then total = total +...
Bugfixes + HDD.load
Bugfixes + HDD.load
Lua
mit
RamiLego4Game/LIKO-12
58b252456c849439758bb50d457079ab5fe140a7
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
modules/admin-full/luasrc/model/cbi/admin_network/network.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...
Add support for changing ULA prefix
Add support for changing ULA prefix
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,deepak78/new-luci,nmav/luci,oneru/luci,thess/OpenWrt-luci,taiha/luci,thesabbir/luci,ReclaimYourPrivacy/cloak-luci,schidler/ionic-luci,forward619/luci,nmav/luci,LuttyYang/luci,LuttyYang/luci,wongsyrone/luci-1,deepak78/new-luci,db260179/openwrt-bpi-r1-luci,Wedmer/luci,deepak78/new-luci,david...
2c16488e493c7a8309f24d832fa2e9665405569b
src/program/config/listen/listen.lua
src/program/config/listen/listen.lua
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local S = require("syscall") local ffi = require("ffi") local rpc = require("lib.yang.rpc") local data = require("lib.yang.data") local path_lib = require("lib.yang.path") local common = require("program.config.c...
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local S = require("syscall") local ffi = require("ffi") local rpc = require("lib.yang.rpc") local data = require("lib.yang.data") local path_lib = require("lib.yang.path") local common = require("program.config.c...
Fix snabb config listen for get-state.
Fix snabb config listen for get-state.
Lua
apache-2.0
alexandergall/snabbswitch,alexandergall/snabbswitch,Igalia/snabb,eugeneia/snabb,eugeneia/snabb,snabbco/snabb,Igalia/snabb,dpino/snabb,eugeneia/snabbswitch,heryii/snabb,Igalia/snabbswitch,eugeneia/snabbswitch,snabbco/snabb,dpino/snabb,dpino/snabb,alexandergall/snabbswitch,alexandergall/snabbswitch,heryii/snabb,alexander...
c359986d237b305c7a77980ca6386c7d7e35bdb5
plugins/id.lua
plugins/id.lua
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
Fix member listing
Fix member listing In API mode working even with supergroups with over 200 members.
Lua
mit
KevinGuarnati/controllore,KevinGuarnati/controllore
909a4f89e48e983245e3597e67fae9caa04f792b
BIOS/init.lua
BIOS/init.lua
--The BIOS should control the system of LIKO-12 and load the peripherals-- --For now it's just a simple BIOS to get LIKO-12 working. --Require the engine libraries-- local events = require("Engine.events") local coreg = require("Engine.coreg") local function splitFilePath(path) return path:match("(.-)([^\\/]-%.?([^%....
--The BIOS should control the system of LIKO-12 and load the peripherals-- --For now it's just a simple BIOS to get LIKO-12 working. --Require the engine libraries-- local events = require("Engine.events") local coreg = require("Engine.coreg") local function splitFilePath(path) return path:match("(.-)([^\\/]-%.?([^%....
Bugfixes + OS booting :D
Bugfixes + OS booting :D
Lua
mit
RamiLego4Game/LIKO-12
fa8df8f767effc272167351357894a0002145a04
put/project.lua
put/project.lua
-- Project project "put" location ("build\\" .. platform_dir) kind "StaticLib" language "C++" libdirs { "../pen/lib/" .. platform_dir, "../put/bullet/lib/" .. platform_dir, } includedirs { "..\\pen\\include\\common", "..\\pen\\include\\" .. platform_dir, "..\\pen\\include\\" .. renderer_dir...
-- Project project "put" location ("build\\" .. platform_dir) kind "StaticLib" language "C++" libdirs { "../pen/lib/" .. platform_dir, "../put/bullet/lib/" .. platform_dir, } includedirs { "..\\pen\\include\\common", "..\\pen\\include\\" .. platform_dir, "..\\pen\\include\\" .. renderer_dir...
compile fix
compile fix
Lua
mit
polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech,polymonster/pmtech
0cd73706d7683bbb12331d997baa718d1f228724
mod_ircd/mod_ircd.lua
mod_ircd/mod_ircd.lua
local irc_listener = { default_port = 6667, default_mode = "*l" }; local sessions = {}; local commands = {}; local nicks = {}; local st = require "util.stanza"; local conference_server = module:get_option("conference_server") or "conference.jabber.org"; local function irc_close_session(session) session.conn:close...
local irc_listener = { default_port = 6667, default_mode = "*l" }; local sessions = {}; local commands = {}; local nicks = {}; local st = require "util.stanza"; local conference_server = module:get_option("conference_server") or "conference.jabber.org"; local function irc_close_session(session) session.conn:close...
mod_ircd: Fixed handling of empty <body/> elements.
mod_ircd: Fixed handling of empty <body/> elements.
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
cbaa12fe71fafacc60596ba6fe21f54267ca525a
util/set.lua
util/set.lua
module "set" function new(list) local items = {}; local set = { items = items }; function set:add(set, item) items[item] = true; end function set:contains(set, item) return items[item] end function set:items(set) return items; end function set:remove(set, item) items[item] = nil; end func...
local ipairs, pairs = ipairs, pairs; module "set" function new(list) local items = {}; local set = { items = items }; function set:add(item) items[item] = true; end function set:contains(item) return items[item]; end function set:items() return items; end function set:remove(item) item...
util.set: Fix to make constructor work, and functions defined correctly
util.set: Fix to make constructor work, and functions defined correctly
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
0613ab16c14faf046c164d09e89e987df28c5371
packages/rotate.lua
packages/rotate.lua
local pdf = require("justenoughlibtexpdf") local enter = function (self) if not self.rotate then return end local x = -math.rad(self.rotate) -- Keep center point the same pdf:gsave() local cx = self:left():tonumber() local cy = -self:bottom():tonumber() pdf.setmatrix(1, 0, 0, 1, cx + math.sin(x) * self:h...
local pdf = require("justenoughlibtexpdf") local enter = function (self) if not self.rotate then return end local x = -math.rad(self.rotate) -- Keep center point the same pdf:gsave() local cx = self:left():tonumber() local cy = -self:bottom():tonumber() pdf.setmatrix(1, 0, 0, 1, cx + math.sin(x) * self:h...
fix(packages): Assure PDF initialization first-output can be rotated
fix(packages): Assure PDF initialization first-output can be rotated
Lua
mit
alerque/sile,alerque/sile,alerque/sile,alerque/sile
bcf9ac4b1c9b5455abc18f3b59c4725acbcba9c0
mod_muc_intercom/mod_muc_intercom.lua
mod_muc_intercom/mod_muc_intercom.lua
-- Relay messages between rooms -- By Kim Alvefur <zash@zash.se> local host_session = prosody.hosts[module.host]; local st_msg = require "util.stanza".message; local jid = require "util.jid"; function check_message(data) local origin, stanza = data.origin, data.stanza; local muc_rooms = host_session.muc and host_se...
-- Relay messages between rooms -- By Kim Alvefur <zash@zash.se> local host_session = prosody.hosts[module.host]; local st_msg = require "util.stanza".message; local jid = require "util.jid"; function check_message(data) local origin, stanza = data.origin, data.stanza; local muc_rooms = host_session.muc and host_se...
mod_muc_intercom: Fix traceback on topic changes
mod_muc_intercom: Fix traceback on topic changes
Lua
mit
vince06fr/prosody-modules,cryptotoad/prosody-modules,stephen322/prosody-modules,dhotson/prosody-modules,obelisk21/prosody-modules,stephen322/prosody-modules,LanceJenkinZA/prosody-modules,amenophis1er/prosody-modules,crunchuser/prosody-modules,vince06fr/prosody-modules,vince06fr/prosody-modules,obelisk21/prosody-modules...
0ff777f3d5aa1310689acfbd67cde556f51bdb8d
mod_pastebin/mod_pastebin.lua
mod_pastebin/mod_pastebin.lua
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local length_threshold = config.get(module.host, "core", "pasteb...
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local function drop_invalid_utf8(seq) local start = seq:byte();...
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
40d4e8521aa90986812c4b3744ad2ceb4e2623ce
data/pipelines/film_grain.lua
data/pipelines/film_grain.lua
local film_grain_shader = nil function postprocess(env, transparent_phase, ldr_buffer, gbuffer0, gbuffer1, gbuffer_depth, shadowmap) if not enabled then return ldr_buffer end if transparent_phase ~= "post_tonemap" then return ldr_buffer end local res = env.createRenderbuffer(1, 1, true, "rgba8") env.beginBlock("fi...
local film_grain_shader = nil function postprocess(env, transparent_phase, ldr_buffer, gbuffer0, gbuffer1, gbuffer_depth, shadowmap) if not enabled then return ldr_buffer end if transparent_phase ~= "post_tonemap" then return ldr_buffer end local res = env.createRenderbuffer(1, 1, true, "rgba8", "film_grain") env....
fixed film grain
fixed film grain
Lua
mit
JakubLukas/LumixEngine,JakubLukas/LumixEngine,JakubLukas/LumixEngine
c3ae76873129ba03108dfee433028740cbfd975b
tools/utils/BPE.lua
tools/utils/BPE.lua
local unicode = require 'tools.utils.unicode' local BPE = torch.class('BPE') function BPE:__init(opt) self.split = string.split -- to be able to run the code without torch if not self.split then self.split = function(t, sep) local fields = {} local pattern = string.format("([^%s]+)", sep) t...
local unicode = require 'tools.utils.unicode' local BPE = torch.class('BPE') function BPE:__init(opt) self.split = string.split -- to be able to run the code without torch if not self.split then self.split = function(t, sep) local fields = {} local pattern = string.format("([^%s]+)", sep) t...
Fix back compatibility for previous BPE models' option handling
Fix back compatibility for previous BPE models' option handling
Lua
mit
jsenellart-systran/OpenNMT,jsenellart/OpenNMT,OpenNMT/OpenNMT,da03/OpenNMT,jsenellart/OpenNMT,jungikim/OpenNMT,jungikim/OpenNMT,jungikim/OpenNMT,jsenellart/OpenNMT,jsenellart-systran/OpenNMT,OpenNMT/OpenNMT,da03/OpenNMT,da03/OpenNMT,jsenellart-systran/OpenNMT,OpenNMT/OpenNMT
1f53eddfa76a21ceea23483c01fe4c036e96f4ee
home/config/nvim/lua/plugins/vim-grepper.lua
home/config/nvim/lua/plugins/vim-grepper.lua
local wk = require('which-key') vim.g.grepper = { tools = {'rg', 'git'}, rg = { grepprg = 'rg -H --no-heading --vimgrep --hidden' }, } wk.register( { g = { '<Cmd>Grepper<Cr>', 'Grepper' }, G = { '<Cmd>Grepper -buffers<Cr>', 'Grepper Buffers' }, gs = { '<Plug>(GrepperOperator)', 'Grepper Opera...
local wk = require('which-key') vim.g.grepper = { tools = {'rg', 'git'}, rg = { grepprg = 'rg -H --no-heading --vimgrep --hidden' }, } wk.register( { g = { '<Cmd>Grepper<Cr>', 'Grepper' }, G = { '<Cmd>Grepper -buffers<Cr>', 'Grepper Buffers' }, ['*'] = { '<Cmd>Grepper -cword -noprompt<Cr>', '...
nvim(grepper): move GrepperOperator outside of <Leader> prefix
nvim(grepper): move GrepperOperator outside of <Leader> prefix
Lua
unlicense
knpwrs/dotfiles,KenPowers/dotfiles
fb3bd3e06a903c1868b39e1abebc8a666a8f2f4a
lib/luvit/dgram.lua
lib/luvit/dgram.lua
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
fixes for dns lookup for udp
fixes for dns lookup for udp
Lua
apache-2.0
sousoux/luvit,sousoux/luvit,sousoux/luvit,sousoux/luvit,sousoux/luvit,sousoux/luvit
ad01e62c65eb15b2b4e3c63133ecbaaf5e0dbc10
mod_mam/rsm.lib.lua
mod_mam/rsm.lib.lua
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
mod_mam/rsm.lib: Fix parsing of empty before tag
mod_mam/rsm.lib: Fix parsing of empty before tag
Lua
mit
apung/prosody-modules,brahmi2/prosody-modules,prosody-modules/import,mardraze/prosody-modules,syntafin/prosody-modules,guilhem/prosody-modules,softer/prosody-modules,Craige/prosody-modules,syntafin/prosody-modules,dhotson/prosody-modules,jkprg/prosody-modules,mardraze/prosody-modules,iamliqiang/prosody-modules,guilhem/...
f985780b6dfa90639a6cdb0daaf29aef4401bde8
Identity.lua
Identity.lua
local Identity, parent = torch.class('nn.Identity', 'nn.Module') function Identity:__init() parent.__init(self) self.tensorOutput = torch.Tensor{} self.output = self.tensorOutput self.tensorGradInput = torch.Tensor{} self.gradInput = self.tensorGradInput end function Identity:updateOutput(input) if ...
local Identity, parent = torch.class('nn.Identity', 'nn.Module') function Identity:__init() parent.__init(self) self.tensorOutput = torch.Tensor{} self.output = self.tensorOutput self.tensorGradInput = torch.Tensor{} self.gradInput = self.tensorGradInput end local function backCompatibility(self, input...
fix backcompat for nn.Identity
fix backcompat for nn.Identity
Lua
bsd-3-clause
eriche2016/nn,PraveerSINGH/nn,jonathantompson/nn,joeyhng/nn,jhjin/nn,nicholas-leonard/nn,Moodstocks/nn,caldweln/nn,diz-vara/nn,kmul00/nn,lukasc-ch/nn,colesbury/nn,apaszke/nn,sagarwaghmare69/nn,xianjiec/nn,elbamos/nn,andreaskoepf/nn,witgo/nn
d87b8433b7828ff0155fc34f5722028f48c904fe
examples/stream/libs/file.lua
examples/stream/libs/file.lua
-- This is a partial port of the built-in fs module as continuable format local native = require('uv') local iStream = require('stream').iStream local fs = {} fs.umask = "0644" local function noop() end function fs.open(path, flag, mode) if type(path) ~= "string" then error("open(path, flag, [mode]): path mu...
-- This is a partial port of the built-in fs module as continuable format local native = require('uv') local Emitter = require('core').Emitter local iStream = Emitter:extend() local fs = {} fs.umask = "0644" local function noop() end function fs.open(path, flag, mode) if type(path) ~= "string" then error("o...
Unbreak stream example
Unbreak stream example Fixes: ``` luvit test.lua Uncaught exception: /root/stream/libs/file.lua:67: attempt to index local 'iStream' (a nil value) ```
Lua
apache-2.0
zhaozg/luvit,luvit/luvit,zhaozg/luvit,luvit/luvit
ac77729254c01f0840f04188bf0c31816d5aafcd
interface/configenv/dynvars.lua
interface/configenv/dynvars.lua
local dynvar = {} local _mt_dynvar = { __index = dynvar } local function _new_dynvar(pkt, var, func) local self = { pkt = pkt, var = var, func = func } self.value = func() -- NOTE arp will execute in master return setmetatable(self, _mt_dynvar) end function dynvar:update() local v = self.func() self.value = v ...
local proto = require "proto.proto" local dynvar = {} local _mt_dynvar = { __index = dynvar } local _aliases = { udp_src = "setSrcPort", udp_dst = "setDstPort", tcp_src = "setSrcPort", tcp_dst = "setDstPort", } local function _find_setter(pkt, var) local alias = _aliases[pkt .. "_" .. var] if alias then return ...
Fix apply function.
Fix apply function.
Lua
mit
emmericp/MoonGen,dschoeffm/MoonGen,gallenmu/MoonGen,emmericp/MoonGen,gallenmu/MoonGen,scholzd/MoonGen,scholzd/MoonGen,gallenmu/MoonGen,dschoeffm/MoonGen,gallenmu/MoonGen,dschoeffm/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,emmericp/MoonGen,scholzd/MoonGen
1b7b815e585c4d4f7fda9ea34ad85a16532f2b2f
nyagos.d/suffix.lua
nyagos.d/suffix.lua
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end share._suffixes={} share._setsuffix = function(suffix,cmdline) suffix=string.gsub(string.lower(suffix),"^%.","") share._suffixes[suffix]=cmdline end suffix = setmetatable({},{ __call = function(t,k,v) s...
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end share._suffixes={} local function member(list,m) if not list then return false end return string.find(";"..list..";",";"..m..";",1,true) end share._setsuffix = function(suffix,cmdline) suf...
(#425) suffix.lua appends suffixes to %NYAGOSPATHEXT%
(#425) suffix.lua appends suffixes to %NYAGOSPATHEXT%
Lua
bsd-3-clause
tsuyoshicho/nyagos
9b9a205977c5ca70574a6df397be80229fd127b6
agents/monitoring/tests/fixtures/protocol/server.lua
agents/monitoring/tests/fixtures/protocol/server.lua
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local lineEmitter = LineEmitter:new() local port = 50041 local send_schedule_changed_initial = 2000 local send_schedul...
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local string = require('string') local math = require('math') local lineEmitter = LineEmitter:new() local ports = {500...
monitoring: tests: server: listen on multiple ports
monitoring: tests: server: listen on multiple ports listen on all of the expected ports of the fixtures config file. Then randomly disconnect the agent at random intervals to test the retry logic.
Lua
apache-2.0
kans/zirgo,kans/zirgo,kans/zirgo
f04a7a122a01dc26c153fba410a013fe0d634008
lua/entities/gmod_wire_numpad.lua
lua/entities/gmod_wire_numpad.lua
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Numpad" ENT.WireDebugName = "Numpad" if CLIENT then return end -- No more client local keynames = {"0","1","2","3","4","5","6","7","8","9",".","enter","+","-","*","/"} -- Names as we will display them and for inputs/outputs local keyenu...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Numpad" ENT.WireDebugName = "Numpad" if CLIENT then return end -- No more client local keynames = {"0","1","2","3","4","5","6","7","8","9",".","enter","+","-","*","/"} -- Names as we will display them and for inputs/outputs local keyenu...
Fix #599. Correctly register numpad callbacks.
Fix #599. Correctly register numpad callbacks.
Lua
apache-2.0
bigdogmat/wire,thegrb93/wire,dvdvideo1234/wire,CaptainPRICE/wire,mms92/wire,wiremod/wire,notcake/wire,sammyt291/wire,garrysmodlua/wire,Grocel/wire,rafradek/wire,NezzKryptic/Wire,immibis/wiremod,plinkopenguin/wiremod,mitterdoo/wire,Python1320/wire
f888eb12e75207da8189aa5c6f5907572a5e88ad
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( ...
Fix turret behavior if parented (#2184)
Fix turret behavior if parented (#2184)
Lua
apache-2.0
Grocel/wire,wiremod/wire,dvdvideo1234/wire
74c8b1fb90271c586e315bb83683ba9154bca863
spec/security/crypto/ticket_spec.lua
spec/security/crypto/ticket_spec.lua
local encoding = require 'core.encoding' local cipher = require 'security.crypto.cipher' local digest = require 'security.crypto.digest' local ticket = require 'security.crypto.ticket' describe('ticket', function() local t = ticket.new { --digest = digest.new('md5'), digest = digest.hmac('ripemd16...
local encoding = require 'core.encoding' local cipher = require 'security.crypto.cipher' local digest = require 'security.crypto.digest' local ticket = require 'security.crypto.ticket' describe('ticket', function() local t = ticket.new { --digest = digest.new('md5'), digest = digest.hmac('ripemd16...
Fixed issue with shadowing upvalue digest in test case.
Fixed issue with shadowing upvalue digest in test case.
Lua
mit
akornatskyy/lucid
7dc11b360e849779d4f112c2fadd6aa5bc3f489d
lua/plugins/oscyank.lua
lua/plugins/oscyank.lua
-- luacheck: max line length 143 local executable = require('utils.files').executable local set_command = require('neovim.commands').set_command local set_autocmd = require('neovim.autocmds').set_autocmd if vim.g.OSCTERM then vim.g.oscyank_term = vim.g.OSCTERM elseif executable 'kitty' then vim.g.oscyank_term...
-- luacheck: max line length 143 local executable = require('utils.files').executable local set_command = require('neovim.commands').set_command local set_autocmd = require('neovim.autocmds').set_autocmd if vim.g.OSCTERM then vim.g.oscyank_term = vim.g.OSCTERM elseif vim.env.OSCTERM then vim.g.oscyank_term = ...
fix: Respect environment OSCTERM var
fix: Respect environment OSCTERM var
Lua
mit
Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim
c199f33b7b506655ef5acbc6ae1960e36a08ea89
mock/gfx/asset/Font.lua
mock/gfx/asset/Font.lua
module 'mock' -------------------------------------------------------------------- local charCodes = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,:.?!{}()<>+_=" -------------------------------------------------------------------- -------font local function loadFont( node ) local font = MOAIFont.ne...
module 'mock' -------------------------------------------------------------------- local charCodes = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,:.?!{}()<>+_=" -------------------------------------------------------------------- -------font local function loadFont( node ) local font = MOAIFont.ne...
fix font bug
fix font bug
Lua
mit
tommo/mock
d0e920fab0f8e10d0068208781fada88f35da84c
test_scripts/Polices/Validation_of_PolicyTables/286_ATF_Validate_default_priority_preDataConsent.lua
test_scripts/Polices/Validation_of_PolicyTables/286_ATF_Validate_default_priority_preDataConsent.lua
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [Policies] "pre_DataConsent" policies assigned to the application and "priority" value -- -- Description: -- Providing to HMI app`s default priority value of "pre_DataConsent" if "pre_DataCons...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [Policies] "pre_DataConsent" policies assigned to the application and "priority" value -- -- Description: -- Providing to HMI app`s default priority value of "pre_DataConsent" if "pre_DataConsent" po...
Fix issues
Fix issues
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
06891393a841859573d6e21fabedca1eeec3f4d7
kong/tools/wrpc/init.lua
kong/tools/wrpc/init.lua
local pb = require "pb" local queue = require "kong.tools.wrpc.queue" local threads = require "kong.tools.wrpc.threads" local future = require "kong.tools.wrpc.future" local pb_encode = pb.encode local queue_new = queue.new local future_new = future.new local ngx_log = ngx.log local NOTICE = ngx.NOTICE local ngx_now ...
local pb = require "pb" local queue = require "kong.tools.wrpc.queue" local threads = require "kong.tools.wrpc.threads" local future = require "kong.tools.wrpc.future" local pb_encode = pb.encode local queue_new = queue.new local future_new = future.new local ngx_log = ngx.log local NOTICE = ngx.NOTICE local ngx_now ...
fix(clustering): wRPC should set connect timeout for WebSocket connections
fix(clustering): wRPC should set connect timeout for WebSocket connections
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
76f0c83fec8c378a43c2dea2ba727e3c19be1b11
net/connlisteners.lua
net/connlisteners.lua
-- Prosody IM v0.2 -- Copyright (C) 2008 Matthew Wild -- Copyright (C) 2008 Waqas Hussain -- -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your o...
-- Prosody IM v0.2 -- Copyright (C) 2008 Matthew Wild -- Copyright (C) 2008 Waqas Hussain -- -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your o...
net.connlisteners: Fix to report errors loading connlisteners
net.connlisteners: Fix to report errors loading connlisteners
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
7be32a933262a3190cb105f1b038fab81be8a748
modules/admin-mini/luasrc/model/cbi/mini/network.lua
modules/admin-mini/luasrc/model/cbi/mini/network.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 duplicate tables
Fixed duplicate tables
Lua
apache-2.0
dwmw2/luci,cshore/luci,NeoRaider/luci,Sakura-Winkey/LuCI,palmettos/test,hnyman/luci,mumuqz/luci,shangjiyu/luci-with-extra,harveyhu2012/luci,male-puppies/luci,ff94315/luci-1,male-puppies/luci,urueedi/luci,NeoRaider/luci,Wedmer/luci,openwrt/luci,oyido/luci,kuoruan/luci,ff94315/luci-1,tobiaswaldvogel/luci,dwmw2/luci,remak...
e536e4b39c4198408ed946ea85273079acaa84ff
PokémonInfo-Regionaldex.lua
PokémonInfo-Regionaldex.lua
-- Modulo da usare nel template PokémonInfo per determinare -- i dex regionali local rdex = {} local txt = require('Wikilib-strings') -- luacheck: no unused local tab = require('Wikilib-tables') -- luacheck: no unused local dex = require("Dex-data") local c = require("Colore-data") local sup = require("Sup-data") lo...
-- Modulo da usare nel template PokémonInfo per determinare -- i dex regionali local rdex = {} local txt = require('Wikilib-strings') -- luacheck: no unused local tab = require('Wikilib-tables') -- luacheck: no unused local dex = require("Dex-data") local c = require("Colore-data") local sup = require("Sup-data") lo...
Fixed link to dex page in PokémonInfo-Regionaldex
Fixed link to dex page in PokémonInfo-Regionaldex
Lua
cc0-1.0
pokemoncentral/wiki-lua-modules
440370fc26475fd530d28cab4fba7cfd0fa6f37c
src/premake4.lua
src/premake4.lua
newoption { trigger = "gdal-csharp", value = "DIR", description = "Directory with GDAL C# bindings (REQUIRED)", } -- If an action other than clean is specified, verify that the -- --gdal-csharp option was used to provide the location of the -- GDAL C# bindings. function gdal_csharp_error(...
build_dir="../build" solution "landis-spatial" language "C#" -- by default, premake uses "Any CPU" for platform configurations { "Debug", "Release" } configuration "Debug" defines { "DEBUG" } flags { "Symbols" } targetdir ( build_dir .. "/Debug" ) configuration "Release" ...
Removed the --gdal-dir option from Premake script because the location of the GDAL C# bindings is now a fixed relative path within the project.
Removed the --gdal-dir option from Premake script because the location of the GDAL C# bindings is now a fixed relative path within the project.
Lua
apache-2.0
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
a8e8b7decbcebc42092f585c89da606841ad8dc9
src/websocket/sync.lua
src/websocket/sync.lua
local frame = require'websocket.frame' local handshake = require'websocket.handshake' local tools = require'websocket.tools' local tinsert = table.insert local tconcat = table.concat local receive = function(self) if self.state ~= 'OPEN' and not self.is_closing then return nil,nil,false,1006,'wrong state' end...
local frame = require'websocket.frame' local handshake = require'websocket.handshake' local tools = require'websocket.tools' local tinsert = table.insert local tconcat = table.concat local receive = function(self) if self.state ~= 'OPEN' and not self.is_closing then return nil,nil,false,1006,'wrong state' end...
Fix. sync works with copas server.
Fix. sync works with copas server.
Lua
mit
KSDaemon/lua-websockets,lipp/lua-websockets,OptimusLime/lua-websockets,lipp/lua-websockets,OptimusLime/lua-websockets,lipp/lua-websockets,enginix/lua-websockets,OptimusLime/lua-websockets,enginix/lua-websockets,KSDaemon/lua-websockets,enginix/lua-websockets,KSDaemon/lua-websockets
a1cffc6b109d5aeea0dbb70bfc216a7e891e45f0
src/sailor/db.lua
src/sailor/db.lua
-------------------------------------------------------------------------------- -- db.lua, v0.2: DB module for connecting and querying through LuaSQL -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org ----------------------------...
-------------------------------------------------------------------------------- -- db.lua, v0.2.1: DB module for connecting and querying through LuaSQL -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org --------------------------...
Fixing insert for postgresql
Fixing insert for postgresql
Lua
mit
ignacio/sailor,Etiene/sailor,felipedaragon/sailor,jeary/sailor,mpeterv/sailor,mpeterv/sailor,sailorproject/sailor,Etiene/sailor,noname007/sailor,hallison/sailor,felipedaragon/sailor,ignacio/sailor
98e75cc744855850214a4a52d5ef3d679a47a946
util/iterators.lua
util/iterators.lua
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- --[[ Iterators ]]-- local it = {}; -- Reverse an iterator function it.reverse(f, s, var) local results...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- --[[ Iterators ]]-- local it = {}; local t_insert = table.insert; local select, unpack, next = select, ...
util.iterators: Various fixes and improvements, primarily use pack() where it should be used.
util.iterators: Various fixes and improvements, primarily use pack() where it should be used.
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
dfc74d598b825de786531daf7d39bc5359b3432e
home/config/nvim/lua/plugins/lightspeed.lua
home/config/nvim/lua/plugins/lightspeed.lua
local cmd = vim.cmd local nvim_set_keymap = vim.api.nvim_set_keymap local opts = { silent = true } nvim_set_keymap('n', 'z', '<Plug>Lightspeed_s', opts) nvim_set_keymap('n', 'Z', '<Plug>Lightspeed_S', opts) nvim_set_keymap('v', 'z', '<Plug>Lightspeed_s', opts) nvim_set_keymap('v', 'Z', '<Plug>Lightspeed_S', opts) nvi...
local cmd = vim.cmd local nvim_set_keymap = vim.api.nvim_set_keymap local opts = { silent = true } nvim_set_keymap('n', 'z', '<Plug>Lightspeed_s', opts) nvim_set_keymap('n', 'Z', '<Plug>Lightspeed_S', opts) nvim_set_keymap('v', 'z', '<Plug>Lightspeed_s', opts) nvim_set_keymap('v', 'Z', '<Plug>Lightspeed_S', opts) nvi...
nvim: fix lightspeed
nvim: fix lightspeed
Lua
unlicense
knpwrs/dotfiles,KenPowers/dotfiles
0290af9ae22499bfba02671475c581bf7f9ea206
UCDinteriors/server.lua
UCDinteriors/server.lua
function foo(markerNumber, type_, entryOrExit) if (client and markerNumber and type_) then local goto = interiors[type_][markerNumber] if (entryOrExit == "exit") then client.position = Vector3(goto.entryX, goto.entryY, goto.entryZ) client.dimension = 0 client.interior = 0 elseif (entryOrExit == "entry")...
function foo(markerNumber, type_, entryOrExit) if (client and markerNumber and type_) then local goto = interiors[type_][markerNumber] if (entryOrExit == "exit") then client.dimension = 0 client.interior = 0 client.position = Vector3(goto.entryX, goto.entryY, goto.entryZ) elseif (entryOrExit == "entry")...
UCDinteriors
UCDinteriors - Fixed not recognising you entered LV when leaving an interior into LV.
Lua
mit
nokizorque/ucd,nokizorque/ucd
26c00558e534808ccbd5f06f63239dcf2ff8f1d2
Interface/AddOns/RayUI/modules/infobar/infobar.lua
Interface/AddOns/RayUI/modules/infobar/infobar.lua
local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local local IF = R:NewModule("InfoBar", "AceEvent-3.0", "AceHook-3.0", "AceConsole-3.0", "AceTimer-3.0") local bars = {} IF.InfoBarStatusColor = {{1, 0, 0}, {1, 1, 0}, {0, 0.4, 1}} local height = 15 local speed = 135 function IF:CreateInfo...
local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local local IF = R:NewModule("InfoBar", "AceEvent-3.0", "AceHook-3.0", "AceConsole-3.0", "AceTimer-3.0") local bars = {} IF.InfoBarStatusColor = {{1, 0, 0}, {1, 1, 0}, {0, 0.4, 1}} local height = 15 local speed = 135 function IF:CreateInfo...
一处自动隐藏bug
一处自动隐藏bug
Lua
mit
fgprodigal/RayUI
43145fdaede79cac437e95a0b2201f5b4f780c88
lua_scripts/pathmaps/simple/00_default.lua
lua_scripts/pathmaps/simple/00_default.lua
-- Copyright (C) 2007 Lauri Leukkunen <lle@rahina.org> -- Licensed under MIT license. -- -- "simple" mode, to be used for software development & building -- (as the name says, this is the simple solution; See/use the "devel" -- mode when a more full-featured environment is needed) -- Rule file interface version, manda...
-- Copyright (C) 2007 Lauri Leukkunen <lle@rahina.org> -- Licensed under MIT license. -- -- "simple" mode, to be used for software development & building -- (as the name says, this is the simple solution; See/use the "devel" -- mode when a more full-featured environment is needed) -- Rule file interface version, manda...
fix to make python work
fix to make python work otherwise I get: 'import site' failed; use -v for traceback Signed-off-by: Lauri Aarnio <18c97056964064acc79deb3ed7547e2c4d053843@iki.fi>
Lua
lgpl-2.1
lbt/scratchbox2,OlegGirko/ldbox,madscientist42/scratchbox2,OlegGirko/ldbox,h113331pp/scratchbox2,h113331pp/scratchbox2,ldbox/ldbox,lbt/scratchbox2,OlegGirko/ldbox,loganchien/scratchbox2,lbt/scratchbox2,loganchien/scratchbox2,OlegGirko/ldbox,BinChengfei/scratchbox2,OlegGirko/ldbox,BinChengfei/scratchbox2,madscientist42/...
0bb5bfc6355ad9db87e7d51e7b02da404afc55b6
src/blackjackgame.lua
src/blackjackgame.lua
local Gamestate = require 'vendor/gamestate' local anim8 = require 'vendor/anim8' local window = require 'window' local Prompt = require 'prompt' local camera = require 'camera' local state = Gamestate.new() function state:init() self.table = love.graphics.newImage( 'images/card_table.png' ) self.cardSprite = ...
local Gamestate = require 'vendor/gamestate' local anim8 = require 'vendor/anim8' local window = require 'window' local Prompt = require 'prompt' local camera = require 'camera' local state = Gamestate.new() function state:init() self.table = love.graphics.newImage( 'images/card_table.png' ) self.cardSprite = ...
Fixed the pixel shift
Fixed the pixel shift
Lua
mit
hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-client-lua,hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-client-lua
f00316a42943a9a75303658f8d646d35f9e8d1b9
core/src/demo/xmake.lua
core/src/demo/xmake.lua
-- add target target("demo") -- add deps add_deps("xmake") -- make as a binary set_kind("binary") -- add defines add_defines("__tb_prefix__=\"xmake\"") -- set the object files directory set_objectdir("$(buildir)/.objs") -- add includes directory add_includedirs("$(projectdir...
-- add target target("demo") -- add deps add_deps("xmake") -- make as a binary set_kind("binary") -- add defines add_defines("__tb_prefix__=\"xmake\"") -- set the object files directory set_objectdir("$(buildir)/.objs") -- add includes directory add_includedirs("$(projectdir...
fix core xmake.lua again
fix core xmake.lua again
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake
93419eee5fe987b5af0c2d6149ef0bcc45b47413
games/saloon/player.lua
games/saloon/player.lua
-- This is a simple class to represent the Player object in the game. You can extend it by adding utility functions here in this file. local class = require("joueur.utilities.class") local GameObject = require("games.saloon.gameObject") -- <<-- Creer-Merge: requires -->> - Code you add between this comment and the en...
-- This is a simple class to represent the Player object in the game. You can extend it by adding utility functions here in this file. local class = require("joueur.utilities.class") local GameObject = require("games.saloon.gameObject") -- <<-- Creer-Merge: requires -->> - Code you add between this comment and the en...
Re-ran creer with fixed Player.callIn()
Re-ran creer with fixed Player.callIn()
Lua
mit
siggame/Joueur.lua,JacobFischer/Joueur.lua,siggame/Joueur.lua
9033c5cdd96ad64c345191fd653a75248b6dc2e7
service/multicastd.lua
service/multicastd.lua
local skynet = require "skynet" local mc = require "multicast.c" local datacenter = require "datacenter" local harbor_id = skynet.harbor(skynet.self()) local command = {} local channel = {} local channel_n = {} local channel_remote = {} local channel_id = harbor_id local NORET = {} local function get_address(t, id) ...
local skynet = require "skynet" local mc = require "multicast.c" local datacenter = require "datacenter" local harbor_id = skynet.harbor(skynet.self()) local command = {} local channel = {} local channel_n = {} local channel_remote = {} local channel_id = harbor_id local NORET = {} local function get_address(t, id) ...
bugfix: double check in SUB
bugfix: double check in SUB
Lua
mit
sundream/skynet,ilylia/skynet,fztcjjl/skynet,firedtoad/skynet,MoZhonghua/skynet,LiangMa/skynet,Markal128/skynet,asanosoyokaze/skynet,KAndQ/skynet,letmefly/skynet,MoZhonghua/skynet,korialuo/skynet,kyle-wang/skynet,QuiQiJingFeng/skynet,liuxuezhan/skynet,MRunFoss/skynet,zzh442856860/skynet-Note,bigrpg/skynet,JiessieDawn/s...
3f78f1f7213afded0029efcf439556c628971b17
conf/lua/rspamd.lua
conf/lua/rspamd.lua
-- This is main lua config file for rspamd config['regexp'] = {} dofile('regexp/headers.lua') dofile('regexp/lotto.lua') dofile('regexp/fraud.lua') dofile('regexp/drugs.lua') local reconf = config['regexp'] -- Uncategorized rules local html_length_1024_1536 = 'has_content_part_len(\'text\', \'html\', 1024, 1536)' ...
-- This is main lua config file for rspamd config['regexp'] = {} dofile('regexp/headers.lua') dofile('regexp/lotto.lua') dofile('regexp/fraud.lua') dofile('regexp/drugs.lua') local reconf = config['regexp'] -- Uncategorized rules local html_length_1024_1536 = 'has_content_part_len(\'text\', \'html\', 1024, 1536)' ...
Fix DATE_IN_PAST and DATE_IN_FUTURE
Fix DATE_IN_PAST and DATE_IN_FUTURE
Lua
apache-2.0
dark-al/rspamd,amohanta/rspamd,minaevmike/rspamd,dark-al/rspamd,minaevmike/rspamd,amohanta/rspamd,andrejzverev/rspamd,minaevmike/rspamd,minaevmike/rspamd,AlexeySa/rspamd,andrejzverev/rspamd,dark-al/rspamd,minaevmike/rspamd,AlexeySa/rspamd,amohanta/rspamd,andrejzverev/rspamd,dark-al/rspamd,minaevmike/rspamd,AlexeySa/rsp...
1f3aca959c7ba53a3c830611d061fbc15a9a9ad1
torch/audio/benchmark.lua
torch/audio/benchmark.lua
require 'sys' require 'cunn' require 'cudnn' require 'nnx' require 'BatchBRNNReLU' require 'Dataset' local pl = require('pl.import_into')() local optnet = require 'optnet' cudnn.fastest = true cudnn.benchmark = false -- set this false due to the varying input shape cudnn.verbose = false local function printMemory()...
require 'sys' require 'cunn' require 'cudnn' require 'nnx' require 'BatchBRNNReLU' require 'Dataset' local pl = require('pl.import_into')() local optnet = require 'optnet' cudnn.fastest = true cudnn.benchmark = false -- set this false due to the varying input shape cudnn.verbose = false local function printMemory()...
fixed typos
fixed typos
Lua
apache-2.0
DeepMark/deepmark
29149b93a5c14f48af2face666e422e0be9ffbae
lua/weapons/gmod_tool/stools/sbep_docking_clamp.lua
lua/weapons/gmod_tool/stools/sbep_docking_clamp.lua
TOOL.Category = "SBEP" TOOL.Name = "#Docking Clamp" TOOL.Command = nil TOOL.ConfigName = "" local DockingClampModels = list.Get( "SBEP_DockingClampModels" ) local DockClampToolModels = list.Get( "SBEP_DockClampToolModels" ) if CLIENT then language.Add( "Tool.sbep_docking_clamp.name" , "SBEP Docking Clamp Tool" ...
TOOL.Category = "SBEP" TOOL.Name = "#Docking Clamp" TOOL.Command = nil TOOL.ConfigName = "" local DockingClampModels = list.Get( "SBEP_DockingClampModels" ) local DockClampToolModels = list.Get( "SBEP_DockClampToolModels" ) if CLIENT then language.Add( "Tool.sbep_docking_clamp.name" , "SBEP Docking Clamp Tool" ...
Fixes invalid angle error for docking clamp when using right click
Fixes invalid angle error for docking clamp when using right click minor change for label color
Lua
apache-2.0
SnakeSVx/sbep
6d45d34504eb3be5e51e7fe368f71ec1902336a5
enemy.lua
enemy.lua
require "ai/ai" function getAllNodes(map) local w = map.width local h = map.height local nodes = {} local k = 1 for i = 0, w do for j = 0, h do nodes[k]= {x=i,y=j,id=k} k = k + 1 end end return nodes end function findNode(nodes, x, y) for i = 1, #nodes do if nodes[i].x == x and nodes[i].y == y t...
require "ai/ai" function getAllNodes(map) local w = map.width local h = map.height local nodes = {} local k = 1 for i = 0, w do for j = 0, h do nodes[k]= {x=i,y=j,id=k} k = k + 1 end end return nodes end function findNode(nodes, x, y) for i = 1, #nodes do if nodes[i].x == x and nodes[i].y == y t...
creep-base collision handled correctly now.
creep-base collision handled correctly now. This fixes issue #17
Lua
mit
sam1i/Turres-Monacorum,sam1i/Turres-Monacorum
18d09ea8d0d3af1871d19ca5ed219c8720f349ba
penguingui/TextField.lua
penguingui/TextField.lua
-- Editable text field TextField = class(Component) TextField.vPadding = 3 TextField.hPadding = 4 TextField.borderColor = "#545454" TextField.backgroundColor = "black" TextField.textColor = "white" TextField.textHoverColor = "#777777" TextField.defaultTextColor = "#333333" TextField.defaultTextHoverColor = "#777777" Te...
-- Editable text field TextField = class(Component) TextField.vPadding = 3 TextField.hPadding = 4 TextField.borderColor = "#545454" TextField.backgroundColor = "black" TextField.textColor = "white" TextField.textHoverColor = "#999999" TextField.defaultTextColor = "#333333" TextField.defaultTextHoverColor = "#777777" Te...
Fixed mouse clicking and text clipping to actually work.
Fixed mouse clicking and text clipping to actually work. - There is a bug where drawing a string will trim the string of whitespace first.
Lua
apache-2.0
PenguinToast/PenguinGUI
3704f885ea1e982182faf421bb45d875764afe63
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 setfenv = setfenv; local pcall = pcall; local mtools = require "migrator.mtools"; local next = nex...
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 setfenv = setfenv; local pcall = pcall; local mtools = require "migrator.mtools"; local next = nex...
tools/migration/migrator/prosody_files.lua: Fix for previous commit
tools/migration/migrator/prosody_files.lua: Fix for previous commit
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
c67607518dde152ebf2339f175136e6f0b98d02e
OfficerNoteWarning.lua
OfficerNoteWarning.lua
local mod = EPGP:NewModule("EPGP_OfficerNoteWarning", "AceHook-3.0") local L = LibStub:GetLibrary("AceLocale-3.0"):GetLocale("EPGP") function mod:OnInitialize() StaticPopupDialogs["EPGP_OFFICER_NOTE_WARNING"] = { text = L["EPGP is using Officer Notes for data storage. Do you really want to edit the Officer Note...
local mod = EPGP:NewModule("EPGP_OfficerNoteWarning", "AceHook-3.0") local L = LibStub:GetLibrary("AceLocale-3.0"):GetLocale("EPGP") function mod:OnInitialize() StaticPopupDialogs["EPGP_OFFICER_NOTE_WARNING"] = { text = L["EPGP is using Officer Notes for data storage. Do you really want to edit the Officer Note...
Fix the officer note warning to not allow the edit of a note unless a user clicks accept.
Fix the officer note warning to not allow the edit of a note unless a user clicks accept.
Lua
bsd-3-clause
sheldon/epgp,ceason/epgp-tfatf,hayword/tfatf_epgp,sheldon/epgp,protomech/epgp-dkp-reloaded,ceason/epgp-tfatf,protomech/epgp-dkp-reloaded,hayword/tfatf_epgp
709a9003d276d74e28417b28464db6cd2a0f19d1
inputbox.lua
inputbox.lua
require "rendertext" require "keys" require "graphics" InputBox = { -- Class vars: h = 100, input_slot_w = nil, input_start_x = 145, input_start_y = nil, input_cur_x = nil, -- points to the start of next input pos input_bg = 0, input_string = "", shiftmode = false, altmode = false, cursor = nil, -- fo...
require "rendertext" require "keys" require "graphics" InputBox = { -- Class vars: h = 100, input_slot_w = nil, input_start_x = 145, input_start_y = nil, input_cur_x = nil, -- points to the start of next input pos input_bg = 0, input_string = "", shiftmode = false, altmode = false, cursor = nil, -- fo...
fix: handle default text in inputbox
fix: handle default text in inputbox
Lua
agpl-3.0
apletnev/koreader-base,frankyifei/koreader-base,houqp/koreader-base,frankyifei/koreader-base,Hzj-jie/koreader-base,houqp/koreader,Frenzie/koreader-base,houqp/koreader-base,Hzj-jie/koreader-base,NiLuJe/koreader,Markismus/koreader,robert00s/koreader,poire-z/koreader,NiLuJe/koreader-base,Frenzie/koreader-base,koreader/kor...
8eeedf319f8fc65a06d4219df86c1feffaab6ff8
example.lua
example.lua
local tea = require "teateatea"; --[[ local tab = tea.pack(str, separator[, drop_empty, trim_value_whitespaces, multi_separators]); local tab = tea.kvpack(str, equals, separator[, drop_empty, trim_key_whitespaces, trim_value_whitespaces, multi_equals, multi_separators]); local trimed_str = tea.trim(str); where: ...
local tea = require "teateatea"; --[[ local tab = tea.pack(str, separator[, drop_empty, trim_value_whitespaces, multi_separators]); local tab = tea.kvpack(str, equals, separator[, drop_empty, trim_key_whitespaces, trim_value_whitespaces, multi_equals, multi_separators]); local trimed_str = tea.trim(str); where: ...
fix som example misunderstanding
fix som example misunderstanding
Lua
mit
Darvame/teateatea
4fcb1e856f5d1456efd73ffaac379c06f615df18
tundra.lua
tundra.lua
require "tundra.syntax.glob" require "tundra.syntax.rust-cargo" ----------------------------------------------------------------------------------------------------------------------- local common = { Env = { M68KMAKE = "$(OBJECTDIR)$(SEP)m68kmake$(PROGSUFFIX)", M68KEMUPATH = "native/musashi", }, } -----------...
require "tundra.syntax.glob" require "tundra.syntax.rust-cargo" ----------------------------------------------------------------------------------------------------------------------- local common = { Env = { M68KMAKE = "$(OBJECTDIR)$(SEP)m68kmake$(PROGSUFFIX)", M68KEMUPATH = "native/musashi", }, } -----------...
Fixed linux build
Fixed linux build
Lua
apache-2.0
emoon/open_depacker,emoon/open_depacker,emoon/open_depacker,emoon/open_depacker
87a91f6f84576aa0f8c01f8bac32bafaf0309f55
vararg.lua
vararg.lua
local math = require "math" local table = require "table" local error, assert, select = error, assert, select local max, unpack = math.max, table.unpack or unpack local setmetatable = setmetatable local tinsert2 = function(t, n, i, v) -- lua 5.2 rise error if index out of range -- assert(type(t) =='table') -- ass...
local math = require "math" local table = require "table" local error, assert, select = error, assert, select local max, unpack = math.max, table.unpack or unpack local setmetatable = setmetatable local tinsert2 = function(t, n, i, v) -- lua 5.2 rise error if index out of range -- assert(type(t) =='table') -- ass...
Fix. Export `count` and `at` from `vararg-lua`
Fix. Export `count` and `at` from `vararg-lua`
Lua
mit
icetoggle/lua-vararg,moteus/lua-vararg,icetoggle/lua-vararg
cca8533640be60370cc409878426b446ed0c0342
lua/autorun/includes/modules/EventEmitter.lua
lua/autorun/includes/modules/EventEmitter.lua
--- -- EventEmitter -- -- Based off of Wolfy87's JavaScript EventEmitter -- local EventEmitter = {} local function indexOfListener(listeners, listener) local i = #listeners while i > 0 do if listeners[i].listener == listener then return i end i = i - 1 end return -1 end function EventEmitter:new(obj) i...
--- -- EventEmitter -- -- Based off of Wolfy87's JavaScript EventEmitter -- local EventEmitter = {} local function indexOfListener(listeners, listener) local value local i = #listeners while i > 0 do value = listeners[i] if type(value) == 'table' and value.listener == listener then return i end i = i -...
Fixed issues with EventEmitter.
Fixed issues with EventEmitter.
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
efc5f8af3e2683b299ab15d336c4248de6a60d49
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") local co = coroutine.create(f) local ret = {coroutine.resume(co, self._state.data, ...)} -- Print errors if there are any assert(ret[1], ret[2]) ...
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") local co = coroutine.create(f) local ret = {coroutine.resume(co, self._state.data, ...)} -- Print errors if there are any assert(ret[1], ret[2]) ...
Fix indirection of state transitions
Fix indirection of state transitions
Lua
mit
25A0/Quadtastic,25A0/Quadtastic
06567a7e2c065f3bbfed7fc98b33425ae95ca13a
agents/monitoring/default/protocol/request.lua
agents/monitoring/default/protocol/request.lua
--[[ Copyright 2012 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
--[[ Copyright 2012 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
Fix request.lua to handle trying to open a stupid file
Fix request.lua to handle trying to open a stupid file
Lua
apache-2.0
cp16net/virgo-base,AlphaStaxLLC/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,christopherjwang/rackspace-monitoring-agent,christopherjwang/rackspace-monitoring-agent,kaustavha/rackspace-monitoring-agent,kaustavha/rackspace-monitoring-agent,cp16net/virg...
e84005bc8c34a0b8137e7ddb04e5b339dc16d02c
genie/toolchain.lua
genie/toolchain.lua
-- -- Copyright (c) 2015 Jonathan Howard, Daniele Bartolini -- MIT License -- function toolchain(build_dir, lib_dir) newoption { trigger = "compiler", value = "COMPILER", description = "Choose compiler", allowed = { { "osx", "Clang - OS X" }, { "...
-- -- Copyright (c) 2015 Jonathan Howard, Daniele Bartolini -- MIT License -- function toolchain(build_dir, lib_dir) newoption { trigger = "compiler", value = "COMPILER", description = "Choose compiler", allowed = { { "osx", "Clang - OS X" }, { "...
fix -std=c++11 for tools
fix -std=c++11 for tools
Lua
mit
NathanaelThompson/altertum,v3n/altertum,NathanaelThompson/altertum,NathanaelThompson/altertum,v3n/altertum,v3n/altertum
1d3a97d6555287784e11679bbfd6875a7d2a03a1
item/id_222_amulett.lua
item/id_222_amulett.lua
-- UPDATE common SET com_script='item.id_222_amulett' WHERE com_itemid IN (222); require("item.priest.jewel") require("base.common") module("item.id_222_amulett", package.seeall, package.seeall(item.priest.jewel)) function MoveItemBeforeMove( who, sourceItem, targetItem ) fnd, eff = who.effects:find(9) if (f...
-- UPDATE common SET com_script='item.id_222_amulett' WHERE com_itemid IN (222); require("item.priest.jewel") require("base.common") module("item.id_222_amulett", package.seeall) function MoveItemBeforeMove( who, sourceItem, targetItem ) fnd, eff = who.effects:find(9) if (fnd) then base.common.Inform...
fix module statement
fix module statement
Lua
agpl-3.0
Baylamon/Illarion-Content,vilarion/Illarion-Content,KayMD/Illarion-Content,LaFamiglia/Illarion-Content,Illarion-eV/Illarion-Content
f393e4ccf6da5d9ff0941b69f074cb2756c4869c
persona.lua
persona.lua
--- -- Persona Lua auth backend using ngx location capture -- also using postgresql capture for storing sessions to db -- -- Copyright Tor Hveem <thveem> 2013 -- -- Nginx conf example: -- location /persona/ { -- internal; -- proxy_set_header Content-type 'application/json'; -- proxy_pass 'https://verifier...
--- -- Persona Lua auth backend using ngx location capture -- using redis storing sessions -- -- Copyright Tor Hveem <thveem> 2013 -- -- Nginx conf example: -- location /persona/ { -- internal; -- proxy_set_header Content-type 'application/json'; -- proxy_pass 'https://verifier.login.persona.org:443/veri...
fix header
fix header
Lua
bsd-3-clause
torhve/pix,torhve/pix,torhve/pix,torhve/photongx,torhve/pix,torhve/photongx
2d853ef19626e5abcd09861d854469e15cffe631
lua/entities/gmod_wire_hologram/cl_init.lua
lua/entities/gmod_wire_hologram/cl_init.lua
include( "shared.lua" ) ENT.RenderGroup = RENDERGROUP_BOTH local blocked = {} local scale_buffer = {} local clip_buffer = {} local vis_buffer = {} function ENT:Initialize( ) self:DoScale() local ownerid = self:GetNetworkedInt("ownerid") self.blocked = blocked[ownerid] or false self.clips = {} e...
include( "shared.lua" ) ENT.RenderGroup = RENDERGROUP_BOTH local blocked = {} local scale_buffer = {} local clip_buffer = {} local vis_buffer = {} function ENT:Initialize( ) self:DoScale() local ownerid = self:GetNetworkedInt("ownerid") self.blocked = blocked[ownerid] or false self.clips = {} e...
[E2] Holograms - save scale on entity should help with the weird scale reset bug on big lag
[E2] Holograms - save scale on entity should help with the weird scale reset bug on big lag + make vis_buffer more buffer like .)
Lua
apache-2.0
NezzKryptic/Wire,immibis/wiremod,wiremod/wire,Python1320/wire,garrysmodlua/wire,Grocel/wire,mms92/wire,CaptainPRICE/wire,notcake/wire,plinkopenguin/wiremod,bigdogmat/wire,mitterdoo/wire,thegrb93/wire,sammyt291/wire,rafradek/wire,dvdvideo1234/wire
21c1cc06abd8ec3b581bda5b8c4d62af3976178e
src/formatters/init.lua
src/formatters/init.lua
-- module will not return anything, only register formatters with the main assert engine local assert = require('luassert.assert') local function fmt_string(arg) if type(arg) == "string" then return string.format("(string) '%s'", arg) end end local function fmt_number(arg) if type(arg) == "number" then ...
-- module will not return anything, only register formatters with the main assert engine local assert = require('luassert.assert') local function fmt_string(arg) if type(arg) == "string" then return string.format("(string) '%s'", arg) end end local function fmt_number(arg) if type(arg) == "number" then ...
fixed the missing member of assert; 'fmttablelevels' causing an error for a missing modifier/assertion in the tests.
fixed the missing member of assert; 'fmttablelevels' causing an error for a missing modifier/assertion in the tests.
Lua
mit
o-lim/luassert,tst2005/lua-luassert,ZyX-I/luassert,mpeterv/luassert
34592d85a063dae1f23bf803c217cabed0f04255
nvim/lua/user/ui.lua
nvim/lua/user/ui.lua
local filereadable_key = 'filereadable' local function file_exists(name) local f = io.open(name, 'r') return f ~= nil and io.close(f) end local function buf_get_var(bufnr, name, default) local ok, value = pcall(vim.api.nvim_buf_get_var, bufnr, name) if ok then return value end return default end local func...
local filereadable_key = 'filereadable' local function file_exists(name) local f = io.open(name, 'r') return f ~= nil and io.close(f) end local function buf_get_var(bufnr, name, default) local ok, value = pcall(vim.api.nvim_buf_get_var, bufnr, name) if ok then return value end return default end local func...
Fix flickering tab title
Fix flickering tab title
Lua
mit
creasty/dotfiles,creasty/dotfiles,creasty/dotfiles,creasty/dotfiles,creasty/dotfiles,creasty/dotfiles,creasty/dotfiles,creasty/dotfiles
04d40a5ce4d9175fa88f1706fef7cf4796642709
mods/default/player.lua
mods/default/player.lua
-- Minetest 0.4 mod: player -- See README.txt for licensing and other information. -- The API documentation in here was moved into doc/lua_api.txt -- Set mesh for all players function switch_player_visual() prop = { mesh = "player.x", textures = {"player.png", }, colors = {{255, 255, 255, 255}, }, visual = "...
-- Minetest 0.4 mod: player -- See README.txt for licensing and other information. -- The API documentation in here was moved into doc/lua_api.txt -- Set mesh for all players function switch_player_visual() prop = { mesh = "player.x", textures = {"player.png", }, colors = {{255, 255, 255, 255}, }, visual = "...
Fix attachment test script and unregistered entities. Thanks jin_xi for this
Fix attachment test script and unregistered entities. Thanks jin_xi for this
Lua
lgpl-2.1
evrooije/beerarchy,evrooije/beerarchy,evrooije/beerarchy
7e8dbbeeddf462628b8595c37d0a06c49eab1b9d
otouto/plugins/imdb.lua
otouto/plugins/imdb.lua
local imdb = {} imdb.command = 'imdb <query>' function imdb:init(config) imdb.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('imdb', true).table imdb.inline_triggers = { "^imdb (.+)" } imdb.doc = [[* ]]..config.cmd_pat..[[imdb* _<Film>_ Sucht _Film_ bei IMDb]] end local BASE_URL = 'https:...
local imdb = {} imdb.command = 'imdb <query>' function imdb:init(config) imdb.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('imdb', true).table imdb.inline_triggers = { "^imdb (.+)" } imdb.doc = [[* ]]..config.cmd_pat..[[imdb* _<Film>_ Sucht _Film_ bei IMDb]] end local BASE_URL = 'https:...
Paar Bugfixees für IMDB-Inline
Paar Bugfixees für IMDB-Inline
Lua
agpl-3.0
Brawl345/Brawlbot-v2
1e367dcbb79a6592e47cd36b99dff8d7e9d799e4
mods/sponge/init.lua
mods/sponge/init.lua
minetest.register_node("sponge:sponge", { description = "Sponge Dry", drawtype = "normal", tiles = {"sponge_sponge.png"}, paramtype = 'light', walkable = true, pointable = true, diggable = true, buildable_to = false, stack_max = 99, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3}, after_pl...
minetest.register_node("sponge:sponge", { description = "Sponge Dry", drawtype = "normal", tiles = {"sponge_sponge.png"}, paramtype = 'light', walkable = true, pointable = true, diggable = true, buildable_to = false, stack_max = 99, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3}, after_pl...
[sponge] Fix positions
[sponge] Fix positions
Lua
unlicense
Gael-de-Sailly/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,Ombridride/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,Ombridride/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,Ombridride/minetest-minet...
f03fa57ede7249a241ddf4acdd440f893f33acd4
test/testExperience.lua
test/testExperience.lua
local Singleton = require 'structures/Singleton' local Experience = require 'Experience' local Test = torch.TestSuite() local standalone = tester == nil if standalone then tester = torch.Tester() end torch.manualSeed(1) local globals = Singleton({step = 1}) local isValidation = false local capacity = 1e4 local op...
local Singleton = require 'structures/Singleton' local Experience = require 'Experience' local Test = torch.TestSuite() local standalone = tester == nil if standalone then tester = torch.Tester() end torch.manualSeed(1) local globals = Singleton({step = 1}) local isValidation = false local capacity = 1e4 local op...
Fix Travis test for experience replay
Fix Travis test for experience replay
Lua
mit
Kaixhin/Atari
dd1af57a203d76c99c3cdb6cb4a9c6df818a09d5
hammerspoon/luncher.lua
hammerspoon/luncher.lua
local logger = hs.logger.new('Luncher') local hyper = {"cmd", "shift"} local browsers = { { "Google Chrome", "Google Chrome Dev", "Safari", "com.google.Chrome.canary", "Firefox" } } local editorAndIDEs = { { "com.microsoft.VSCode", "Visual Studio Code", "com.github.atom", "...
local logger = hs.logger.new('Luncher') local hyper = {"cmd", "shift"} local browsers = { { "Google Chrome", "Google Chrome Dev", "Safari", "com.google.Chrome.canary", "Firefox" } } local editorAndIDEs = { { "com.microsoft.VSCode", "Visual Studio Code", "com.github.atom", "...
Fix the launcher logic to resume the last active app
Fix the launcher logic to resume the last active app
Lua
mit
xcv58/Hammerspoon-xcv58
c21516f04d963d42cd197c2ac7784e7c2e95b4fc
waifu2x.lua
waifu2x.lua
require 'pl' local __FILE__ = (function() return string.gsub(debug.getinfo(2, 'S').source, "^@", "") end)() package.path = path.join(path.dirname(__FILE__), "lib", "?.lua;") .. package.path require 'sys' require 'w2nn' local iproc = require 'iproc' local reconstruct = require 'reconstruct' local image_loader = require ...
require 'pl' local __FILE__ = (function() return string.gsub(debug.getinfo(2, 'S').source, "^@", "") end)() package.path = path.join(path.dirname(__FILE__), "lib", "?.lua;") .. package.path require 'sys' require 'w2nn' local iproc = require 'iproc' local reconstruct = require 'reconstruct' local image_loader = require ...
Fix unused crop_size option
Fix unused crop_size option
Lua
mit
zyhkz/waifu2x,Spitfire1900/upscaler,zyhkz/waifu2x,nagadomi/waifu2x,zyhkz/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,vitaliylag/waifu2x,vitaliylag/waifu2x,nagadomi/waifu2x,higankanshi/waifu2x,zyhkz/waifu2x,higankanshi/waifu2x,Spitfire1900/upscaler,vitaliylag/waifu2x,higankanshi/waifu2x,nagadomi/waifu2x
9b99dc37f5cac5ce47db07670c82455491fa1ca3
terminal.lua
terminal.lua
local Terminal = {} --local EditorSheet = SpriteSheet(Image("/editorsheet.png"),24,12) local blinktime = 0.5 local blinktimer = 0 local blinkstate = false Terminal.textbuffer = {} Terminal.textcolors = {} Terminal.linesLimit = 14 Terminal.lengthLimit = 43 Terminal.currentLine = 1 function Terminal:tout(text,col,ski...
local Terminal = {} --local EditorSheet = SpriteSheet(Image("/editorsheet.png"),24,12) Terminal.blinktime = 0.5 Terminal.blinktimer = 0 Terminal.blinkstate = false Terminal.textbuffer = {} Terminal.textcolors = {} Terminal.linesLimit = 14 Terminal.lengthLimit = 43 Terminal.currentLine = 1 function Terminal:tout(tex...
bug fixes
bug fixes
Lua
mit
RamiLego4Game/LIKO-12
945b8c1658aa7c6efb93376614e69c84dfdad07d
tests/Integration/queues.lua
tests/Integration/queues.lua
#!/usr/bin/tarantool box.cfg { listen = 3301, log_level = 6, wal_mode = 'none', snap_dir = '/tmp', slab_alloc_arena = .1, } box.schema.user.grant('guest', 'read,write,execute', 'universe') console = require('console') console.listen('127.0.0.1:33333') queue = require('queue') queue.start() func...
#!/usr/bin/tarantool box.cfg { listen = 3301, log_level = 6, wal_mode = 'none', snap_dir = '/tmp', slab_alloc_arena = .1, } local function bootstrap() box.schema.user.grant('guest', 'read,write,execute', 'universe') end box.once('queues', bootstrap) console = require('console') console.liste...
Fix queues.lua
Fix queues.lua
Lua
mit
tarantool-php/queue,tarantool-php/queue
9012468e8f9346fcbd8d1a59fab17b6ce6df990a
run-shell/run-shell.lua
run-shell/run-shell.lua
------------------------------------------------- -- Run Shell for Awesome Window Manager -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/run-shell -- @author Pavel Makhov -- @copyright 2018 Pavel Makhov ------------------------------------------------- local cap...
------------------------------------------------- -- Run Shell for Awesome Window Manager -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/run-shell -- @author Pavel Makhov -- @copyright 2018 Pavel Makhov ------------------------------------------------- local cap...
Small fix for run shell
Small fix for run shell
Lua
mit
streetturtle/awesome-wm-widgets,streetturtle/awesome-wm-widgets,streetturtle/AwesomeWM
91d045eb7bc66937e32171853a7563c6633f7bc2
nix/nvim/init.lua
nix/nvim/init.lua
require "paq" { "savq/paq-nvim"; "kylechui/nvim-surround"; "numToStr/Comment.nvim"; "kyazdani42/nvim-web-devicons"; "nvim-lualine/lualine.nvim"; "Mofiqul/dracula.nvim"; "neovim/nvim-lspconfig"; "hrsh7th/nvim-cmp"; "epwalsh/obsidian.nvim"; "junegunn/fzf"; {"nvim-treesitter/nvim-treesitter", run='...
require "paq" { "savq/paq-nvim"; "kylechui/nvim-surround"; "numToStr/Comment.nvim"; "kyazdani42/nvim-web-devicons"; "nvim-lualine/lualine.nvim"; "Mofiqul/dracula.nvim"; "neovim/nvim-lspconfig"; "hrsh7th/nvim-cmp"; "epwalsh/obsidian.nvim"; "junegunn/fzf"; {"nvim-treesitter/nvim-treesitter", run='...
fixing init.lua
fixing init.lua
Lua
unlicense
spott/dotfiles,spott/dotfiles
f706003b396de729f15800747a5b1005d8c24a23
homedecor/init.lua
homedecor/init.lua
-- Home Decor mod by VanessaE -- -- Mostly my own code, with bits and pieces lifted from Minetest's default -- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster -- for helping me figure out the inventories used in the nightstands/dressers. -- -- The code for ovens, nightstands, refrigerators are ba...
-- Home Decor mod by VanessaE -- -- Mostly my own code, with bits and pieces lifted from Minetest's default -- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster -- for helping me figure out the inventories used in the nightstands/dressers. -- -- The code for ovens, nightstands, refrigerators are ba...
Update init.lua
Update init.lua fixed it
Lua
unlicense
deezl/homedecor_lite
341d962de82218339540aed3e80503925346f941
src_trunk/resources/tag-system/c_tag_system.lua
src_trunk/resources/tag-system/c_tag_system.lua
cooldown = 0 count = 0 function clientTagWall(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if (weapon==41) then local team = getPlayerTeam(getLocalPlayer()) local ftype = getElementData(team, "type") local tag = getElementData(source, "tag") if (ftype~=2) then if not (hitElement...
cooldown = 0 count = 0 function clientTagWall(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if (weapon==41) then local team = getPlayerTeam(getLocalPlayer()) local ftype = getElementData(team, "type") local tag = getElementData(source, "tag") if (ftype~=2) then if not (hitElement...
Fixed spraying tags on lampposts, also fixed spraying tags on walls which are too small to display the tag.
Fixed spraying tags on lampposts, also fixed spraying tags on walls which are too small to display the tag. git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@491 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
db111997392e93d1d9b16c6d9cad48d9a9ae2111
Interface/AddOns/RayUI/modules/skins/blizzard/quest.lua
Interface/AddOns/RayUI/modules/skins/blizzard/quest.lua
local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local local S = R:GetModule("Skins") local function LoadSkin() local r, g, b = S["media"].classcolours[R.myclass].r, S["media"].classcolours[R.myclass].g, S["media"].classcolours[R.myclass].b S:ReskinPortraitFrame(QuestFrame, true) QuestT...
local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local local S = R:GetModule("Skins") local function LoadSkin() local r, g, b = S["media"].classcolours[R.myclass].r, S["media"].classcolours[R.myclass].g, S["media"].classcolours[R.myclass].b S:ReskinPortraitFrame(QuestFrame, true) QuestT...
fix QuestProgressText color again...
fix QuestProgressText color again...
Lua
mit
fgprodigal/RayUI
1c5aa436cb6a72d68c64555a485b221786a0c09f
net/http.lua
net/http.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 socket = require "socket" local mime = require "mime" local url = require "socket.url" local serv...
-- 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 socket = require "socket" local mime = require "mime" local url = require "socket.url" local serv...
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd)
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd)
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
0ece12ef51bc78be974175d4e0ac1a23bdbfcb63
source-code/init.lua
source-code/init.lua
print("Heap: ", node.heap(), "Initializing device") require("start") print("Heap: ", node.heap(), "Loaded: ", "Startup (compiler & blinker)") print("Heap: ", node.heap(), "Connecting to Wifi..") local startCountDown = 0 if wifi.sta.getconfig() == "" then startCountDown = 5 enduser_setup.manual(false) enduser_se...
print("Heap: ", node.heap(), "Initializing device") require("start") print("Heap: ", node.heap(), "Loaded: ", "Startup (compiler & blinker)") print("Heap: ", node.heap(), "Connecting to Wifi..") local startCountDown = 0 wifi.eventmon.register(wifi.eventmon.STA_DISCONNECTED, function(T) print("Heap: ", node.heap(), "...
fix wrong password wifi lockout issue
fix wrong password wifi lockout issue
Lua
apache-2.0
konnected-io/konnected-security,konnected-io/konnected-security
5e836ece1febc0d5807a8b335fc0789b15ae0bc7
share/media/spiegel.lua
share/media/spiegel.lua
-- libquvi-scripts -- Copyright (C) 2010-2011,2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- 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 th...
-- libquvi-scripts -- Copyright (C) 2010-2011,2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- 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 th...
FIX: media/spiegel.lua: title pattern (BACKPORTpt4)
FIX: media/spiegel.lua: title pattern (BACKPORTpt4) Other: * Add an additional title pattern to fall back to * Backported from maint-0.4 (20e95ca) Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>
Lua
agpl-3.0
legatvs/libquvi-scripts,alech/libquvi-scripts,legatvs/libquvi-scripts,alech/libquvi-scripts
d0f553b7a50f2db9288685de0aa11c164e28de1f
aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua
aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua
wincent.g.map_callbacks = {} -- TODO: For completeness, should have unmap() too, and other variants -- as they arise (nunmap() etc); but for now just going with a "dispose" -- function as return value. local map = function (mode, lhs, rhs, opts) opts = opts or {} local rhs_type = type(rhs) if rhs_type == 'funct...
wincent.g.map_callbacks = {} -- TODO: For completeness, should have unmap() too, and other variants -- as they arise (nunmap() etc); but for now just going with a "dispose" -- function as return value. local map = function (mode, lhs, rhs, opts) opts = opts or {} local rhs_type = type(rhs) if rhs_type == 'funct...
fix(nvim): unbreak <Leader>r mapping
fix(nvim): unbreak <Leader>r mapping I must have broken this months ago without noticing. The gotcha here is that we need to support both `<expr>` and non-`<expr>` mappings. Examples of the former category include some autocompletion-related ones. For those, we evaluate the (VimScript) expressions, which happen to be ...
Lua
unlicense
wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent
60aaa9c6991bc45d21d773dc881f972ea74938de
src/program/lwaftr/query/query.lua
src/program/lwaftr/query/query.lua
module(..., package.seeall) local S = require("syscall") local counter = require("core.counter") local ffi = require("ffi") local lib = require("core.lib") local lwaftr = require("apps.lwaftr.lwaftr") local lwtypes = require("apps.lwaftr.lwtypes") local lwutil = require("apps.lwaftr.lwutil") local shm = require("core....
module(..., package.seeall) local S = require("syscall") local counter = require("core.counter") local ffi = require("ffi") local lib = require("core.lib") local lwcounter = require("apps.lwaftr.lwcounter") local lwtypes = require("apps.lwaftr.lwtypes") local lwutil = require("apps.lwaftr.lwutil") local shm = require(...
Fix counters path
Fix counters path
Lua
apache-2.0
Igalia/snabb,Igalia/snabb,mixflowtech/logsensor,eugeneia/snabbswitch,snabbco/snabb,eugeneia/snabb,dpino/snabb,snabbco/snabb,Igalia/snabb,dpino/snabbswitch,eugeneia/snabbswitch,dpino/snabb,eugeneia/snabbswitch,alexandergall/snabbswitch,Igalia/snabb,eugeneia/snabb,alexandergall/snabbswitch,SnabbCo/snabbswitch,eugeneia/sn...
4f4c9cee7dcb384a2b6f3b070580747f9198ddb7
alchemy/lte/id_329_transformation.lua
alchemy/lte/id_329_transformation.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 baldness bug after using transformation potion
Remove baldness bug after using transformation potion
Lua
agpl-3.0
Baylamon/Illarion-Content,vilarion/Illarion-Content,Illarion-eV/Illarion-Content,KayMD/Illarion-Content
3aa48a6dc2dd6ec57ad03d9b63b12fc61327695d
SpatialConvolutionMM.lua
SpatialConvolutionMM.lua
require 'nn' nn.SpatialConvolutionMM.baseUpdateOutput = nn.SpatialConvolutionMM.updateOutput nn.SpatialConvolutionMM.baseUpdateGradInput = nn.SpatialConvolutionMM.updateGradInput nn.SpatialConvolutionMM.baseAccGradParameters = nn.SpatialConvolutionMM.accGradParameters function nn.SpatialConvolutionMM:updateOutput(inp...
require 'nn' nn.SpatialConvolutionMM.baseUpdateOutput = nn.SpatialConvolutionMM.updateOutput nn.SpatialConvolutionMM.baseUpdateGradInput = nn.SpatialConvolutionMM.updateGradInput nn.SpatialConvolutionMM.baseAccGradParameters = nn.SpatialConvolutionMM.accGradParameters function nn.SpatialConvolutionMM:updateOutput(inp...
fix return of accGradParameters in SpatialConvolutionMM
fix return of accGradParameters in SpatialConvolutionMM
Lua
bsd-2-clause
hughperkins/clnn,hughperkins/clnn,hughperkins/clnn,hughperkins/clnn
26be0656618a746e235b5fdef10a59abc4d02f01
src/plugins/finalcutpro/hacks/backupinterval.lua
src/plugins/finalcutpro/hacks/backupinterval.lua
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- B A C K U P I N T E R V A L P L U G I N -- -----------------------------------------------------------------------------...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- B A C K U P I N T E R V A L P L U G I N -- -----------------------------------------------------------------------------...
#1176
#1176 - Fixed bug in Backup Interval - Closes #1176
Lua
mit
fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost,CommandPost/CommandPost,fcpxhacks/fcpxhacks