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
032868e3731039fe2a43155aa99b30cd8534e33d
lua/settings/init.lua
lua/settings/init.lua
local api = vim.api local sys = require('sys') local nvim = require('nvim') local parent = require('sys').data local mkdir = require('nvim').fn.mkdir local isdirectory = require('nvim').fn.isdirectory local function isempty(s) return s == nil or s == '' end local dirpaths = { backup = 'backupd...
local api = vim.api local sys = require('sys') local nvim = require('nvim') local parent = require('sys').data local mkdir = require('nvim').fn.mkdir local isdirectory = require('nvim').fn.isdirectory local function isempty(s) return s == nil or s == '' end local dirpaths = { backup = 'backupd...
fix: Change settings cmd
fix: Change settings cmd Use ex.set instead of wo.<NAME> to set window settings
Lua
mit
Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim,Mike325/.vim
9524973c0d6a0f8644782c7f8db85d9f5d1f7785
gumbo/dom/HTMLCollection.lua
gumbo/dom/HTMLCollection.lua
local util = require "gumbo.dom.util" local assertString = util.assertString local type, ipairs = type, ipairs local _ENV = nil local HTMLCollection = {} function HTMLCollection:__index(k) local field = HTMLCollection[k] if field then return field elseif type(k) == "string" then return self...
local util = require "gumbo.dom.util" local assertString = util.assertString local type, ipairs = type, ipairs local _ENV = nil local HTMLCollection = {} function HTMLCollection:__index(k) local field = HTMLCollection[k] if field then return field elseif type(k) == "string" then return self...
Fix HTMLCollection.namedItem to properly follow the DOM spec
Fix HTMLCollection.namedItem to properly follow the DOM spec
Lua
apache-2.0
craigbarnes/lua-gumbo,craigbarnes/lua-gumbo,craigbarnes/lua-gumbo
9081796dc38fb1217a44d282cc67898ac9114b86
lexers/perl.lua
lexers/perl.lua
-- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE. -- Perl LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V local M = {_NAME = 'perl'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. loc...
-- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE. -- Perl LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V local M = {_NAME = 'perl'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. loc...
More Perl lexer fixes related to regexes; lexers/perl.lua
More Perl lexer fixes related to regexes; lexers/perl.lua
Lua
mit
rgieseke/scintillua
136ee4f6196bcb4b8d7ceec68beb79cd7735d629
lua/entities/gmod_wire_expression2/core/cl_files.lua
lua/entities/gmod_wire_expression2/core/cl_files.lua
--[[ File Extension By: Dan (McLovin) ]]-- local cv_max_transfer_size = CreateConVar( "wire_expression2_file_max_size", "100", { FCVAR_REPLICATED, FCVAR_ARCHIVE } ) //in kb local upload_buffer = {} local download_buffer = {} local upload_chunk_size = 20000 //Our overhead is pretty small so lets send it in moderate...
--[[ File Extension By: Dan (McLovin) ]]-- local cv_max_transfer_size = CreateConVar( "wire_expression2_file_max_size", "100", { FCVAR_REPLICATED, FCVAR_ARCHIVE } ) //in kb local upload_buffer = {} local download_buffer = {} local upload_chunk_size = 20000 //Our overhead is pretty small so lets send it in moderate...
E2 File Writing: Fixed failing if directory didn't exist Fixes #321, probably
E2 File Writing: Fixed failing if directory didn't exist Fixes #321, probably
Lua
apache-2.0
sammyt291/wire,garrysmodlua/wire,Grocel/wire,rafradek/wire,bigdogmat/wire,thegrb93/wire,immibis/wiremod,mms92/wire,Python1320/wire,dvdvideo1234/wire,wiremod/wire,plinkopenguin/wiremod,CaptainPRICE/wire,NezzKryptic/Wire,mitterdoo/wire,notcake/wire
2f5c5e1eca480f4382c2b951f6ce58ca8dafbd79
twitpic.lua
twitpic.lua
local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') read_file = function(file) if file then local f = assert(io.open(file)) local data = f:read("*all") f:close() return data else return "" end end wget.callbacks.download_ch...
local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') read_file = function(file) if file then local f = assert(io.open(file)) local data = f:read("*all") f:close() return data else return "" end end wget.callbacks.download_ch...
twitpic.lua: fixes for what needs to download
twitpic.lua: fixes for what needs to download
Lua
unlicense
ArchiveTeam/twitpic-grab,ArchiveTeam/twitpic-grab,ArchiveTeam/twitpic-grab
963567a9902898e6f195837bac26859cd639036c
testserver/item/id_314_ash.lua
testserver/item/id_314_ash.lua
require("base.common") module("item.id_314_ash", package.seeall) -- UPDATE common SET com_script='item.id_314_ash' WHERE com_itemid = 314; function LookAtItem(User,Item) -- Mummy -> 101 -- Skeleton -> 111 -- Demonskeleton -> 171 -- Skulls -> 211 -- Ghostskeleton -> 231 if (...
require("base.common") module("item.id_314_ash", package.seeall) -- UPDATE common SET com_script='item.id_314_ash' WHERE com_itemid = 314; function LookAtItem(User,Item) -- Mummy -> 101 -- Skeleton -> 111 -- Demonskeleton -> 171 -- Skulls -> 211 -- Ghostskeleton -> 231 if (...
lookat fix
lookat fix
Lua
agpl-3.0
KayMD/Illarion-Content,LaFamiglia/Illarion-Content,Illarion-eV/Illarion-Content,vilarion/Illarion-Content,Baylamon/Illarion-Content
98d234b5fb7f51a1c85153165d2bbcd2982d618b
aspects/nvim/files/.config/nvim/lua/wincent/ftplugin/lua/includeexpr.lua
aspects/nvim/files/.config/nvim/lua/wincent/ftplugin/lua/includeexpr.lua
local fmt = string.format -- Look at first line of `package.config` for directory separator. -- See: http://www.lua.org/manual/5.2/manual.html#pdf-package.config local separator = string.match(package.config, '^[^\n]') -- Search for lua traditional include paths. -- This mimics how require internally works. local fun...
local fmt = string.format -- Look at first line of `package.config` for directory separator. -- See: http://www.lua.org/manual/5.2/manual.html#pdf-package.config local separator = string.match(package.config, '^[^\n]') -- Search for lua traditional include paths. -- This mimics how require internally works. local fun...
refactor(nvim): remove unused parameter from `include_paths()`
refactor(nvim): remove unused parameter from `include_paths()` `ext` is not used, so the call to `include_paths()` with "fnl" as the second parameter isn't doing anything. Now, `package.path` is going to look something like this (but all on one line, separated by ";"): ./?.lua /usr/local/share/luajit-2.1.0-be...
Lua
unlicense
wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent
5d79939d8721fd2042be4103c8389e2582b7177e
src_trunk/resources/social-system/s_friends.lua
src_trunk/resources/social-system/s_friends.lua
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
text fix
text fix git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@1307 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
f595f220958cc54910585cecaac9c95e422b0044
libs/web/luasrc/template.lua
libs/web/luasrc/template.lua
--[[ LuCI - Template Parser Description: A template parser supporting includes, translations, Lua code blocks and more. It can be used either as a compiler or as an interpreter. FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you...
--[[ LuCI - Template Parser Description: A template parser supporting includes, translations, Lua code blocks and more. It can be used either as a compiler or as an interpreter. FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you...
libs/web: Fixed luci.template
libs/web: Fixed luci.template git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@3084 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
alxhh/piratenluci,ReclaimYourPrivacy/cloak-luci,stephank/luci,saraedum/luci-packages-old,ch3n2k/luci,ch3n2k/luci,alxhh/piratenluci,vhpham80/luci,dtaht/cerowrt-luci-3.3,vhpham80/luci,projectbismark/luci-bismark,jschmidlapp/luci,gwlim/luci,jschmidlapp/luci,projectbismark/luci-bismark,phi-psi/luci,saraedum/luci-packages-o...
b96a17a22ebddc07d8cf44ac3a330f451c965409
src_trunk/resources/job-system/s_job_system.lua
src_trunk/resources/job-system/s_job_system.lua
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
fixed employment window showing up in fbi/sa-news-hq
fixed employment window showing up in fbi/sa-news-hq git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@741 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
8e35a6e4ab73a01a019ddd6c87425bcb1c61e2cb
frontend/ui/widget/container/inputcontainer.lua
frontend/ui/widget/container/inputcontainer.lua
local WidgetContainer = require("ui/widget/container/widgetcontainer") local UIManager = require("ui/uimanager") local Screen = require("device").screen local Geom = require("ui/geometry") local Event = require("ui/event") local _ = require("gettext") --[[ an InputContainer is an WidgetContainer that handles input eve...
local WidgetContainer = require("ui/widget/container/widgetcontainer") local UIManager = require("ui/uimanager") local Screen = require("device").screen local Geom = require("ui/geometry") local Event = require("ui/event") local _ = require("gettext") --[[ an InputContainer is an WidgetContainer that handles input eve...
fix inputcontainer
fix inputcontainer
Lua
agpl-3.0
Frenzie/koreader,koreader/koreader,Markismus/koreader,Hzj-jie/koreader,pazos/koreader,NiLuJe/koreader,NiLuJe/koreader,frankyifei/koreader,chihyang/koreader,mwoz123/koreader,poire-z/koreader,apletnev/koreader,mihailim/koreader,Frenzie/koreader,koreader/koreader,robert00s/koreader,lgeek/koreader,houqp/koreader,NickSavage...
1d55c0df9c05314a0c9218132fda4775535d1f27
home/config/nvim/lua/plugins/nvim-lspconfig.lua
home/config/nvim/lua/plugins/nvim-lspconfig.lua
local wk = require('which-key') local li = require('nvim-lsp-installer') local illum = require('illuminate') local aerial = require('aerial') local lsp = vim.lsp local diag = vim.diagnostic wk.register( { l = { name = 'LSP', a = { '<Cmd>AerialToggle<Cr>', 'Toggle Aerial' } , e = { '<Cmd>lua vim...
local wk = require('which-key') local lspinstaller = require('nvim-lsp-installer') local lspconfig = require('lspconfig') local illum = require('illuminate') local aerial = require('aerial') local lsp = vim.lsp local diag = vim.diagnostic wk.register( { l = { name = 'LSP', a = { '<Cmd>AerialToggle<Cr...
nvim: fix nvim-lsp-installer deprecation
nvim: fix nvim-lsp-installer deprecation
Lua
unlicense
knpwrs/dotfiles
0969c5f8f53700877a1a42297ebc3e30d932ebd3
openwrt/package/linkmeter/luasrc/linkmeterd.lua
openwrt/package/linkmeter/luasrc/linkmeterd.lua
#! /usr/bin/env lua local io = require("io") local os = require("os") local rrd = require("rrd") local nixio = require("nixio") nixio.fs = require("nixio.fs") local uci = require("uci") local SERIAL_DEVICE = "/dev/ttyS1" local RRD_FILE = "/tmp/hm.rrd" local JSON_FILE = "/tmp/json" local probeNames = { "Pit", "Food P...
#! /usr/bin/env lua local io = require("io") local os = require("os") local rrd = require("rrd") local nixio = require("nixio") nixio.fs = require("nixio.fs") local uci = require("uci") local SERIAL_DEVICE = "/dev/ttyS1" local RRD_FILE = "/tmp/hm.rrd" local JSON_FILE = "/tmp/json" function rrdCreate() return rrd.cr...
[lm] Remove superflous probeName array and fix serial device file mode
[lm] Remove superflous probeName array and fix serial device file mode
Lua
mit
shmick/HeaterMeter,shmick/HeaterMeter,CapnBry/HeaterMeter,shmick/HeaterMeter,shmick/HeaterMeter,CapnBry/HeaterMeter,kdakers80/HeaterMeter,shmick/HeaterMeter,dwright134/HeaterMeter,CapnBry/HeaterMeter,dwright134/HeaterMeter,kdakers80/HeaterMeter,kdakers80/HeaterMeter,CapnBry/HeaterMeter,CapnBry/HeaterMeter,kdakers80/Hea...
a5ab54c7beeabc5374ac9f3ec3af7623cc2aca13
src/websocket/server_ev.lua
src/websocket/server_ev.lua
local socket = require'socket' local tools = require'websocket.tools' local frame = require'websocket.frame' local handshake = require'websocket.handshake' local tconcat = table.concat local tinsert = table.insert local ev local loop local clients = {} clients[true] = {} local client = function(sock,protocol) asse...
local socket = require'socket' local tools = require'websocket.tools' local frame = require'websocket.frame' local handshake = require'websocket.handshake' local tconcat = table.concat local tinsert = table.insert local ev local loop local clients = {} clients[true] = {} local client = function(sock,protocol) asse...
fix start order of handler
fix start order of handler
Lua
mit
lipp/lua-websockets,OptimusLime/lua-websockets,KSDaemon/lua-websockets,enginix/lua-websockets,OptimusLime/lua-websockets,KSDaemon/lua-websockets,OptimusLime/lua-websockets,enginix/lua-websockets,lipp/lua-websockets,lipp/lua-websockets,KSDaemon/lua-websockets,enginix/lua-websockets
5febf5875297d20bea779aa9207ce4be6f54f412
turttlebot2_v4_turtlebot.lua
turttlebot2_v4_turtlebot.lua
function setVels_cb(msg) -- not sure if a scale factor is must be applied local linVel = msg.linear.x/2 -- in m/s local rotVel = msg.angular.z*wheelAxis/2 -- in rad/s velocityRight = linVel+rotVel velocityLeft = linVel-rotVel if simulationIsKinematic then -- Simulation is kinematic p=s...
function setVels_cb(msg) -- not sure if a scale factor is must be applied local wheelAxis = 0.22 -- check this value local linVel = msg.linear.x/2 -- in m/s local rotVel = msg.angular.z*wheelAxis/2 -- in rad/s velocityRight = linVel+rotVel velocityLeft = linVel-rotVel if simulationIsKinematic then...
fixed robot control and now publishing bumper data in kobuki_msgs format
fixed robot control and now publishing bumper data in kobuki_msgs format
Lua
apache-2.0
EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu,EricssonResearch/scott-eu
a5a61c1e391e8ac16aac153aefffd073eda04fe5
cache_table.lua
cache_table.lua
local EMPTY_TABLE = {} local support_types = {["string"] = true, ["number"] = true, ["boolean"] = true} local function _sync_cache(self, obj, field_name) local key = assert(obj[self.key_field_name]) local value = assert(obj[field_name]) assert(support_types[type(value)]) self.cache[field_name] = self.cache[field_n...
local EMPTY_TABLE = {} local support_types = {["string"] = true, ["number"] = true, ["boolean"] = true} local function _sync_cache(self, obj, field_name) local key = assert(obj[self.key_field_name]) local value = assert(obj[field_name]) assert(support_types[type(value)]) self.cache[field_name] = self.cache[field_n...
fix bug
fix bug
Lua
mit
kinbei/lua-misc
5cd32ef7c0f9b432dc193e585d437d49232fb92f
layout-app.lua
layout-app.lua
SILE.scratch.layout = "app" local book = SILE.require("classes/book"); book:defineMaster({ id = "right", firstContentFrame = "content", frames = { content = { left = "2mm", right = "100%pw-2mm", top = "12mm", bottom = "top(footnotes)" }, runningHead = { left = "left(content)", right = "right(content)", top = "top...
SILE.scratch.layout = "app" local book = SILE.require("classes/book"); book:defineMaster({ id = "right", firstContentFrame = "content", frames = { content = { left = "2mm", right = "100%pw-2mm", top = "16mm", bottom = "top(footnotes)" }, runningHead = { left = "left(content)", right = "right(content)", top = "top...
Setup app layout PDFS to have two row header
Setup app layout PDFS to have two row header Fixes #17
Lua
agpl-3.0
alerque/casile,alerque/casile,alerque/casile,alerque/casile,alerque/casile
09f5bab7448b964f953f42215683ff0883a01026
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$ ]]-- 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...
* luci/olsr: fix names of interfaces with type bridge
* luci/olsr: fix names of interfaces with type bridge
Lua
apache-2.0
maxrio/luci981213,kuoruan/lede-luci,marcel-sch/luci,florian-shellfire/luci,tcatm/luci,zhaoxx063/luci,jorgifumi/luci,shangjiyu/luci-with-extra,palmettos/test,joaofvieira/luci,palmettos/test,remakeelectric/luci,obsy/luci,rogerpueyo/luci,deepak78/new-luci,oneru/luci,palmettos/cnLuCI,hnyman/luci,RuiChen1113/luci,Kyklas/luc...
018adc3153500f84a2f416399c22f6c5f437c661
MCServer/Plugins/ProtectionAreas/CommandState.lua
MCServer/Plugins/ProtectionAreas/CommandState.lua
-- CommandState.lua -- Implements the cCommandState class representing a command state for each VIP player --[[ The command state holds internal info, such as the coords they selected using the wand The command state needs to be held in a per-entity manner, so that we can support multiple logins from the sam...
-- CommandState.lua -- Implements the cCommandState class representing a command state for each VIP player --[[ The command state holds internal info, such as the coords they selected using the wand The command state needs to be held in a per-entity manner, so that we can support multiple logins from the sam...
ProtectionAreas: Fixed cCommandState's detection of not-selected
ProtectionAreas: Fixed cCommandState's detection of not-selected git-svn-id: ffe80d23790c2318db4f9b6ad70c6163efa9c8e4@1562 0a769ca7-a7f5-676a-18bf-c427514a06d6
Lua
apache-2.0
mc-server/MCServer,thetaeo/cuberite,electromatter/cuberite,zackp30/cuberite,tonibm19/cuberite,bendl/cuberite,electromatter/cuberite,bendl/cuberite,nevercast/cuberite,HelenaKitty/EbooMC,mc-server/MCServer,Tri125/MCServer,MuhammadWang/MCServer,zackp30/cuberite,MuhammadWang/MCServer,marvinkopf/cuberite,electromatter/cuber...
e74c0f475b4e750572fc8ef91dee1340f2055a14
src/cosy/parameters-i18n.lua
src/cosy/parameters-i18n.lua
return { ["check:error"] = { en = "some parameters are invalid or missing", }, ["check:no-check"] = { en = "request argument {{{key}}} has not been checked", }, ["check:not-found"] = { en = "parameter {{{key}}} is missing", }, ["check:is-table"] = { en = "{{{key}}} must be a table", }, ...
return { ["check:error"] = { en = "some parameters are invalid or missing", }, ["check:no-check"] = { en = "in request {{{request}}}, argument {{{key}}} has not been checked", }, ["check:not-found"] = { en = "parameter {{{key}}} is missing", }, ["check:is-table"] = { en = "{{{key}}} must b...
Fix translations.
Fix translations.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library
0c3a2bb2e362679e7d9f3ce2b0fae819ef3cab70
src/_premake_main.lua
src/_premake_main.lua
-- -- _premake_main.lua -- Script-side entry point for the main program logic. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project -- local shorthelp = "Type 'premake5 --help' for help" local versionhelp = "premake5 (Premake Build Script Generator) %s" -- Load the collection of core scripts, req...
-- -- _premake_main.lua -- Script-side entry point for the main program logic. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project -- local shorthelp = "Type 'premake5 --help' for help" local versionhelp = "premake5 (Premake Build Script Generator) %s" -- Load the collection of core scripts, req...
fixed issue #265
fixed issue #265
Lua
bsd-3-clause
Meoo/premake-core,starkos/premake-core,tritao/premake-core,premake/premake-core,LORgames/premake-core,mendsley/premake-core,LORgames/premake-core,martin-traverse/premake-core,alarouche/premake-core,martin-traverse/premake-core,starkos/premake-core,alarouche/premake-core,xriss/premake-core,tvandijck/premake-core,prapin/...
8cf9da9a88718fd8271bb4cd4462faa16183b36c
GuemUICastingBarFrame.lua
GuemUICastingBarFrame.lua
local AddonName, AddonTable = ... local LSM = LibStub("LibSharedMedia-3.0") _G[AddonName] = _G[AddonName] or LibStub("AceAddon-3.0"):NewAddon(AddonName) local Addon = _G[AddonName] local assert = assert local type = type local getmetatable = getmetatable local CreateFrame = CreateFrame local UIParent = UIParent fun...
local AddonName, AddonTable = ... local LSM = LibStub("LibSharedMedia-3.0") _G[AddonName] = _G[AddonName] or LibStub("AceAddon-3.0"):NewAddon(AddonName) local Addon = _G[AddonName] local assert = assert local type = type local getmetatable = getmetatable local CreateFrame = CreateFrame local GetSpellInfo = GetSpellI...
fixed a bug making cast bar inccorectly acting like current casting was successful when an other cast was successful while casting.
fixed a bug making cast bar inccorectly acting like current casting was successful when an other cast was successful while casting.
Lua
unlicense
Guema/gCastBars,Guema/GuemUICastBars
1287a71733033664e509458a893e109bec28837c
tests/correctness_tests.lua
tests/correctness_tests.lua
print('starting memory usage: '..collectgarbage('count')) require('util') local hamt = require('hamt') math.randomseed(42) math.randomseed(666) -- if bounds is 0x2FFFFF, then LuaJIT crashes due to out of memory limitations -- since it causes around 1.8 GB of memory to be used. the limit is probably -- lower on 64 bi...
print('starting memory usage: '..collectgarbage('count')) require('tests.util') local hamt = require('hamt') math.randomseed(42) math.randomseed(666) -- if bounds is 0x2FFFFF, then LuaJIT crashes due to out of memory limitations -- since it causes around 1.8 GB of memory to be used. the limit is probably -- lower on...
slight fixes to make it work
slight fixes to make it work
Lua
mit
raymond-w-ko/hamt.lua,raymond-w-ko/hamt.lua
c6e1daab09aa812dd9d1f58ed4c3e6a32b653358
Modules/Client/Camera/Effects/ZoomedCamera.lua
Modules/Client/Camera/Effects/ZoomedCamera.lua
--- Allow freedom of movement around a current place, much like the classic script works now. -- Not intended to be use with the current character script -- Intended to be used with a SummedCamera, relative. -- @classmod ZoomedCamera -- @usage -- local Zoom = ZoomedCamera.new() -- Zoom.Zoom = 30 -- Distance from origin...
--- Allow freedom of movement around a current place, much like the classic script works now. -- Not intended to be use with the current character script -- Intended to be used with a SummedCamera, relative. -- @classmod ZoomedCamera -- @usage -- local Zoom = ZoomedCamera.new() -- Zoom.Zoom = 30 -- Distance from origin...
Fix zoomed camera
Fix zoomed camera
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
3f2c966ad561bb07cd459c92f472a33f23047ba3
lib/run.lua
lib/run.lua
local json = require "cjson" local route = require "route" local context = require "context" local ENV = os.getenv('SPACER_ENV') local INTERNAL_TOKEN = require "internal_token" local reject = function (status, body) ngx.status = status ngx.say(json.encode(body)) ngx.exit(ngx.HTTP_OK) end ngx.req.read_bod...
local json = require "cjson" local route = require "route" local context = require "context" local ENV = os.getenv('SPACER_ENV') local INTERNAL_TOKEN = require "internal_token" local reject = function (status, body) ngx.status = status ngx.say(json.encode(body)) ngx.exit(ngx.HTTP_OK) end ngx.req.read_bod...
fix routing
fix routing
Lua
mit
poga/spacer,poga/spacer,poga/spacer
6b2e3fb98f7c2b9493e48ea1cf82103f6394390a
lua/gen.lua
lua/gen.lua
local bytecode = require("bytecode") local preHooks = {} local postHooks = {} local ccargs = os.getenv("CCARGS") or "" local mainobj local objs = {} local gen = {} -- check if file exists local function fileExists(file) if file then local f = io.open(file,"r") if f ~= nil then io.close(f) return true els...
local bytecode = require("bytecode") local preHooks = {} local postHooks = {} local ccargs = os.getenv("CCARGS") or "" local mainobj local objs = {} local gen = {} -- check if file exists local function fileExists(file) if file then local f = io.open(file,"r") if f ~= nil then io.close(f) return true els...
fixed gen.filestore
fixed gen.filestore
Lua
mit
frinknet/rava,frinknet/rava,frinknet/rava
3a06a72deaa1a2d1fd3b7bccb2deab7de6b9c91a
tundra.lua
tundra.lua
local macosx = { Env = { CCOPTS = { "-Wall", "-Weverything", "-Werror", "-I.", "-DMACOSX", "-Wno-missing-prototypes", "-Wno-padded", { "-O0", "-g"; Config = "*-*-debug" }, { "-O3", "-g"; Config = "*-*-release" }, }, OPENCL_COMPILE...
local macosx = { Env = { CCOPTS = { "-Wall", "-Weverything", "-Werror", "-I.", "-DMACOSX", "-Wno-missing-prototypes", "-Wno-padded", { "-O0", "-g"; Config = "*-*-debug" }, { "-O3", "-g"; Config = "*-*-release" }, }, OPENCL_COMPILE...
Fixed win32 warnings
Fixed win32 warnings
Lua
mit
emoon/sico,emoon/sico
c28f63b9394681dd13ca2bada3a1fa3deb367a4d
xmake/rules/qt/moc/xmake.lua
xmake/rules/qt/moc/xmake.lua
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
fix: cl.exe warning D9024 :无法识别的源文件类型
fix: cl.exe warning D9024 :无法识别的源文件类型
Lua
apache-2.0
waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake,waruqi/xmake
66e54fe90fa3a759a5e33cd018703992da475c63
misc/freeswitch/scripts/common/call_history.lua
misc/freeswitch/scripts/common/call_history.lua
-- Gemeinschaft 5 module: call_history class -- (c) AMOOMA GmbH 2012 -- module(...,package.seeall) function camelize_type(account_type) ACCOUNT_TYPES = { sipaccount = 'SipAccount', conference = 'Conference', faxaccount = 'FaxAccount', callthrough = 'Callthrough', huntgroup = 'HuntGroup', ...
-- Gemeinschaft 5 module: call_history class -- (c) AMOOMA GmbH 2012 -- module(...,package.seeall) function camelize_type(account_type) ACCOUNT_TYPES = { sipaccount = 'SipAccount', conference = 'Conference', faxaccount = 'FaxAccount', callthrough = 'Callthrough', huntgroup = 'HuntGroup', ...
variable context fixed
variable context fixed
Lua
mit
amooma/GS5,amooma/GS5,amooma/GS5,funkring/gs5,funkring/gs5,funkring/gs5,funkring/gs5,amooma/GS5
436ccb77ecdea5a70bb2d4627965551b6c3858b0
rules/misc.lua
rules/misc.lua
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
Fix rules to avoid nil indexing
Fix rules to avoid nil indexing
Lua
apache-2.0
andrejzverev/rspamd,minaevmike/rspamd,andrejzverev/rspamd,AlexeySa/rspamd,AlexeySa/rspamd,andrejzverev/rspamd,andrejzverev/rspamd,minaevmike/rspamd,minaevmike/rspamd,minaevmike/rspamd,AlexeySa/rspamd,andrejzverev/rspamd,andrejzverev/rspamd,minaevmike/rspamd,andrejzverev/rspamd,AlexeySa/rspamd,AlexeySa/rspamd,AlexeySa/r...
fcfea044f3b34b5923822a6456986c281bd8f4f7
src/logger.lua
src/logger.lua
local logging = require("logging") local tg_logger = logging.new( function(self, level, msg) bot.sendMessage(config.monitor, ("*[%s]*\n```\n%s\n```"):format(level, msg), "Markdown") return true end ) tg_logger:setLevel(logging.WARN) local logger = logging.new( function(self, level, msg) ...
local logging = require("logging") local tg_logger = logging.new( function(self, level, msg) if type(bot) == "table" then bot.sendMessage(config.monitor, ("*[%s]*\n```\n%s\n```"):format(level, msg), "Markdown") end return true end ) tg_logger:setLevel(logging.WARN) local logger = logging.n...
fix(logger): indexed nil value
fix(logger): indexed nil value
Lua
apache-2.0
SJoshua/Project-Small-R
ab47240cba9736c8afcfc84cb48cc0cd54abcdde
love2d/pawn.lua
love2d/pawn.lua
require('math') local SPRITE_SIZE = 64 --this assumes rectangular sprites local EPSILON = 0.001 function love.game.newPawn(id, world) local o = {} o.world = world o.zoom = 1 o.x = 2 o.y = 3 o.maxSpeed = 2 o.velX = 0 o.velY = 0 o.name = id o.water = 100 o.temperature = 33 o.temperatureDelta = 1 o.image...
require('math') local SPRITE_SIZE = 64 --this assumes rectangular sprites local EPSILON = 0.001 function love.game.newPawn(id, world) local o = {} o.world = world o.zoom = 1 o.x = 2 o.y = 3 o.maxSpeed = 2 o.velX = 0 o.velY = 0 o.name = id o.water = 100 o.temperature = 33 o.temperatureDelta = 1 o.image...
actually fix the dancing
actually fix the dancing
Lua
mit
nczempin/lizard-journey
fda9970002658def48c6398e7b0fbeff79a2e6f3
lib/switchboard_modules/lua_script_debugger/premade_scripts/7_log_voltage_to_file.lua
lib/switchboard_modules/lua_script_debugger/premade_scripts/7_log_voltage_to_file.lua
print("Log voltage to file. Voltage measured on AIN1. Store value every 1 second for 10 seconds") --Requires SD Card installed inside the T7 or T7-Pro. --Requires FW 1.0150 or newer. On older firmware the file must exist already on the SD card --Older firmware uses "assert" command: file=assert(io.open(Filename, "w")...
--[[ Name: 7_log_voltage_to_file.lua Desc: This example shows how to log voltage measurements to file Note: Requires an SD Card installed inside the T7 or T7-Pro This example requires firmware 1.0282 (T7) Timestamp (real-time-clock) available on T7-Pro only --]] print("Log voltage to ...
Fixed up the formatting of the voltage logging example
Fixed up the formatting of the voltage logging example
Lua
mit
chrisJohn404/ljswitchboard-module_manager,chrisJohn404/ljswitchboard-module_manager,chrisJohn404/ljswitchboard-module_manager
a8d11cf93a092f861de3d89eb7969531acbc0708
modules/title.lua
modules/title.lua
local iconv = require"iconv" local parse = require"socket.url".parse local patterns = { -- X://Y url "^(%a[%w%.+-]+://%S+)", "%f[%S](%a[%w%.+-]+://%S+)", -- www.X.Y url "^(www%.[%w_-%%]+%.%S+)", "%f[%S](www%.[%w_-%%]+%.%S+)", -- XXX.YYY.ZZZ.WWW:VVVV/UUUUU IPv4 address with port and path "^([0-2]?%d?%d%.[0-2]?%d...
local iconv = require"iconv" local parse = require"socket.url".parse local patterns = { -- X://Y url "^(%a[%w%.+-]+://%S+)", "%f[%S](%a[%w%.+-]+://%S+)", -- www.X.Y url "^(www%.[%w_-%%]+%.%S+)", "%f[%S](www%.[%w_-%%]+%.%S+)", -- XXX.YYY.ZZZ.WWW:VVVV/UUUUU IPv4 address with port and path "^([0-2]?%d?%d%.[0-2]?%d...
Minor fixes to title.
Minor fixes to title.
Lua
mit
torhve/ivar2,torhve/ivar2,torhve/ivar2,haste/ivar2
9ceee593d9c676aa93a3c206d547ddf5f11f28e5
busted/outputHandlers/TAP.lua
busted/outputHandlers/TAP.lua
local pretty = require 'pl.pretty' local tablex = require 'pl.tablex' return function(options, busted) local handler = require 'busted.outputHandlers.base'(busted) local getFullName = function(context) local parent = context.parent local names = { (context.name or context.descriptor) } while parent a...
local pretty = require 'pl.pretty' local tablex = require 'pl.tablex' return function(options, busted) local handler = require 'busted.outputHandlers.base'(busted) local getFullName = function(context) local parent = context.parent local names = { (context.name or context.descriptor) } while parent a...
Fix issue #291 TAP output type is broken in 2.0rc3
Fix issue #291 TAP output type is broken in 2.0rc3 The success and failure format strings were bypassed in commit 88f7850. Now, if the following two tests are run with TAP output, we will get the expected ok/not ok formats. $ bin/busted -o TAP spec/cl_spec.lua 1..1 ok 1 - Tests the busted command-line options $ bin...
Lua
mit
ryanplusplus/busted,nehz/busted,mpeterv/busted,leafo/busted,xyliuke/busted,istr/busted,o-lim/busted,sobrinho/busted,DorianGray/busted,Olivine-Labs/busted
737e96fb6439c8a6c6b283f081638b09071153f5
defaut/Pretre.lua
defaut/Pretre.lua
Ovale.defaut["PRIEST"] = [[Define(berserking 26297) SpellInfo(berserking duration=10 cd=180 ) SpellAddBuff(berserking berserking=1) Define(devouring_plague 2944) SpellInfo(devouring_plague duration=6 shadoworbs=1 ) SpellAddTargetDebuff(devouring_plague devouring_plague=1) Define(dispersion 47585) SpellInfo(di...
Ovale.defaut["PRIEST"] = [[Define(berserking 26297) SpellInfo(berserking duration=10 cd=180 ) SpellAddBuff(berserking berserking=1) Define(devouring_plague 2944) SpellInfo(devouring_plague duration=6 shadoworbs=1 ) SpellAddTargetDebuff(devouring_plague devouring_plague=1) Define(dispersion 47585) SpellInfo(di...
Shadow form fix
Shadow form fix git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@549 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
eXhausted/Ovale,Xeltor/ovale,ultijlam/ovale,ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale
f9ec3d6a6dc3bb035586b79da49d59dadd2086a5
lua/entities/gmod_wire_expression2/core/timer.lua
lua/entities/gmod_wire_expression2/core/timer.lua
/******************************************************************************\ Timer support \******************************************************************************/ local timerid = 0 local runner local function Execute(self, name) runner = name self.data['timer'].timers[name] = nil if(self.entity an...
/******************************************************************************\ Timer support \******************************************************************************/ local timerid = 0 local runner local function Execute(self, name) runner = name self.data['timer'].timers[name] = nil if(self.entity an...
fixed errors if you give the new date functions a negative number
fixed errors if you give the new date functions a negative number
Lua
apache-2.0
mms92/wire,wiremod/wire,immibis/wiremod,Python1320/wire,NezzKryptic/Wire,garrysmodlua/wire,Grocel/wire,sammyt291/wire,notcake/wire,plinkopenguin/wiremod,dvdvideo1234/wire,CaptainPRICE/wire,rafradek/wire,mitterdoo/wire,thegrb93/wire,bigdogmat/wire
4d0c2b549934538e7829419701af4cf06bf74dd7
app/log.lua
app/log.lua
-- Oxypanel Core -- File: app/log.lua -- Desc: logging of all actions for Oxypanel local os = os local database, user = luawa.database, luawa.user local function log() local request = luawa.request local status, err = database:insert( 'log', { 'time', 'object_type', 'object_id', 'user_id', 'action', ...
-- Oxypanel Core -- File: app/log.lua -- Desc: logging of all actions for Oxypanel local os = os local database, user, request = luawa.database, luawa.user, luawa.request local function log() -- require both id & type for object local id, type = 0, '' if request.get.type and request.get.id then id...
Fix for when one of id/type set
Fix for when one of id/type set
Lua
mit
Oxygem/Oxycore,Oxygem/Oxycore,Oxygem/Oxycore
5230125b7f0cf102abf3ba263d00b6a3bd36b5be
bhop/gamemode/init.lua
bhop/gamemode/init.lua
--------------------------- -- Bunny Hop -- -- Created by xAaron113x -- --------------------------- include("shared.lua") include("sv_config.lua") include("sh_levels.lua") include("sh_maps.lua") include("sh_viewoffsets.lua") include("player_class/player_bhop.lua") AddCSLuaFile("shared.lu...
--------------------------- -- Bunny Hop -- -- Created by xAaron113x -- --------------------------- include("shared.lua") include("sv_config.lua") include("sh_levels.lua") include("sh_maps.lua") include("sh_viewoffsets.lua") include("player_class/player_bhop.lua") AddCSLuaFile("shared.lu...
Tiny little bugfix :( (for making non listed maps work)
Tiny little bugfix :( (for making non listed maps work)
Lua
bsd-3-clause
T3hArco/skeyler-gamemodes
9514027f65b22933010be8664ae584bdd6e631bd
lib/pairwise_transform_jpeg_scale.lua
lib/pairwise_transform_jpeg_scale.lua
local pairwise_utils = require 'pairwise_transform_utils' local iproc = require 'iproc' local gm = require 'graphicsmagick' local pairwise_transform = {} local function add_jpeg_noise_(x, quality, options) for i = 1, #quality do x = gm.Image(x, "RGB", "DHW") x:format("jpeg"):depth(8) if torch.unif...
local pairwise_utils = require 'pairwise_transform_utils' local iproc = require 'iproc' local gm = require 'graphicsmagick' local pairwise_transform = {} local function add_jpeg_noise_(x, quality, options) for i = 1, #quality do x = gm.Image(x, "RGB", "DHW") x:format("jpeg"):depth(8) if torch.unif...
Fix a bug that -nr_rate is not used
Fix a bug that -nr_rate is not used
Lua
mit
zyhkz/waifu2x,zyhkz/waifu2x,zyhkz/waifu2x,zyhkz/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,nagadomi/waifu2x,Spitfire1900/upscaler,nagadomi/waifu2x,Spitfire1900/upscaler
89aa9920e1a22147b55ccd96f84031866ad069de
util/dialog.lua
util/dialog.lua
-------------------------------------------------------------------------------- -- Copyright (c) 2015 Jason Lynch <jason@calindora.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 ...
-------------------------------------------------------------------------------- -- Copyright (c) 2015 Jason Lynch <jason@calindora.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 ...
Fix a bug with the dialog code during reset.
Fix a bug with the dialog code during reset. Note that this doesn't actually make any sense to me, since it seems to stem from a variable carrying over between runs. I figured reboot_core would successfully clear the environments, but apparently not. If the bug continues to occur we can investigate further. (Specifica...
Lua
mit
aexoden/edge
7dc9ce0803eacf1e9d78f7fcfea05e574993af18
scripts/tundra/syntax/pkgconfig.lua
scripts/tundra/syntax/pkgconfig.lua
module(..., package.seeall) function ConfigureRaw(cmdline, name, constructor) local fh = assert(io.popen(cmdline)) local data = fh:read("*all") fh:close() local cpppath = {} local libpath = {} local libs = {} local defines = {} local frameworks = {} for kind, value in data:gmatch("-([ILlD])([^ \n\r...
module(..., package.seeall) function ConfigureRaw(cmdline, name, constructor) local fh = assert(io.popen(cmdline)) local data = fh:read("*all") fh:close() local cpppath = {} local libpath = {} local libs = {} local defines = {} local frameworks = {} for kind, value in data:gmatch("-([ILlD])([^ \n\r...
Ignore -Wl, arguments from pkgconfig
Ignore -Wl, arguments from pkgconfig Fixes #315
Lua
mit
bmharper/tundra,bmharper/tundra,deplinenoise/tundra,bmharper/tundra,bmharper/tundra,deplinenoise/tundra,deplinenoise/tundra
0f90e378ca68ba80cc489b15898511419d8a8378
mod_pastebin/mod_pastebin.lua
mod_pastebin/mod_pastebin.lua
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; local base_url; local pastes = {}; local xmlns_xhtmlim = "http://jabber.org/protocol/...
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; local base_url = config.get(module.host, "core", "pastebin_url"); local pastes = {}; ...
mod_pastebin: Small fix to read the pastebin URL from the config
mod_pastebin: Small fix to read the pastebin URL from the config
Lua
mit
Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules
3995295c02a343534da5d54f2231f23cfdfc3c95
src/main.lua
src/main.lua
-- Load libs msg = require("src.msg") opt = require("src.opt") rava = require("src.rava") -- set version APPNAME = "Rava Micro-Service Compiler" VERSION = "2.0.1" OPLEVEL = 1 RAVABIN = arg[0] -- Make sure ravabin is defined properly if arg[-1] ~= nil then RAVABIN = arg[-1].." "..arg[0] end -- Help opt.add("h", "Sho...
-- Load libs msg = require("src.msg") opt = require("src.opt") rava = require("src.rava") -- set version APPNAME = "Rava Micro-Service Compiler" VERSION = "2.0.1" OPLEVEL = 1 RAVABIN = arg[0] -- Make sure ravabin is defined properly if arg[-1] ~= nil then RAVABIN = arg[-1].." "..arg[0] end -- Help opt.add("h", "Sho...
Fixed broken data store
Fixed broken data store
Lua
mit
frinknet/rava,frinknet/rava,frinknet/rava
4823a3f6eb1a6078bba4c2773e76391414e9b0a3
classes/objectqueue.class.lua
classes/objectqueue.class.lua
include("object.class.lua"); include("objectlists.settings.lua"); CObjectQueue = class( function (self) self.Queue = {}; self.first = 0; self.last = -1; end ); function CObjectQueue:update() self.Queue = {}; -- Flush all objects. local evalAddresse = objectslists.funcs["objectlists_eval_addresse"]; local s...
include("object.class.lua"); include("objectlists.settings.lua"); CObjectQueue = class( function (self) self.Queue = {}; self.first = 0; self.last = -1; end ); function CObjectQueue:update() self.Queue = {}; -- Flush all objects. -- rest the counters self.first = 0; self.last = -1; local evalAddresse =...
fix small bug forgot to reset the counters
fix small bug forgot to reset the counters
Lua
mit
BlubBlab/Micromacro-2-Bot-Framework
b28582e174019684ab038ce38f53918b23214302
mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua
mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua
local st = require "util.stanza"; local nodeprep = require "util.encodings".stringprep.nodeprep; local rooms = module:shared "muc/rooms"; if not rooms then module:log("error", "This module only works on MUC components!"); return; end local admins = module:get_option_set("admins", {}); local restrict_p...
local st = require "util.stanza"; local jid = require "util.jid"; local nodeprep = require "util.encodings".stringprep.nodeprep; local rooms = module:shared "muc/rooms"; if not rooms then module:log("error", "This module only works on MUC components!"); return; end local restrict_patterns = module:get...
mod_muc_restrict_rooms: Some fixes based on Matthew's comments + a few more
mod_muc_restrict_rooms: Some fixes based on Matthew's comments + a few more
Lua
mit
prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2,prosody-modules/import2
833327d971d0911404014be1f2a411f8e36b5f84
mods/inventory_icon/init.lua
mods/inventory_icon/init.lua
inventory_icon = {} inventory_icon.hudids = {} inventory_icon.COLORIZE_STRING = "[colorize:#A00000:192" function inventory_icon.get_inventory_state(inv, listname) local size = inv:get_size(listname) local occupied = 0 for i=1,size do local stack = inv:get_stack(listname, i) if not stack:is_empty() then occu...
inventory_icon = {} inventory_icon.hudids = {} inventory_icon.COLORIZE_STRING = "[colorize:#A00000:192" function inventory_icon.get_inventory_state(inv, listname) local size = inv:get_size(listname) local occupied = 0 for i=1,size do local stack = inv:get_stack(listname, i) if not stack:is_empty() then occu...
fix wrong icon name due to new colored bags
fix wrong icon name due to new colored bags
Lua
unlicense
Ombridride/minetest-minetestforfun-server,Coethium/server-minetestforfun,MinetestForFun/minetest-minetestforfun-server,MinetestForFun/minetest-minetestforfun-server,LeMagnesium/minetest-minetestforfun-server,MinetestForFun/server-minetestforfun,crabman77/minetest-minetestforfun-server,crabman77/minetest-minetestforfun-...
2078028ae0a5f6d7c60ea6365a880cc328ae32a5
otouto/plugins/twitter.lua
otouto/plugins/twitter.lua
local twitter = {} function twitter:init(config) if not cred_data.tw_consumer_key then print('Missing config value: tw_consumer_key.') print('twitter.lua will not be enabled.') return elseif not cred_data.tw_consumer_secret then print('Missing config value: tw_consumer_secret.') print('twitter.lua will not...
local twitter = {} function twitter:init(config) if not cred_data.tw_consumer_key then print('Missing config value: tw_consumer_key.') print('twitter.lua will not be enabled.') return elseif not cred_data.tw_consumer_secret then print('Missing config value: tw_consumer_secret.') print('twitter.lua will not...
Twitter: Fixe Videos, da Twitter WebM nicht mehr ausliefert
Twitter: Fixe Videos, da Twitter WebM nicht mehr ausliefert
Lua
agpl-3.0
Brawl345/Brawlbot-v2
954b2e90d4ab5958a216d09ef498cc2a968d1c3f
config/nvim/lua/init/null_ls.lua
config/nvim/lua/init/null_ls.lua
require("null-ls").setup({ sources = { require("null-ls").builtins.completion.spell, require("null-ls").builtins.diagnostics.eslint, require("null-ls").builtins.formatting.black, require("null-ls").builtins.formatting.clang_format, require("null-ls").builtins.formatting.elm_format, require("null-ls").built...
require("null-ls").setup({ sources = { require("null-ls").builtins.completion.spell, require("null-ls").builtins.diagnostics.eslint, require("null-ls").builtins.formatting.black, require("null-ls").builtins.formatting.clang_format, require("null-ls").builtins.formatting.elm_format, require("null-ls").built...
Fix shfmt configuration
Fix shfmt configuration
Lua
unlicense
raviqqe/dotfiles
8d3f279d9b95b69eaf7936f940e0cd5b5cd8786f
deps/ustring.lua
deps/ustring.lua
--[[ Copyright 2014-2015 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 o...
--[[ Copyright 2014-2015 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 o...
fix ustring.find's behavior when used `init`
fix ustring.find's behavior when used `init`
Lua
apache-2.0
zhaozg/luvit,zhaozg/luvit,luvit/luvit,luvit/luvit
7f99ba0158707aaf0507fad4257756b36584942e
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
cedc0b997fe39751726632622f52ccc547e85395
L1HingeEmbeddingCriterion.lua
L1HingeEmbeddingCriterion.lua
local L1HingeEmbeddingCriterion, parent = torch.class('nn.L1HingeEmbeddingCriterion', 'nn.Criterion') function L1HingeEmbeddingCriterion:__init(margin) parent.__init(self) margin = margin or 1 self.margin = margin self.gradInput = {torch.Tensor(), torch.Tensor()} end function L1HingeEmbeddingCriterion:...
local L1HingeEmbeddingCriterion, parent = torch.class('nn.L1HingeEmbeddingCriterion', 'nn.Criterion') function L1HingeEmbeddingCriterion:__init(margin) parent.__init(self) margin = margin or 1 self.margin = margin self.gradInput = {torch.Tensor(), torch.Tensor()} end function L1HingeEmbeddingCriterion:upd...
type fix for L1HingeEmbeddingCriterion
type fix for L1HingeEmbeddingCriterion
Lua
bsd-3-clause
abeschneider/nn,jzbontar/nn,davidBelanger/nn,eriche2016/nn,caldweln/nn,colesbury/nn,boknilev/nn,mlosch/nn,vgire/nn,zhangxiangxiao/nn,nicholas-leonard/nn,PierrotLC/nn,bartvm/nn,fmassa/nn,apaszke/nn,kmul00/nn,diz-vara/nn,EnjoyHacking/nn,szagoruyko/nn,PraveerSINGH/nn,jhjin/nn,clementfarabet/nn,andreaskoepf/nn,Aysegul/nn,j...
7205967d8963fc9ac0720376f5f419d9f4617816
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
Lua
apache-2.0
deepak78/luci,8devices/luci,8devices/luci,deepak78/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci,8devices/luci,deepak78/luci,deepak78/luci,deepak78/luci,8devices/luci
e9131c266bf2ffedfa0e272afd1b365863374a55
spotify-widget/spotify.lua
spotify-widget/spotify.lua
------------------------------------------------- -- Spotify Widget for Awesome Window Manager -- Shows currently playing song on Spotify for Linux client -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/spotify-widget -- @author Pavel Makhov -- @copyright 2018 Pav...
------------------------------------------------- -- Spotify Widget for Awesome Window Manager -- Shows currently playing song on Spotify for Linux client -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/spotify-widget -- @author Pavel Makhov -- @copyright 2018 Pav...
escape ampersand, fix #136
escape ampersand, fix #136
Lua
mit
streetturtle/awesome-wm-widgets,streetturtle/awesome-wm-widgets
fd27aef3b1e5bce2413dcae133254c9a37b731aa
lua/entities/gmod_wire_expression2/core/selfaware.lua
lua/entities/gmod_wire_expression2/core/selfaware.lua
/******************************************************************************\ Selfaware support \******************************************************************************/ __e2setcost(1) -- temporary e2function entity entity() return self.entity end e2function entity owner() return self.player end __e2s...
/******************************************************************************\ Selfaware support \******************************************************************************/ __e2setcost(1) -- temporary e2function entity entity() return self.entity end e2function entity owner() return self.player end __e2s...
E2: Add "Namer" functionality (Fixes #1365)
E2: Add "Namer" functionality (Fixes #1365) Fixes: #1365 Much simpler implementation than #1366, although i based the code on that.
Lua
apache-2.0
Grocel/wire,wiremod/wire,garrysmodlua/wire,bigdogmat/wire,thegrb93/wire,sammyt291/wire,dvdvideo1234/wire,NezzKryptic/Wire
66b09eb3bd7ef631a050fbafa8abc36f17accfc5
src/romdisk/application/examples/TestCase.lua
src/romdisk/application/examples/TestCase.lua
local Easing = Easing local M = Class(DisplayObject) function M:init(width, height, cases) self.super:init(width, height) self.width = width or 640 self.height = height or 480 self.cases = cases or {} self.index = 1 if #self.cases > 0 then self.case1 = self.cases[self.index].new(self.width, self....
local Easing = Easing local M = Class(DisplayObject) function M:init(width, height, cases) self.super:init(width, height) self.width = width or 640 self.height = height or 480 self.cases = cases or {} self.index = 1 if #self.cases > 0 then self.case1 = self.cases[self.index].new(self.width, self....
[application]fix application
[application]fix application
Lua
mit
xboot/xboot,xboot/xboot
b694702343a923087a8d14fd8694cb0f9f37a517
game/scripts/vscripts/heroes/hero_sara/dark_blink.lua
game/scripts/vscripts/heroes/hero_sara/dark_blink.lua
sara_dark_blink = class({}) if IsServer() then function sara_dark_blink:OnSpellStart() local caster = self:GetCaster() if caster.GetEnergy then local energyBeforeCast = caster:GetEnergy() local wasted = math.max(self:GetSpecialValueFor("min_cost"), caster:GetEnergy() * self:GetSpecialValueFor("energy_pct") ...
sara_dark_blink = class({}) if IsServer() then function sara_dark_blink:OnSpellStart() local caster = self:GetCaster() if caster.GetEnergy then local energyBeforeCast = caster:GetEnergy() local wasted = math.max(self:GetSpecialValueFor("min_cost"), caster:GetEnergy() * self:GetSpecialValueFor("energy_pct") ...
Fixed Sara - Dark Blink used wrong particles
Fixed Sara - Dark Blink used wrong particles
Lua
mit
ark120202/aabs
0575ba154b102c4a8a4f3b75c5d9747c488ab719
src/luarocks/command_line.lua
src/luarocks/command_line.lua
--- Functions for command-line scripts. module("luarocks.command_line", package.seeall) local util = require("luarocks.util") local cfg = require("luarocks.cfg") local fs = require("luarocks.fs") local path = require("luarocks.path") local dir = require("luarocks.dir") local deps = require("luarocks.deps") --- Displ...
--- Functions for command-line scripts. module("luarocks.command_line", package.seeall) local util = require("luarocks.util") local cfg = require("luarocks.cfg") local path = require("luarocks.path") local dir = require("luarocks.dir") local deps = require("luarocks.deps") --- Display an error message and exit. -- @...
Fix behavior of --nodeps
Fix behavior of --nodeps
Lua
mit
ignacio/luarocks,xpol/luarocks,tarantool/luarocks,xpol/luainstaller,tarantool/luarocks,robooo/luarocks,aryajur/luarocks,xpol/luavm,leafo/luarocks,rrthomas/luarocks,ignacio/luarocks,coderstudy/luarocks,usstwxy/luarocks,coderstudy/luarocks,xpol/luarocks,keplerproject/luarocks,xpol/luavm,luarocks/luarocks,rrthomas/luarock...
22a97b871c51429f11f546bb1fdc08b32660f761
build/premake4.lua
build/premake4.lua
-- This is the starting point of the build scripts for the project. -- It defines the common build settings that all the projects share -- and calls the build scripts of all the sub-projects. config = {} dofile "Helpers.lua" --dofile "Tests.lua" dofile "LLVM.lua" solution "SharpLang" configurations { "Debug", "Re...
-- This is the starting point of the build scripts for the project. -- It defines the common build settings that all the projects share -- and calls the build scripts of all the sub-projects. config = {} dofile "Helpers.lua" --dofile "Tests.lua" dofile "LLVM.lua" solution "SharpLang" configurations { "Debug", "Re...
[Build] Fixed platform mapping (AnyCPU) for corlib.
[Build] Fixed platform mapping (AnyCPU) for corlib.
Lua
bsd-2-clause
xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang
01dc1af5f4609580e5ea75ccf58dc57b88ea3aea
profile.lua
profile.lua
-- Begin of globals bollards_whitelist = { [""] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["no"] = true, ["sally_port"] = true, ["gate"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["d...
-- Begin of globals bollards_whitelist = { [""] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["no"] = true, ["sally_port"] = true, ["gate"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["d...
Fixes issue #432
Fixes issue #432
Lua
bsd-2-clause
ramyaragupathy/osrm-backend,Conggge/osrm-backend,ramyaragupathy/osrm-backend,arnekaiser/osrm-backend,oxidase/osrm-backend,bjtaylor1/osrm-backend,frodrigo/osrm-backend,duizendnegen/osrm-backend,yuryleb/osrm-backend,bjtaylor1/Project-OSRM-Old,Tristramg/osrm-backend,hydrays/osrm-backend,keesklopt/matrix,arnekaiser/osrm-ba...
b4acd30cca4dd5aa4682732ee29f48d6e04e8a1d
scripts/embed.lua
scripts/embed.lua
-- -- Embed the Lua scripts into src/host/scripts.c as static data buffers. -- Embeds minified versions of the actual scripts by default, rather than -- bytecode, as bytecodes are not portable to different architectures. Use -- the `--bytecode` flag to override. -- local scriptCount = 0 local function loadScript(fn...
-- -- Embed the Lua scripts into src/host/scripts.c as static data buffers. -- Embeds minified versions of the actual scripts by default, rather than -- bytecode, as bytecodes are not portable to different architectures. Use -- the `--bytecode` flag to override. -- local scriptCount = 0 local function loadScript(fn...
fix unreferenced argument warning.
fix unreferenced argument warning.
Lua
bsd-3-clause
starkos/premake-core,Blizzard/premake-core,Blizzard/premake-core,mandersan/premake-core,noresources/premake-core,Zefiros-Software/premake-core,premake/premake-core,starkos/premake-core,soundsrc/premake-core,Zefiros-Software/premake-core,soundsrc/premake-core,Zefiros-Software/premake-core,dcourtois/premake-core,dcourtoi...
c790f8e25a63166a15048266e5658f0c6ee9cd0b
src/lua-factory/sources/grl-radiofrance.lua
src/lua-factory/sources/grl-radiofrance.lua
--[[ * Copyright (C) 2014 Bastien Nocera * * Contact: Bastien Nocera <hadess@hadess.net> * * This library 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; version 2.1 of * the License, or (at you...
--[[ * Copyright (C) 2014 Bastien Nocera * * Contact: Bastien Nocera <hadess@hadess.net> * * This library 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; version 2.1 of * the License, or (at you...
lua-factory: Fix Radio France source again
lua-factory: Fix Radio France source again URLs for the CDN seem to change on a regular basis, so get them from the website directly instead.
Lua
lgpl-2.1
grilofw/grilo-plugins,MikePetullo/grilo-plugins,GNOME/grilo-plugins,MikePetullo/grilo-plugins,MikePetullo/grilo-plugins,GNOME/grilo-plugins,grilofw/grilo-plugins,jasuarez/grilo-plugins,jasuarez/grilo-plugins
1e94f63654b3e91673e29529fbbf13d291bf9e84
src/ds18b20/send_temp.lua
src/ds18b20/send_temp.lua
-- -- -- -- function send_data(t, addr) local json = require("cjson") local devid = string.format("%02X-%02X%02X%02X%02X%02X%02X%02X", addr:byte(1),addr:byte(2),addr:byte(3),addr:byte(4), addr:byte(5),addr:byte(6),addr:byte(7),addr:byte(8)) loc...
-- **************************************************************************** -- ESP8266-01 -- -- Send DS18B20 sensor data connected to GPIO0 (3) -- -- dev-id: dev.<ID>.<TYPE> payload: {:value <VALUE>, :unit RH} -- -- **************************************************************************** function send_data(t, ...
Fixed device id format
Fixed device id format
Lua
mit
JanneLindberg/ESP8266-code
57ca3b3e00fc63bb575c0f37dc3af9988c7df141
busted/init.lua
busted/init.lua
local unpack = require 'busted.compatibility'.unpack local shuffle = require 'busted.utils'.shuffle local function sort(elements) table.sort(elements, function(t1, t2) if t1.name and t2.name then return t1.name < t2.name end return t2.name ~= nil end) return elements end local function remove(...
local unpack = require 'busted.compatibility'.unpack local shuffle = require 'busted.utils'.shuffle local function sort(elements) table.sort(elements, function(t1, t2) if t1.name and t2.name then return t1.name < t2.name end return t2.name ~= nil end) return elements end local function remove(...
Fix duplicate parent variable
Fix duplicate parent variable
Lua
mit
leafo/busted,mpeterv/busted,ryanplusplus/busted,istr/busted,xyliuke/busted,nehz/busted,Olivine-Labs/busted,o-lim/busted,DorianGray/busted,sobrinho/busted
006a8cc9d284c7c0ee983f6963441d40f4877198
core/certmanager.lua
core/certmanager.lua
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local configmanager = require "core.configmanager"; local log = require "util.logger".init("certmanager")...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local configmanager = require "core.configmanager"; local log = require "util.logger".init("certmanager")...
certmanager: Fix order of options, so that the dynamic option is at the end of the array
certmanager: Fix order of options, so that the dynamic option is at the end of the array
Lua
mit
sarumjanuch/prosody,sarumjanuch/prosody
9c69c1f14eebc1df5854ba6057ace60ef068398e
frontend/ui/widget/container/underlinecontainer.lua
frontend/ui/widget/container/underlinecontainer.lua
local WidgetContainer = require("ui/widget/container/widgetcontainer") local Geom = require("ui/geometry") local Blitbuffer = require("ffi/blitbuffer") --[[ an UnderlineContainer is a WidgetContainer that is able to paint a line under its child node --]] local UnderlineContainer = WidgetContainer:new{ linesize = ...
local WidgetContainer = require("ui/widget/container/widgetcontainer") local Geom = require("ui/geometry") local Blitbuffer = require("ffi/blitbuffer") --[[ an UnderlineContainer is a WidgetContainer that is able to paint a line under its child node --]] local UnderlineContainer = WidgetContainer:new{ linesize = ...
Fix #1299
Fix #1299
Lua
agpl-3.0
chihyang/koreader,robert00s/koreader,NiLuJe/koreader,chrox/koreader,Frenzie/koreader,mwoz123/koreader,Markismus/koreader,NickSavage/koreader,houqp/koreader,Frenzie/koreader,poire-z/koreader,noname007/koreader,ashang/koreader,Hzj-jie/koreader,pazos/koreader,NiLuJe/koreader,ashhher3/koreader,apletnev/koreader,mihailim/ko...
e72408a823322af472072e325570b77c95fba6bc
kong/runloop/certificate.lua
kong/runloop/certificate.lua
local singletons = require "kong.singletons" local ngx_ssl = require "ngx.ssl" local pl_utils = require "pl.utils" local mlcache = require "resty.mlcache" local ngx_log = ngx.log local ERR = ngx.ERR local DEBUG = ngx.DEBUG local re_sub = ngx.re.sub local find = string.find local server_n...
local singletons = require "kong.singletons" local ngx_ssl = require "ngx.ssl" local pl_utils = require "pl.utils" local mlcache = require "resty.mlcache" if jit.arch == 'arm64' then jit.off(mlcache.get_bulk) -- "temporary" workaround for issue #5748 on ARM end local ngx_log = ngx.log local ERR ...
fix(cache) disable JIT mlcache:get_bulk() on ARM64 (#5797)
fix(cache) disable JIT mlcache:get_bulk() on ARM64 (#5797) The loop inside this function can trigger a trace restart that results in a wrong value in the local index variable. (kong#5748) until this is fixed in LuaJIT, disabling JIT for this function avoids the problem.
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong
35a6e73409be9978444cf767498c42b375a70ef6
test/performance/observed-concurrency/reporter.lua
test/performance/observed-concurrency/reporter.lua
-- Copyright 2018 The Knative Authors -- -- 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 -- -- https://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agre...
-- Copyright 2018 The Knative Authors -- -- 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 -- -- https://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agre...
Report clear error on missing configuration in observed-concurrency test. (#2023)
Report clear error on missing configuration in observed-concurrency test. (#2023) * Report clear error on missing configuration in observed-concurrency test. Due to a limitation of wrk's lua script, it's not possible to obtain the parameters passed to the wrk call itself inside the lua script. To work around that, th...
Lua
apache-2.0
knative/serving,knative/serving
af3e8b4a4da8e2ca20639b1a3f950c69b0e23a73
premake5.lua
premake5.lua
libyojimbo_version = "0.2.0-preview3" if os.is "windows" then sodium_debug = "sodium-debug" sodium_release = "sodium-release" else sodium_debug = "sodium" sodium_release = "sodium" end solution "Yojimbo" platforms { "x64" } includedirs { "." } if not os.is "windows" then targetdir...
libyojimbo_version = "0.2.0-preview3" if os.is "windows" then sodium_debug = "sodium-debug" sodium_release = "sodium-release" else sodium_debug = "sodium" sodium_release = "sodium" end solution "Yojimbo" platforms { "x64" } includedirs { "." } if not os.is "windows" then targetdir...
fix docker/libyojimbo source copy being pulled into release zip
fix docker/libyojimbo source copy being pulled into release zip
Lua
bsd-3-clause
networkprotocol/yojimbo,networkprotocol/yojimbo,networkprotocol/yojimbo
262578b257c38214fa0adad80a3318d9e53fd530
src_trunk/resources/chat-system/c_chat_icon.lua
src_trunk/resources/chat-system/c_chat_icon.lua
function checkForChat() local chatting = getElementData(getLocalPlayer(), "chatting") if (isChatBoxInputActive() and chatting==0) then setElementData(getLocalPlayer(), "chatting", true, 1) elseif (not isChatBoxInputActive() and chatting==1) then setElementData(getLocalPlayer(), "chatting", true, 0) end...
function checkForChat() local chatting = getElementData(getLocalPlayer(), "chatting") if (isChatBoxInputActive() and chatting==0) then setElementData(getLocalPlayer(), "chatting", true, 1) elseif (not isChatBoxInputActive() and chatting==1) then setElementData(getLocalPlayer(), "chatting", true, 0) end...
Fixed 516
Fixed 516 git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@554 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
4954054a8042d210535dad1a6409522e9a0b4904
src/core/Group.lua
src/core/Group.lua
-------------------------------------------------------------------------------- -- -- -- -------------------------------------------------------------------------------- local Group = class() Group.__index = MOAIProp.getInterfaceTable() Group.__moai_class = MOAIProp --- -- The constructor. -- @param layer (option)l...
-------------------------------------------------------------------------------- -- -- -- -------------------------------------------------------------------------------- local Group = class() Group.__index = MOAIProp.getInterfaceTable() Group.__moai_class = MOAIProp --- -- The constructor. -- @param layer (option)l...
group priorities exp growth fixed
group priorities exp growth fixed
Lua
mit
Vavius/moai-framework,Vavius/moai-framework
8ee362f3351d078846da41b123e1b8ed486df7b9
Code/Tools/BuildScripts/mac-specific/CheckFreeType.lua
Code/Tools/BuildScripts/mac-specific/CheckFreeType.lua
------------------------------------------------------------------------------ -- Copyright (C) 2008-2012, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
------------------------------------------------------------------------------ -- Copyright (C) 2008-2012, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
Fixing bad FreeType build script.
Fixing bad FreeType build script. --HG-- extra : convert_revision : svn%3A18234216-3d68-4496-97ee-3aadfc93d375/trunk%40665
Lua
bsd-3-clause
tks2103/angel-test,angel2d/angel2d,tks2103/angel-test,angel2d/angel2d,tks2103/angel-test,tks2103/angel-test,angel2d/angel2d,angel2d/angel2d,tks2103/angel-test,tks2103/angel-test,angel2d/angel2d,angel2d/angel2d,tks2103/angel-test,angel2d/angel2d,tks2103/angel-test
4f6cb3d1252b8ccd4bf9200b9a3c128f707b89a0
loot.lua
loot.lua
local mod = EPGP:NewModule("loot", "AceEvent-3.0", "AceTimer-3.0") local L = LibStub("AceLocale-3.0"):GetLocale("EPGP") local LLN = LibStub("LibLootNotify-1.0") local ignored_items = { [20725] = true, -- Nexus Crystal [22450] = true, -- Void Crystal [34057] = true, -- Abyss Crystal [29434] = true, -- Badge of...
local mod = EPGP:NewModule("loot", "AceEvent-3.0", "AceTimer-3.0") local L = LibStub("AceLocale-3.0"):GetLocale("EPGP") local LLN = LibStub("LibLootNotify-1.0") local ignored_items = { [20725] = true, -- Nexus Crystal [22450] = true, -- Void Crystal [34057] = true, -- Abyss Crystal [29434] = true, -- Badge of...
Add emblem of frost to the ignore list.
Add emblem of frost to the ignore list. Fixes issue 579.
Lua
bsd-3-clause
ceason/epgp-tfatf,hayword/tfatf_epgp,hayword/tfatf_epgp,ceason/epgp-tfatf,protomech/epgp-dkp-reloaded,sheldon/epgp,protomech/epgp-dkp-reloaded,sheldon/epgp
9815c19d7ea39b8585c2848b523e7182bb26b4c7
lib/lua/TFramedTransport.lua
lib/lua/TFramedTransport.lua
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
THRIFT-3180 fix framed transport
THRIFT-3180 fix framed transport This closes #515
Lua
apache-2.0
JoeEnnever/thrift,SuperAwesomeLTD/thrift,Sean-Der/thrift,koofr/thrift,dcelasun/thrift,mindcandy/thrift,selaselah/thrift,siemens/thrift,selaselah/thrift,vashstorm/thrift,chentao/thrift,apache/thrift,jeking3/thrift,wfxiang08/thrift,JoeEnnever/thrift,3013216027/thrift,bitemyapp/thrift,eonezhang/thrift,strava/thrift,zzmp/t...
fc7dbe76b9f1282f924506c15e7f494f173bc5a9
lua/wincent/commandt/lib.lua
lua/wincent/commandt/lib.lua
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local ffi = require('ffi') local lib = {} -- Lazy-load dynamic (C) library code on first access. local c = {} setmetatable(c, { __index = function(table, key) ffi.cdef[[ // Types. ...
-- SPDX-FileCopyrightText: Copyright 2022-present Greg Hurrell and contributors. -- SPDX-License-Identifier: BSD-2-Clause local ffi = require('ffi') local lib = {} -- Lazy-load dynamic (C) library code on first access. local c = {} setmetatable(c, { __index = function(table, key) ffi.cdef[[ // Types. ...
fix(lua): clean up watch project result
fix(lua): clean up watch project result
Lua
bsd-2-clause
wincent/command-t,wincent/command-t,wincent/command-t
332f2425c711457ae255bd1fa685415302144eac
AceEvent-3.0/AceEvent-3.0.lua
AceEvent-3.0/AceEvent-3.0.lua
--[[ $Id$ ]] local ACEEVENT_MAJOR, ACEEVENT_MINOR = "AceEvent-3.0", 1 local AceEvent, oldminor = LibStub:NewLibrary(ACEEVENT_MAJOR, ACEEVENT_MINOR) if not AceEvent then return end local event_mt = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end} AceEvent.events = AceEvent.events or setmetatable({},...
--[[ $Id$ ]] local ACEEVENT_MAJOR, ACEEVENT_MINOR = "AceEvent-3.0", 1 local AceEvent, oldminor = LibStub:NewLibrary(ACEEVENT_MAJOR, ACEEVENT_MINOR) if not AceEvent then return end local event_mt = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end} AceEvent.events = AceEvent.events or setmetatable({},...
Ace3 - AceEvent - split RegOrUnreg into two functions - fixed error messages in that functions (since also messages could error)
Ace3 - AceEvent - split RegOrUnreg into two functions - fixed error messages in that functions (since also messages could error) git-svn-id: 00c2b8bc9b083c53e126de03a83516ee6a3b87d9@99 5debad98-a965-4143-8383-f471b3509dcf
Lua
bsd-3-clause
sarahgerweck/Ace3
9d6d8a3e746b8774e41afbebf148dd2b7010ef07
nvim/session.lua
nvim/session.lua
local coxpcall = require('coxpcall') local uv = require('luv') local MsgpackRpcStream = require('nvim.msgpack_rpc_stream') require('nvim._compat') local Session = {} Session.__index = Session local function resume(co, ...) local status, result = coroutine.resume(co, ...) if coroutine.status(co) == 'dead' then ...
local coxpcall = require('coxpcall') local uv = require('luv') local MsgpackRpcStream = require('nvim.msgpack_rpc_stream') require('nvim._compat') local Session = {} Session.__index = Session local function resume(co, ...) local status, result = coroutine.resume(co, ...) if coroutine.status(co) == 'dead' then ...
fix(session): raise an error on EOF instead of implicit `nil` response
fix(session): raise an error on EOF instead of implicit `nil` response
Lua
apache-2.0
neovim/lua-client,neovim/lua-client,neovim/lua-client
d4f7a8c2bf20a373854c1f796dec9f9916642bbb
packages/lime-system/files/usr/lib/lua/lime/wireless.lua
packages/lime-system/files/usr/lib/lua/lime/wireless.lua
#!/usr/bin/lua local config = require("lime.config") local network = require("lime.network") local utils = require("lime.utils") local libuci = require("uci") local fs = require("nixio.fs") wireless = {} wireless.modeParamsSeparator=":" wireless.limeIfNamePrefix="lm_" wireless.wifiModeSeparator="-" function wireles...
#!/usr/bin/lua local config = require("lime.config") local network = require("lime.network") local utils = require("lime.utils") local libuci = require("uci") local fs = require("nixio.fs") wireless = {} wireless.modeParamsSeparator=":" wireless.limeIfNamePrefix="lm_" wireless.wifiModeSeparator="-" function wireles...
Fix wifi mode manual
Fix wifi mode manual
Lua
agpl-3.0
libremesh/lime-packages,p4u/lime-packages,p4u/lime-packages,p4u/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages,libremesh/lime-packages,libremesh/lime-packages,p4u/lime-packages,libremesh/lime-packages
27705a276476cf5c7bf0d01a82fc96cad85392b6
packagemanager/dependency.lua
packagemanager/dependency.lua
local Misc = require 'packagemanager/misc' local Version = require 'packagemanager/version' local PackageDB = require 'packagemanager/packagedb' -- Requirement: -- { -- packageName = ..., -- versionRange = ..., -- } local Dependency = {} local function CopyContext( ctx ) return { db = ct...
local Misc = require 'packagemanager/misc' local Version = require 'packagemanager/version' local PackageDB = require 'packagemanager/packagedb' -- Requirement: -- { -- packageName = ..., -- versionRange = ..., -- } local Dependency = {} local function CopyContext( ctx ) return { db = ct...
Fixed error message generated by dependency resolution
Fixed error message generated by dependency resolution
Lua
mit
henry4k/konstrukt-pkman
f18f13b3ebfb1d497713bf2e540ea1a869e44467
Modules/Shared/Binder/BinderGroup.lua
Modules/Shared/Binder/BinderGroup.lua
--- Groups binders together -- @classmod BinderGroup local BinderGroup = {} BinderGroup.ClassName = "BinderGroup" BinderGroup.__index = BinderGroup function BinderGroup.new(binders, validateConstructor) local self = setmetatable({}, BinderGroup) self._binders = {} self._bindersByTag = {} self._validateConstructo...
--- Groups binders together -- @classmod BinderGroup local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Binder = require("Binder") local BinderGroup = {} BinderGroup.ClassName = "BinderGroup" BinderGroup.__index = BinderGroup function BinderGroup.new(binders, validateConst...
Fix binder group, add sanity checks
Fix binder group, add sanity checks
Lua
mit
Quenty/NevermoreEngine,Quenty/NevermoreEngine,Quenty/NevermoreEngine
26c644e8d3d944758ba8fe6d4f87f2613dd528ca
src/lua-factory/sources/grl-video-title-parsing.lua
src/lua-factory/sources/grl-video-title-parsing.lua
--[[ * Copyright (C) 2014 Grilo Project * * This library 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; version 2.1 of * the License, or (at your option) any later version. * * This library is ...
--[[ * Copyright (C) 2014 Grilo Project * * This library 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; version 2.1 of * the License, or (at your option) any later version. * * This library is ...
lua-factory: improve title parsing for movies
lua-factory: improve title parsing for movies When our parser does not work for tv shows nor movies, the default is to remove the suffix if it is possible. https://bugzilla.gnome.org/show_bug.cgi?id=755464
Lua
lgpl-2.1
MikePetullo/grilo-plugins,jasuarez/grilo-plugins,grilofw/grilo-plugins,GNOME/grilo-plugins,MikePetullo/grilo-plugins,MikePetullo/grilo-plugins,jasuarez/grilo-plugins,grilofw/grilo-plugins,GNOME/grilo-plugins
770c8edaa868751e5efd5dee101836b509147902
modules/admin-full/luasrc/controller/admin/uci.lua
modules/admin-full/luasrc/controller/admin/uci.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$ ]]-- modu...
--[[ 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$ ]]-- modu...
Fix missing UCI transition
Fix missing UCI transition git-svn-id: edf5ee79c2c7d29460bbb5b398f55862cc26620d@2967 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
Canaan-Creative/luci,yeewang/openwrt-luci,ThingMesh/openwrt-luci,alxhh/piratenluci,gwlim/luci,dtaht/cerowrt-luci-3.3,ThingMesh/openwrt-luci,vhpham80/luci,freifunk-gluon/luci,zwhfly/openwrt-luci,Flexibity/luci,zwhfly/openwrt-luci,8devices/carambola2-luci,Canaan-Creative/luci,saraedum/luci-packages-old,freifunk-gluon/luc...
3ddd2f567cfa8ee44c115a8f9449b0ffb5af32ea
lib/tolua++/src/bin/lua/compat-5.1.lua
lib/tolua++/src/bin/lua/compat-5.1.lua
if string.find(_VERSION, "5%.0") then return end -- "loadfile" local function pp_dofile(path) local loaded = false local getfile = function() if loaded then return else local file,err = io.open(path) if not file then error("error loading file "..path..": "..err) end local ret = file:read("*...
if string.find(_VERSION, "5%.0") then return end -- "loadfile" local function pp_dofile(path) local loaded = false local getfile = function() if loaded then return else local file,err = io.open(path) if not file then error("error loading file "..path..": "..err) end local ret = file:read("*...
ToLua: Fixed LuaJit compatibility.
ToLua: Fixed LuaJit compatibility.
Lua
apache-2.0
Howaner/MCServer,mc-server/MCServer,bendl/cuberite,marvinkopf/cuberite,Frownigami1/cuberite,guijun/MCServer,zackp30/cuberite,birkett/cuberite,Fighter19/cuberite,linnemannr/MCServer,Tri125/MCServer,tonibm19/cuberite,tonibm19/cuberite,guijun/MCServer,ionux/MCServer,mjssw/cuberite,linnemannr/MCServer,Schwertspize/cuberite...
4f0c1c89223bbcbe7a35d16895a95001f6ddf1bc
shared/unit.lua
shared/unit.lua
local flux = require "smee.libs.flux" local blocking = require "smee.logic.blocking" local GameMath = require "smee.logic.gamemath" local Entity = require "smee.game_core.entity" local Unit = Entity:subclass("Unit") -- speed: pixels/second -- orientation: radians function Unit:initialize(entityStatic, player) ...
local flux = require "smee.libs.flux" local blocking = require "smee.logic.blocking" local GameMath = require "smee.logic.gamemath" local Entity = require "smee.game_core.entity" local Unit = Entity:subclass("Unit") -- speed: pixels/second -- orientation: radians function Unit:initialize(entityStatic, player) ...
Fixed Minion Master jumping to enemy position
Fixed Minion Master jumping to enemy position Unit:moveTo and Unit:moveToTarget were changed to have targetPosition refer directly to the vector representing the position of another entity. Then, when Entity:setPosition was called, the target position was getting modified, in effect changing the position of the target...
Lua
mit
ExcelF/project-navel
39c7db4cc9e6eaa383155ec3fa6b4ac9ad3ae152
src/common/premake.lua
src/common/premake.lua
--[[ @cond ___LICENSE___ -- Copyright (c) 2017 Zefiros Software. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, ...
--[[ @cond ___LICENSE___ -- Copyright (c) 2017 Zefiros Software. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, ...
Fix gcc lto
Fix gcc lto
Lua
mit
Zefiros-Software/ZPM
3f888d86bc85bf70afd3d4d57f03acdb7cdaff8d
GTWsmoke/smoke.lua
GTWsmoke/smoke.lua
--[[ ******************************************************************************** Project: GTW RPG [2.0.4] Owner: GTW Games Location: Sweden Developers: MrBrutus Copyrights: See: "license.txt" Website: http://code.albonius.com Version: 2.0.4 Status: Stable release ****************************...
--[[ ******************************************************************************** Project: GTW RPG [2.0.4] Owner: GTW Games Location: Sweden Developers: MrBrutus Copyrights: See: "license.txt" Website: http://code.albonius.com Version: 2.0.4 Status: Stable release ****************************...
Info message change
Info message change Fixed an incorrect info message to the player.
Lua
bsd-2-clause
GTWCode/GTW-RPG,404rq/GTW-RPG,404rq/GTW-RPG,GTWCode/GTW-RPG,SpRoXx/GTW-RPG,SpRoXx/GTW-RPG,GTWCode/GTW-RPG,404rq/GTW-RPG
a892903e774a7e904b7d9e269579b280633a97b5
nvim/nvim/lua/_/formatter.lua
nvim/nvim/lua/_/formatter.lua
local has_formatter, formatter = pcall(require, 'formatter') local M = {} local function prettier() local local_prettier = '.yarn/sdks/prettier/index.js' local prettier_exe = 'prettier'; if vim.fn.executable(local_prettier) == 0 then prettier_exe = './node_modules/.bin/prettier' end return { exe=pre...
local has_formatter, formatter = pcall(require, 'formatter') local M = {} local function prettier() local pnp_prettier = '.yarn/sdks/prettier/index.js' local node_modules_prettier = './node_modules/.bin/prettier' local prettier_exe = 'prettier'; if vim.fn.executable(pnp_prettier) == 1 then prettier_exe = ...
fix(nvim): prettier formatter path
fix(nvim): prettier formatter path diff --git a/nvim/nvim/lua/_/formatter.lua b/nvim/nvim/lua/_/formatter.lua index 89a0294..1637d44 100644 --- a/nvim/nvim/lua/_/formatter.lua +++ b/nvim/nvim/lua/_/formatter.lua @@ -3,10 +3,13 @@ local has_formatter, formatter = pcall(require, 'formatter') local M = {} local functi...
Lua
mit
skyuplam/dotfiles,skyuplam/dotfiles
8fec0f330f3f9eeb4d7598cc11d12acf2d7cef1e
frontend/ui/elements/screen_eink_opt_menu_table.lua
frontend/ui/elements/screen_eink_opt_menu_table.lua
local _ = require("gettext") local Screen = require("device").screen return { text = _("E-ink settings"), sub_item_table = { require("ui/elements/refresh_menu_table"), { text = _("Use smaller panning rate"), checked_func = function() return Screen.low_pan_rate end, ...
local Device = require("device") local _ = require("gettext") local Screen = Device.screen local eink_settings_table = { text = _("E-ink settings"), sub_item_table = { { text = _("Use smaller panning rate"), checked_func = function() return Screen.low_pan_rate end, c...
[UX, Android] Hide E Ink full refresh setting on Android (#4397)
[UX, Android] Hide E Ink full refresh setting on Android (#4397) Fixes confusion caused by its appearance such as in #4396.
Lua
agpl-3.0
Frenzie/koreader,Markismus/koreader,mihailim/koreader,houqp/koreader,koreader/koreader,Frenzie/koreader,pazos/koreader,NiLuJe/koreader,Hzj-jie/koreader,koreader/koreader,NiLuJe/koreader,mwoz123/koreader,poire-z/koreader,poire-z/koreader
4b952c66241ae74c395139fb0fc229e36a784cff
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
kans/zirgo,kans/zirgo,kans/zirgo
17bb959a10ed55e246b9a92dffe82114f628427e
mod_pastebin/mod_pastebin.lua
mod_pastebin/mod_pastebin.lua
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local length_threshold = config.get(module.host, "core", "pasteb...
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local function drop_invalid_utf8(seq) local start = seq:byte();...
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
Lua
mit
Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules,Contatta/prosody-modules
d6b8a6191ea5e0b281e89dcaacf47a8f0aa22580
test_scripts/RC/SetInteriorVehicleData/011_Check_cut-off_read-only_parameters_in_case_request_SetInteriorVehicleData_from_mobile_with_read-only_and_not_read-only_parameters.lua
test_scripts/RC/SetInteriorVehicleData/011_Check_cut-off_read-only_parameters_in_case_request_SetInteriorVehicleData_from_mobile_with_read-only_and_not_read-only_parameters.lua
--------------------------------------------------------------------------------------------------- -- Description -- In case: -- 1) Application sends valid SetInteriorVehicleData with read-only parameters -- 2) and one or more settable parameters in "radioControlData" struct, for moduleType: RADIO, -- SDL must: -- 1) ...
--------------------------------------------------------------------------------------------------- -- Description -- In case: -- 1) Application sends valid SetInteriorVehicleData with read-only parameters -- 2) and one or more settable parameters in "radioControlData" struct, for moduleType: RADIO, -- SDL must: -- 1) ...
SetInteriorVehicleData: Minor fix of parameter names
SetInteriorVehicleData: Minor fix of parameter names
Lua
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts,smartdevicelink/sdl_atf_test_scripts
1310c86b58ca2268e1a48d94665c1502546735bd
src/lua-factory/sources/grl-video-title-parsing.lua
src/lua-factory/sources/grl-video-title-parsing.lua
--[[ * Copyright (C) 2014 Grilo Project * * This library 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; version 2.1 of * the License, or (at your option) any later version. * * This library is ...
--[[ * Copyright (C) 2014 Grilo Project * * This library 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; version 2.1 of * the License, or (at your option) any later version. * * This library is ...
Revert "lua-factory: port grl-video-title-parsing.lua to the new lua system"
Revert "lua-factory: port grl-video-title-parsing.lua to the new lua system" This reverts commit 46b127a9ccee3a01f95bee47e81305238ab17f3a. https://bugzilla.gnome.org/show_bug.cgi?id=763046
Lua
lgpl-2.1
MikePetullo/grilo-plugins,MikePetullo/grilo-plugins,grilofw/grilo-plugins,jasuarez/grilo-plugins,jasuarez/grilo-plugins,GNOME/grilo-plugins,MikePetullo/grilo-plugins,grilofw/grilo-plugins,GNOME/grilo-plugins
5a7e0f8b115dd5f19aa676bcfd2ca67a797aae02
scripts/chem_extract_auto.lua
scripts/chem_extract_auto.lua
dofile("chem_notepad.lua"); cheapRecipes = nil; allRecipes = nil; local types = {"Ra", "Thoth", "Osiris", "Set", "Maat", "Geb"}; local typePlus = {"+++++", "++++", "++++", "+++", "+++", "++"}; local typeMinus = {"-----", "----", "----", "---", "---", "--"}; local typeEnabled = {true, true, true, true, true, true}; l...
dofile("chem_notepad.lua"); cheapRecipes = nil; allRecipes = nil; local types = {"Ra", "Thoth", "Osiris", "Set", "Maat", "Geb"}; local typePlus = {"+++++", "++++", "++++", "+++", "+++", "++"}; local typeMinus = {"-----", "----", "----", "---", "---", "--"}; local typeEnabled = {true, true, true, true, true, true}; l...
fixes for "Manufacture..." menu item, autocompound naming, material selection
fixes for "Manufacture..." menu item, autocompound naming, material selection
Lua
mit
DashingStrike/Automato-ATITD,DashingStrike/Automato-ATITD,TheRealMaxion/Automato-ATITD,wzydhek/Automato-ATITD,TheRealMaxion/Automato-ATITD,wzydhek/Automato-ATITD
90b9c41c65d211ef07233f0e1c575e0b7e03644d
lua/weapons/pktfw_minigun.lua
lua/weapons/pktfw_minigun.lua
AddCSLuaFile() SWEP.ViewModel = "models/weapons/c_arms_citizen.mdl" SWEP.WorldModel = "models/weapons/w_models/w_minigun.mdl" SWEP.Primary.ClipSize = 200 SWEP.Primary.DefaultClip = 200 SWEP.Primary.Automatic = true SWEP.Primary.Ammo = "AR2" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = -1 SWEP.Second...
AddCSLuaFile() SWEP.ViewModel = "models/weapons/c_arms_citizen.mdl" SWEP.WorldModel = "models/weapons/w_models/w_minigun.mdl" SWEP.Primary.ClipSize = 200 SWEP.Primary.DefaultClip = 200 SWEP.Primary.Automatic = true SWEP.Primary.Ammo = "AR2" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = -1 SWEP.Second...
Fixed minigun movement speed.
Fixed minigun movement speed.
Lua
mit
birdbrainswagtrain/GmodPillPack-TeamFortress
da28912f1b8ea438935762f1cf6cd396305c1998
minionmaster/minionmaster.lua
minionmaster/minionmaster.lua
local Unit = require "shared.unit" local MinionMaster = Unit:subclass("MinionMaster") local content = require "minionmaster.content" local state = require "minionmaster.state" -- speed: pixels/second function MinionMaster:initialize(entityStatics) Unit.initialize(self, entityStatics, state.player) self.joys...
local Unit = require "shared.unit" local MinionMaster = Unit:subclass("MinionMaster") local content = require "minionmaster.content" local state = require "minionmaster.state" -- speed: pixels/second function MinionMaster:initialize(entityStatics) Unit.initialize(self, entityStatics, state.player) self.joys...
fixed enemy color
fixed enemy color
Lua
mit
ExcelF/project-navel
4b5bd35bea9c506a5bdb59283e852308260babc3
[resources]/GTWgates/gates.lua
[resources]/GTWgates/gates.lua
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
[Patch] Fixed gates that didn't close
[Patch] Fixed gates that didn't close When passing a gate with a vehicle the gate didn't closed as it failed to count elements in it's col shape.
Lua
bsd-2-clause
404rq/GTW-RPG,404rq/GTW-RPG,GTWCode/GTW-RPG,GTWCode/GTW-RPG,GTWCode/GTW-RPG,404rq/GTW-RPG
4ab1abf90c29be79410ea5dfd5b21a6a71f483ea
modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua
modules/admin-full/luasrc/model/cbi/admin_system/ipkg.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...
Fix saving of ipkg configuration file
Fix saving of ipkg configuration file git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@4042 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci,fqrouter/luci
8879c55bb39b31a03de5d798a436d73b30a011d6
applications/luci-vnstat/luasrc/model/cbi/vnstat.lua
applications/luci-vnstat/luasrc/model/cbi/vnstat.lua
--[[ LuCI - Lua Configuration Interface Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
--[[ LuCI - Lua Configuration Interface Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
applications/luci-vnstat: fix crash if dbdir is defined but not existing yet
applications/luci-vnstat: fix crash if dbdir is defined but not existing yet
Lua
apache-2.0
LazyZhu/openwrt-luci-trunk-mod,openwrt-es/openwrt-luci,981213/luci-1,daofeng2015/luci,RedSnake64/openwrt-luci-packages,obsy/luci,ReclaimYourPrivacy/cloak-luci,Noltari/luci,wongsyrone/luci-1,schidler/ionic-luci,bittorf/luci,nmav/luci,MinFu/luci,cshore-firmware/openwrt-luci,slayerrensky/luci,palmettos/test,david-xiao/luc...
41c66871d41fe159fe9ab7937d9bc74e4384731e
MMOCoreORB/bin/scripts/mobile/lok/serverobjects.lua
MMOCoreORB/bin/scripts/mobile/lok/serverobjects.lua
includeFile("lok/blood_razor_berzerker.lua") includeFile("lok/blood_razor_captain.lua") includeFile("lok/blood_razor_cutthroat.lua") includeFile("lok/blood_razor_destroyer.lua") includeFile("lok/blood_razor_elite_pirate.lua") includeFile("lok/blood_razor_guard.lua") includeFile("lok/blood_razor_officer.lua") includeFil...
includeFile("lok/blood_razor_berzerker.lua") includeFile("lok/blood_razor_captain.lua") includeFile("lok/blood_razor_cutthroat.lua") includeFile("lok/blood_razor_destroyer.lua") includeFile("lok/blood_razor_elite_pirate.lua") includeFile("lok/blood_razor_guard.lua") includeFile("lok/blood_razor_officer.lua") includeFil...
[fixed] mobile error
[fixed] mobile error git-svn-id: c34995188cc7e843f8a799edec2d9d4b36f36456@4940 c3d1530f-68f5-4bd0-87dc-8ef779617e40
Lua
agpl-3.0
Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Ta...
68b17adefbbc9e2fc0f58fdbad426cf32c188042
kong/plugins/liamp/aws-serializer.lua
kong/plugins/liamp/aws-serializer.lua
-- serializer to wrap the current request into the Amazon API gateway -- format as described here: -- https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format local public_utils = require "kong.tools.public" local EMPTY = {} ...
-- serializer to wrap the current request into the Amazon API gateway -- format as described here: -- https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format local EMPTY = {} local ngx_req_get_headers = ngx.req.get_headers l...
fix(aws-lambda) always send bodies at base64 encoded
fix(aws-lambda) always send bodies at base64 encoded Stop parsing body content, just pass them on.
Lua
apache-2.0
Kong/kong,Kong/kong,Kong/kong