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
81db4a4fd562780caeb9194db11f85fe932a2bfd
src/lua/lzmq/llthreads/ex.lua
src/lua/lzmq/llthreads/ex.lua
-- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.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 u...
-- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.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 u...
Fix. Use correct $LUA_INIT variable when create new thread.
Fix. Use correct $LUA_INIT variable when create new thread.
Lua
mit
LuaDist/lzmq,LuaDist/lzmq-ffi,moteus/lzmq,zeromq/lzmq,moteus/lzmq,bsn069/lzmq,zeromq/lzmq,moteus/lzmq,zeromq/lzmq,LuaDist/lzmq-ffi,LuaDist/lzmq,bsn069/lzmq
6cf9dab6e5092e7c12a69623c7481ec198f3783e
item/id_164_emptybottle.lua
item/id_164_emptybottle.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...
set quality of items to 333 explicitly, rather than rely on server to interpret 0 as 333
set quality of items to 333 explicitly, rather than rely on server to interpret 0 as 333 While here fix erase of an empty bottle
Lua
agpl-3.0
vilarion/Illarion-Content,Baylamon/Illarion-Content,Illarion-eV/Illarion-Content,KayMD/Illarion-Content
242be864d3e0a1c287ac0c3ecac4566cf79d5ad3
src_trunk/resources/item-system/s_move_items.lua
src_trunk/resources/item-system/s_move_items.lua
local function openInventory( element, ax, ay ) triggerEvent( "subscribeToInventoryChanges", source, element ) triggerClientEvent( source, "openElementInventory", element, ax, ay ) end addEvent( "openFreakinInventory", true ) addEventHandler( "openFreakinInventory", getRootElement(), openInventory ) -- l...
local function openInventory( element, ax, ay ) triggerEvent( "subscribeToInventoryChanges", source, element ) triggerClientEvent( source, "openElementInventory", element, ax, ay ) end addEvent( "openFreakinInventory", true ) addEventHandler( "openFreakinInventory", getRootElement(), openInventory ) -- l...
moving weapons fix
moving weapons fix git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@1681 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
23eec4877efc7ed4d20b5673d47acfc29d8d73ef
kong/api/routes/plugins.lua
kong/api/routes/plugins.lua
local kong = kong local null = ngx.null local cjson = require "cjson" local utils = require "kong.tools.utils" local reports = require "kong.reports" local endpoints = require "kong.api.endpoints" local arguments = require "kong.api.arguments" local singletons = require "kong.singletons" local type = type local pairs...
local kong = kong local null = ngx.null local cjson = require "cjson" local utils = require "kong.tools.utils" local reports = require "kong.reports" local endpoints = require "kong.api.endpoints" local arguments = require "kong.api.arguments" local singletons = require "kong.singletons" local type = type local pairs...
fix(api) encode non-JSON-representable numbers as strings
fix(api) encode non-JSON-representable numbers as strings Unlike Lua tables, the JSON standard does not support NaN and infinities. When representing plugin schemas, we now convert these special numbers to strings (case in point: the datadog plugin had a validator using `between = {1, math.huge}` and this was causing ...
Lua
apache-2.0
Mashape/kong,Kong/kong,Kong/kong,Kong/kong
bf4cada8517e3041b9713437bcbb02ebec1cfaaf
src/Ninja.lua
src/Ninja.lua
local P = {} local System = require 'System' local format = string.format local concat = table.concat local function indent(n) return string.rep(' ', n or 4) end local function indented(line, n) return concat { indent(n), line } end local function separated(str) if not string.empty(str) then ret...
local P = {} local System = require 'System' local format = string.format local concat = table.concat local function indent(n) return string.rep(' ', n or 4) end local function indented(line, n) return concat { indent(n), line } end local function separated(str) if not string.empty(str) then ret...
Consider 'provide patches' stages to be generators
Consider 'provide patches' stages to be generators This fixes the unnecessary full rebuild when patches are added or removed to the list.
Lua
mit
bazurbat/jagen
f9f2cdda488d48a0714f8915c979405686f569c4
config/vcfanno/hg38-gemini.lua
config/vcfanno/hg38-gemini.lua
function mean(vals) local sum=0 for i=1,#vals do sum = sum + vals[i] end return sum / #vals end function loc(chrom, start, stop) return chrom .. ":" .. start .. "-" .. stop end CLINVAR_LOOKUP = {} CLINVAR_LOOKUP['0'] = 'unknown' CLINVAR_LOOKUP['1'] = 'germline' CLINVAR_LOOKUP['2'] = 'somatic' CLINVAR_LOO...
function mean(vals) local sum=0 for i=1,#vals do sum = sum + vals[i] end return sum / #vals end function loc(chrom, start, stop) return chrom .. ":" .. start .. "-" .. stop end CLINVAR_LOOKUP = {} CLINVAR_LOOKUP['0'] = 'unknown' CLINVAR_LOOKUP['1'] = 'germline' CLINVAR_LOOKUP['2'] = 'somatic' CLINVAR_LOO...
vcfanno clinvar fix https://github.com/brentp/vcfanno/commit/5fcce8db2aeee016ab927c8ca36a715c02f982f9
vcfanno clinvar fix https://github.com/brentp/vcfanno/commit/5fcce8db2aeee016ab927c8ca36a715c02f982f9
Lua
mit
chapmanb/bcbio-nextgen,a113n/bcbio-nextgen,vladsaveliev/bcbio-nextgen,lbeltrame/bcbio-nextgen,biocyberman/bcbio-nextgen,biocyberman/bcbio-nextgen,vladsaveliev/bcbio-nextgen,chapmanb/bcbio-nextgen,vladsaveliev/bcbio-nextgen,chapmanb/bcbio-nextgen,biocyberman/bcbio-nextgen,lbeltrame/bcbio-nextgen,a113n/bcbio-nextgen,a113...
56424931bb72b38151fb359d5d5f862a23fea5b8
applications/luci-app-samba/luasrc/model/cbi/samba.lua
applications/luci-app-samba/luasrc/model/cbi/samba.lua
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("samba", translate("Network Shares")) s = m:section(TypedSection, "samba", "Samba") s.anonymous = true s:tab("general", translate("General Settings"...
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("samba", translate("Network Shares")) s = m:section(TypedSection, "samba", "Samba") s.anonymous = true s:tab("general", translate("General Settings"...
luci-app-samba: Shared directory help text.
luci-app-samba: Shared directory help text. A forum.lede-project.org member had trouble understanding how to configure Samba. This is help text for Shared Directories. Signed-off-by: Bob Meizlik <49789270d5e07f11c9508b38eced9deb06403d64@squakmt.com> [whitespace fixed] Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc21...
Lua
apache-2.0
hnyman/luci,kuoruan/luci,artynet/luci,openwrt-es/openwrt-luci,remakeelectric/luci,rogerpueyo/luci,tobiaswaldvogel/luci,artynet/luci,chris5560/openwrt-luci,artynet/luci,kuoruan/luci,Wedmer/luci,Wedmer/luci,openwrt/luci,Noltari/luci,Noltari/luci,openwrt-es/openwrt-luci,nmav/luci,wongsyrone/luci-1,wongsyrone/luci-1,981213...
cc7b91030c9f23f3d36d7d9ca70603a9b7b9d6a7
testserver/item/base/music.lua
testserver/item/base/music.lua
-- Standardskript fr Instrumente -- Nitram require("base.common") module("item.base.music", package.seeall) TalkTexts={[Character.flute] = {}, [Character.lute] = {}, [Character.horn] = {}, [Character.harp] = {}, [Character.panpipe] = {}, [Character.drum] = {}}; function addTalkText(eText,gText, Skill) table.ins...
-- Standardskript fr Instrumente -- Nitram require("base.common") module("item.base.music", package.seeall) TalkTexts={[Character.flute] = {}, [Character.lute] = {}, [Character.horn] = {}, [Character.harp] = {}, [Character.panpipe] = {}, [Character.drum] = {}}; function addTalkText(eText,gText, Skill) table.ins...
Fix instrument learning
Fix instrument learning
Lua
agpl-3.0
Illarion-eV/Illarion-Content,Baylamon/Illarion-Content,vilarion/Illarion-Content,LaFamiglia/Illarion-Content,KayMD/Illarion-Content
40ffdd3355f14b43830f48a497d3960a52e26ffc
modules/commotion/root/usr/lib/lua/commotion_helpers.lua
modules/commotion/root/usr/lib/lua/commotion_helpers.lua
function DIE(str) luci.http.status(500, "Internal Server Error") luci.http.write(str) luci.http.close() end --- Redirects a page to https if the path is within the "node" path. -- @param node node path to check. format as such -> "/NODE/" -- @param env A table containing the REQUEST_URI and the SERVER_NAME. Can t...
function DIE(str) luci.http.status(500, "Internal Server Error") luci.http.write(str) luci.http.close() end --- Redirects a page to https if the path is within the "node" path. -- @param node node path to check. format as such -> "/NODE/" -- @param env A table containing the REQUEST_URI and the SERVER_NAME. Can t...
fixes to commotion_helpers
fixes to commotion_helpers
Lua
apache-2.0
opentechinstitute/luci-commotion-linux,opentechinstitute/luci-commotion-linux,opentechinstitute/luci-commotion-linux,opentechinstitute/luci-commotion-linux,opentechinstitute/luci-commotion-linux,opentechinstitute/luci-commotion-linux
492e2d76881522aa303890b268a53fb9c8cd9f0f
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.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...
applications/luci-ddns: fix dyndns config page
applications/luci-ddns: fix dyndns config page git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5463 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
Flexibity/luci,freifunk-gluon/luci,yeewang/openwrt-luci,eugenesan/openwrt-luci,eugenesan/openwrt-luci,Flexibity/luci,ch3n2k/luci,8devices/carambola2-luci,8devices/carambola2-luci,ThingMesh/openwrt-luci,ThingMesh/openwrt-luci,projectbismark/luci-bismark,phi-psi/luci,stephank/luci,phi-psi/luci,Canaan-Creative/luci,yeewan...
e11be4362d3c13db1cab2d93269c5faa268d4b8f
agents/monitoring/tests/fixtures/protocol/server.lua
agents/monitoring/tests/fixtures/protocol/server.lua
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local string = require('string') local math = require('math') local lineEmitter = LineEmitter:new() local ports = {500...
local net = require('net') local JSON = require('json') local fixtures = require('./') local LineEmitter = require('line-emitter').LineEmitter local tls = require('tls') local timer = require('timer') local string = require('string') local math = require('math') local lineEmitter = LineEmitter:new() local ports = {500...
monitoring: fixtures: server: add listen_ip option
monitoring: fixtures: server: add listen_ip option make it possible to run this thing over the internet
Lua
apache-2.0
cp16net/virgo-base,kaustavha/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,cp16net/virgo-base,christopherjwang/rackspace-monitoring-agent,cp16net/virgo-base,christop...
a9119dc198db95a34a2193e342d07e81ba2b43ce
Mjolnir/setup.lua
Mjolnir/setup.lua
os.exit = mj._exit local function pack(...) return {n = select("#", ...), ...} end function mj.runstring(s) local fn, err = loadstring("return " .. s) if not fn then fn, err = loadstring(s) end if not fn then return tostring(err) end local str = "" local results = pack(pcall(fn)) for i = 2,results.n do...
os.exit = mj._exit local function pack(...) return {n = select("#", ...), ...} end function mj.runstring(s) local fn, err = loadstring("return " .. s) if not fn then fn, err = loadstring(s) end if not fn then return tostring(err) end local str = "" local results = pack(pcall(fn)) for i = 2,results.n do...
Fixing use of non-existent function.
Fixing use of non-existent function.
Lua
mit
wvierber/hammerspoon,nkgm/hammerspoon,wsmith323/hammerspoon,peterhajas/hammerspoon,dopcn/hammerspoon,Hammerspoon/hammerspoon,bradparks/hammerspoon,chrisjbray/hammerspoon,asmagill/hammerspoon,latenitefilms/hammerspoon,lowne/hammerspoon,lowne/hammerspoon,heptal/hammerspoon,Hammerspoon/hammerspoon,CommandPost/CommandPost-...
254cdded77a1a05d7f16d0a677374cdc55349c66
packages/dnsmasq-lease-share/src/dnsmasq-lease-share.lua
packages/dnsmasq-lease-share/src/dnsmasq-lease-share.lua
#!/usr/bin/lua --[[ Copyright (C) 2013 Gioacchino Mazzurco <gio@eigenlab.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version....
#!/usr/bin/lua --[[ Copyright (C) 2013 Gioacchino Mazzurco <gio@eigenlab.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version....
own lease had an expiry time in the past, fix that and set it to 10 minutes in the future
own lease had an expiry time in the past, fix that and set it to 10 minutes in the future
Lua
agpl-3.0
p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages
085c778b4cbc15c075fa4a81fd01a3f1d877744c
lib/resty/auto-ssl/storage_adapters/redis.lua
lib/resty/auto-ssl/storage_adapters/redis.lua
local redis = require "resty.redis" local _M = {} local function prefixed_key(self, key) if self.options["prefix"] then return self.options["prefix"] .. ":" .. key else return key end end function _M.new(auto_ssl_instance) local options = auto_ssl_instance:get("redis") or {} if not options["host"]...
local redis = require "resty.redis" local _M = {} local function prefixed_key(self, key) if self.options["prefix"] then return self.options["prefix"] .. ":" .. key else return key end end function _M.new(auto_ssl_instance) local options = auto_ssl_instance:get("redis") or {} if not options["host"]...
Fix custom redis connect options in older OpenResty versions.
Fix custom redis connect options in older OpenResty versions. Fix for our OpenResty 1.11.2 tests, where `nil` options seem to cause issues, but an empty table works as expected.
Lua
mit
GUI/lua-resty-auto-ssl
1dcfe0d19a8c47d87b8afbe800abdfb9bdbfed67
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
[applications] luci-olsr: Fix enable option for interfaces
[applications] luci-olsr: Fix enable option for interfaces
Lua
apache-2.0
aa65535/luci,oneru/luci,keyidadi/luci,openwrt/luci,opentechinstitute/luci,marcel-sch/luci,Hostle/luci,mumuqz/luci,mumuqz/luci,db260179/openwrt-bpi-r1-luci,ReclaimYourPrivacy/cloak-luci,cshore-firmware/openwrt-luci,rogerpueyo/luci,palmettos/test,palmettos/cnLuCI,slayerrensky/luci,oyido/luci,oneru/luci,db260179/openwrt-b...
60d91b48c93059ca68e06decabd7e02cc36b88d6
kong/cmd/utils/migrations.lua
kong/cmd/utils/migrations.lua
local log = require "kong.cmd.utils.log" local MIGRATIONS_MUTEX_KEY = "migrations" local NOT_LEADER_MSG = "aborted: another node is performing database changes" local NEEDS_BOOTSTRAP_MSG = "Database needs bootstrapping or is older than Kong 1.0.\n\n" .. "To start a new installation from scratch, run 'kong migration...
local log = require "kong.cmd.utils.log" local MIGRATIONS_MUTEX_KEY = "migrations" local NOT_LEADER_MSG = "aborted: another node is performing database changes" local NEEDS_BOOTSTRAP_MSG = "Database needs bootstrapping or is older than Kong 1.0.\n\n" .. "To start a new installation from scratch, run 'kong migration...
fix(cli) do not print out stacktraces when running `kong migrations up` with pending migrations
fix(cli) do not print out stacktraces when running `kong migrations up` with pending migrations Fixes #6105 reported by @jeremyjpj0916. The stacktrace is not necessary as it is not a real error, but just a way for us to get out of the cluster mutex callback. In the future we may want to allow cluster mutex to handl...
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
1ecc7698aa5861a2a2c4be4cf0f7b0090309eee9
game/scripts/vscripts/modules/attributes/attributes.lua
game/scripts/vscripts/modules/attributes/attributes.lua
ModuleRequire(..., "data") for propName, propValue in pairs(ATTRIBUTE_LIST) do if propValue.recalculate == nil then ModuleLinkLuaModifier(..., "modifier_attribute_" .. propName, "modifiers") end end if not Attributes then Attributes = class({}) Attributes.Applier = CreateItem("item_dummy", nil, nil) end functi...
ModuleRequire(..., "data") for propName, propValue in pairs(ATTRIBUTE_LIST) do if propValue.recalculate == nil then ModuleLinkLuaModifier(..., "modifier_attribute_" .. propName, "modifiers") end end if not Attributes then Attributes = class({}) Attributes.Applier = CreateItem("item_dummy", nil, nil) end functi...
fix(attributes): GetTotalPropValue returns amount of stacks instead of actual number
fix(attributes): GetTotalPropValue returns amount of stacks instead of actual number Also fixes wrong before-spell amplify damage calculation
Lua
mit
ark120202/aabs
bba06d7d7e88d37ea8d8e5dfe84b61a80f1b0579
lua/entities/gmod_wire_expression2/core/custom/wiring.lua
lua/entities/gmod_wire_expression2/core/custom/wiring.lua
-- Originally by Jeremydeath, updated by Nebual + Natrim's wirelink E2Lib.RegisterExtension("wiring", false) __e2setcost(30) --- Creates an invisible wire between the input <inputname> of <this> and the output <outputname> of <ent2> e2function number entity:createWire(entity ent2, string inputname, string outputname...
-- Originally by Jeremydeath, updated by Nebual + Natrim's wirelink E2Lib.RegisterExtension("wiring", false) __e2setcost(30) --- Creates an invisible wire between the input <inputname> of <this> and the output <outputname> of <ent2> e2function number entity:createWire(entity ent2, string inputname, string outputname...
E2: wiring - allow entity:wirelink() on other ENTS
E2: wiring - allow entity:wirelink() on other ENTS that have outputs or inputs - fixes CAF wirelink problem
Lua
apache-2.0
NezzKryptic/Wire,CaptainPRICE/wire,wiremod/wire,Grocel/wire,Python1320/wire,mms92/wire,rafradek/wire,plinkopenguin/wiremod,bigdogmat/wire,sammyt291/wire,notcake/wire,garrysmodlua/wire,mitterdoo/wire,immibis/wiremod,dvdvideo1234/wire,thegrb93/wire
81020e3d088a4058a6e9a6369338a5b256f959bd
lua/starfall/libs_sh/hook.lua
lua/starfall/libs_sh/hook.lua
------------------------------------------------------------------------------- -- Hook library ------------------------------------------------------------------------------- --- Deals with hooks -- @shared local hook_library, _ = SF.Libraries.Register("hook") local registered_instances = {} --- Sets a hook function...
------------------------------------------------------------------------------- -- Hook library ------------------------------------------------------------------------------- --- Deals with hooks -- @shared local hook_library, _ = SF.Libraries.Register("hook") local registered_instances = {} --- Sets a hook function...
working fix for errored starfall chips still calling hooks
working fix for errored starfall chips still calling hooks working fix for errored starfall chips still calling hooks
Lua
bsd-3-clause
Ingenious-Gaming/Starfall,Ingenious-Gaming/Starfall,INPStarfall/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall,Jazzelhawk/Starfall,Xandaros/Starfall
346719dd9765647b7334387b1ac657acebc7c874
packages/lime-system/files/usr/lib/lua/lime/network.lua
packages/lime-system/files/usr/lib/lua/lime/network.lua
#!/usr/bin/lua network = {} local bit = require "nixio".bit local ip = require "luci.ip" local config = require "lime.config" local utils = require "lime.utils" function network.get_mac(ifname) local mac = assert(fs.readfile("/sys/class/net/"..ifname.."/address")):gsub("\n","") return utils.split(mac, ":") end fu...
#!/usr/bin/lua network = {} local bit = require "nixio".bit local ip = require "luci.ip" local config = require "lime.config" local utils = require "lime.utils" network.limeIfNamePrefix="lm_" function network.get_mac(ifname) local mac = assert(fs.readfile("/sys/class/net/"..ifname.."/address")):gsub("\n","") retu...
Use network.limeIfNamePrefix instead of repeat lm_ around the code
Use network.limeIfNamePrefix instead of repeat lm_ around the code
Lua
agpl-3.0
libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages
e501f5ed76eb64e8a696cf8a8ca5159b8db9a100
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
joaofvieira/luci,lbthomsen/openwrt-luci,tcatm/luci,openwrt-es/openwrt-luci,palmettos/test,NeoRaider/luci,openwrt-es/openwrt-luci,florian-shellfire/luci,jlopenwrtluci/luci,Kyklas/luci-proto-hso,slayerrensky/luci,Noltari/luci,ReclaimYourPrivacy/cloak-luci,RedSnake64/openwrt-luci-packages,cappiewu/luci,david-xiao/luci,hny...
ccadbc91d176d419cf9891a0d03e8a7b5ff3b158
scripts/shaderc.lua
scripts/shaderc.lua
-- -- Copyright 2010-2016 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause -- project "shaderc" uuid "f3cd2e90-52a4-11e1-b86c-0800200c9a66" kind "ConsoleApp" local GLSL_OPTIMIZER = path.join(BGFX_DIR, "3rdparty/glsl-optimizer") local FCPP_DIR = path.join(B...
-- -- Copyright 2010-2016 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause -- project "shaderc" uuid "f3cd2e90-52a4-11e1-b86c-0800200c9a66" kind "ConsoleApp" local GLSL_OPTIMIZER = path.join(BGFX_DIR, "3rdparty/glsl-optimizer") local FCPP_DIR = path.join(B...
shaderc: Fixed DXSDK include path.
shaderc: Fixed DXSDK include path.
Lua
bsd-2-clause
kondrak/bgfx,LWJGL-CI/bgfx,LWJGL-CI/bgfx,aonorin/bgfx,elmindreda/bgfx,aonorin/bgfx,Synxis/bgfx,MikePopoloski/bgfx,bkaradzic/bgfx,attilaz/bgfx,Synxis/bgfx,bkaradzic/bgfx,fluffyfreak/bgfx,v3n/bgfx,marco-we/bgfx,andr3wmac/bgfx,attilaz/bgfx,jdryg/bgfx,mendsley/bgfx,andr3wmac/bgfx,0-wiz-0/bgfx,mmicko/bgfx,aonorin/bgfx,kondr...
0354dbe8891fa970046de70ae62561e92d49c28a
resources/prosody-plugins/mod_token_verification.lua
resources/prosody-plugins/mod_token_verification.lua
-- Token authentication -- Copyright (C) 2015 Atlassian local log = module._log; local host = module.host; local st = require "util.stanza"; local is_admin = require "core.usermanager".is_admin; local parentHostName = string.gmatch(tostring(host), "%w+.(%w.+)")(); if parentHostName == nil then log("error", "Failed ...
-- Token authentication -- Copyright (C) 2015 Atlassian local log = module._log; local host = module.host; local st = require "util.stanza"; local is_admin = require "core.usermanager".is_admin; local parentHostName = string.gmatch(tostring(host), "%w+.(%w.+)")(); if parentHostName == nil then log("error", "Failed ...
fix: Updates docs and verification to halt joining process.
fix: Updates docs and verification to halt joining process. When returning the error and showing to user not allowed screen we were not completely halting the prejoin operation when token verification fails on room join and the token is valid in general.
Lua
apache-2.0
gpolitis/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet
f427433d6df48858ed447474a704c4fb69720380
src/plugins/finalcutpro/timeline/commandsetactions.lua
src/plugins/finalcutpro/timeline/commandsetactions.lua
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- C O M M A N D P O S T -- -----------------------------------------------------------------------------...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- C O M M A N D P O S T -- -----------------------------------------------------------------------------...
Bug Fix
Bug Fix - `fcpx_shortcuts` didn’t work with URL Handler
Lua
mit
cailyoung/CommandPost,fcpxhacks/fcpxhacks,fcpxhacks/fcpxhacks,cailyoung/CommandPost,CommandPost/CommandPost,cailyoung/CommandPost,CommandPost/CommandPost,CommandPost/CommandPost
d87b3ba69a43b4e5281e75e09253dd985e922def
love2d/mapGenerator.lua
love2d/mapGenerator.lua
require('math') MapGenerator = {} MAP_PLAIN = 0 MAP_MOUNTAIN = 1 MAP_OBJ_NOTHING = 0 MAP_OBJ_WATER = 1 MAP_OBJ_TREE = 2 MAP_OBJ_START = 3 MAP_OBJ_FIREPLACE = 4 MAP_WATER_PERCENTAGE = 0.15 MAP_TREE_PERCENTAGE = 0.1 MAP_FIREPLACE_PERCENTAGE = 0.1 function MapGenerator.newMap(width, height) local map = {} local pla...
require('math') MapGenerator = {} MAP_UNDEFINED = 0 MAP_PLAIN = 1 MAP_MOUNTAIN = 2 MAP_OBJ_NOTHING = 0 MAP_OBJ_WATER = 1 MAP_OBJ_TREE = 2 MAP_OBJ_START = 3 MAP_OBJ_FIREPLACE = 4 MAP_WATER_PERCENTAGE = 0.15 MAP_TREE_PERCENTAGE = 0.1 MAP_FIREPLACE_PERCENTAGE = 0.1 function MapGenerator.newMap(width, height) local m...
Fixed map generator
Fixed map generator
Lua
mit
nczempin/lizard-journey
e9e85583295a4cdf4aeb760e4f35ce8ac1921af8
lua/entities/gmod_wire_egp/lib/objects/boxoutline.lua
lua/entities/gmod_wire_egp/lib/objects/boxoutline.lua
-- Author: Divran local Obj = EGP:NewObject( "BoxOutline" ) Obj.size = 1 Obj.angle = 0 Obj.CanTopLeft = true local function rotate( x, y, a ) local a = a * math.pi / 180 local _x = math.cos(a) * x - math.sin(a) * y local _y = math.sin(a) * x + math.cos(a) * y return _x, _y end Obj.Draw = function( self ) if (self...
-- Author: Divran local Obj = EGP:NewObject( "BoxOutline" ) Obj.size = 1 Obj.angle = 0 Obj.CanTopLeft = true local function rotate( x, y, a ) local a = a * math.pi / 180 local _x = math.cos(a) * x - math.sin(a) * y local _y = math.sin(a) * x + math.cos(a) * y return _x, _y end Obj.Draw = function( self, egp ) if ...
Fixing boxOutline rouding errors on emitter as much as possible
Fixing boxOutline rouding errors on emitter as much as possible Fixes #775
Lua
apache-2.0
Grocel/wire,plinkopenguin/wiremod,dvdvideo1234/wire,garrysmodlua/wire,immibis/wiremod,bigdogmat/wire,CaptainPRICE/wire,rafradek/wire,wiremod/wire,sammyt291/wire,thegrb93/wire,Python1320/wire,NezzKryptic/Wire,mitterdoo/wire,notcake/wire,mms92/wire
ff211a99d0853f6ac5f45c7a49bac0b9303d6d0e
test/tests/03-timestamping.lua
test/tests/03-timestamping.lua
EXPORT_ASSERTS_TO_GLOBALS = true local luaunit = require "luaunit" local dpdk = require "dpdk" local ts = require "timestamping" local hist = require "histogram" local device = require "device" local timer = require "timer" local tconfig = require "tconfig" local PKT_SIZE = 124 Tests = {} function master() local...
EXPORT_ASSERTS_TO_GLOBALS = true local luaunit = require "luaunit" local dpdk = require "dpdk" local ts = require "timestamping" local hist = require "histogram" local device = require "device" local timer = require "timer" local tconfig = require "tconfig" local PKT_SIZE = 124 Tests = {} function master() local...
Fixed Timestamping.lua fatal error
Fixed Timestamping.lua fatal error
Lua
mit
gallenmu/MoonGen,gallenmu/MoonGen,NetronomeMoongen/MoonGen,duk3luk3/MoonGen,bmichalo/MoonGen,gallenmu/MoonGen,emmericp/MoonGen,gallenmu/MoonGen,gallenmu/MoonGen,dschoeffm/MoonGen,bmichalo/MoonGen,dschoeffm/MoonGen,duk3luk3/MoonGen,atheurer/MoonGen,dschoeffm/MoonGen,duk3luk3/MoonGen,gallenmu/MoonGen,atheurer/MoonGen,ath...
7f81efd07e27d00d33eed5223adae1bdd54ce4a5
plugins/likecounter.lua
plugins/likecounter.lua
local function like(likedata, chat, user) if not likedata[chat] then likedata[chat] = { } end if not likedata[chat][user] then likedata[chat][user] = 0 end likedata[chat][user] = tonumber(likedata[chat][user] + 1) save_data(_config.likecounter.db, likedata) end local ...
local function like(likedata, chat, user) if not likedata[chat] then likedata[chat] = { } end if not likedata[chat][user] then likedata[chat][user] = 0 end likedata[chat][user] = tonumber(likedata[chat][user] + 1) save_data(_config.likecounter.db, likedata) end local ...
fix missing get_name method
fix missing get_name method
Lua
agpl-3.0
xsolinsx/AISasha
990832f6b3dc3f154eea2bccae64557e24d88cf7
module/admin-core/src/model/cbi/admin_services/olsrd.lua
module/admin-core/src/model/cbi/admin_services/olsrd.lua
-- ToDo: Autodetect things, Translate, Add descriptions require("ffluci.fs") m = Map("olsr", "OLSR", [[OLSR ist ein flexibles Routingprotokoll, dass den Aufbau von mobilen Ad-Hoc Netzen unterstützt.]]) s = m:section(NamedSection, "general", "olsr", "Allgemeine Einstellungen") debug = s:option(ListValue, "DebugLevel...
-- ToDo: Autodetect things, Translate, Add descriptions require("ffluci.fs") m = Map("olsr", "OLSR", [[OLSR ist ein flexibles Routingprotokoll, dass den Aufbau von mobilen Ad-Hoc Netzen unterstützt.]]) s = m:section(NamedSection, "general", "olsr", "Allgemeine Einstellungen") debug = s:option(ListValue, "DebugLevel...
* ffluci.model.cbi.admin_services.olsr: Fixed variable conversion
* ffluci.model.cbi.admin_services.olsr: Fixed variable conversion git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@1899 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
8devices/carambola2-luci,Flexibity/luci,alxhh/piratenluci,Canaan-Creative/luci,alxhh/piratenluci,dtaht/cerowrt-luci-3.3,alxhh/piratenluci,yeewang/openwrt-luci,dtaht/cerowrt-luci-3.3,8devices/carambola2-luci,jschmidlapp/luci,zwhfly/openwrt-luci,stephank/luci,ThingMesh/openwrt-luci,eugenesan/openwrt-luci,ch3n2k/luci,euge...
0552ce8324fb9a2ee388328def546d8dfc580cd3
src/rosmongolog.lua
src/rosmongolog.lua
#!/usr/bin/lua ---------------------------------------------------------------------------- -- skillenv.lua - Skiller skill environment functions -- -- Created: Wed Nov 03 17:34:31 2010 -- Copyright 2010 Tim Niemueller [www.niemueller.de] ---------------------------------------------------------------------------...
#!/usr/bin/lua ---------------------------------------------------------------------------- -- rosmongolog.lua - Lua based ROS to MongoDB logger -- -- Created: Wed Nov 03 17:34:31 2010 -- Copyright 2010 Tim Niemueller [www.niemueller.de] -- Carnegie Mellon University -- Intel L...
rosmongolog.lua: add note that it has been retired
rosmongolog.lua: add note that it has been retired And fix header, add CMU/Intel copyrights.
Lua
bsd-3-clause
Jailander/mongodb_store,jeansebbaklouti/mongodb_store,strands-project/mongodb_store,cburbridge/mongodb_store,nilsbore/mongodb_store,jeansebbaklouti/mongodb_store,hawesie/mongodb_store,sevenbitbyte/mongodb_store,cburbridge/mongodb_store,sevenbitbyte/mongodb_store,hawesie/mongodb_store,nilsbore/mongodb_store,strands-proj...
e36a131856117facff531451d731d6b3d7184f66
src/kong/plugins/authentication/schema.lua
src/kong/plugins/authentication/schema.lua
local constants = require "kong.constants" local utils = require "kong.tools.utils" local stringy = require "stringy" local function check_authentication_key_names(names, plugin_value) if plugin_value.authentication_type == constants.AUTHENTICATION.BASIC then return false, "This field is not available for \""..B...
local constants = require "kong.constants" local utils = require "kong.tools.utils" local stringy = require "stringy" local function check_authentication_key_names(names, plugin_value) if plugin_value.authentication_type == constants.AUTHENTICATION.BASIC then return false, "This field is not available for \""..c...
fixing constant value
fixing constant value
Lua
apache-2.0
Kong/kong,ind9/kong,li-wl/kong,kyroskoh/kong,smanolache/kong,ajayk/kong,akh00/kong,kyroskoh/kong,jerizm/kong,ccyphers/kong,Kong/kong,rafael/kong,streamdataio/kong,Vermeille/kong,streamdataio/kong,rafael/kong,isdom/kong,vzaramel/kong,Kong/kong,vzaramel/kong,icyxp/kong,jebenexer/kong,salazar/kong,ejoncas/kong,ind9/kong,x...
dc72917c75d348437b3130272e9f105ea696ce47
packages/pirania/tests/test_portal.lua
packages/pirania/tests/test_portal.lua
local test_utils = require 'tests.utils' local portal = require('portal.portal') local uci describe('Pirania portal tests #portal', function() local snapshot -- to revert luassert stubs and spies it('get and set config', function() stub(utils, "unsafe_shell", function () return end) local def...
local test_utils = require 'tests.utils' local shared_state = require('shared-state') local portal = require('portal.portal') local uci describe('Pirania portal tests #portal', function() local snapshot -- to revert luassert stubs and spies it('get and set config', function() stub(utils, "unsafe_shel...
pirania: fix missing import
pirania: fix missing import
Lua
agpl-3.0
libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages
ef17f13f1efddab9f4c83d0b347dbdc049ec8210
MMOCoreORB/bin/scripts/managers/faction_manager.lua
MMOCoreORB/bin/scripts/managers/faction_manager.lua
--Factional Relationships determine enemies and allies of factions. --If you kill a factional NPC, and it is allied with another faction, then you also lose faction with the ally. --If you kill a factional NPC, and it is enemies with another faction, then you gain faction with the enemy. --AddFaction -- faction - T...
--Factional Relationships determine enemies and allies of factions. --If you kill a factional NPC, and it is allied with another faction, then you also lose faction with the ally. --If you kill a factional NPC, and it is enemies with another faction, then you gain faction with the enemy. --AddFaction -- faction - T...
[Fixed] killing some non-gcw faction targets increasing/reducing gcw faction - mantis 4382
[Fixed] killing some non-gcw faction targets increasing/reducing gcw faction - mantis 4382 Change-Id: Ib5385454c203b82d0ee3e215898c2fb867c54a84
Lua
agpl-3.0
Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/...
75f2c2774fd24edbe305a1a61199f460bcd9a4a2
reader.lua
reader.lua
#!./kpdfview package.path = "./frontend/?.lua" require "ui/ui" require "ui/readerui" require "ui/filechooser" require "ui/infomessage" require "document/document" require "alt_getopt" function showReader(file, pass) local document = DocumentRegistry:openDocument(file) if not document then UIManager:show(InfoMessa...
#!./kpdfview package.path = "./frontend/?.lua" require "ui/ui" require "ui/readerui" require "ui/filechooser" require "ui/infomessage" require "document/document" function showReader(file, pass) local document = DocumentRegistry:openDocument(file) if not document then UIManager:show(InfoMessage:new{ text = "No re...
fix getopt module clearance in reader.lua
fix getopt module clearance in reader.lua
Lua
agpl-3.0
Frenzie/koreader-base,houqp/koreader,houqp/koreader-base,koreader/koreader,apletnev/koreader-base,Frenzie/koreader-base,ashang/koreader,chrox/koreader,Hzj-jie/koreader-base,Frenzie/koreader,Hzj-jie/koreader,mwoz123/koreader,Markismus/koreader,Frenzie/koreader,houqp/koreader-base,NiLuJe/koreader,frankyifei/koreader-base...
b4574a735966ba8b3c82a234c11803e47be0839f
reader.lua
reader.lua
#!./luajit -- load default settings require "defaults" pcall(dofile, "defaults.persistent.lua") -- set search path for 'require()' package.path = "common/?.lua;frontend/?.lua;" .. package.path package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;" .. package.cpath -- set search path for 'ffi.load()' local ffi...
#!./luajit -- load default settings require "defaults" pcall(dofile, "defaults.persistent.lua") -- set search path for 'require()' package.path = "common/?.lua;frontend/?.lua;" .. package.path package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;" .. package.cpath -- set search path for 'ffi.load()' local ffi...
fix crash on kindle
fix crash on kindle
Lua
agpl-3.0
koreader/koreader,pazos/koreader,mihailim/koreader,poire-z/koreader,apletnev/koreader,lgeek/koreader,NiLuJe/koreader,chrox/koreader,koreader/koreader,frankyifei/koreader,mwoz123/koreader,NiLuJe/koreader,NickSavage/koreader,Frenzie/koreader,ashhher3/koreader,noname007/koreader,robert00s/koreader,houqp/koreader,Frenzie/k...
1332d5d4f5bc5a6c0b3e22623f1779f56854399c
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
[applications] luci-olsr: Fix enable option for interfaces
[applications] luci-olsr: Fix enable option for interfaces git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@4740 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,Flexibity/luci,alxhh/piratenluci,Flexibity/luci,alxhh/piratenluci,8devices/carambola2-luci,ThingMesh/openwrt-luci,Flexibity/luci,projectbismark/luci-bismark,8devices/carambola2-luci,Flexibity/luci,jschmidlapp/luci,ReclaimYourPrivacy/cloak-luci,projectbismark/luci-bismark,ReclaimYourPrivacy...
b0bde07c534e87d188911ccb505dc9aedda60f05
post_receive.lua
post_receive.lua
#!/usr/bin/lua local JSON = require "JSON" local socket = require "socket" local lfs = require "lfs" local old = arg[1] or "??" local new = arg[2] or "??" local ref = arg[3] or "(master?)" local commit = {repository="git", ref=ref} local pwd = lfs.currentdir() local project = pwd:match("([^/]+)$") or "unknown" loc...
#!/usr/bin/lua local JSON = require "JSON" local socket = require "socket" local lfs = require "lfs" local old = arg[1] local new = arg[2] local ref = arg[3] or "(no ref)" if not old or not new then print("Usage: post-receive [old] [new] [ref]") os.exit() end local commit = {repository="git", ref=ref} loca...
Fix up post-receive hook
Fix up post-receive hook
Lua
apache-2.0
Humbedooh/gitpubsub
7c54d4e62fc84b29915dc618fd3dba2962752e92
profiles/car.lua
profiles/car.lua
-- Begin of globals barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true } access_...
-- Begin of globals barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true } access_...
Fixes the Birminingham speed limit bug reported by Philip Barnes
Fixes the Birminingham speed limit bug reported by Philip Barnes
Lua
bsd-2-clause
antoinegiret/osrm-geovelo,nagyistoce/osrm-backend,alex85k/Project-OSRM,bjtaylor1/osrm-backend,skyborla/osrm-backend,arnekaiser/osrm-backend,antoinegiret/osrm-backend,Project-OSRM/osrm-backend,arnekaiser/osrm-backend,agruss/osrm-backend,stevevance/Project-OSRM,arnekaiser/osrm-backend,duizendnegen/osrm-backend,antoinegir...
d82a758556d879bfaa6372835e591699b3bfb525
MMOCoreORB/bin/scripts/object/building/base/base_building.lua
MMOCoreORB/bin/scripts/object/building/base/base_building.lua
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
[fixed] default values for building object tempates
[fixed] default values for building object tempates git-svn-id: c34995188cc7e843f8a799edec2d9d4b36f36456@4258 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/lege...
d09ffe195832a3ae8f4170faabff5f230522c7d4
kong/api/routes/clustering.lua
kong/api/routes/clustering.lua
local endpoints = require "kong.api.endpoints" local kong = kong local dp_collection_endpoint = endpoints.get_collection_endpoint(kong.db.clustering_data_planes.schema) return { ["/clustering/data-planes"] = { schema = kong.db.clustering_data_planes.schema, methods = { GET = function(self, dao, he...
local endpoints = require "kong.api.endpoints" local kong = kong local dp_collection_endpoint = endpoints.get_collection_endpoint(kong.db.clustering_data_planes.schema) return { ["/clustering/data-planes"] = { schema = kong.db.clustering_data_planes.schema, methods = { GET = function(self, dao, he...
fix(clustering) do not include the new fields in the deprecated `/clustering/status` endpoint
fix(clustering) do not include the new fields in the deprecated `/clustering/status` endpoint Since we have announced the deprecation of the `/clustering/status` endpoint, we should not make new database fields available from it. This encourages people to switch over, but also because we no longer provide any document...
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
6983868f5eb3391dcf21172e771eae1d5a9ecdd5
nonsence_web.lua
nonsence_web.lua
--[[ "Nonsence" Lua web server Author: John Abrahamsen (jhnabrhmsn@gmail.com). License: MIT. The ultra fast cached web server written in Lua. .;''-. .' | `._ /` ; `'. .' \ \ ,'\| `| | | -'_ \ `'.__,J ;' `. `'.__.' | `"-.___ ,' '-, ...
--[[ "Nonsence" Lua web server Author: John Abrahamsen (jhnabrhmsn@gmail.com). License: MIT. The ultra fast cached web server written in Lua. .;''-. .' | `._ /` ; `'. .' \ \ ,'\| `| | | -'_ \ `'.__,J ;' `. `'.__.' | `"-.___ ,' '-, ...
Fixed GET argument parsing :)
Fixed GET argument parsing :)
Lua
apache-2.0
luastoned/turbo,ddysher/turbo,zcsteele/turbo,mniestroj/turbo,luastoned/turbo,YuanPeir-Chen/turbo-support-mipsel,kernelsauce/turbo,ddysher/turbo,YuanPeir-Chen/turbo-support-mipsel,zcsteele/turbo
fee70f8fc3a109a6ba4e5252baca586721a2867f
mods/mobs/npc.lua
mods/mobs/npc.lua
-- Npc by TenPlus1 mobs.npc_drops = { "farming:meat", "farming:donut", "farming:bread", "default:apple", "default:sapling", "default:junglesapling", "shields:shield_enhanced_wood", "3d_armor:chestplate_cactus", "3d_armor:boots_bronze", "default:sword_steel", "default:sword_gold", "default:pick_steel", "d...
-- Npc by TenPlus1 mobs.npc_drops = { "farming:meat", "farming:donut", "farming:bread", "default:apple", "default:sapling", "default:junglesapling", "shields:shield_enhanced_wood", "3d_armor:chestplate_cactus", "3d_armor:boots_bronze", "default:sword_steel", "default:sword_gold", "default:pick_steel", "d...
fixed NPC feed
fixed NPC feed
Lua
unlicense
sys4-fr/server-minetestforfun,Coethium/server-minetestforfun,sys4-fr/server-minetestforfun,Coethium/server-minetestforfun,Gael-de-Sailly/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,paly2/minetest-minetestforfun-server,Ombridride/minetest-minetestforfun-server,Coethium/server-minetestforfun,G...
aa0f710867cc4333df4efa3fdb45ae2ed51e9c50
applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
applications/luci-firewall: some fixes on redirection page
applications/luci-firewall: some fixes on redirection page
Lua
apache-2.0
maxrio/luci981213,remakeelectric/luci,bittorf/luci,openwrt/luci,urueedi/luci,urueedi/luci,lcf258/openwrtcn,db260179/openwrt-bpi-r1-luci,opentechinstitute/luci,ff94315/luci-1,oyido/luci,bittorf/luci,oyido/luci,LuttyYang/luci,openwrt-es/openwrt-luci,NeoRaider/luci,taiha/luci,harveyhu2012/luci,male-puppies/luci,rogerpueyo...
c250e19ab2347d84376dfa269202662566e58dae
mods/item_drop/init.lua
mods/item_drop/init.lua
item_drop = {} local enable_damage = minetest.setting_getbool("enable_damage") local creative_mode = minetest.setting_getbool("creative_mode") local TICK_UPDATE = 0.1 local die_timeout = 20 local die_time = {} local die_respawned = {} minetest.register_on_joinplayer(function(player) local player_name = player:get_p...
item_drop = {} local enable_damage = minetest.setting_getbool("enable_damage") local creative_mode = minetest.setting_getbool("creative_mode") local TICK_UPDATE = 0.1 local die_timeout = 20 local die_time = {} local die_respawned = {} minetest.register_on_joinplayer(function(player) local player_name = player:get_p...
fix itemdrop crash
fix itemdrop crash
Lua
unlicense
sys4-fr/server-minetestforfun,MinetestForFun/server-minetestforfun,MinetestForFun/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,Ombridride/minetest-minetestforfun-server,Ombridride/minetest-minetestforfu...
a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2
src/luarocks/fetch/git_http.lua
src/luarocks/fetch/git_http.lua
--- Fetch back-end for retrieving sources from local Git repositories. module("luarocks.fetch.git_http", package.seeall) local git = require("luarocks.fetch.git") --- Fetch sources for building a rock from a local Git repository. -- @param rockspec table: The rockspec table -- @param extract boolean: Unused in this ...
--- Fetch back-end for retrieving sources from Git repositories -- that use http:// transport. For example, for fetching a repository -- that requires the following command line: -- `git clone http://example.com/foo.git` -- you can use this in the rockspec: -- source = { url = "git+http://example.com/foo.git" } -- Pre...
Fix documentation. Thanks @ignacio!
Fix documentation. Thanks @ignacio!
Lua
mit
tst2005/luarocks,usstwxy/luarocks,robooo/luarocks,luarocks/luarocks,tarantool/luarocks,leafo/luarocks,tarantool/luarocks,xiaq/luarocks,coderstudy/luarocks,aryajur/luarocks,tst2005/luarocks,usstwxy/luarocks,lxbgit/luarocks,coderstudy/luarocks,keplerproject/luarocks,robooo/luarocks,keplerproject/luarocks,luarocks/luarock...
10efe4b84885b2a040c084a0dedade8fc3c9d54d
kernel/bs_crate.lua
kernel/bs_crate.lua
local crate = {} --local turtle = require("turtle") local crate_turtle = require("crate_turtle") function crate.toFloraIri(x) return string.format("i\b%s", x) end function crate.toFloraString(x) return string.format("s\b%s", x) end function crate.encodeString(str) return string.format("'%s'", crate.toFlora...
local crate = {} --local turtle = require("turtle") local crate_turtle = require("crate_turtle") function crate.toFloraIri(x) return string.format("i\b%s", x) end function crate.toFloraString(x) return string.format("s\b%s", x) end function crate.encodeString(str) return string.format("'%s'", crate.toFlora...
fix datatypes and add collection support in CRATE
fix datatypes and add collection support in CRATE
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
48c95eb11a5e9c3b66ac524e6ea87cfee2c3821e
aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua
aspects/nvim/files/.config/nvim/lua/wincent/vim/map.lua
wincent.g.map_callbacks = {} -- TODO: For completeness, should have unmap() too, and other variants -- as they arise (nunmap() etc); but for now just going with a "dispose" -- function as return value. local map = function (mode, lhs, rhs, opts) opts = opts or {} local rhs_type = type(rhs) if rhs_type == 'funct...
wincent.g.map_callbacks = {} -- TODO: For completeness, should have unmap() too, and other variants -- as they arise (nunmap() etc); but for now just going with a "dispose" -- function as return value. local map = function (mode, lhs, rhs, opts) opts = opts or {} local rhs_type = type(rhs) local key if rhs_ty...
fix(nvim): avoid accessing uninitialized `key` variable
fix(nvim): avoid accessing uninitialized `key` variable Closes: https://github.com/wincent/wincent/issues/119
Lua
unlicense
wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent
8ecfe2f58f9da6663dc80c005db503908efb2e97
lib/luvit/utils.lua
lib/luvit/utils.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...
fix utils.dump
fix utils.dump
Lua
apache-2.0
bsn069/luvit,luvit/luvit,GabrielNicolasAvellaneda/luvit-upstream,boundary/luvit,sousoux/luvit,boundary/luvit,boundary/luvit,luvit/luvit,sousoux/luvit,DBarney/luvit,kaustavha/luvit,zhaozg/luvit,bsn069/luvit,rjeli/luvit,GabrielNicolasAvellaneda/luvit-upstream,boundary/luvit,kaustavha/luvit,sousoux/luvit,GabrielNicolasAve...
3946f836483537f78736332049fe5262b037cf05
AceGUI-3.0/widgets/AceGUIWidget-Label.lua
AceGUI-3.0/widgets/AceGUIWidget-Label.lua
--[[----------------------------------------------------------------------------- Label Widget Displays text and optionally an icon. -------------------------------------------------------------------------------]] local Type, Version = "Label", 20 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or...
--[[----------------------------------------------------------------------------- Label Widget Displays text and optionally an icon. -------------------------------------------------------------------------------]] local Type, Version = "Label", 20 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or...
AceGUI-3.0: Fix height-adjustments of the Label widget, apparently the height doesn't adjust itself when you anchor the top two corners, it needs a fixed width value.
AceGUI-3.0: Fix height-adjustments of the Label widget, apparently the height doesn't adjust itself when you anchor the top two corners, it needs a fixed width value. git-svn-id: e768786be8df873dac9515156656ebbdc6d77160@927 5debad98-a965-4143-8383-f471b3509dcf
Lua
bsd-3-clause
sarahgerweck/Ace3
a7a366e23a334cd9457251076e3ecccb402be377
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
* luci/app-olsr: further fixes in olsr plugins config
* luci/app-olsr: further fixes in olsr plugins config git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3259 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
alxhh/piratenluci,gwlim/luci,eugenesan/openwrt-luci,dtaht/cerowrt-luci-3.3,eugenesan/openwrt-luci,freifunk-gluon/luci,projectbismark/luci-bismark,ch3n2k/luci,freifunk-gluon/luci,ThingMesh/openwrt-luci,dtaht/cerowrt-luci-3.3,dtaht/cerowrt-luci-3.3,ThingMesh/openwrt-luci,stephank/luci,yeewang/openwrt-luci,8devices/caramb...
a4e35f81cf098bfdc86eb773deae3aaaf6a11aa4
resources/prosody-plugins/mod_polls.lua
resources/prosody-plugins/mod_polls.lua
-- This module provides persistence for the "polls" feature, -- by keeping track of the state of polls in each room, and sending -- that state to new participants when they join. local json = require("util.json"); local st = require("util.stanza"); local util = module:require("util"); local muc = module:depends("muc"...
-- This module provides persistence for the "polls" feature, -- by keeping track of the state of polls in each room, and sending -- that state to new participants when they join. local json = require("util.json"); local st = require("util.stanza"); local jid = require "util.jid"; local util = module:require("util"); l...
fix(polls) refactor message handling
fix(polls) refactor message handling
Lua
apache-2.0
jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet
59c87257ac3eac2072bd98b35bad6e2924756300
particle-maker/lua/autorun/client/particlemaker_locale.lua
particle-maker/lua/autorun/client/particlemaker_locale.lua
/** * Copyright 2016 Roelof Roos (SirQuack) * Part of Particle Maker Garry's Mod Tool * * 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 *...
/** * Copyright 2016 Roelof Roos (SirQuack) * Part of Particle Maker Garry's Mod Tool * * 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 *...
Fixed issue #4
Fixed issue #4
Lua
apache-2.0
roelofr/GMod-ParticleMaker
e55bc9f1035c2cb1ddd32950fa404521bb6d2245
scripts/bgfx.lua
scripts/bgfx.lua
-- -- Copyright 2010-2015 Branimir Karadzic. All rights reserved. -- License: http://www.opensource.org/licenses/BSD-2-Clause -- function bgfxProject(_name, _kind, _defines) project ("bgfx" .. _name) uuid (os.uuid("bgfx" .. _name)) kind (_kind) if _kind == "SharedLib" then defines { "BGFX_SHARED_LIB_BU...
-- -- Copyright 2010-2015 Branimir Karadzic. All rights reserved. -- License: http://www.opensource.org/licenses/BSD-2-Clause -- function bgfxProject(_name, _kind, _defines) project ("bgfx" .. _name) uuid (os.uuid("bgfx" .. _name)) kind (_kind) if _kind == "SharedLib" then defines { "BGFX_SHARED_LIB_BU...
Fixed issue #257.
Fixed issue #257.
Lua
bsd-2-clause
emoon/bgfx,Vertexwahn/bgfx,septag/bgfx,bkaradzic/bgfx,septag/bgfx,jdryg/bgfx,darkimage/bgfx,Extrawurst/bgfx,mendsley/bgfx,fluffyfreak/bgfx,LWJGL-CI/bgfx,bkaradzic/bgfx,0-wiz-0/bgfx,mendsley/bgfx,jdryg/bgfx,Synxis/bgfx,aonorin/bgfx,kondrak/bgfx,ming4883/bgfx,MikePopoloski/bgfx,mcanthony/bgfx,septag/bgfx,v3n/bgfx,janstk/...
3df48322655751e0a06d89e788b2924852895ad9
platform/android/llapp_main.lua
platform/android/llapp_main.lua
local A = require("android") A.dl.library_path = A.dl.library_path .. ":" .. A.dir .. "/libs" local ffi = require("ffi") ffi.cdef[[ char *getenv(const char *name); int putenv(const char *envvar); ]] -- check uri of the intent that starts this application local file = A.jni:context(A.app.activity.vm, function(...
local A = require("android") A.dl.library_path = A.dl.library_path .. ":" .. A.dir .. "/libs" local ffi = require("ffi") ffi.cdef[[ char *getenv(const char *name); int putenv(const char *envvar); void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset); int munmap(void *addr, s...
fix mcode allocation failure on Android This workaround makes a reservation of mmap slots that are hopefully near the address of `mcode_alloc_at`. Then it unmaps those slots and lets luajit allocate a large slot for mcode.
fix mcode allocation failure on Android This workaround makes a reservation of mmap slots that are hopefully near the address of `mcode_alloc_at`. Then it unmaps those slots and lets luajit allocate a large slot for mcode.
Lua
agpl-3.0
mihailim/koreader,frankyifei/koreader,apletnev/koreader,Markismus/koreader,poire-z/koreader,houqp/koreader,poire-z/koreader,NickSavage/koreader,NiLuJe/koreader,NiLuJe/koreader,chihyang/koreader,pazos/koreader,Frenzie/koreader,Frenzie/koreader,mwoz123/koreader,lgeek/koreader,Hzj-jie/koreader,koreader/koreader,robert00s/...
f9454f71983c09f5de34dba8b281746856e5c485
corovel/corona/timer.lua
corovel/corona/timer.lua
--====================================================================-- -- corovel/corona/timer.lua -- -- -- by David McCuskey -- Documentation: http://docs.davidmccuskey.com/display/docs/Lua+Corovel --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 20...
--====================================================================-- -- corovel/corona/timer.lua -- -- -- by David McCuskey -- Documentation: http://docs.davidmccuskey.com/display/docs/Lua+Corovel --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 20...
fix issue #1, misbehaving infinite timer
fix issue #1, misbehaving infinite timer
Lua
mit
dmccuskey/lua-corovel
8e6fac3c149344f94de046598781e9d85046a068
modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
modules/admin-full/luasrc/model/cbi/admin_network/dhcp.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$ ]]-- requ...
--[[ 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$ ]]-- requ...
modules/admin-full: fix last commit
modules/admin-full: fix last commit
Lua
apache-2.0
8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,8devices/luci,8devices/luci
4e08637384fdee8dd2aa368734ea1fd73ff5a832
examples/route_guide/server_reader/RecordRouteReader.lua
examples/route_guide/server_reader/RecordRouteReader.lua
--- Server reader class for RecordRoute method. -- @classmod server_reader.RecordRouteReader local Reader = {} ------------------------------------------------------------------------------- --- Public functions. -- @section public --- New Reader. -- @tparam Replier replier Replier object -- @treturn table Reader ob...
--- Server reader class for RecordRoute method. -- @classmod server_reader.RecordRouteReader local Reader = {} ------------------------------------------------------------------------------- --- Public functions. -- @section public --- New Reader. -- @tparam Replier replier Replier object -- @treturn table Reader ob...
Fix RouteRecord.
Fix RouteRecord.
Lua
bsd-3-clause
jinq0123/grpc-lua,jinq0123/grpc-lua,jinq0123/grpc-lua
57a75cc99493c3a8a683d14355ee6491e247f2b8
MMOCoreORB/bin/scripts/managers/jedi/village/phase1/fs_patrol.lua
MMOCoreORB/bin/scripts/managers/jedi/village/phase1/fs_patrol.lua
local Patrol = require("quest.tasks.patrol") local ObjectManager = require("managers.object.object_manager") local QuestManager = require("managers.quest.quest_manager") local VillageJediManagerCommon = require("managers.jedi.village.village_jedi_manager_common") require("utils.helpers") FsPatrol = Patrol:new { -- Ta...
local Patrol = require("quest.tasks.patrol") local ObjectManager = require("managers.object.object_manager") local QuestManager = require("managers.quest.quest_manager") local VillageJediManagerCommon = require("managers.jedi.village.village_jedi_manager_common") require("utils.helpers") FsPatrol = Patrol:new { -- Ta...
[fixed] Sith enemies in the Captain Sarguillo patrol questline should no longer disappear if they are in combat - mantis 6663
[fixed] Sith enemies in the Captain Sarguillo patrol questline should no longer disappear if they are in combat - mantis 6663 Change-Id: Ic108258f040bfe10ad7d35364e9d4a12a57f2a92
Lua
agpl-3.0
Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo
d75806e8150d18830d60fe9fa0a2fdbcf3b43d8d
src/cosy/lang/view/observed.lua
src/cosy/lang/view/observed.lua
-- Observed Objects -- ================ -- -- Sometimes, there is a need to observe changes on data, and call a handler -- to perform some actions on updates. The `observed` view is a way to -- perform such tasks. -- -- An observer is not bound to a particular data, as it would be very costly -- in memory. Instead, obs...
-- Observed Objects -- ================ -- -- Sometimes, there is a need to observe changes on data, and call a handler -- to perform some actions on updates. The `observed` view is a way to -- perform such tasks. -- -- An observer is not bound to a particular data, as it would be very costly -- in memory. Instead, obs...
Fix comparison of keys.
Fix comparison of keys.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
7ff9d988d4dbd8356da628d0b7eb2b8c4b50f1a7
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
local serial = require("hs._asm.serial") local lastScreenId = -1 local usePhysicalIndicator = false local useVirtualIndicator = true local currentIndicator = nil local indicatorHeight = 3 -- 0..1 = percent of menubar, >1 = pixel height local indicatorColor = hs.drawing.color.asRGB({ red = 0, green = 1.0, blue =...
-- local serial = require("hs._asm.serial") local lastScreenId = -1 -- local usePhysicalIndicator = false local useVirtualIndicator = true local currentIndicator = nil local indicatorHeight = 3 -- 0..1 = percent of menubar, >1 = pixel height local indicatorColor = hs.drawing.color.asRGB({ red = 0, green = 1.0, ...
fix(Hammerspoon): disable hardware screen indicator and fix watcher bug
fix(Hammerspoon): disable hardware screen indicator and fix watcher bug
Lua
mit
sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles
edb3c3c00dcfe7d857c30b5f37116c1b02316954
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
local window,screen=require'hs.window',require'hs.screen' local application,spaces=require'hs.application',require'hs.spaces' local drawing,canvas=require'hs.drawing',require'hs.canvas' local uielement=require'hs.uielement' local fnutils=require'hs.fnutils' -- local serial = require("hs._asm.serial") local lastScreenI...
local window,screen=require'hs.window',require'hs.screen' local application,spaces=require'hs.application',require'hs.spaces' local drawing,canvas=require'hs.drawing',require'hs.canvas' local uielement=require'hs.uielement' local fnutils=require'hs.fnutils' -- local serial = require("hs._asm.serial") local lastScreenI...
fix(hammerspoon): ok, jk, everyone gets the offset menubar height
fix(hammerspoon): ok, jk, everyone gets the offset menubar height
Lua
mit
sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles
7a9c9f03d3d4cd98b80bd724643f50e44dfe2911
OS/DiskOS/Programs/pastebin.lua
OS/DiskOS/Programs/pastebin.lua
--This program is based on ComputerCraft one: https://github.com/dan200/ComputerCraft/blob/master/src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin.lua local term = require("C://terminal") local function printUsage() color(9) print("Usages:") color(7) print("pastebin put <filename>") print(...
--This program is based on ComputerCraft one: https://github.com/dan200/ComputerCraft/blob/master/src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin.lua local term = require("C://terminal") local function printUsage() color(9) print("Usages:") color(7) print("pastebin put <filename>") print(...
Bugfix
Bugfix
Lua
mit
RamiLego4Game/LIKO-12
02904ace91e70dc97f1325be2d424b9f1c2c5b1a
aspects/nvim/files/.config/nvim/lua/wincent/mappings/leader.lua
aspects/nvim/files/.config/nvim/lua/wincent/mappings/leader.lua
local leader = {} local number_flag = 'wincent_number' local cycle_numbering = function() local relativenumber = vim.wo.relativenumber local number = vim.wo.number -- Cycle through: -- - relativenumber + number -- - number (only) -- - no numbering if (vim.deep_equal({relativenumber, number}, {true, tru...
local leader = {} local number_flag = 'wincent_number' local cycle_numbering = function() local relativenumber = vim.wo.relativenumber local number = vim.wo.number -- Cycle through: -- - relativenumber + number -- - number (only) -- - no numbering if (vim.deep_equal({relativenumber, number}, {true, tru...
fix(nvim): make file-wise jumping use getjumplist()
fix(nvim): make file-wise jumping use getjumplist() Addresses the problems noted in the previous commit. Namely, the "BUG:" comment that points out that invalid line numbers can break all the things. This is nicer anyway, as we're doing all the jumps via a single mapping, and we should even be able to jump through mul...
Lua
unlicense
wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent
2b936e13ecec64c0e6be2f793f5fd5654f2093da
gfx.lua
gfx.lua
local ffi = require 'ffi' local uuid = require 'uuid' local base64 = require 'base64' require 'pl.text'.format_operator() require 'image' local itorch = require 'itorch._env' require 'itorch.bokeh' local util = require 'itorch.util' -- Example: require 'image';itorch.image(image.scale(image.lena(),16,16)) function ito...
local ffi = require 'ffi' local uuid = require 'uuid' local base64 = require 'base64' require 'pl.text'.format_operator() require 'image' local itorch = require 'itorch._env' require 'itorch.bokeh' local util = require 'itorch.util' -- Example: require 'image';itorch.image(image.scale(image.lena(),16,16)) function ito...
added svg rendering via itorch.svg or itorch.image, fixed html bug
added svg rendering via itorch.svg or itorch.image, fixed html bug
Lua
bsd-3-clause
facebook/iTorch,facebook/iTorch
63e256602edf2269a711175accb8c428405fd7f8
src_trunk/resources/gatekeepers-system/c_ped_rightclick.lua
src_trunk/resources/gatekeepers-system/c_ped_rightclick.lua
wPedRightClick = nil bTalkToPed, bClosePedMenu = nil ax, ay = nil closing = nil sent=false function clickPed(button, state, absX, absY, wx, wy, wz, element) if (element) and (getElementType(element)=="ped") and (button=="right") and (state=="down") and (sent==false) and (element~=getLocalPlayer()) then loca...
wPedRightClick = nil bTalkToPed, bClosePedMenu = nil ax, ay = nil closing = nil sent=false function pedDamage() cancelEvent() end addEventHandler("onClientPedDamage", getRootElement(), pedDamage) function clickPed(button, state, absX, absY, wx, wy, wz, element) if (element) and (getElementType(element)=...
Fixed gatekeepers being killed
Fixed gatekeepers being killed git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@746 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
2aa2c197044960ea29f1b8302f398efda6861ece
module/admin-core/src/model/cbi/admin_services/olsrd.lua
module/admin-core/src/model/cbi/admin_services/olsrd.lua
-- ToDo: Autodetect things, Translate, Add descriptions require("ffluci.fs") m = Map("olsr", "OLSR", [[OLSR ist ein flexibles Routingprotokoll, dass den Aufbau von mobilen Ad-Hoc Netzen unterstützt.]]) s = m:section(NamedSection, "general", "olsr", "Allgemeine Einstellungen") debug = s:option(ListValue, "DebugLevel...
-- ToDo: Autodetect things, Translate, Add descriptions require("ffluci.fs") m = Map("olsr", "OLSR", [[OLSR ist ein flexibles Routingprotokoll, dass den Aufbau von mobilen Ad-Hoc Netzen unterstützt.]]) s = m:section(NamedSection, "general", "olsr", "Allgemeine Einstellungen") debug = s:option(ListValue, "DebugLevel...
* ffluci.model.cbi.admin_services.olsr: Fixed variable conversion
* ffluci.model.cbi.admin_services.olsr: Fixed variable conversion
Lua
apache-2.0
8devices/luci,deepak78/luci,8devices/luci,8devices/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci
136836d4503ba8d4eb8804e62cba3f9637202dc5
src/FileManager.lua
src/FileManager.lua
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
--================================================================================================== -- Copyright (C) 2014 - 2015 by Robert Machmer = -- = -- Permission is ...
Fix comment.
Fix comment.
Lua
mit
rm-code/logivi
2b6ec2def238659e41c120744aa9b531d1896c89
base/polygons.lua
base/polygons.lua
-- basic handling for polygonal areas on the map require("base.class"); module("base.polygons",package.seeall); --- representation of a line. All positions have z=0. -- @param posStruct Start point -- @param posStruct End point -- @return LineStruct Line = base.class.class( function(obj, startPoint, endP...
-- basic handling for polygonal areas on the map require("base.class"); module("base.polygons",package.seeall); --- representation of a line. All positions have z=0. -- @param posStruct Start point -- @param posStruct End point -- @return LineStruct Line = base.class.class( function(obj, startPoint, endP...
fixed pip test
fixed pip test
Lua
agpl-3.0
vilarion/Illarion-Content,LaFamiglia/Illarion-Content,Baylamon/Illarion-Content,KayMD/Illarion-Content,Illarion-eV/Illarion-Content
6d3e995b432ee42943d8505d81418be0e6d3815b
src/cosy/loader.lua
src/cosy/loader.lua
local version = tonumber (_VERSION:match "Lua%s*(%d%.%d)") if version < 5.1 or (version == 5.1 and type (_G.jit) ~= "table") then error "Cosy requires Luajit >= 2 or Lua >= 5.2 to run." end local Loader = {} local loader = {} if _G.js then _G.loadhttp = function (url) local co = coroutine.running () local...
local version = tonumber (_VERSION:match "Lua%s*(%d%.%d)") if version < 5.1 or (version == 5.1 and type (_G.jit) ~= "table") then error "Cosy requires Luajit >= 2 or Lua >= 5.2 to run." end local Loader = {} local loader = {} if _G.js then _G.loadhttp = function (url) local co = coroutine.running () local...
Add fix for lua-webosckets.
Add fix for lua-webosckets.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
f09913517d92f5c1198d1ef6ab32188f82734d3f
applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua
applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua
--[[ LuCI UVC Streamer (c) 2008 Yanira <forum-2008@email.de> 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$ ]]-- -- find current lan add...
--[[ LuCI UVC Streamer (c) 2008 Yanira <forum-2008@email.de> 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$ ]]-- -- find current lan add...
* luci/applications/uvc-streamer: fix possible crash when no uvc_streamer sections is defined in config
* luci/applications/uvc-streamer: fix possible crash when no uvc_streamer sections is defined in config git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3140 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
dtaht/cerowrt-luci-3.3,jschmidlapp/luci,gwlim/luci,vhpham80/luci,Flexibity/luci,alxhh/piratenluci,Canaan-Creative/luci,Canaan-Creative/luci,projectbismark/luci-bismark,vhpham80/luci,ReclaimYourPrivacy/cloak-luci,saraedum/luci-packages-old,eugenesan/openwrt-luci,alxhh/piratenluci,Canaan-Creative/luci,eugenesan/openwrt-l...
74f3619fb852244a1bfc3334d25f45721506fd81
share/media/ted.lua
share/media/ted.lua
-- libquvi-scripts -- Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GN...
-- libquvi-scripts -- Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GN...
FIX: media/ted (HTTP download only)
FIX: media/ted (HTTP download only)
Lua
agpl-3.0
alech/libquvi-scripts,alech/libquvi-scripts
46f651cccb15a6a27e044c8afb0eca2e1334e8f0
lua_modules/ds18b20/ds18b20.lua
lua_modules/ds18b20/ds18b20.lua
-------------------------------------------------------------------------------- -- DS18B20 one wire module for NODEMCU -- by @voborsky, @devsaurus -- encoder module is needed only for debug output; lines can be removed if no -- debug output is needed and/or encoder module is missing -- -- by default the module is for ...
-------------------------------------------------------------------------------- -- DS18B20 one wire module for NODEMCU -- by @voborsky, @devsaurus -- encoder module is needed only for debug output; lines can be removed if no -- debug output is needed and/or encoder module is missing -- -- by default the module is for ...
Fix self.pin when specifying lpin for readTemp() (#1865)
Fix self.pin when specifying lpin for readTemp() (#1865)
Lua
mit
FelixPe/nodemcu-firmware,djphoenix/nodemcu-firmware,marcelstoer/nodemcu-firmware,FrankX0/nodemcu-firmware,TerryE/nodemcu-firmware,marcelstoer/nodemcu-firmware,FrankX0/nodemcu-firmware,devsaurus/nodemcu-firmware,HEYAHONG/nodemcu-firmware,marcelstoer/nodemcu-firmware,HEYAHONG/nodemcu-firmware,luizfeliperj/nodemcu-firmwar...
9de176778ff31e89d24242567d355d2fa525e14e
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
hammerspoon/hammerspoon.symlink/modules/monitor-monitor.lua
local window,screen=require'hs.window',require'hs.screen' local application,spaces=require'hs.application',require'hs.spaces' local drawing,canvas=require'hs.drawing',require'hs.canvas' local uielement=require'hs.uielement' local fnutils=require'hs.fnutils' -- local serial = require("hs._asm.serial") local lastScreenI...
local window,screen=require'hs.window',require'hs.screen' local application,spaces=require'hs.application',require'hs.spaces' local drawing,canvas=require'hs.drawing',require'hs.canvas' local uielement=require'hs.uielement' local fnutils=require'hs.fnutils' -- local serial = require("hs._asm.serial") local lastScreenI...
fix(hammerspoon): handle monitor-monitor window resize done as minimize/unminimize events
fix(hammerspoon): handle monitor-monitor window resize done as minimize/unminimize events
Lua
mit
sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles,sethvoltz/dotfiles
396cb1ff69b99d1995a2ded4567f99c1110b138c
mods/pipeworks/signal_tubes.lua
mods/pipeworks/signal_tubes.lua
if pipeworks.enable_detector_tube then local detector_tube_step = 2 * tonumber(minetest.setting_get("dedicated_server_step")) pipeworks.register_tube("pipeworks:detector_tube_on", { description = "Detecting Pneumatic Tube Segment on (you hacker you)", inventory_image = "pipeworks_detector_tube_inv.png", plai...
if pipeworks.enable_detector_tube then local detector_tube_step = 1 --MFF crabman(2/1/2016 bug,step too short) 2 * tonumber(minetest.setting_get("dedicated_server_step")) pipeworks.register_tube("pipeworks:detector_tube_on", { description = "Detecting Pneumatic Tube Segment on (you hacker you)", inventory_image...
fix issue https://github.com/MinetestForFun/server-minetestforfun/issues/355
fix issue https://github.com/MinetestForFun/server-minetestforfun/issues/355
Lua
unlicense
crabman77/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,Gael-de-Sailly/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,Ombridride/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-server,Gael-de-Sailly/min...
aa8d105fa84915cdcb7db9df7a889224693d629f
src/program/lwaftr/run_nohw/run_nohw.lua
src/program/lwaftr/run_nohw/run_nohw.lua
module(..., package.seeall) local CSVStatsTimer = require("program.lwaftr.csv_stats").CSVStatsTimer local RawSocket = require("apps.socket.raw").RawSocket local LwAftr = require("apps.lwaftr.lwaftr").LwAftr local lib = require("core.lib") local lwutil = require("apps.lwaftr.lwutil") local engine = require("core.app") ...
module(..., package.seeall) local CSVStatsTimer = require("program.lwaftr.csv_stats").CSVStatsTimer local RawSocket = require("apps.socket.raw").RawSocket local LwAftr = require("apps.lwaftr.lwaftr").LwAftr local lib = require("core.lib") local lwutil = require("apps.lwaftr.lwutil") local engine = require("core.app") ...
Fix run_nohw
Fix run_nohw * Add lwAFTR's hairpinning interface. * Move engine.configure before CSVStats setup. * Set correct apps names is CSVStats.
Lua
apache-2.0
eugeneia/snabbswitch,Igalia/snabbswitch,eugeneia/snabb,snabbco/snabb,Igalia/snabbswitch,alexandergall/snabbswitch,dpino/snabbswitch,Igalia/snabb,eugeneia/snabb,heryii/snabb,alexandergall/snabbswitch,Igalia/snabb,heryii/snabb,eugeneia/snabb,heryii/snabb,alexandergall/snabbswitch,dpino/snabbswitch,SnabbCo/snabbswitch,Sna...
186125607f2271af1387e28ce868fdf6d3dc9f1c
resources/prosody-plugins/mod_auth_jitsi-anonymous.lua
resources/prosody-plugins/mod_auth_jitsi-anonymous.lua
-- Anonymous authentication with extras: -- * session resumption -- Copyright (C) 2021-present 8x8, Inc. local new_sasl = require "util.sasl".new; local sasl = require "util.sasl"; local sessions = prosody.full_sessions; -- define auth provider local provider = {}; function provider.test_password(username, password)...
-- Anonymous authentication with extras: -- * session resumption -- Copyright (C) 2021-present 8x8, Inc. local generate_random_id = require "util.id".medium; local new_sasl = require "util.sasl".new; local sasl = require "util.sasl"; local sessions = prosody.full_sessions; -- define auth provider local provider = {};...
fix(prosody) fix username not being set in mod_auth_jitsi-anonymous
fix(prosody) fix username not being set in mod_auth_jitsi-anonymous If the session was not resumed the plugin must generate a random username, just like the regular anonymous authentication plugin does.
Lua
apache-2.0
jitsi/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,gpolitis/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet,jitsi/jitsi-meet,jitsi/jitsi-meet,gpolitis/jitsi-meet
4fdb53de6815eb33e03e07da90effb8c7ca98aed
game/scripts/vscripts/heroes/structures/healer_bottle_filling.lua
game/scripts/vscripts/heroes/structures/healer_bottle_filling.lua
LinkLuaModifier("modifier_healer_bottle_filling", "heroes/structures/healer_bottle_filling.lua", LUA_MODIFIER_MOTION_NONE) LinkLuaModifier("modifier_healer_bottle_filling_delay", "heroes/structures/healer_bottle_filling.lua", LUA_MODIFIER_MOTION_NONE) healer_bottle_filling = class({ GetIntrinsicModifierName = functio...
LinkLuaModifier("modifier_healer_bottle_filling", "heroes/structures/healer_bottle_filling.lua", LUA_MODIFIER_MOTION_NONE) LinkLuaModifier("modifier_healer_bottle_filling_delay", "heroes/structures/healer_bottle_filling.lua", LUA_MODIFIER_MOTION_NONE) healer_bottle_filling = class({ GetIntrinsicModifierName = functio...
fix(abilities): shrine bottle filling: fixed infinity charges bug
fix(abilities): shrine bottle filling: fixed infinity charges bug
Lua
mit
ark120202/aabs
98566d46931cb7ff3f913c09bbd525e8c65a8cfa
lua/entities/gmod_wire_expression2/base/optimizer.lua
lua/entities/gmod_wire_expression2/base/optimizer.lua
--[[ An optimizer for E2 abstract syntax trees, as produced by the parser and consumed by the compiler. Currently it only performs some simple peephole optimizations and constant propagation. Ideally, we'd do type inference as much as possible before optimizing, which would give us more useful information throughout. ...
--[[ An optimizer for E2 abstract syntax trees, as produced by the parser and consumed by the compiler. Currently it only performs some simple peephole optimizations and constant propagation. Ideally, we'd do type inference as much as possible before optimizing, which would give us more useful information throughout. ...
Fix "and" and "or" optimizations
Fix "and" and "or" optimizations The second argument wasn't checked for being a literal.
Lua
apache-2.0
NezzKryptic/Wire,Grocel/wire,thegrb93/wire,garrysmodlua/wire,dvdvideo1234/wire,wiremod/wire,sammyt291/wire
10288948832bb7735653af4edcf357a7a5b97dff
premake.lua
premake.lua
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
Fixes to release script
Fixes to release script --HG-- extra : convert_revision : svn%3A644ed5ae-bb15-0410-aa60-99f397bbb77a/trunk%40353
Lua
bsd-3-clause
Lusito/premake,annulen/premake-annulen,Lusito/premake,Lusito/premake,annulen/premake-dev-rgeary,annulen/premake,annulen/premake,annulen/premake-annulen,Lusito/premake,warrenseine/premake,annulen/premake,annulen/premake-annulen,warrenseine/premake,warrenseine/premake,annulen/premake-dev-rgeary,annulen/premake-dev-rgeary...
b41216198b10bc0f5f431c36ba8cdc587845d43e
lua/entities/gmod_wire_gate.lua
lua/entities/gmod_wire_gate.lua
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Gate" ENT.WireDebugName = "Gate" if CLIENT then return end -- No more client local Wire_EnableGateInputValues = CreateConVar("Wire_EnableGateInputValues", 1, FCVAR_ARCHIVE) function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) ...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Gate" ENT.WireDebugName = "Gate" if CLIENT then return end -- No more client local Wire_EnableGateInputValues = CreateConVar("Wire_EnableGateInputValues", 1, FCVAR_ARCHIVE) function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) ...
fixed error when updating gate
fixed error when updating gate
Lua
apache-2.0
bigdogmat/wire,sammyt291/wire,NezzKryptic/Wire,dvdvideo1234/wire,wiremod/wire,thegrb93/wire,garrysmodlua/wire,Grocel/wire
f6c8467ce686b689fe069f4bb8aa9710c91dfcf8
quick3d.lua
quick3d.lua
-- Copyright (C) 2016 Chris Liebert local wrapper = nil function require_shared_library() wrapper = require "quick3dwrapper" end -- Determine whether platform is Windows function isWindows() if package.config:sub(1,1) == "\\" then return true end end -- Generate the wrapper source and compile the sha...
-- Copyright (C) 2016 Chris Liebert local wrapper = nil function require_shared_library() wrapper = require "quick3dwrapper" end -- Determine whether platform is Windows function isWindows() if package.config:sub(1,1) == "\\" then return true end end -- Generate the wrapper source and compile the sha...
fixed copy-after-build windows problem
fixed copy-after-build windows problem
Lua
mit
chrisliebert/quick-3d,chrisliebert/quick-3d,chrisliebert/quick-3d,chrisliebert/quick-3d,chrisliebert/quick-3d
f262789b46fac3164256d5122e37bfa110983d34
lualib/util.lua
lualib/util.lua
local skynet = require "skynet" local util = {} function util.process(CMD, cmd, ...) if not cmd then return end local f = CMD[cmd] if not f then tlog.error("cmd %s not found", tostring(cmd)) return end f(...) end function util.nowstr() local t = os.date("*...
local skynet = require "skynet" local util = {} function util.process(CMD, cmd, ...) if not cmd then return end local f = CMD[cmd] if not f then tlog.error("cmd %s not found", tostring(cmd)) return end f(...) end function util.nowstr() local t = os.date("*...
bug fixed.
bug fixed.
Lua
mit
qinhanlei/terminator
1fabec9b218825b917e636374474bda6b239a146
mod_seclabels/mod_seclabels.lua
mod_seclabels/mod_seclabels.lua
local st = require "util.stanza"; local xmlns_label = "urn:xmpp:sec-label:0"; local xmlns_label_catalog = "urn:xmpp:sec-label:catalog:2"; local xmlns_label_catalog_old = "urn:xmpp:sec-label:catalog:0"; -- COMPAT module:add_feature(xmlns_label); module:add_feature(xmlns_label_catalog); module:add_feature(xmlns_label_c...
local st = require "util.stanza"; local xmlns_label = "urn:xmpp:sec-label:0"; local xmlns_label_catalog = "urn:xmpp:sec-label:catalog:2"; local xmlns_label_catalog_old = "urn:xmpp:sec-label:catalog:0"; -- COMPAT module:add_feature(xmlns_label); module:add_feature(xmlns_label_catalog); module:add_feature(xmlns_label_c...
mod_seclabels: Fix config reloading
mod_seclabels: Fix config reloading
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
cd18cb24ed958c0b4abb38d00b13ff42a70b8473
config/webkitten/commands/go-or-search.lua
config/webkitten/commands/go-or-search.lua
function description() return "Open a passed URL or searches for it on DuckDuckGo" end function run() local windex = focused_window_index() local input = table.concat(arguments, " ") if looks_like_url(input) then local target = input else local encoded = url_encode(input) local target = table.co...
function description() return "Open a passed URL or searches for it on DuckDuckGo" end function run() local windex = focused_window_index() local input = table.concat(arguments, " ") local target = "" if looks_like_url(input) then target = input else local encoded = url_encode(input) target = ...
Fix local lua vars
Fix local lua vars
Lua
mit
keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles
186cab7ff2d737b2353a896f4803ce8b91e05dea
main.lua
main.lua
--[[ Copyright 2014 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 2014 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...
fix luvit handle args
fix luvit handle args introduce in https://github.com/luvit/luvit/commit/9146ae5b3ca5da447a05136ba13d804a9d47ef6c
Lua
apache-2.0
zhaozg/luvit,luvit/luvit,luvit/luvit,zhaozg/luvit
0e350d87bfedde187dc6555d79163bf53caa5d00
packages/luci-app-batman-adv/files/usr/lib/lua/luci/controller/batman.lua
packages/luci-app-batman-adv/files/usr/lib/lua/luci/controller/batman.lua
--[[ LuCI - Lua Configuration Interface Copyright 2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- mo...
--[[ LuCI - Lua Configuration Interface Copyright 2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- mo...
Fix batman-adv Status WebUI. Closes #110.
Fix batman-adv Status WebUI. Closes #110.
Lua
agpl-3.0
libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages
23fc1676f1140bb75e818e8aae0fb5fd514a5065
src/loader/src/LoaderUtils.lua
src/loader/src/LoaderUtils.lua
--- -- @module LoaderUtils -- @author Quenty local loader = script.Parent local BounceTemplateUtils = require(script.Parent.BounceTemplateUtils) local GroupInfoUtils = require(script.Parent.GroupInfoUtils) local PackageInfoUtils = require(script.Parent.PackageInfoUtils) local ScriptInfoUtils = require(script.Parent.Sc...
--- -- @module LoaderUtils -- @author Quenty local loader = script.Parent local BounceTemplateUtils = require(script.Parent.BounceTemplateUtils) local GroupInfoUtils = require(script.Parent.GroupInfoUtils) local PackageInfoUtils = require(script.Parent.PackageInfoUtils) local ScriptInfoUtils = require(script.Parent.Sc...
fix: Discover top level module scripts
fix: Discover top level module scripts
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
f67e2eb2186e363d6f7249a18daf6501bc9066b2
modules/title/sites/komplett.lua
modules/title/sites/komplett.lua
local simplehttp = require'simplehttp' local html2unicode = require'html' local trim = function(s) if(not s) then return end return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end local handler = function(queue, info) local query = info.query local path = info.path if((query and query:match('sku=%d+')) or (path and ...
local simplehttp = require'simplehttp' local html2unicode = require'html' local trim = function(s) if(not s) then return end return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end local handler = function(queue, info) local query = info.query local path = info.path if((query and query:match('sku=%d+')) or (path and ...
title/komplett: fix site plugin
title/komplett: fix site plugin Former-commit-id: 725954cf0e1c12e50b996d1d5bc825da188ff946 [formerly a37ddb1b49896cb6d1ba7865b808a8bb6e977f3c] Former-commit-id: f29b209a8374ec4e2b4ab98aa28971f29c85eea3
Lua
mit
torhve/ivar2,haste/ivar2,torhve/ivar2,torhve/ivar2
aefc9f6767564437db7bdb8b55d43a46e921141d
lib/core/src/togo/core/utility/utility.lua
lib/core/src/togo/core/utility/utility.lua
u8R""__RAW_STRING__( togo = togo or {} togo.utility = togo.utility or {} local M = togo.utility M.debug = false function M.ternary(cond, x, y) return (cond) and x or y end function M.optional(value, default) return (value ~= nil) and value or default end function M.optional_in(table, name, default) M.type_...
u8R""__RAW_STRING__( togo = togo or {} togo.utility = togo.utility or {} local M = togo.utility M.debug = false function M.ternary(cond, x, y) return (cond) and x or y end function M.optional(value, default) if (value ~= nil) then return value end return default end function M.optional_in(table, name, d...
lib/core/utility/utility.lua: fixed optional() for boolean types.
lib/core/utility/utility.lua: fixed optional() for boolean types.
Lua
mit
komiga/togo,komiga/togo,komiga/togo
83afb04b542d13dc542322afb78e9cd0f61f1fd3
test/unit/modules/graphics.lua
test/unit/modules/graphics.lua
function lutro.keyboard.setBackgroundColorTest() red = 115 green = 27 blue = 135 alpha = 50 color = { red, green, blue, alpha } lutro.graphics.setBackgroundColor(color) lutro.graphics.setBackgroundColor(red, green, blue, alpha) end function lutro.keyboard.getBackgroundColorTest() r, g, b, ...
function lutro.graphics.setBackgroundColorTest() red = 115 green = 27 blue = 135 alpha = 50 color = { red, green, blue, alpha } lutro.graphics.setBackgroundColor(color) lutro.graphics.setBackgroundColor(red, green, blue, alpha) end function lutro.graphics.getBackgroundColorTest() r, g, b, ...
Fix lutro.keyboard to be lutro.graphics in the unit tests
Fix lutro.keyboard to be lutro.graphics in the unit tests
Lua
mit
libretro/libretro-lutro,libretro/libretro-lutro,libretro/libretro-lutro
5c27e60f0bb5edf6bcbce419ad239d6470ac481c
orange/utils/headers.lua
orange/utils/headers.lua
-- -- Created by IntelliJ IDEA. -- User: soul11201 <soul11201@gmail.com> -- Date: 2017/4/26 -- Time: 20:50 -- To change this template use File | Settings | File Templates. -- local handle_util = require("orange.utils.handle") local extractor_util = require("orange.utils.extractor") local _M = {} local function set_h...
-- -- Created by IntelliJ IDEA. -- User: soul11201 <soul11201@gmail.com> -- Date: 2017/4/26 -- Time: 20:50 -- To change this template use File | Settings | File Templates. -- local handle_util = require("orange.utils.handle") local extractor_util = require("orange.utils.extractor") local _M = {} local function set_h...
fix: headers.lua check the config type of header
fix: headers.lua check the config type of header
Lua
mit
thisverygoodhhhh/orange,thisverygoodhhhh/orange,thisverygoodhhhh/orange
726062b5a31073c095c4b37b772035714bd3db43
core/presencemanager.lua
core/presencemanager.lua
local log = require "util.logger".init("presencemanager") local require = require; local pairs = pairs; local st = require "util.stanza"; local jid_split = require "util.jid".split; local hosts = hosts; local rostermanager = require "core.rostermanager"; local sessionmanager = require "core.sessionmanage...
local log = require "util.logger".init("presencemanager") local require = require; local pairs = pairs; local st = require "util.stanza"; local jid_split = require "util.jid".split; local hosts = hosts; local rostermanager = require "core.rostermanager"; local sessionmanager = require "core.sessionmanage...
Fix for broadcasting presence of available resources to newly approved contact
Fix for broadcasting presence of available resources to newly approved contact
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
005aed184924685a87c5866fc4b0c353be0483bb
packages/unichar.lua
packages/unichar.lua
local function utf8encode(code) if code < 0 then error('Code point must not be negative.') elseif code <= 0x7f then return string.char(code) elseif code <= 0x7ff then local c1 = code / 64 + 192 local c2 = code % 64 + 128 return string.char(c1, c2) elseif code <= 0xffff then local c1 = co...
SILE.registerCommand("unichar", function(options, content) local cp = content[1] if type(cp) ~= "string" then SU.error("Bad argument to \\unicode") end hex = (cp:match("[Uu]%+(%x+)") or cp:match("0[xX](%x+)")) if hex then cp = tonumber("0x"..hex) elseif tonumber(cp) then cp = tonumber(cp) end SILE...
Simplify the code, and fix #112. I love it.
Simplify the code, and fix #112. I love it.
Lua
mit
neofob/sile,simoncozens/sile,neofob/sile,anthrotype/sile,WAKAMAZU/sile_fe,anthrotype/sile,simoncozens/sile,alerque/sile,WAKAMAZU/sile_fe,WAKAMAZU/sile_fe,alerque/sile,alerque/sile,neofob/sile,neofob/sile,anthrotype/sile,simoncozens/sile,alerque/sile,WAKAMAZU/sile_fe,simoncozens/sile,anthrotype/sile
8d78b6ef684ab463b147d6a0f9a3be31a794e82a
tests/config/test_links.lua
tests/config/test_links.lua
-- -- tests/config/test_links.lua -- Test the list of linked objects retrieval function. -- Copyright (c) 2012 Jason Perkins and the Premake project -- T.config_links = { } local suite = T.config_links local project = premake5.project local config = premake5.config -- -- Setup and teardown -- local sln, prj, c...
-- -- tests/config/test_links.lua -- Test the list of linked objects retrieval function. -- Copyright (c) 2012 Jason Perkins and the Premake project -- T.config_links = { } local suite = T.config_links local project = premake5.project local config = premake5.config -- -- Setup and teardown -- local sln, prj, c...
Added test for libdirs fix
Added test for libdirs fix
Lua
bsd-3-clause
jsfdez/premake-core,premake/premake-core,mandersan/premake-core,CodeAnxiety/premake-core,noresources/premake-core,Yhgenomics/premake-core,lizh06/premake-core,dcourtois/premake-core,Yhgenomics/premake-core,noresources/premake-core,alarouche/premake-core,dcourtois/premake-core,noresources/premake-core,premake/premake-cor...
17d9298b10c17e2bda7a9f5f7b139b42b466c9f5
game/scripts/vscripts/heroes/hero_saitama/modifier_saitama_limiter.lua
game/scripts/vscripts/heroes/hero_saitama/modifier_saitama_limiter.lua
modifier_saitama_limiter = class({ IsPurgable = function() return false end, RemoveOnDeath = function() return false end, GetTexture = function() return "arena/modifier_saitama_limiter" end, }) function modifier_saitama_limiter:DeclareFunctions() return {MODIFIER_EVENT_ON_DEATH} end if IsServer() then func...
modifier_saitama_limiter = class({ IsPurgable = function() return false end, RemoveOnDeath = function() return false end, GetTexture = function() return "arena/modifier_saitama_limiter" end, }) function modifier_saitama_limiter:DeclareFunctions() return {MODIFIER_EVENT_ON_DEATH} end if IsServer() then func...
fix(saitama): limiter gets stacks for deny
fix(saitama): limiter gets stacks for deny
Lua
mit
ark120202/aabs
37d01e3897937d78a548ea6fc902b7e34eb45f78
.config/awesome/widgets/mpd.lua
.config/awesome/widgets/mpd.lua
local awful = require("awful") local utils = require("utils") local lain = require("lain") local wibox = require("wibox") local icons = require("icons") local BaseWidget = require("widgets.base").BaseWidget local MPDWidget = BaseWidget.derive() local mpdmenu = awful.menu({ items = { { "Play/Pause", "mpc t...
local awful = require("awful") local utils = require("utils") local lain = require("lain") local wibox = require("wibox") local icons = require("icons") local BaseWidget = require("widgets.base").BaseWidget local MPDWidget = BaseWidget.derive() local mpdmenu = awful.menu({ items = { { "Play/Pause", "mpc t...
[Awesome] Fix nil access when MPD is stopped
[Awesome] Fix nil access when MPD is stopped
Lua
mit
mphe/dotfiles,mphe/dotfiles,mphe/dotfiles,mphe/dotfiles,mall0c/dotfiles,mphe/dotfiles,mall0c/dotfiles,mphe/dotfiles
912b00825221047e5f23f578b32af48c035a5b4e
asset/src/framework/texture/manager.lua
asset/src/framework/texture/manager.lua
--[[ Description: Ref count machanism to manage textures. Author: M.Wan Date: 09/1/2015 ]] --[[ * TextureManager is used to manage textures life cycle based on reference count machanism. * The reference count will increase 1 every time you load a texture, vice versa. * @func loadTexture: load a texture. (sync) ...
--[[ Description: Ref count machanism to manage textures. Author: M.Wan Date: 09/1/2015 ]] --[[ * TextureManager is used to manage textures life cycle based on reference count machanism. * The reference count will increase 1 every time you load a texture, vice versa. * @func loadTexture: load a texture. (sync) ...
bug fixing
bug fixing
Lua
apache-2.0
wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua
fbfadeba6eb1eaada42c9d99a53e32d4aa4fed02
AceConsole-3.0/AceConsole-3.0.lua
AceConsole-3.0/AceConsole-3.0.lua
--[[ $Id$ ]] local MAJOR,MINOR = "AceConsole-3.0", 1 local AceConsole, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not AceConsole then return end -- No upgrade needed AceConsole.embeds = AceConsole.embeds or {} -- table containing objects AceConsole is embedded in. AceConsole.commands = AceConsole.commands or {} ...
--[[ $Id$ ]] local MAJOR,MINOR = "AceConsole-3.0", 1 local AceConsole, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not AceConsole then return end -- No upgrade needed AceConsole.embeds = AceConsole.embeds or {} -- table containing objects AceConsole is embedded in. AceConsole.commands = AceConsole.commands or {} ...
Ace3 - AceConsole-3.0: Fix bug where no table for [self] was created when registering weak commands
Ace3 - AceConsole-3.0: Fix bug where no table for [self] was created when registering weak commands git-svn-id: 7647537e40c65c0861dc9b5b7a3f92438fa62736@526 5debad98-a965-4143-8383-f471b3509dcf
Lua
bsd-3-clause
sarahgerweck/Ace3
08dd69f2fd440f1baaaec2b02387479a9bba175e
src/romdisk/system/lib/org/xboot/timer/timer.lua
src/romdisk/system/lib/org/xboot/timer/timer.lua
local class = require("org.xboot.lang.class") --- -- The 'timer' class is used to execute a code at specified intervals. -- -- @module timer local M = class() local __timer_list = {} --- -- Creates a new 'timer' object with the specified delay and iteration. -- -- @function [parent=#timer] new -- @param delay (numb...
local class = require("org.xboot.lang.class") --- -- The 'timer' class is used to execute a code at specified intervals. -- -- @module timer local M = class() local __timer_list = {} --- -- Creates a new 'timer' object with the specified delay and iteration. -- -- @function [parent=#timer] new -- @param delay (numb...
fix timer.lua
fix timer.lua
Lua
mit
xboot/xboot,xboot/xboot
fe061cf3ba3059faf238ab63a9859d491956cb1c
MMOCoreORB/bin/scripts/mobile/conversations/imperial_officer_2_conv.lua
MMOCoreORB/bin/scripts/mobile/conversations/imperial_officer_2_conv.lua
imperial_officer_2_convotemplate = ConvoTemplate:new { initialScreen = "", screens = {} } imperial_officer_2_convoscreen1 = ConvoScreen:new { id = "convoscreen1", leftDialog = "@newbie_tutorial/newbie_convo:banker_1_start", options = { {"@newbie_tutorial/newbie_convo:banker_1_reply_1", ""}, } } imperial_offic...
imperial_officer_2_convotemplate = ConvoTemplate:new { initialScreen = "convoscreen1", screens = {} } imperial_officer_2_convoscreen1 = ConvoScreen:new { id = "convoscreen1", leftDialog = "@newbie_tutorial/newbie_convo:banker_1_start", options = { {"@newbie_tutorial/newbie_convo:banker_1_reply_1", "convoscreen2...
[fixed] officer 2's conversation in tutorial to use new system.
[fixed] officer 2's conversation in tutorial to use new system. git-svn-id: c34995188cc7e843f8a799edec2d9d4b36f36456@3206 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/...