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
4002346c2a0f9754c485c54452f92939068d7386
lua/include/histogram.lua
lua/include/histogram.lua
local histogram = {} histogram.__index = histogram function histogram.create() local histo = {} setmetatable(histo, histogram) histo.histo = {} histo.dirty = true return histo end function histogram:update(k) self.histo[k] = (self.histo[k] or 0) +1 self.dirty = true end function histogram:calc() self.sortedH...
local histogram = {} histogram.__index = histogram function histogram.create() local histo = setmetatable({}, histogram) histo.histo = {} histo.dirty = true return histo end setmetatable(histogram, { __call = histogram.create }) function histogram:update(k) self.histo[k] = (self.histo[k] or 0) +1 self.dirty = t...
fix histograms with few bins
fix histograms with few bins
Lua
mit
schoenb/MoonGen,atheurer/MoonGen,emmericp/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,pavel-odintsov/MoonGen,dschoeffm/MoonGen,NetronomeMoongen/MoonGen,kidaa/MoonGen,wenhuizhang/MoonGen,duk3luk3/MoonGen,atheurer/MoonGen,werpat/MoonGen,emmericp/MoonGen,wenhuizhang/MoonGen,duk3luk3/MoonGen,atheurer/MoonGen,schoenb/MoonGen,...
73d293c84f8a906ade8d058d8dfad5b0ccca1930
lua/mediaplayer/utils.lua
lua/mediaplayer/utils.lua
if SERVER then AddCSLuaFile() end local file = file local math = math local urllib = url local ceil = math.ceil local floor = math.floor local Round = math.Round local log = math.log local pow = math.pow local format = string.format local tostring = tostring local IsValid = IsValid local utils = {} --- -- Ceil the ...
if SERVER then AddCSLuaFile() end local file = file local math = math local urllib = url local ceil = math.ceil local floor = math.floor local Round = math.Round local log = math.log local pow = math.pow local format = string.format local tostring = tostring local IsValid = IsValid local utils = {} --- -- Ceil the ...
Fix DrawHTMLPanel erroring when Chromium material is nil
Fix DrawHTMLPanel erroring when Chromium material is nil
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
8ade3ba1aa005badc9178256c113217fe66ff490
src/scanner.lua
src/scanner.lua
--[[ @file scanner.lua @license The MIT License (MIT) @author Alex <alex@maximum.guru> @copyright 2016 Alex --]] --- @module scanner local scanner = {} local config = require("config") local rpc = require("rpc") local threadman = require("threadman") local db = require("db") local network = require("network") local s...
--[[ @file scanner.lua @license The MIT License (MIT) @author Alex <alex@maximum.guru> @copyright 2016 Alex --]] --- @module scanner local scanner = {} local config = require("config") local rpc = require("rpc") local threadman = require("threadman") local db = require("db") local network = require("network") local s...
Bug fix
Bug fix
Lua
mit
pdxmeshnet/mnigs,transitd/transitd,transitd/transitd,intermesh-networks/transitd,pdxmeshnet/mnigs,intermesh-networks/transitd,transitd/transitd
6a1102f026998871500157ddef3b003434aab91d
BCECriterion.lua
BCECriterion.lua
local BCECriterion, parent = torch.class('nn.BCECriterion', 'nn.Criterion') function BCECriterion:__init() parent.__init(self) self.sizeAverage = true end function BCECriterion:updateOutput(input, target) -- log(input) * target + log(1 - input) * (1 - target) self.term1 = self.term1 or input.new() ...
local BCECriterion, parent = torch.class('nn.BCECriterion', 'nn.Criterion') local eps = 1e-12 function BCECriterion:__init() parent.__init(self) self.sizeAverage = true end function BCECriterion:updateOutput(input, target) -- log(input) * target + log(1 - input) * (1 - target) self.term1 = self.term1 or...
BCECriterion was incorrect.
BCECriterion was incorrect. Fixed: * forward/backward: inverted sign to produce neg ll (not pos) * averaging over all elements in target, to properly support batches * added epsilon to protect against 0s (divs and logs)
Lua
bsd-3-clause
zhangxiangxiao/nn,eriche2016/nn,zchengquan/nn,PierrotLC/nn,andreaskoepf/nn,Jeffyrao/nn,Aysegul/nn,nicholas-leonard/nn,karpathy/nn,mys007/nn,bartvm/nn,ivendrov/nn,Djabbz/nn,colesbury/nn,apaszke/nn,douwekiela/nn,GregSatre/nn,joeyhng/nn,kmul00/nn,sagarwaghmare69/nn,diz-vara/nn,boknilev/nn,szagoruyko/nn,mlosch/nn,aaiijmrtt...
9ec0708bc3eae36ff361bda1290b56fb141dabe5
roles/neovim/config/lua/irubataru/options.lua
roles/neovim/config/lua/irubataru/options.lua
local opt = vim.opt -- Treat both system clipboards as the same opt.clipboard = "unnamedplus" opt.backupdir = vim.fn.expand "~/.tmp" -- Start diff-mode in vertical split, ignore all whitespace opt.diffopt = "filler,vertical,iwhiteall" --Command line file completion opt.wildmode = "longest,list,full" -- bash-like fi...
local opt = vim.opt -- Treat both system clipboards as the same opt.clipboard = "unnamedplus" opt.backupdir = vim.fn.expand "~/.tmp" -- Start diff-mode in vertical split, ignore all whitespace opt.diffopt = "filler,vertical,iwhiteall" --Command line file completion opt.wildmode = "longest,list,full" -- bash-like fi...
fix(nvim): disable mouse support
fix(nvim): disable mouse support
Lua
mit
Irubataru/dotfiles,Irubataru/dotfiles,Irubataru/dotfiles
9c5f0c687dd30eb1f6299e3e7dda35728e6208a7
examples/perf2/runner.lua
examples/perf2/runner.lua
local DIR_SEP = package.config:sub(1,1) local msg_size local msg_count local N local function exec(cmd) local f, err = io.popen(cmd, "r") if not f then return err end local data, err = f:read("*all") f:close() return data, err end local function parse_thr(result) local msgps = assert( tonumber((resul...
local DIR_SEP = package.config:sub(1,1) local msg_size local msg_count local N local function exec(cmd) local f, err = io.popen(cmd, "r") if not f then return err end local data, err = f:read("*all") f:close() return data, err end local function parse_thr(result) local msgps = assert( tonumber((resul...
Fix. runner.lua display wrong values for message size [ci-skip]
Fix. runner.lua display wrong values for message size [ci-skip]
Lua
mit
moteus/lzmq,moteus/lzmq,zeromq/lzmq,zeromq/lzmq,zeromq/lzmq,LuaDist/lzmq-ffi,LuaDist/lzmq-ffi,moteus/lzmq,bsn069/lzmq,LuaDist/lzmq,LuaDist/lzmq,bsn069/lzmq
23558157f3f3b4a043d0f7a4399d162095e4a5ec
mod_adhoc_cmd_modules/mod_adhoc_cmd_modules.lua
mod_adhoc_cmd_modules/mod_adhoc_cmd_modules.lua
-- Copyright (C) 2009-2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; require "util.iterators"; local dataforms_new = require "util.dataforms".new; local array...
-- Copyright (C) 2009-2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; require "util.iterators"; local dataforms_new = require "util.dataforms".new; local array...
mod_adhoc_cmd_modules: Fix error message
mod_adhoc_cmd_modules: Fix error message
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
68d9d973e53720610260707aecadc8fc19e89351
share/luaplaylist/youtube.lua
share/luaplaylist/youtube.lua
--[[ $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
--[[ $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
fix youtube parsing
fix youtube parsing
Lua
lgpl-2.1
shyamalschandra/vlc,jomanmuk/vlc-2.1,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,xkfz007/vlc,vlc-mirror/vlc-2.1,shyamalschandra/vlc,vlc-mirror/vlc,shyamalschandra/vlc,shyamalschandra/vlc,vlc-mirror/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,krichter722/vlc,vlc-mirror/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc,jomanmuk/vlc...
b511b792ba70f1f9bb21c94767e00bf778d3aea9
himan-scripts/CB-TCU-cloud.lua
himan-scripts/CB-TCU-cloud.lua
--Round to natural number function round(n) return n % 1 >= 0.5 and math.ceil(n) or math.floor(n) end --Main program -- local MU = level(HPLevelType.kMaximumThetaE,0) local HL = level(HPLevelType.kHeightLayer,500,0) local HG = level(HPLevelType.kHeight,0) EL500 = luatool:FetchWithType(current_time, HL, param("EL-H...
--Round to natural number function round(n) return n % 1 >= 0.5 and math.ceil(n) or math.floor(n) end --Main program -- local MU = level(HPLevelType.kMaximumThetaE,0) local HL = level(HPLevelType.kHeightLayer,500,0) local HG = level(HPLevelType.kHeight,0) EL500 = luatool:FetchWithType(current_time, HL, param("EL-H...
fix missing value check
fix missing value check
Lua
mit
fmidev/himan,fmidev/himan,fmidev/himan
9ba0860c701850a04154b4f9799f391f9d388fa3
lualib/skynet/cluster.lua
lualib/skynet/cluster.lua
local skynet = require "skynet" local clusterd local cluster = {} local sender = {} local function get_sender(t, node) local c = skynet.call(clusterd, "lua", "sender", node) t[node] = c return c end setmetatable(sender, { __index = get_sender } ) function cluster.call(node, address, ...) -- skynet.pack(...) wil...
local skynet = require "skynet" local clusterd local cluster = {} local sender = {} local inquery_name = {} local function get_sender(t, node) local waitco = inquery_name[node] if waitco then local co=coroutine.running() table.insert(waitco, co) skynet.wait(co) return rawget(t, node) else waitco = {} i...
bugfix:cluster初始化节点的时候有可能导致消息乱序
bugfix:cluster初始化节点的时候有可能导致消息乱序
Lua
mit
bigrpg/skynet,sanikoyes/skynet,JiessieDawn/skynet,xcjmine/skynet,jxlczjp77/skynet,korialuo/skynet,wangyi0226/skynet,cloudwu/skynet,wangyi0226/skynet,icetoggle/skynet,xjdrew/skynet,sanikoyes/skynet,bigrpg/skynet,pigparadise/skynet,ag6ag/skynet,icetoggle/skynet,xcjmine/skynet,xjdrew/skynet,xjdrew/skynet,jxlczjp77/skynet,...
1c7179431af1e160f6f9fab069074b6847733ec9
ram-widget/ram-widget.lua
ram-widget/ram-widget.lua
local awful = require("awful") local watch = require("awful.widget.watch") local wibox = require("wibox") local ramgraph_widget = {} local function worker(args) local args = args or {} local timeout = args.timeout or 1 --- Main ram widget shown on wibar ramgraph_widget = wibox.widget { borde...
local awful = require("awful") local beautiful = require("beautiful") local gears = require("gears") local watch = require("awful.widget.watch") local wibox = require("wibox") local ramgraph_widget = {} local function worker(args) local args = args or {} local timeout = args.timeout or 1 --- Main ram w...
Use popup widget and theme colors for ram-widget.
Use popup widget and theme colors for ram-widget. ram-widget now uses an awful.popup widget. This gives a more consistent appearance with the other widget and displays the popup next to the wibar widget, instead of always top right. Instead of fixed colors, I selected appropriate symbolic colors from beautiful themes...
Lua
mit
streetturtle/awesome-wm-widgets,streetturtle/awesome-wm-widgets
442b13531a187b653a7c4b9d181d7095f4320b6d
src/websocket/client_ev.lua
src/websocket/client_ev.lua
local socket = require'socket' local tools = require'websocket.tools' local frame = require'websocket.frame' local handshake = require'websocket.handshake' local debug = require'debug' local tconcat = table.concat local tinsert = table.insert local ev = function(ws) ws = ws or {} local ev = require'ev' local so...
local socket = require'socket' local tools = require'websocket.tools' local frame = require'websocket.frame' local handshake = require'websocket.handshake' local debug = require'debug' local tconcat = table.concat local tinsert = table.insert local ev = function(ws) ws = ws or {} local ev = require'ev' local so...
fix error handling and reconnect
fix error handling and reconnect
Lua
mit
lipp/lua-websockets,KSDaemon/lua-websockets,enginix/lua-websockets,lipp/lua-websockets,OptimusLime/lua-websockets,KSDaemon/lua-websockets,OptimusLime/lua-websockets,lipp/lua-websockets,enginix/lua-websockets,OptimusLime/lua-websockets,enginix/lua-websockets,KSDaemon/lua-websockets
08d2c18d4374092197def0bb500d09bfd14b0255
src/game/StarterPlayer/StarterPlayerScripts/CameraScript.lua
src/game/StarterPlayer/StarterPlayerScripts/CameraScript.lua
-- ClassName: LocalScript local OFFSET = Vector3.new(-45, 45, 45) local FIELD_OF_VIEW = 25 local player = game.Players.LocalPlayer local camera = workspace.CurrentCamera local run = game:GetService("RunService") camera.FieldOfView = FIELD_OF_VIEW local function lookAt(pos) local cameraPos = pos + OFFSET camera....
-- ClassName: LocalScript local OFFSET = Vector3.new(-45, 45, 45) local FIELD_OF_VIEW = 25 local player = game.Players.LocalPlayer local camera = workspace.CurrentCamera local run = game:GetService("RunService") camera.FieldOfView = FIELD_OF_VIEW local function lookAt(pos) local cameraPos = pos + OFFSET camera....
Fix the camera slightly bobbing along to the character
Fix the camera slightly bobbing along to the character The character's PrimaryPart (its head) is animated, along with the rest of the body, making the camera bob up and down slightly when the "breathing" animation is playing. It's hardly noticable, but definitly needs to be fixed. We're locking the camera onto the Hu...
Lua
mit
VoxelDavid/echo-ridge
090f0468ec4664d444899b3f9309da3ad8e2732b
spec/helpers/perf/git.lua
spec/helpers/perf/git.lua
local perf local logger = require("spec.helpers.perf.logger") local utils = require("spec.helpers.perf.utils") local my_logger = logger.new_logger("[git]") local git_temp_repo = "/tmp/perf-temp-repo" local function is_git_repo() -- reload the perf module, for circular dependency issue perf = require("spec.helper...
local perf local logger = require("spec.helpers.perf.logger") local utils = require("spec.helpers.perf.utils") local my_logger = logger.new_logger("[git]") local git_temp_repo = "/tmp/perf-temp-repo" local function is_git_repo() -- reload the perf module, for circular dependency issue perf = require("spec.helper...
tests(perf) fix version mapping
tests(perf) fix version mapping
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
4bb9c3424d89a932e1f1bee1411baea52ad435ab
onion2web.lua
onion2web.lua
local socks5 = require 'socks5' local ngx = require 'ngx' local onion2web = {} local hidden_base = "(" .. string.rep("%w", 16) .. ")" local hidden_onion = hidden_base .. '%.onion' local show_confirmation_form = function() local host = ngx.req.get_headers()['Host'] local onion = host:match(hidden_base) .. '.o...
local socks5 = require 'socks5' local ngx = require 'ngx' local onion2web = {} local hidden_base = "(" .. string.rep("%w", 16) .. ")" local hidden_onion = hidden_base .. '%.onion' local show_confirmation_form = function() local host = ngx.req.get_headers()['Host'] local onion = host:match(hidden_base) .. '.o...
allow subdomains of hidden services
allow subdomains of hidden services fix #5
Lua
mit
starius/onion2web
642d1179a840a6651484b95e2168646c6c4b2116
scripts/chem_notepad.lua
scripts/chem_notepad.lua
dofile("common.inc"); function doit() local tree = loadNotes("scripts/chem-cheap.txt"); browseMenu(tree); end function browseMenu(tree) local done = false; local tags = {}; local nextIndex = 1; while not done do local y = 0; for i=1,#tags do y = y + 30; lsPrint(40, y, 0, 0.9, 0.9, 0xd...
dofile("common.inc"); function doit() local tree = loadNotes("scripts/chem-cheap.txt"); browseMenu(tree); end function browseMenu(tree) local done = false; local tags = {}; local nextIndex = 1; while not done do local y = 0; for i=1,#tags do y = y + 30; lsPrint(40, y, 0, 0.9, 0.9, 0xd...
Revert "chem_notepad.lua - Fix missing text on buttons (missing explode function)"
Revert "chem_notepad.lua - Fix missing text on buttons (missing explode function)" This reverts commit b4b67b1f75be5e4014240bb5c5103da6579666a1.
Lua
mit
DashingStrike/Automato-ATITD,DashingStrike/Automato-ATITD
3fa0288a8ab47c4b38f5c6b82371261c7e28716c
shared/iguana/channel.lua
shared/iguana/channel.lua
iguana.channel = {} require 'file' function iguana.channel.getTranslators(ChannelConfig) local Info = {} local C = ChannelConfig.channel; if C.to_mapper then Info.to = C.to_mapper.guid:nodeValue() end if C.from_mapper then Info.from = C.from_mapper.guid:nodeValue() end if C.use_mes...
iguana.channel = {} require 'file' function iguana.channel.getTranslators(ChannelConfig) local Info = {} local C = ChannelConfig.channel; if C.to_mapper then Info.to = C.to_mapper.guid:nodeValue() end if C.from_mapper then Info.from = C.from_mapper.guid:nodeValue() end if C.use_mes...
Corrected bug for OS X - we need to resolve that
Corrected bug for OS X - we need to resolve that path to a fully qualified path to use it from truncation.
Lua
mit
interfaceware/iguana-web-apps,interfaceware/iguana-web-apps
537b5463d1720a751b9641174b55bee107b1f1bf
Quadtastic/Label.lua
Quadtastic/Label.lua
local Rectangle = require("Rectangle") local renderutils = require("Renderutils") local Label = {} unpack = unpack or table.unpack local margin_x = 4 Label.min_width = function(state, text) local textwidth = state.style.font and state.style.font:getWidth(text) return math.max(32, 2*margin_x + (textwidth or 32)) ...
local Rectangle = require("Rectangle") local renderutils = require("Renderutils") local Label = {} unpack = unpack or table.unpack local margin_x = 4 Label.min_width = function(state, text) return state.style.font and state.style.font:getWidth(text) end -- Displays the passed in label. Returns, in this order, whe...
Fix margin shenanigans in text size calculation
Fix margin shenanigans in text size calculation
Lua
mit
25A0/Quadtastic,25A0/Quadtastic
5eb79f91c5c24d911ea0a44f049338ca98ac67d8
src/luacheck/profiler.lua
src/luacheck/profiler.lua
local socket = require "socket" local profiler = {} local metrics = { {name = "Wall", get = socket.gettime}, {name = "CPU", get = os.clock}, {name = "Memory", get = function() return collectgarbage("count") end} } local functions = { {name = "load", module = "cache"}, {name = "update", module = "cache...
-- Require luasocket only when needed. local socket local profiler = {} local metrics = { {name = "Wall", get = function() return socket.gettime() end}, {name = "CPU", get = os.clock}, {name = "Memory", get = function() return collectgarbage("count") end} } local functions = { {name = "load", module = "c...
Fix profiler unconditionally requiring luasocket
Fix profiler unconditionally requiring luasocket
Lua
mit
mpeterv/luacheck,xpol/luacheck,mpeterv/luacheck,xpol/luacheck,mpeterv/luacheck,xpol/luacheck
37fc8f7a934044dca58efeb1bdb180db027aed33
Interface/AddOns/RayUI/modules/skins/blizzard/blackmarket.lua
Interface/AddOns/RayUI/modules/skins/blizzard/blackmarket.lua
local R, L, P, G = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, GlobalDB local S = R:GetModule("Skins") local function LoadSkin() BlackMarketFrame:DisableDrawLayer("BACKGROUND") BlackMarketFrame:DisableDrawLayer("BORDER") BlackMarketFrame:DisableDrawLayer("OVERLAY") BlackMarketFrame.Inset:DisableDr...
local R, L, P, G = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, GlobalDB local S = R:GetModule("Skins") local function LoadSkin() BlackMarketFrame:StripTextures() BlackMarketFrame.Inset:StripTextures() BlackMarketFrame.MoneyFrameBorder:StripTextures() BlackMarketFrame.HotDeal:StripTextures() Blac...
fix #37
fix #37
Lua
mit
fgprodigal/RayUI
22b717704a8b6158df1dd58065662f473b9f25b8
tools/bundler.lua
tools/bundler.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 agr...
--[[ 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 agr...
fixed generated code to compile with MSVC
fixed generated code to compile with MSVC
Lua
apache-2.0
bsn069/luvit,rjeli/luvit,kaustavha/luvit,rjeli/luvit,sousoux/luvit,zhaozg/luvit,GabrielNicolasAvellaneda/luvit-upstream,zhaozg/luvit,boundary/luvit,rjeli/luvit,boundary/luvit,DBarney/luvit,luvit/luvit,boundary/luvit,GabrielNicolasAvellaneda/luvit-upstream,DBarney/luvit,boundary/luvit,kaustavha/luvit,GabrielNicolasAvell...
7588fbd153136bc4e607ec42a04596b66010e647
init.lua
init.lua
---------------------------------------------------------------------- -- sys - a package that provides simple system (unix) tools ---------------------------------------------------------------------- local os = require 'os' local io = require 'io' local paths = require 'paths' sys = {} ----------------------------...
---------------------------------------------------------------------- -- sys - a package that provides simple system (unix) tools ---------------------------------------------------------------------- local os = require 'os' local io = require 'io' local paths = require 'paths' sys = {} ----------------------------...
fixing sys to not fork
fixing sys to not fork
Lua
bsd-3-clause
torch/sys
7efc701be416bcf5d22a5f017ee6cd39b019ebab
test_scripts/Polices/build_options/ATF_PolicyManager_changes_status_to_UPDATING_PROPRIETARY.lua
test_scripts/Polices/build_options/ATF_PolicyManager_changes_status_to_UPDATING_PROPRIETARY.lua
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [PolicyTableUpdate] PoliciesManager changes status to "UPDATING" -- [HMI API] OnStatusUpdate -- -- Description: -- SDL is built with "-DEXTENDED_POLICY: PROPRIETARY" flag -- PoliciesManager must chan...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [PolicyTableUpdate] PoliciesManager changes status to "UPDATING" -- [HMI API] OnStatusUpdate -- -- Description: -- SDL is built with "-DEXTENDED_POLICY: PROPRIETARY" flag -- PoliciesManager must chan...
Fix issues in script
Fix issues in script
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
f6d8baab44e50164ae1d68dd9ccdf11408b2c7bf
.config/nvim/lua/config/coc.lua
.config/nvim/lua/config/coc.lua
vim.g.coc_node_args = { "--max-old-space-size=4096" } vim.g.coc_global_extensions = { "coc-lists", "coc-snippets", "coc-solargraph", "coc-go", "coc-java", "coc-tsserver", "coc-eslint", "coc-prettier", "coc-sumneko-lua", "coc-stylua", "coc-markdownlint", "coc-html", "coc-css", "coc-json", "coc-yaml", "co...
vim.g.coc_node_args = { "--max-old-space-size=4096" } vim.g.coc_global_extensions = { "coc-lists", "coc-snippets", "coc-solargraph", "coc-go", "coc-java", "coc-tsserver", "coc-eslint", "coc-prettier", "coc-sumneko-lua", "coc-stylua", "coc-markdownlint", "coc-html", "coc-css", "coc-json", "coc-yaml", "co...
[nvim] Fix ts config
[nvim] Fix ts config
Lua
mit
masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles
6d73752e59048cfc627ad556e1d303973be9811e
Hydra/repl.lua
Hydra/repl.lua
api.repl = {} api.doc.repl.open = {"api.repl.open() -> textgrid", "Opens a REPL that has full access to Hydra's API"} function api.repl.open() local win = api.textgrid.open() win:livelong() local fg = "00FF00" local bg = "222222" win:settitle("Hydra REPL") local stdout = "" local stdin = "" local f...
api.repl = {} api.doc.repl = {__doc = "Read-Eval-Print-Loop"} api.doc.repl.open = {"api.repl.open() -> textgrid", "Opens a (primitive) REPL that has full access to Hydra's API"} function api.repl.open() local win = api.textgrid.open() win:livelong() local fg = "00FF00" local bg = "222222" win:settitle("Hy...
Fixes bug caused by REPL documentation.
Fixes bug caused by REPL documentation.
Lua
mit
knl/hammerspoon,asmagill/hammerspoon,dopcn/hammerspoon,peterhajas/hammerspoon,heptal/hammerspoon,lowne/hammerspoon,peterhajas/hammerspoon,Stimim/hammerspoon,wsmith323/hammerspoon,wsmith323/hammerspoon,zzamboni/hammerspoon,bradparks/hammerspoon,Hammerspoon/hammerspoon,cmsj/hammerspoon,asmagill/hammerspoon,cmsj/hammerspo...
5558df9ed0ab53abd1985079fb905f992e5434e7
hammerspoon/init.lua
hammerspoon/init.lua
-- TODO -- 1) Use Spectacle's keyboard shortcuts -- 2) Add shortcuts for play, pause, step for iTunes -- Set up hotkey combinations local ctril_opt_shift = {"ctrl", "alt", "shift"} local opt_cmd_ctril = { "alt", "cmd", "ctrl"} local cmd_opt_shift = {"cmd", "alt", "shift"} -- Set grid size. hs.grid.GRIDWIDTH = 12 h...
-- TODO -- 1) Use Spectacle's keyboard shortcuts -- 2) Add shortcuts for play, pause, step for iTunes -- Set up hotkey combinations local ctril_opt_shift = {"ctrl", "alt", "shift"} local opt_cmd_ctril = { "alt", "cmd", "ctrl"} local cmd_opt_shift = {"cmd", "alt", "shift"} -- Set grid size. hs.grid.GRIDWIDTH = 12 h...
Correct logic bugs in _move_window_[up,down].
Correct logic bugs in _move_window_[up,down].
Lua
mit
skk/dotfiles,skk/dotfiles
079592ad831cd7a5fdddd91e05d4ca64fb9a643a
otouto/plugins/wikipedia.lua
otouto/plugins/wikipedia.lua
local wikipedia = {} wikipedia.command = 'wiki <Begriff>' function wikipedia:init(config) wikipedia.triggers = { "^/[Ww]iki(%w+) (search) (.+)$", "^/[Ww]iki (search) ?(.*)$", "^/[Ww]iki(%w+) (.+)$", "^/[Ww]iki ?(.*)$", "(%w+).wikipedia.org/wiki/(.+)" } wikipedia.inline_triggers = { ...
local wikipedia = {} wikipedia.command = 'wiki <Begriff>' function wikipedia:init(config) wikipedia.triggers = { "^/[Ww]iki(%w+) (search) (.+)$", "^/[Ww]iki (search) ?(.*)$", "^/[Ww]iki(%w+) (.+)$", "^/[Ww]iki ?(.*)$", "(%w+).m.wikipedia.org/wiki/(.+)", "(%w+).wikipedia.org/wiki/(....
Fixe Wikipedia-Mobile-Links
Fixe Wikipedia-Mobile-Links
Lua
agpl-3.0
Brawl345/Brawlbot-v2
5b7c483906f97d31b8c74e6bc1ee8fd50f63040c
lua/mediaplayer/players/entity/shared.lua
lua/mediaplayer/players/entity/shared.lua
include "sh_meta.lua" DEFINE_BASECLASS( "mp_base" ) --[[--------------------------------------------------------- Entity Media Player -----------------------------------------------------------]] local MEDIAPLAYER = MEDIAPLAYER MEDIAPLAYER.Name = "entity" function MEDIAPLAYER:IsValid() return self.Entity and IsVa...
include "sh_meta.lua" DEFINE_BASECLASS( "mp_base" ) --[[--------------------------------------------------------- Entity Media Player -----------------------------------------------------------]] local MEDIAPLAYER = MEDIAPLAYER MEDIAPLAYER.Name = "entity" function MEDIAPLAYER:IsValid() local ent = self.Entity i...
Fixed media players getting removed on the client if it takes too long for the entity to be created by the network.
Fixed media players getting removed on the client if it takes too long for the entity to be created by the network.
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
3c85fc482b8f98e8843182cabf661ec2af6194ca
.config/nvim/lua/config/jaq.lua
.config/nvim/lua/config/jaq.lua
local status_ok, p = pcall(require, "jaq-nvim") if not status_ok then return end p.setup({ cmds = { default = "toggleterm", external = { typescript = "node %", javascript = "node %", markdown = "glow %", python = "python3 %", rust = "rustc % && ./$fileBase && rm $fileBase", cpp = "g++ % -o $fil...
local status_ok, p = pcall(require, "jaq-nvim") if not status_ok then return end p.setup({ cmds = { external = { typescript = "node %", javascript = "node %", markdown = "glow %", python = "python3 %", rust = "rustc % && ./$fileBase && rm $fileBase", cpp = "g++ % -o $fileBase && ./$fileBase", ...
[nvim] Fix jaq config
[nvim] Fix jaq config
Lua
mit
masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles,masa0x80/dotfiles
f3d1f9a93ec148ff04f95f58f8a88d824101746a
src/extensions/cp/ui/RadioGroup.lua
src/extensions/cp/ui/RadioGroup.lua
--- === cp.ui.RadioGroup === --- --- Represents an `AXRadioGroup`, providing utility methods. -------------------------------------------------------------------------------- -- -- EXTENSIONS: -- -------------------------------------------------------------------------------- local require = require -----------------...
--- === cp.ui.RadioGroup === --- --- Represents an `AXRadioGroup`, providing utility methods. -------------------------------------------------------------------------------- -- -- EXTENSIONS: -- -------------------------------------------------------------------------------- local require = require -----------------...
#1475
#1475 - Bug fix in `cp.ui.RadioGroup`
Lua
mit
fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost,CommandPost/CommandPost,fcpxhacks/fcpxhacks
221ce985260f90b00daf522225d4db00b9eccb56
packages/grid.lua
packages/grid.lua
local gridSpacing -- Should be a setting local makeUp = function () local toadd = gridSpacing - (SILE.typesetter.frame.state.totals.gridCursor % gridSpacing) SILE.typesetter.frame.state.totals.gridCursor = SILE.typesetter.frame.state.totals.gridCursor + toadd return SILE.nodefactory.newVglue({ height = SILE.l...
local gridSpacing -- Should be a setting local makeUp = function () local toadd = gridSpacing - (SILE.typesetter.frame.state.totals.gridCursor % gridSpacing) SILE.typesetter.frame.state.totals.gridCursor = SILE.typesetter.frame.state.totals.gridCursor + toadd return SILE.nodefactory.newVglue({ height = SILE.l...
More fixes.
More fixes.
Lua
mit
neofob/sile,WAKAMAZU/sile_fe,anthrotype/sile,Nathan22Miles/sile,neofob/sile,alerque/sile,alerque/sile,WAKAMAZU/sile_fe,simoncozens/sile,shirat74/sile,anthrotype/sile,shirat74/sile,Nathan22Miles/sile,anthrotype/sile,shirat74/sile,simoncozens/sile,neofob/sile,alerque/sile,simoncozens/sile,WAKAMAZU/sile_fe,Nathan22Miles/s...
1df53234825cadab5b93561dfd06e875c6fe2fab
mods/areas/api.lua
mods/areas/api.lua
-- Returns a list of areas that include the provided position function areas:getAreasAtPos(pos) local a = {} local px, py, pz = pos.x, pos.y, pos.z for id, area in pairs(self.areas) do local ap1, ap2 = area.pos1, area.pos2 if px >= ap1.x and px <= ap2.x and py >= ap1.y and py <= ap2.y and pz >= ap1.z ...
--plants to place in openfarming local plants = { ["farming:blueberries"]=1, ["farming:muffin_blueberry"]=1, ["farming:carrot"]=1, ["farming:carrot_gold"]=1, ["farming:cocoa_beans"]=1, ["farming:cookie"]=1, ["farming:chocolate_dark"]=1, ["farming:coffee_beans"]=1, ["farming:corn"]=1, ["farming:corn_cob"]=1, ["farming:...
fix bug in openfarming fix usebug in openfarming, when node is plant any node can be placed fix bug due to news protection in farming mod V1.12 add default:papyrus can be placed, no dig
fix bug in openfarming fix usebug in openfarming, when node is plant any node can be placed fix bug due to news protection in farming mod V1.12 add default:papyrus can be placed, no dig
Lua
unlicense
Coethium/server-minetestforfun,MinetestForFun/minetest-minetestforfun-server,Coethium/server-minetestforfun,MinetestForFun/server-minetestforfun,Gael-de-Sailly/minetest-minetestforfun-server,paly2/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,LeMagnesium/minetest-minetestforfun-server,crabman77/mi...
1c6251dbd04c745d98fd7e6a3b816d263a361da5
cwtest.lua
cwtest.lua
require "pl.strict" -- enforced, on purpose ;) local tablex = require "pl.tablex" local pretty = require "pl.pretty" local printf = function(p,...) io.stdout:write(string.format(p,...)); io.stdout:flush() end local pass_assertion = function(self) printf(".") local info = debug.getinfo(3) self.successes[#self....
require "pl.strict" -- enforced, on purpose ;) local tablex = require "pl.tablex" local pretty = require "pl.pretty" local printf = function(p,...) io.stdout:write(string.format(p,...)); io.stdout:flush() end local pass_assertion = function(self) printf(".") local info = debug.getinfo(3) self.successes[#self....
fix tail call issue
fix tail call issue We must *avoid* the TCO here, otherwise we lose debug information.
Lua
mit
tst2005/cwtest,catwell/cwtest
d1047c9120d43f39435e1c73f462f00cad2c8408
extensions/base64/init.lua
extensions/base64/init.lua
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.base64.internal") -- private variables and methods ----------------------------------------- -- Public interface -----------------------------------------...
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.base64.internal") -- private variables and methods ----------------------------------------- -- Public interface -----------------------------------------...
hs.base64.encode without width lost last char
hs.base64.encode without width lost last char fixed
Lua
mit
nkgm/hammerspoon,nkgm/hammerspoon,zzamboni/hammerspoon,latenitefilms/hammerspoon,lowne/hammerspoon,knl/hammerspoon,TimVonsee/hammerspoon,wvierber/hammerspoon,emoses/hammerspoon,knu/hammerspoon,zzamboni/hammerspoon,ocurr/hammerspoon,knl/hammerspoon,joehanchoi/hammerspoon,knu/hammerspoon,latenitefilms/hammerspoon,wsmith3...
3f95d81c9d8ae9294f8fa4b94411c08ec881a01c
xmake/core/sandbox/modules/find_packages.lua
xmake/core/sandbox/modules/find_packages.lua
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
fix find_packages
fix find_packages
Lua
apache-2.0
tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake
a867c1487ee7fed586a31429e033f79fbbcd208e
wrappers/Lua/example.lua
wrappers/Lua/example.lua
local cp = require "coolprop" print[[ Information Examples ==================== ]] print("Version", cp.version()) print("gitrevision", cp.gitrevision()) print("FluidsList", cp.FluidsList()) print("Debug Level", cp.get_debug_level()) print() print[[ Usage Examples ============== ]] print(cp.Props1SI("Water", "Phase")...
local cp = require "coolprop" print[[ Information Examples ==================== ]] print("Version", cp.version()) print("gitrevision", cp.gitrevision()) print("FluidsList", cp.FluidsList()) print("Debug Level", cp.get_debug_level()) print() print[[ Usage Examples ============== ]] print(cp.Props1SI("Water", "Phase")...
Add test to example.lua demonstrating fix.
Add test to example.lua demonstrating fix.
Lua
mit
henningjp/CoolProp,JonWel/CoolProp,henningjp/CoolProp,henningjp/CoolProp,henningjp/CoolProp,henningjp/CoolProp,CoolProp/CoolProp,DANA-Laboratory/CoolProp,DANA-Laboratory/CoolProp,DANA-Laboratory/CoolProp,CoolProp/CoolProp,henningjp/CoolProp,CoolProp/CoolProp,DANA-Laboratory/CoolProp,CoolProp/CoolProp,CoolProp/CoolProp,...
b05bcfaba7ad606fba3e424609050cf6e3ca6a95
mods/mobs/kitten.lua
mods/mobs/kitten.lua
local kitten_nodes = { "wool:black", "wool:blue", "wool:brown", "wool:cyan", "wool:dark_green", "wool:dark_grey", "wool:green", "wool:grey", "wool:magenta", "wool:orange", "wool:pink", "wool:red", "wool:violet", "wool:white", "wool:yellow", "carpet:black", "carpet:blue", "carpet:brown", "carpet:cyan", "carpet:dark_gree...
local kitten_nodes = { "wool:black", "wool:blue", "wool:brown", "wool:cyan", "wool:dark_green", "wool:dark_grey", "wool:green", "wool:grey", "wool:magenta", "wool:orange", "wool:pink", "wool:red", "wool:violet", "wool:white", "wool:yellow", "carpet:black", "carpet:blue", "carpet:brown", "carpet:cyan", "carpet:dark_gree...
Fixed some problems about kittens
Fixed some problems about kittens
Lua
unlicense
MinetestForFun/minetest-minetestforfun-server,Coethium/server-minetestforfun,sys4-fr/server-minetestforfun,LeMagnesium/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,paly2/minetest-minetestforfun-server,Coethium/server-minetestforfun,MinetestForFun/server-minetestforfun,crabman77/minetest-minetestforfun-s...
e75ed26182d3ef47806715e47efda09fd5643056
kong/plugins/azure-functions/handler.lua
kong/plugins/azure-functions/handler.lua
local BasePlugin = require "kong.plugins.base_plugin" local constants = require "kong.constants" local meta = require "kong.meta" local http = require "resty.http" local pairs = pairs local server_header = meta._SERVER_TOKENS local conf_cache = setmetatable({}, { __mode = "k" }) ...
local BasePlugin = require "kong.plugins.base_plugin" local constants = require "kong.constants" local meta = require "kong.meta" local http = require "resty.http" local pairs = pairs local server_header = meta._SERVER_TOKENS local conf_cache = setmetatable({}, { __mode = "k" }) ...
hotfix(azure-functions) replace several undefined vars with pdk/ngx methods
hotfix(azure-functions) replace several undefined vars with pdk/ngx methods From #6
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
d7c21eb82892ffddcd2f7dafe233748fc0ba1cab
core/pagebuilder.lua
core/pagebuilder.lua
local awful_bad = 1073741823 local inf_bad = 10000 local eject_penalty = -inf_bad local deplorable = 100000 SILE.pagebuilder = { collateVboxes = function(vboxlist) local i local output = SILE.nodefactory.newVbox({nodes = {} }) output:append(vboxlist) return output end, badness = function (t,s) ...
local awful_bad = 1073741823 local inf_bad = 10000 local eject_penalty = -inf_bad local deplorable = 100000 SILE.pagebuilder = { collateVboxes = function(vboxlist) local i local output = SILE.nodefactory.newVbox({nodes = {} }) output:append(vboxlist) return output end, badness = function (t,s) ...
Fix to pagebuilder fix. (masters regression test was failing. How about now?)
Fix to pagebuilder fix. (masters regression test was failing. How about now?)
Lua
mit
neofob/sile,simoncozens/sile,alerque/sile,simoncozens/sile,alerque/sile,neofob/sile,simoncozens/sile,simoncozens/sile,neofob/sile,alerque/sile,alerque/sile,neofob/sile
930a1250e0e1bf7fc1a824004e99d86ce0ab252f
lua/starfall/libs_sh/timer.lua
lua/starfall/libs_sh/timer.lua
------------------------------------------------------------------------------- -- Time library ------------------------------------------------------------------------------- local timer = timer --- Deals with time and timers. -- @shared local timer_library, _ = SF.Libraries.Register("timer") -- -------------------...
------------------------------------------------------------------------------- -- Time library ------------------------------------------------------------------------------- local timer = timer --- Deals with time and timers. -- @shared local timer_library, _ = SF.Libraries.Register("timer") -- -------------------...
[Fix] in timer library
[Fix] in timer library timer.simple was throwing an error if the entity got removed while the timer was running Fixes #53
Lua
bsd-3-clause
Ingenious-Gaming/Starfall,INPStarfall/Starfall,Jazzelhawk/Starfall,Jazzelhawk/Starfall,Xandaros/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,INPStarfall/Starfall
e73a856fa2c820bb07a4c9941f94db408eed7e7e
src/lua/rule.lua
src/lua/rule.lua
local __dissectors = {} local __rule_groups = {} function haka.dissector(d) if d.name == nil or d.dissect == nil then if haka.app.currentThread() == 0 then haka.log.error("core", "registering invalid dissector: '%s'", d.name) end else if not __dissectors[d.name] then __dissectors[d.name] = d if haka....
local __dissectors = {} local __rule_groups = {} function haka.dissector(d) if d.name == nil or d.dissect == nil then if haka.app.currentThread() == 0 then haka.log.error("core", "registering invalid dissector: '%s'", d.name) end else if not __dissectors[d.name] then __dissectors[d.name] = d if haka....
Fix memory corruption
Fix memory corruption Quick fix that should be improved in the future.
Lua
mpl-2.0
LubyRuffy/haka,lcheylus/haka,Wingless-Archangel/haka,lcheylus/haka,lcheylus/haka,nabilbendafi/haka,Wingless-Archangel/haka,LubyRuffy/haka,haka-security/haka,nabilbendafi/haka,haka-security/haka,nabilbendafi/haka,haka-security/haka
63295d72ca08236c055486e8b9a14a413ee82869
src/program/snabbnfv/traffic/traffic.lua
src/program/snabbnfv/traffic/traffic.lua
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local lib = require("core.lib") local nfvconfig = require("program.snabbnfv.nfvconfig") local usage = require("program.snabbnfv.traffic.README_inc") local ffi = require("ffi") local C = ffi.C local timer = requi...
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local lib = require("core.lib") local nfvconfig = require("program.snabbnfv.nfvconfig") local usage = require("program.snabbnfv.traffic.README_inc") local ffi = require("ffi") local C = ffi.C local timer = requi...
Fix adaptation of "snabb snabbnfv traffic" to be driver-agnostic
Fix adaptation of "snabb snabbnfv traffic" to be driver-agnostic Fix borked code introduced in 3f5d3efbb84a9033b8b7f1021ef47570f4ecce9c.
Lua
apache-2.0
dpino/snabbswitch,SnabbCo/snabbswitch,alexandergall/snabbswitch,alexandergall/snabbswitch,eugeneia/snabbswitch,snabbco/snabb,snabbco/snabb,dpino/snabb,alexandergall/snabbswitch,dpino/snabb,eugeneia/snabbswitch,alexandergall/snabbswitch,Igalia/snabb,Igalia/snabb,dpino/snabb,Igalia/snabb,snabbco/snabb,Igalia/snabbswitch,...
592e0ee5e2d46840559d2b9f6952bff0701082d0
mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua
mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua
local st = require "util.stanza"; local nodeprep = require "util.encodings".stringprep.nodeprep; local rooms = module:shared "muc/rooms"; if not rooms then module:log("error", "This module only works on MUC components!"); return; end local admins = module:get_option_set("admins", {}); local restrict_p...
local st = require "util.stanza"; local jid = require "util.jid"; local nodeprep = require "util.encodings".stringprep.nodeprep; local rooms = module:shared "muc/rooms"; if not rooms then module:log("error", "This module only works on MUC components!"); return; end local restrict_patterns = module:get...
mod_muc_restrict_rooms: Some fixes based on Matthew's comments + a few more
mod_muc_restrict_rooms: Some fixes based on Matthew's comments + a few more
Lua
mit
joewalker/prosody-modules,stephen322/prosody-modules,dhotson/prosody-modules,vince06fr/prosody-modules,cryptotoad/prosody-modules,joewalker/prosody-modules,amenophis1er/prosody-modules,amenophis1er/prosody-modules,NSAKEY/prosody-modules,softer/prosody-modules,jkprg/prosody-modules,dhotson/prosody-modules,either1/prosod...
baf1202a522cc769e33faa2e14b3c03140fc3309
action.lua
action.lua
function on_msg_receive (msg) if msg.out then return end if (msg.text=='ping') then send_msg (msg.from.print_name, 'pong', ok_cb, false) end if (msg.text=='bos') then send_msg (msg.from.print_name, 'yes bos?', ok_cb, false) end if (msg.text=='photo') then os.execute('/home/pi/camera/camera.sh') se...
function on_msg_receive (msg) if msg.out then return end if (msg.text=='ping') then send_msg (msg.from.print_name, 'pong', ok_cb, false) end if (msg.text=='bos') then send_msg (msg.from.print_name, 'yes bos?', ok_cb, false) end if (msg.text=='photo') then os.execute('/home/pi/camera/camera...
Fixes indentation
Fixes indentation
Lua
mit
aryulianto/Gempi_Bot,aryulianto/Gempi_Bot,aryulianto/Telegram_Bot,aryulianto/Telegram_Bot
5dce5148e762a6e2256249a541c0356135b23534
lua/framework/graphics/font.lua
lua/framework/graphics/font.lua
--=========== Copyright © 2018, Planimeter, All rights reserved. =============-- -- -- Purpose: -- --============================================================================-- require( "class" ) local FT = require( "freetype" ) local ffi = require( "ffi" ) local GL = require( "opengl" ) local ft = ffi.new( "FT_...
--=========== Copyright © 2018, Planimeter, All rights reserved. =============-- -- -- Purpose: -- --============================================================================-- require( "class" ) local FT = require( "freetype" ) local ffi = require( "ffi" ) local GL = require( "opengl" ) local ft = ffi.new( "FT_...
Fix rendering newlines
Fix rendering newlines
Lua
mit
Planimeter/lgameframework,Planimeter/lgameframework,Planimeter/lgameframework
81c9493e0e0746c5befea32d0cbf222a6fb44c7a
src/base/detoken.lua
src/base/detoken.lua
-- -- detoken.lua -- -- Expands tokens. -- -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- premake.detoken = {} local detoken = premake.detoken -- -- Expand tokens in a value. -- -- @param value -- The value containing the tokens to be expanded. -- @param environ -- An execution environme...
-- -- detoken.lua -- -- Expands tokens. -- -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- premake.detoken = {} local detoken = premake.detoken -- -- Expand tokens in a value. -- -- @param value -- The value containing the tokens to be expanded. -- @param environ -- An execution environme...
Fix detoken of table values, broken by previous commit
Fix detoken of table values, broken by previous commit
Lua
bsd-3-clause
dcourtois/premake-core,bravnsgaard/premake-core,LORgames/premake-core,dcourtois/premake-core,CodeAnxiety/premake-core,xriss/premake-core,grbd/premake-core,noresources/premake-core,premake/premake-core,jstewart-amd/premake-core,prapin/premake-core,CodeAnxiety/premake-core,grbd/premake-core,jstewart-amd/premake-core,Yhge...
a5a6cf818a2a5741c6fae7b3081e1e20f3ec0a1b
mod_auth_ldap/mod_auth_ldap.lua
mod_auth_ldap/mod_auth_ldap.lua
-- mod_auth_ldap local new_sasl = require "util.sasl".new; local lualdap = require "lualdap"; local function ldap_filter_escape(s) return (s:gsub("[\\*\\(\\)\\\\%z]", function(c) return ("\\%02x"):format(c:byte()) end)); end -- Config options local ldap_server = module:get_option_string("ldap_server", "localhost"); l...
-- mod_auth_ldap local new_sasl = require "util.sasl".new; local lualdap = require "lualdap"; local function ldap_filter_escape(s) return (s:gsub("[\\*\\(\\)\\\\%z]", function(c) return ("\\%02x"):format(c:byte()) end)); end -- Config options local ldap_server = module:get_option_string("ldap_server", "localhost"); l...
mod_auth_ldap: Fix issue with some versions of LuaLDAP
mod_auth_ldap: Fix issue with some versions of LuaLDAP
Lua
mit
vince06fr/prosody-modules,jkprg/prosody-modules,olax/prosody-modules,mmusial/prosody-modules,Craige/prosody-modules,stephen322/prosody-modules,syntafin/prosody-modules,BurmistrovJ/prosody-modules,prosody-modules/import,mmusial/prosody-modules,heysion/prosody-modules,Craige/prosody-modules,olax/prosody-modules,vfedoroff...
38181e259ca4ee907014595d2c3921d6f987d67b
modules/xcode/xcode_project.lua
modules/xcode/xcode_project.lua
--- -- xcode/xcode4_project.lua -- Generate an Xcode project file. -- Author Jason Perkins -- Modified by Mihai Sebea -- Copyright (c) 2009-2015 Jason Perkins and the Premake project --- local p = premake local m = p.modules.xcode local xcode = p.modules.xcode local project = p.project local config ...
--- -- xcode/xcode4_project.lua -- Generate an Xcode project file. -- Author Jason Perkins -- Modified by Mihai Sebea -- Copyright (c) 2009-2015 Jason Perkins and the Premake project --- local p = premake local m = p.modules.xcode local xcode = p.modules.xcode local project = p.project local config ...
Fixed an issue where libraries listed under "dependson" would be linked into the executable in Xcode.
Fixed an issue where libraries listed under "dependson" would be linked into the executable in Xcode.
Lua
bsd-3-clause
mendsley/premake-core,sleepingwit/premake-core,TurkeyMan/premake-core,bravnsgaard/premake-core,mendsley/premake-core,noresources/premake-core,aleksijuvani/premake-core,noresources/premake-core,Blizzard/premake-core,LORgames/premake-core,soundsrc/premake-core,Zefiros-Software/premake-core,jstewart-amd/premake-core,sound...
799401c0374a69671c3f2285704bd0c28e51d804
utils/speech.lua
utils/speech.lua
-- -- fn - l -- toggle listener -- -- hold down fn, even when on, or command is ignored (minimizes false positives in noisy -- environments.) -- local module, placeholder = {}, {} local speech = require("hs.speech") local listener = speech.listener local fnutils = require("hs.fnutils") local log = require("hs....
-- -- fn - l -- toggle listener -- -- hold down fn, even when on, or command is ignored (minimizes false positives in noisy -- environments.) -- local module, placeholder = {}, {} local speech = require("hs.speech") local listener = speech.listener local fnutils = require("hs.fnutils") local log = require("hs....
bug fix
bug fix
Lua
mit
asmagill/hammerspoon-config,asmagill/hammerspoon-config,asmagill/hammerspoon-config
ca51ab16c9c42565da6d4f7d18d1f06d7663df18
xmake.lua
xmake.lua
local modules = { Audio = { Deps = {"NazaraCore"}, Packages = {"dr_wav", "libsndfile", "minimp3"} }, Core = {}, Graphics = { Deps = {"NazaraRenderer"} }, Network = { Deps = {"NazaraCore"}, Custom = function() if is_plat("windows") then add_syslinks("ws2_32") end if is_plat("linux") then ...
local modules = { Audio = { Deps = {"NazaraCore"}, Packages = {"dr_wav", "libsndfile", "minimp3"} }, Core = { Custom = function () if is_plat("linux") then add_syslinks("dl", "pthread") end end }, Graphics = { Deps = {"NazaraRenderer"} }, Network = { Deps = {"NazaraCore"}, Custom = functi...
XMake: Add dl and pthread links (fixes Linux compilation)
XMake: Add dl and pthread links (fixes Linux compilation)
Lua
mit
DigitalPulseSoftware/NazaraEngine
eb62689620a93025483343dffd53c858fae31774
kernel/turtle/ttl2flr.lua
kernel/turtle/ttl2flr.lua
-- convert turtle ontologies to F-Logic/Flora-2 local ttl2flr = {} local turtleparse = require("turtleparse") local __dump = require("pl.pretty").dump local function __printPrefix(p) print(string.format(":- iriprefix{%s='%s'}.", p.name, p.uri)) end -- convert a resource (UriRef, Qname) string value for Flora-2 l...
-- convert turtle ontologies to F-Logic/Flora-2 local ttl2flr = {} local turtleparse = require("turtleparse") local __dump = require("pl.pretty").dump -- no default prefix support in Flora-2, so we save it here and -- substitute it upon encountering it local __DEFAULT_PREFIX_URI local function __printPrefix(p) i...
turtle to flora: add default prefix expansion add support for nested objects via skolems and collections tested with 10+ popular ontologies
turtle to flora: add default prefix expansion add support for nested objects via skolems and collections tested with 10+ popular ontologies
Lua
mit
jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico
db666ed6a5589f50a8a80a9230fe09f06f8c4032
src/premake5.lua
src/premake5.lua
function setupReleaseConfiguration() buildoptions { "/GL", "/sdl-", "/Ot", "/GS-", "/arch:AVX2" } linkoptions { "/LTCG:incremental" } optimize "Speed" inlining "Auto" end function setupDebugConfiguration() buildoptions { ...
function setupReleaseConfiguration() buildoptions { "/GL", "/sdl-", "/Ot", "/GS-", "/arch:AVX2" } linkoptions { "/LTCG:incremental" } optimize "Speed" inlining "Auto" end function setupDebugConfiguration() buildoptions { ...
Fixed some shit in premake script
Fixed some shit in premake script
Lua
mit
JeppeSRC/Frodo,JeppeSRC/Frodo,JeppeSRC/Frodo
2fa080c83ce21dc94efe66d698299f18de34a140
HexChat/twitch.lua
HexChat/twitch.lua
hexchat.register('Twitch', '1', 'Better integration with twitch.tv') local function is_twitch () if hexchat.nickcmp(hexchat.get_info('network'), 'Twitch') == 0 then return true elseif hexchat.get_info('server'):find('twitch.tv$') then return true else return false end end -- Commands from http://help.twitc...
hexchat.register('Twitch', '1', 'Better integration with twitch.tv') local function is_twitch () local server = hexchat.get_info('server') if hexchat.nickcmp(hexchat.get_info('network'), 'Twitch') == 0 then return true elseif server and server:find('twitch.tv$') then return true else return false end end ...
twitch: Fix possible error
twitch: Fix possible error
Lua
mit
TingPing/plugins,TingPing/plugins
a7e84b7d185abeebc2967853a444d312675eaf58
lua/mediaplayer/sh_metadata.lua
lua/mediaplayer/sh_metadata.lua
--[[--------------------------------------------------------- Media Player Metadata All media metadata is cached in an SQLite table for quick lookup and to prevent unnecessary network requests. -----------------------------------------------------------]] MediaPlayer.Metadata = {} --- -- Default metadata table na...
--[[--------------------------------------------------------- Media Player Metadata All media metadata is cached in an SQLite table for quick lookup and to prevent unnecessary network requests. -----------------------------------------------------------]] MediaPlayer.Metadata = {} --- -- Default metadata table na...
Fixed metadata module accidently not using the unix epoch :(
Fixed metadata module accidently not using the unix epoch :(
Lua
mit
pixeltailgames/gm-mediaplayer,pixeltailgames/gm-mediaplayer
7c0ec6ee7d98d0dc7fd01c91ac343a2fd8384d58
logout-popup-widget/logout-popup.lua
logout-popup-widget/logout-popup.lua
------------------------------------------------- -- Logout widget for Awesome Window Manager -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/logout-widget -- @author Pavel Makhov -- @copyright 2020 Pavel Makhov ------------------------------------------------- l...
------------------------------------------------- -- Logout widget for Awesome Window Manager -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/logout-widget -- @author Pavel Makhov -- @copyright 2020 Pavel Makhov ------------------------------------------------- l...
fix lua check
fix lua check
Lua
mit
streetturtle/awesome-wm-widgets,streetturtle/awesome-wm-widgets
db283fa6724a656b7835b1ef5153b7811a428c5c
nvim/.config/nvim/lua/gb/plugins.lua
nvim/.config/nvim/lua/gb/plugins.lua
vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua require("packer").startup( function(use) -- Packer can manage itself use "wbthomason/packer.nvim" use { "rmehri01/onenord.nvim", config = function() require("onenord").setup...
vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua require("packer").startup( function(use) -- Packer can manage itself use "wbthomason/packer.nvim" use { "rmehri01/onenord.nvim", config = function() require("onenord").setup...
Fixup test icons showing up
Fixup test icons showing up
Lua
mit
gblock0/dotfiles
103523490801ea75d7287eb5e6c0e928aab1b116
mod_s2s_auth_dane/mod_s2s_auth_dane.lua
mod_s2s_auth_dane/mod_s2s_auth_dane.lua
-- mod_s2s_auth_dane -- Copyright (C) 2013-2014 Kim Alvefur -- -- This file is MIT/X11 licensed. -- -- In your DNS, put -- _xmpp-server.example.com. IN TLSA 3 0 1 <sha256 hash of certificate> -- -- Known issues: -- Race condition -- Could be done much cleaner if mod_s2s was using util.async -- -- TODO Things to test/ha...
-- mod_s2s_auth_dane -- Copyright (C) 2013-2014 Kim Alvefur -- -- This file is MIT/X11 licensed. -- -- In your DNS, put -- _xmpp-server.example.com. IN TLSA 3 0 1 <sha256 hash of certificate> -- -- Known issues: -- Race condition -- Could be done much cleaner if mod_s2s was using util.async -- -- TODO Things to test/ha...
mod_s2s_auth_dane: Pause s2sin while doing SRV and TLSA lookups, fixes race condition (Can haz util.async plz)
mod_s2s_auth_dane: Pause s2sin while doing SRV and TLSA lookups, fixes race condition (Can haz util.async plz)
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
8744adbbd2967b50409dd72f23e47f60be81d541
applications/luci-initmgr/luasrc/controller/init.lua
applications/luci-initmgr/luasrc/controller/init.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...
* luci/app/initmgr: fix translation issue in menu entry
* luci/app/initmgr: fix translation issue in menu entry git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3516 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
8devices/carambola2-luci,saraedum/luci-packages-old,projectbismark/luci-bismark,ThingMesh/openwrt-luci,ch3n2k/luci,dtaht/cerowrt-luci-3.3,eugenesan/openwrt-luci,jschmidlapp/luci,freifunk-gluon/luci,saraedum/luci-packages-old,projectbismark/luci-bismark,Canaan-Creative/luci,freifunk-gluon/luci,freifunk-gluon/luci,ThingM...
d7ca046b0b3d597b1a78516cd283d338ecb3cbc1
util/filters.lua
util/filters.lua
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local t_insert, t_remove = table.insert, table.remove; module "filters" local new_filter_hooks = {}; f...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local t_insert, t_remove = table.insert, table.remove; module "filters" local new_filter_hooks = {}; f...
util.filters: Ignore filters being added twice (fixes issues on removal)
util.filters: Ignore filters being added twice (fixes issues on removal)
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
e56c8b618ac0784e0ca70e4145d30a610f6a704d
init.lua
init.lua
local json = require('json') local framework = require('framework.lua') framework.table() framework.util() framework.functional() local stringutil = framework.string local Plugin = framework.Plugin local NetDataSource = framework.NetDataSource local net = require('net') local items = {} local params = framework.boun...
local json = require('json') local framework = require('framework.lua') framework.table() framework.util() framework.functional() local stringutil = framework.string local Plugin = framework.Plugin local NetDataSource = framework.NetDataSource local net = require('net') local items = {} local params = framework.boun...
Fixed issue with not matching a partial
Fixed issue with not matching a partial
Lua
apache-2.0
boundary/boundary-plugin-diskuse-summary,graphdat/plugin-diskuse_summary,GabrielNicolasAvellaneda/boundary-plugin-diskuse-summary
bdac80e60fdded42694bb6844ccb4c4a72d8d559
init.lua
init.lua
-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE. require 'ext/pm' require 'ext/find' require 'ext/mime_types' require 'ext/keys' local mpath = _HOME..'modules/?.lua;'.._HOME..'/modules/?/init.lua' package.path = package.path..';'..mpath -- modules to load on startup require 'textadept' -- end mod...
-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE. require 'ext/pm' require 'ext/find' require 'ext/mime_types' require 'ext/keys' local mpath = _HOME..'modules/?.lua;'.._HOME..'/modules/?/init.lua' package.path = package.path..';'..mpath -- modules to load on startup require 'textadept' -- end mod...
Fixed command line parameters bug; init.lua When files are passed by the command line, they are assumed to be relative to Textadept's path. Instead, check if the file has a leading '~/' or '/' indicating an absolute path. If so, do not treat it that way. Otherwise treat it as relative.
Fixed command line parameters bug; init.lua When files are passed by the command line, they are assumed to be relative to Textadept's path. Instead, check if the file has a leading '~/' or '/' indicating an absolute path. If so, do not treat it that way. Otherwise treat it as relative.
Lua
mit
rgieseke/textadept,rgieseke/textadept
7545294df284f425bcb68f37b6f7c60dfda8cd43
webui/src/WebUIManager.lua
webui/src/WebUIManager.lua
-- **************************************************************************** -- * -- * PROJECT: MTA:SA CEF utilities (https://github.com/Jusonex/mtasa_cef_tools) -- * FILE: webui/src/WebUIManager.lua -- * PURPOSE: WebUIManager class definition -- * -- ***********************************************...
-- **************************************************************************** -- * -- * PROJECT: MTA:SA CEF utilities (https://github.com/Jusonex/mtasa_cef_tools) -- * FILE: webui/src/WebUIManager.lua -- * PURPOSE: WebUIManager class definition -- * -- ***********************************************...
Fixed key binds being triggered if browser is focused
Fixed key binds being triggered if browser is focused
Lua
unlicense
Jusonex/mtasa_cef_tools,FL1K3R/mtasa_cef_tools,FL1K3R/mtasa_cef_tools,Jusonex/mtasa_cef_tools
e8af37c32549f54059f6e7635064c623b80c039c
xmake/rules/winsdk/mfc/mfc.lua
xmake/rules/winsdk/mfc/mfc.lua
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
fix bug: remove item from table
fix bug: remove item from table
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,tboox/xmake,tboox/xmake,waruqi/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,waruqi/xmake,tboox/xmake,tboox/xmake
38b22206e6e356a3ccfb08de89acb23a9967a7a3
contrib/package/olsrd-luci/files/lib/config/olsr.lua
contrib/package/olsrd-luci/files/lib/config/olsr.lua
#!/usr/bin/lua --[[ OLSRd configuration generator (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
#!/usr/bin/lua --[[ OLSRd configuration generator (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in interface sections
* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in interface sections git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3078 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,ThingMesh/openwrt-luci,phi-psi/luci,jschmidlapp/luci,8devices/carambola2-luci,vhpham80/luci,gwlim/luci,projectbismark/luci-bismark,ch3n2k/luci,saraedum/luci-packages-old,phi-psi/luci,projectbismark/luci-bismark,gwlim/luci,zwhfly/openwrt-luci,freifunk-gluon/luci,8devices/carambola2-luci,dta...
9fe62f7a283ded890fbfa22befd1f7d7e09771ff
applications/luci-firewall/luasrc/model/cbi/firewall/zone-details.lua
applications/luci-firewall/luasrc/model/cbi/firewall/zone-details.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
applications/luci-firewall: fix datatype validation for masq src/dest; allow list of negated ucinames, hostnames, ip-ranges or -addresses
applications/luci-firewall: fix datatype validation for masq src/dest; allow list of negated ucinames, hostnames, ip-ranges or -addresses git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@8154 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
freifunk-gluon/luci,gwlim/luci,phi-psi/luci,zwhfly/openwrt-luci,dtaht/cerowrt-luci-3.3,yeewang/openwrt-luci,eugenesan/openwrt-luci,8devices/carambola2-luci,Canaan-Creative/luci,freifunk-gluon/luci,jschmidlapp/luci,eugenesan/openwrt-luci,jschmidlapp/luci,eugenesan/openwrt-luci,zwhfly/openwrt-luci,dtaht/cerowrt-luci-3.3,...
11420f909bc6c161d9df49843de94ea1d982a379
spec/random_tree_spec.lua
spec/random_tree_spec.lua
-- tree.lua, Lua representation of trees with edge lengths -- Copyright (C) 2015 Boris Nagaev -- See the LICENSE file for terms of use. describe("random tree", function() it("creates a random tree", function() local Tree = require 'tree.Tree' local children_of = {} local nodes = {} ...
-- tree.lua, Lua representation of trees with edge lengths -- Copyright (C) 2015 Boris Nagaev -- See the LICENSE file for terms of use. describe("random tree", function() it("creates a random tree", function() local Tree = require 'tree.Tree' local children_of = {} local nodes = {} ...
fix failed test: increase lpeg stack size
fix failed test: increase lpeg stack size
Lua
mit
starius/tree.lua
39bd3ee0696eba648f7f10919ba7e832abc0093e
src/jet/daemon/value_matcher.lua
src/jet/daemon/value_matcher.lua
local jutils = require'jet.utils' local tinsert = table.insert local less_than = function(other) return function(x) return x < other end end local greater_than = function(other) return function(x) return x > other end end local equals = function(other) return function(x) return x == other end...
local jutils = require'jet.utils' local tinsert = table.insert local less_than = function(other) return function(x) return x < other end end local greater_than = function(other) return function(x) return x > other end end local equals = function(other) return function(x) return x == other end...
fix isType predicate for objects (not tables as in lua)
fix isType predicate for objects (not tables as in lua)
Lua
mit
lipp/lua-jet
7b8f494b707f5b2d680f6ce8b526458ae426eafc
src/cosy/configuration.lua
src/cosy/configuration.lua
local Platform = require "cosy.platform" local Repository = require "cosy.repository" local repository = Repository.new () Repository.options (repository).create = function () end Repository.options (repository).import = function () end repository.internal = {} repository.default = require "cosy.configuration.defa...
local Platform = require "cosy.platform" local Repository = require "cosy.repository" local repository = Repository.new () Repository.options (repository).create = function () end Repository.options (repository).import = function () end repository.internal = {} repository.default = require "cosy.configuration.defa...
Fix configuration loading.
Fix configuration loading.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
b3f8bfe46adf71dfe21459d4c491d96a91170105
test/test-getaddrinfo.lua
test/test-getaddrinfo.lua
local uv = require 'couv' local SockAddr = uv.SockAddr local exports = {} exports['getaddrinfo.basic'] = function(test) coroutine.wrap(function() local name = 'localhost' local addresses = uv.getaddrinfo(name, nil, nil) test.ok(type(addresses), 'table') test.ok(#addresses > 0) for i, address in ...
local uv = require 'couv' local SockAddr = uv.SockAddr local exports = {} exports['getaddrinfo.basic'] = function(test) coroutine.wrap(function() local name = 'localhost' local addresses = uv.getaddrinfo(name, nil, nil) test.ok(type(addresses), 'table') test.ok(#addresses > 0) for i, address in ...
Fix test-getaddinfo to pass on Windows
Fix test-getaddinfo to pass on Windows
Lua
mit
hnakamur/couv,hnakamur/couv
7ece4be76fd8af14f9853fbffcd951f5e92e602c
triggerfield/homeland.lua
triggerfield/homeland.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
Fix for homeland messages
Fix for homeland messages
Lua
agpl-3.0
Illarion-eV/Illarion-Content,vilarion/Illarion-Content,Baylamon/Illarion-Content,LaFamiglia/Illarion-Content,KayMD/Illarion-Content
8babe571063a11ba9a8f5f1fdc32e405ae178e7b
frontend/apps/reader/modules/readergoto.lua
frontend/apps/reader/modules/readergoto.lua
local InputContainer = require("ui/widget/container/inputcontainer") local InputDialog = require("ui/widget/inputdialog") local UIManager = require("ui/uimanager") local Event = require("ui/event") local SkimToWidget = require("apps/reader/skimtowidget") local _ = require("gettext") local ReaderGoto = InputContainer:n...
local Event = require("ui/event") local InputContainer = require("ui/widget/container/inputcontainer") local InputDialog = require("ui/widget/inputdialog") local SkimToWidget = require("apps/reader/skimtowidget") local UIManager = require("ui/uimanager") local _ = require("gettext") local ReaderGoto = InputContainer:n...
[fix] ReaderGoto button order
[fix] ReaderGoto button order
Lua
agpl-3.0
Frenzie/koreader,poire-z/koreader,NiLuJe/koreader,lgeek/koreader,Hzj-jie/koreader,Markismus/koreader,koreader/koreader,houqp/koreader,Frenzie/koreader,koreader/koreader,apletnev/koreader,mwoz123/koreader,poire-z/koreader,mihailim/koreader,NiLuJe/koreader,pazos/koreader
395cfe82acb1bd774a753a1cdb4504554a568ebc
lua/test/simple_template_container_test.lua
lua/test/simple_template_container_test.lua
local template_container = require("./lua/answer/simple_template_container") local str_starts_with = template_container.str_starts_with local function str_starts_with_test() local from, to = str_starts_with("abc", "abc") assert(from == 1 and to == 3) from, to = str_starts_with("abc", "ab") assert(fro...
local template_container = require("./lua/answer/simple_template_container") local str_starts_with = template_container.str_starts_with local function str_starts_with_test() local from, to = str_starts_with("abc", "abc") assert(from == 1 and to == 3) from, to = str_starts_with("abc", "ab") assert(fro...
fix the template unit test to validate on nil
fix the template unit test to validate on nil
Lua
apache-2.0
zxteloiv/docomo-qa,zxteloiv/docomo-qa,zxteloiv/docomo-qa
83f0f1bed8481c5461a4609eb5ed7b3d9e7dcfac
Modules/Client/CoreGuiEnabler.lua
Modules/Client/CoreGuiEnabler.lua
--- Key based CoreGuiEnabler, singleton -- Use this class to load/unload CoreGuis / other GUIs, by disabling based upon keys -- Keys are additive, so if you have more than 1 disabled, it's ok. -- @module CoreGuiEnabler local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Playe...
--- Key based CoreGuiEnabler, singleton -- Use this class to load/unload CoreGuis / other GUIs, by disabling based upon keys -- Keys are additive, so if you have more than 1 disabled, it's ok. -- @module CoreGuiEnabler local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Playe...
Fix Roblox messing with mouse icon enabled properties
Fix Roblox messing with mouse icon enabled properties
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
ac54464ff0b6b2a265a68ddaf07108b874704352
icesl-gallery/superquadrics.lua
icesl-gallery/superquadrics.lua
--[[ The MIT License (MIT) Copyright (c) 2015 Loïc Fejoz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
--[[ The MIT License (MIT) Copyright (c) 2015 Loïc Fejoz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
fix(superquadrics): upgrade to latest version
fix(superquadrics): upgrade to latest version
Lua
mit
loic-fejoz/loic-fejoz-fabmoments,loic-fejoz/loic-fejoz-fabmoments,loic-fejoz/loic-fejoz-fabmoments
288db9c78a4b68d31bc3a647b2938b6238446b6a
src/patch/ui/hooks/frontend/modsmenu/lobby_skip.lua
src/patch/ui/hooks/frontend/modsmenu/lobby_skip.lua
-- Copyright (c) 2015-2017 Lymia Alusyia <lymia@lymiahugs.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, co...
-- Copyright (c) 2015-2017 Lymia Alusyia <lymia@lymiahugs.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, co...
Fix lobby.
Fix lobby.
Lua
mit
Lymia/MultiverseModManager,Lymia/MPPatch,Lymia/CivV_Mod2DLC,Lymia/MPPatch,Lymia/MPPatch,Lymia/MultiverseModManager,Lymia/MPPatch
53fb1d6222c2e7987a573b86ee8794278d481ee4
state/initialize.lua
state/initialize.lua
--[[-- INITIALIZE STATE ---- Initialize resources needed for the game. --]]-- local st = RunState.new() local mt = {__tostring = function() return 'RunState.initialize' end} setmetatable(st, mt) local World = getClass 'wyx.map.World' function st:init() -- entity databases Her...
--[[-- INITIALIZE STATE ---- Initialize resources needed for the game. --]]-- local st = RunState.new() local mt = {__tostring = function() return 'RunState.initialize' end} setmetatable(st, mt) local World = getClass 'wyx.map.World' function st:init() -- entity databases Her...
fix negative game seeds
fix negative game seeds
Lua
mit
scottcs/wyx
d40e33b66e647b6eaba2cf23bac5b172c7575dfe
modules/data/prop.lua
modules/data/prop.lua
sptbl["prop"] = { files = { module = "prop.c", header = "prop.h", example = "ex_prop.c", }, func = { create = "sp_prop_create", destroy = "sp_prop_destroy", init = "sp_prop_init", compute = "sp_prop_compute", other = { sp_prop_res...
sptbl["prop"] = { files = { module = "prop.c", header = "prop.h", example = "ex_prop.c", }, func = { create = "sp_prop_create", destroy = "sp_prop_destroy", init = "sp_prop_init", compute = "sp_prop_compute", other = { sp_prop_res...
prop: doc fix
prop: doc fix
Lua
mit
aure/Soundpipe,narner/Soundpipe,narner/Soundpipe,narner/Soundpipe,narner/Soundpipe,aure/Soundpipe,aure/Soundpipe,aure/Soundpipe
5353fc66cadec019c8f893c9328ad35b7ebae4f0
game/scripts/vscripts/data/abilities.lua
game/scripts/vscripts/data/abilities.lua
LINKED_ABILITIES = { shredder_chakram_2 = {"shredder_return_chakram_2"}, shredder_chakram = {"shredder_return_chakram"}, kunkka_x_marks_the_spot = {"kunkka_return"}, life_stealer_infest = {"life_stealer_control", "life_stealer_consume"}, rubick_telekinesis = {"rubick_telekinesis_land"}, bane_nightmare = {"bane_ni...
LINKED_ABILITIES = { shredder_chakram_2 = {"shredder_return_chakram_2"}, shredder_chakram = {"shredder_return_chakram"}, kunkka_x_marks_the_spot = {"kunkka_return"}, life_stealer_infest = {"life_stealer_control", "life_stealer_consume"}, rubick_telekinesis = {"rubick_telekinesis_land"}, bane_nightmare = {"bane_ni...
fix(abilities): Morphling - Adaptive Strike (strength) pushes bosses
fix(abilities): Morphling - Adaptive Strike (strength) pushes bosses Fixes #37
Lua
mit
ark120202/aabs
c5db70b03b6ca83fefad0939881e760614897106
mod_auth_joomla/mod_auth_joomla.lua
mod_auth_joomla/mod_auth_joomla.lua
-- Joomla authentication backend for Prosody -- -- Copyright (C) 2011 Waqas Hussain -- local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; local saslprep = require "util.encodings".stringprep.saslprep; local DBI = require "DBI" local md5 = require "util.hashes".md5;...
-- Joomla authentication backend for Prosody -- -- Copyright (C) 2011 Waqas Hussain -- local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; local saslprep = require "util.encodings".stringprep.saslprep; local DBI = require "DBI" local md5 = require "util.hashes".md5;...
mod_auth_joomla: Added config option sql.prefix (default = "jos_").
mod_auth_joomla: Added config option sql.prefix (default = "jos_").
Lua
mit
NSAKEY/prosody-modules,olax/prosody-modules,vince06fr/prosody-modules,obelisk21/prosody-modules,crunchuser/prosody-modules,stephen322/prosody-modules,softer/prosody-modules,stephen322/prosody-modules,vince06fr/prosody-modules,iamliqiang/prosody-modules,joewalker/prosody-modules,Craige/prosody-modules,syntafin/prosody-m...
0c6a332b7b780ac3e11513b3ecc286a27f23f540
lib/redis_hook.lua
lib/redis_hook.lua
-- Helper Methods function emptyGif() ngx.exec('/_.gif') end function logErrorAndExit(err) ngx.log(ngx.ERR, err) emptyGif() end function initRedis() local redis = require "resty.redis" local red = redis:new() red:set_timeout(3000) -- 3 sec local ok, err = red:connect("127.0.0.1", 6379) if not ok th...
-- Helper Methods function emptyGif() ngx.exec('/_.gif') end function logErrorAndExit(err) ngx.log(ngx.ERR, err) emptyGif() end function initRedis() local redis = require "resty.redis" local red = redis:new() red:set_timeout(3000) -- 3 sec local ok, err = red:connect("127.0.0.1", 6379) if not ok th...
fixed last week of the year edge case
fixed last week of the year edge case
Lua
mit
FTBpro/count-von-count,FTBpro/count-von-count
88a53372c1db03271a5ff09c51c87592c738b020
mods/colored_steel/init.lua
mods/colored_steel/init.lua
colored_steel = {} function colored_steel.register_steel(color) minetest.register_node("colored_steel:block_"..color, { description = color .. " Steel Block", tiles = {"default_steel_block.png^[colorize:"..color..":100"}, is_ground_content = false, groups = {cracky=1,level=2}, sounds = default.node_sound_...
colored_steel = {} function colored_steel.register_steel(color) minetest.register_node("colored_steel:block_"..color, { description = color .. " Steel Block", tiles = {"default_steel_block.png^[colorize:"..color..":100"}, is_ground_content = false, groups = {cracky=1,level=2}, sounds = default.node_sound_...
[colored_steel] Update - Fix #40
[colored_steel] Update - Fix #40
Lua
unlicense
MinetestForFun/server-minetestforfun-creative,MinetestForFun/server-minetestforfun-creative,MinetestForFun/server-minetestforfun-creative
5b7db483728cfdd735e3bb8819d1320671836762
mods/fire/init.lua
mods/fire/init.lua
-- minetest/fire/init.lua minetest.register_node("fire:basic_flame", { description = "Fire", drawtype = "firelike", tiles = {{ name="fire_basic_flame_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1}, }}, inventory_image = "fire_basic_flame.png", light_source = 14, groups...
-- minetest/fire/init.lua fire = {} minetest.register_node("fire:basic_flame", { description = "Fire", drawtype = "firelike", tiles = {{ name="fire_basic_flame_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1}, }}, inventory_image = "fire_basic_flame.png", light_source = ...
Fix various fire sound bugs
Fix various fire sound bugs
Lua
lgpl-2.1
evrooije/beerarchy,evrooije/beerarchy,evrooije/beerarchy
44ed5515ea64f6625aab52ca9a075b8b47f1bccc
roles/dotfiles/files/.hammerspoon/init.lua
roles/dotfiles/files/.hammerspoon/init.lua
hs.grid.setGrid('12x12') -- allows us to place on quarters, thirds and halves hs.window.animationDuration = 0 -- disable animations local lastSeenChain = nil local lastSeenWindow = nil function chain(movements) local chainResetInterval = 2000 local cycleLength = #movements local sequenceNumber = 1 return fun...
hs.grid.setGrid('12x12') -- allows us to place on quarters, thirds and halves hs.window.animationDuration = 0 -- disable animations local lastSeenChain = nil local lastSeenWindow = nil -- chain the specified movement commands function chain(movements) local chainResetInterval = 2 -- seconds local cycleLength = #m...
git ci -m 'hammerspoon: fix chain reset interval [master●●●] ~/code/wincent
git ci -m 'hammerspoon: fix chain reset interval [master●●●] ~/code/wincent `secondsSinceEpoch` returns seconds, not milliseconds (but note: it's a double-precision float, so the resolution is still better than...
Lua
unlicense
wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent
5ba0c6aeb201dfdb889f01b4d4558f0f3ea6112e
testserver/item/id_361_altar.lua
testserver/item/id_361_altar.lua
-- UPDATE common SET com_script='item.id_361_altar' WHERE com_itemid IN (361); require("base.common") require("content.gods") module("item.id_361_altar", package.seeall, package.seeall(content.gods)) function LookAtItem(User, Item) if Item.data ==100 then --used for THE LIBRARY quest if (User:getPlayerLanguage()...
-- UPDATE common SET com_script='item.id_361_altar' WHERE com_itemid IN (361); require("base.common") require("content.gods") module("item.id_361_altar", package.seeall, package.seeall(content.gods)) function LookAtItem(User, Item) if tonumber(Item:getData("libraryQuest")) ==100 then --used for THE LIBRARY quest ...
replaced old data and fixed lookat
replaced old data and fixed lookat
Lua
agpl-3.0
Baylamon/Illarion-Content,LaFamiglia/Illarion-Content,Illarion-eV/Illarion-Content,KayMD/Illarion-Content,vilarion/Illarion-Content
a638096ce3be7e591a9ca64cdab74cf42651ba22
minetestforfun_game/mods/bucket/init.lua
minetestforfun_game/mods/bucket/init.lua
-- Minetest 0.4 mod: bucket -- See README.txt for licensing and other information. minetest.register_alias("bucket", "bucket:bucket_empty") minetest.register_alias("bucket_water", "bucket:bucket_water") minetest.register_alias("bucket_acid", "bucket:bucket_acid") minetest.register_alias("bucket_lava", "bucket:bucket_l...
-- Minetest 0.4 mod: bucket -- See README.txt for licensing and other information. minetest.register_alias("bucket", "bucket:bucket_empty") minetest.register_alias("bucket_water", "bucket:bucket_water") minetest.register_alias("bucket_acid", "bucket:bucket_acid") minetest.register_alias("bucket_lava", "bucket:bucket_l...
Implementation of multiple buckets handler - Uncommented and changed a bit the lines of Casimir's redefinition of bucket:bucket_empty in ./minetestforfun_game/mods/bucket/init.lua to implement multiple buckets handle system, commented in an old commit (it was buggy, or something). The system has been modified a bit to ...
Implementation of multiple buckets handler - Uncommented and changed a bit the lines of Casimir's redefinition of bucket:bucket_empty in ./minetestforfun_game/mods/bucket/init.lua to implement multiple buckets handle system, commented in an old commit (it was buggy, or something). The system has been modified a bit to ...
Lua
unlicense
Ombridride/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,paly2/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,Coethium/server-minetestforfun,paly2/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,Mi...
de2d6185e9daf91f389121778fb1b53ef0ec87f8
orange/plugins/kafka/handler.lua
orange/plugins/kafka/handler.lua
local BasePlugin = require("orange.plugins.base_handler") local cjson = require "cjson" local producer = require "resty.kafka.producer" local KafkaHandler = BasePlugin:extend() KafkaHandler.PRIORITY = 2000 function KafkaHandler:new(store) KafkaHandler.super.new(self, "key_auth-plugin") self.store = store end...
local BasePlugin = require("orange.plugins.base_handler") local cjson = require "cjson" local producer = require "resty.kafka.producer" local KafkaHandler = BasePlugin:extend() KafkaHandler.PRIORITY = 2000 function KafkaHandler:new(store) KafkaHandler.super.new(self, "kafka-plugin") self.store = store end l...
1. fix: name error. 2: compliant with plug dynamic_upstream 3:refact: replace ngx.log with local fun errlog
1. fix: name error. 2: compliant with plug dynamic_upstream 3:refact: replace ngx.log with local fun errlog
Lua
mit
thisverygoodhhhh/orange,thisverygoodhhhh/orange,thisverygoodhhhh/orange,sumory/orange,sumory/orange,sumory/orange
e9d1f0245cf4f9788736d4120d02a8c490e146a4
protocols/ppp/luasrc/model/network/proto_ppp.lua
protocols/ppp/luasrc/model/network/proto_ppp.lua
--[[ LuCI - Network model - 3G, PPP, PPtP, PPPoE and PPPoA protocol extension Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
--[[ LuCI - Network model - 3G, PPP, PPtP, PPPoE and PPPoA protocol extension Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
fix is_installed() check for l2tp
fix is_installed() check for l2tp Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@9541 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci
0e48785e0e3df7c042ef047801876584a3d6c72d
reader.lua
reader.lua
#!./kpdfview --[[ KindlePDFViewer: a reader implementation Copyright (C) 2011 Hans-Werner Hilse <hilse@web.de> 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 3 of ...
#!./kpdfview --[[ KindlePDFViewer: a reader implementation Copyright (C) 2011 Hans-Werner Hilse <hilse@web.de> 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 3 of ...
fix #36: enable file path back
fix #36: enable file path back
Lua
agpl-3.0
apletnev/koreader-base,NiLuJe/koreader-base,chrox/koreader,pazos/koreader,ashang/koreader,Frenzie/koreader-base,poire-z/koreader,Hzj-jie/koreader,Markismus/koreader,frankyifei/koreader,Frenzie/koreader,Hzj-jie/koreader-base,NickSavage/koreader,koreader/koreader-base,Frenzie/koreader-base,NiLuJe/koreader,chihyang/koread...
0c223c87b3bd8fe7fdf921545ba50854aa9f2ad9
mods/irc/init.lua
mods/irc/init.lua
-- This file is licensed under the terms of the BSD 2-clause license. -- See LICENSE.txt for details. local modpath = minetest.get_modpath(minetest.get_current_modname()) package.path = -- To find LuaIRC's init.lua modpath.."/?/init.lua;" -- For LuaIRC to find its files ..modpath.."/?.lua;" ..package.path ...
-- This file is licensed under the terms of the BSD 2-clause license. -- See LICENSE.txt for details. local modpath = minetest.get_modpath(minetest.get_current_modname()) package.path = -- To find LuaIRC's init.lua modpath.."/?/init.lua;" -- For LuaIRC to find its files ..modpath.."/?.lua;" ..package.path ...
IRC's bugfix #1 after update
IRC's bugfix #1 after update
Lua
unlicense
LeMagnesium/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,Ombridride/minetest-minetestforfun-server,Gael-de-Sailly/minetest-minetestforfun-server,sys4-fr/server-minetestforfun,crabman77/minetest-minetestforfun-s...
ecbfe541f8ab26261494821d1f0942a4b11cb834
module/admin-core/src/model/cbi/admin_index/luci.lua
module/admin-core/src/model/cbi/admin_index/luci.lua
-- ToDo: Translate, Add descriptions and help texts m = Map("luci", "FFLuCI") c = m:section(NamedSection, "main", "core", "Allgemein") c:option(Value, "lang", "Sprache") c:option(Value, "mediaurlbase", "Mediaverzeichnis") f = m:section(NamedSection, "flash", "extern", "Firmwareupgrade") f:option(Value, "keep", "Übern...
-- ToDo: Translate, Add descriptions and help texts m = Map("luci", "FFLuCI") c = m:section(NamedSection, "main", "core", "Allgemein") c:option(Value, "lang", "Sprache") c:option(Value, "mediaurlbase", "Mediaverzeichnis") f = m:section(NamedSection, "flash_keep", "extern", "Zu übernehmende Dateien bei Firmwareupgrade...
* Fixed changed layout of flash_keep in admin > index
* Fixed changed layout of flash_keep in admin > index
Lua
apache-2.0
deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,8devices/luci,deepak78/luci
d2b76b191deb5198ccf75017600d67705c24ea22
objects/internal/menuoption.lua
objects/internal/menuoption.lua
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- menuoption object local newobject = loveframes.NewObject("menuoption", "loveframes_object_menuoption", true) --[[------------...
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- menuoption object local newobject = loveframes.NewObject("menuoption", "loveframes_object_menuoption", true) --[[------------...
Fix submenu positioning
Fix submenu positioning
Lua
mit
SimLeek/the-Open-Source-Pony-Game
94cdc74e851b9eeb4d6bd64d8f853ae3be67fc27
npc/base/talk.lua
npc/base/talk.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
Fix #107
Fix #107
Lua
agpl-3.0
Illarion-eV/Illarion-Content,vilarion/Illarion-Content,KayMD/Illarion-Content
6e93078cf12179a6884c3fa3fe85c3b72b52619b
item/id_2207_well.lua
item/id_2207_well.lua
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
fix my climbing errors again
fix my climbing errors again
Lua
agpl-3.0
LaFamiglia/Illarion-Content,Baylamon/Illarion-Content,vilarion/Illarion-Content,Illarion-eV/Illarion-Content,KayMD/Illarion-Content
bf0d07d6982011f256a3759eb3455e8a96faf798
src/nodes/rock.lua
src/nodes/rock.lua
local Rock = {} Rock.__index = Rock Rock.rock = true local RockImage = love.graphics.newImage('images/rock.png') local RockItem = require('items/rockItem') --- -- Creates a new rock object -- @return the rock object created function Rock.new(node, collider) local rock = {} setmetatable(rock, Rock) rock.im...
local Rock = {} Rock.__index = Rock Rock.rock = true local RockImage = love.graphics.newImage('images/rock.png') local RockItem = require('items/rockItem') --- -- Creates a new rock object -- @return the rock object created function Rock.new(node, collider) local rock = {} setmetatable(rock, Rock) rock.im...
Fixed bug where player could pick up rock if they were anywhere in the level
Fixed bug where player could pick up rock if they were anywhere in the level
Lua
mit
hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-client-lua,hawkthorne/hawkthorne-server-lua,hawkthorne/hawkthorne-client-lua
d3316568e18e06efc84b5864e82e9c2580597f75
kong/plugins/jwt/schema.lua
kong/plugins/jwt/schema.lua
local typedefs = require "kong.db.schema.typedefs" return { name = "jwt", fields = { { protocols = typedefs.protocols_http }, { config = { type = "record", fields = { { uri_param_names = { type = "set", elements = { type = "string" }, def...
local typedefs = require "kong.db.schema.typedefs" return { name = "jwt", fields = { { consumer = typedefs.no_consumer }, { protocols = typedefs.protocols_http }, { config = { type = "record", fields = { { uri_param_names = { type = "set", elements...
fix(JWT) do not allow on consumer (#6777)
fix(JWT) do not allow on consumer (#6777)
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
4712a8ebb14be99341734b5657a35ec2f882ca5c
tests/test-dns.lua
tests/test-dns.lua
return require('lib/tap')(function (test) local isWindows = require('lib/utils').isWindows local function errorAllowed(err) -- allowed errors from gnulib's test-getaddrinfo.c return err == "EAI_AGAIN" -- offline/no network connection or err == "EAI_NONAME" -- IRIX returns this for "https" or...
return require('lib/tap')(function (test) local isWindows = require('lib/utils').isWindows local function errorAllowed(err) -- allowed errors from gnulib's test-getaddrinfo.c return err == "EAI_AGAIN" -- offline/no network connection or err == "EAI_NONAME" -- IRIX returns this for "https" or...
Fix test-dns's sync getaddrinfo test when using libuv < 1.3.0
Fix test-dns's sync getaddrinfo test when using libuv < 1.3.0
Lua
apache-2.0
zhaozg/luv,luvit/luv,luvit/luv,zhaozg/luv
3fefaaf27210732c8378e27397991a38258c8a04
.config/awesome/widgets/mail.lua
.config/awesome/widgets/mail.lua
local wibox = require("wibox") local awful = require("awful") local gears = require("gears") local mail = {} --- Email local path_to_icons = "/usr/share/icons/Arc/actions/22/" local mail_icon = wibox.widget.imagebox() mail_icon:set_image(path_to_icons .. "/mail-mark-unread.png") -- mail_icon:set_image(awful.util.get...
local wibox = require("wibox") local awful = require("awful") local gears = require("gears") local mail = {} --- Email local path_to_icons = "/usr/share/icons/Arc/actions/22/" local mail_icon = wibox.widget.imagebox() mail_icon:set_image(path_to_icons .. "/mail-mark-unread.png") -- mail_icon:set_image(awful.util.get...
AwesomeWM: Fix mail widget timer
AwesomeWM: Fix mail widget timer
Lua
mit
hershsingh/dotfiles,hershsingh/dotfiles
4df1c3340d44e27a35af825473b1c4e091f8db09
upcache/common.lua
upcache/common.lua
local module = {} local mp = require 'MessagePack' local log = ngx.log local ERR = ngx.ERR local INFO = ngx.INFO local json = require 'cjson.safe' module.console = {} function module.console.info(...) return log(INFO, ...) end function module.console.error(...) return log(ERR, ...) end function module.console.e...
local module = {} local mp = require 'MessagePack' local log = ngx.log local ERR = ngx.ERR local INFO = ngx.INFO local json = require 'cjson.safe' module.console = {} function module.console.info(...) return log(INFO, ...) end function module.console.error(...) return log(ERR, ...) end function module.console.e...
Fix error in getting restrictions
Fix error in getting restrictions
Lua
mit
kapouer/upcache,kapouer/cache-protocols
58459619733b04f1d7e8c15fd4ba09d5ba47da08
genie.lua
genie.lua
newoption { trigger = "UWP", description = "Generates Universal Windows Platform application type", } newoption { trigger = "DX12", description = "Generates a sample for DirectX12", } if not _ACTION then _ACTION="vs2017" end outFolderRoot = "Bin/" .. _ACTION .. "/"; isVisualStudio = false isUWP = false if _AC...
newoption { trigger = "UWP", description = "Generates Universal Windows Platform application type", } newoption { trigger = "DX12", description = "Generates a sample for DirectX12", } if not _ACTION then _ACTION="vs2017" end outFolderRoot = "Bin/" .. _ACTION .. "/"; isVisualStudio = false isUWP = false isDX12 ...
Fixing appveyor compilation.
Fixing appveyor compilation.
Lua
mit
bombomby/brofiler,bombomby/brofiler,bombomby/brofiler
03c28d829fb4a880cd7530548f23286169408c2c
Game/data/scripts/Config.lua
Game/data/scripts/Config.lua
Config = { camera = { distance = 5.0, -- initial distance of camera distanceDelta = 3, -- delta of distance change distanceMin = 2.0, distanceMax = 3000.0, hightFactor = 0.5, -- 0..1 factor for hight of camera initLook = Vec2(0.0, 20.0), rotationSpeedFactor = 50, rotationSpeedFactorGamePad = 2...
Config = { camera = { distance = 5.0, -- initial distance of camera distanceDelta = 3, -- delta of distance change distanceMin = 2.0, distanceMax = 3000.0, hightFactor = 0.5, -- 0..1 factor for hight of camera initLook = Vec2(0.0, 20.0), rotationSpeedFactor = 50, rotationSpeedFactorGamePad = 2...
fixed bug.
fixed bug.
Lua
mit
pampersrocker/risky-epsilon,pampersrocker/risky-epsilon,pampersrocker/risky-epsilon