repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
florian-shellfire/luci
applications/luci-app-privoxy/luasrc/controller/privoxy.lua
6
5133
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 module("luci.controller.privoxy", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local HTTP = require "luci.http" local UCI = require "luci.model.uci" l...
apache-2.0
Enignite/darkstar
scripts/globals/items/loaf_of_hobgoblin_bread.lua
35
1378
----------------------------------------- -- ID: 4328 -- Item: loaf_of_hobgoblin_bread -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 3 -- Charisma -7 -- Health Regen While Healing 2 ----------------------------------------- require("scripts/globals/statu...
gpl-3.0
Enignite/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Apocalyptic_Beast.lua
16
1498
----------------------------------- -- Area: Dynamis Buburimu -- NPC: Apocalyptic_Beast ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"...
gpl-3.0
Enignite/darkstar
scripts/zones/Selbina/npcs/Thunder_Hawk.lua
17
2442
----------------------------------- -- Area: Selbina -- NPC: Thunder Hawk -- Starts and Finishes Quest: The Rescue -- @pos -58 -10 6 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); re...
gpl-3.0
luanorlandi/Hex
src/math/rectangle.lua
1
1461
require "math/vector" Rectangle = {} Rectangle.__index = Rectangle function Rectangle:new(c, v) -- create a rectangle in center "c", with half diagonal of vector size "v" -- v.x, v.y is the rectangle corner and -v.x, -v.y it's his opposite corner local R = {} setmetatable(R, Rectangle) R.center =...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Waoud.lua
13
6824
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Waoud -- Standard Info NPC -- Involved in quest: An Empty Vessel -- @pos 65 -6 -78 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
dividuum/info-beamer-nodes
29c3-room-cycler/node.lua
1
1665
gl.setup(1920, 1080) local interval = 10 util.auto_loader(_G) local distort_shader = resource.create_shader([[ uniform sampler2D Texture; uniform float effect; varying vec2 TexCoord; uniform vec4 Color; void main() { vec2 uv = TexCoord.st; vec4 col; col.r = texture2D(Textu...
bsd-2-clause
surban/slurm
contribs/lua/proctrack.lua
25
9930
--[[ Example lua script demonstrating the SLURM proctrack/lua interface. This script implements a very simple job step container using CPUSETs. --]] require "posix" --########################################################################-- -- -- SLURM proctrack/lua interface: -- --############################...
gpl-2.0
araeisy/araeisy
libs/url.lua
567
9183
--[[ Copyright 2004-2007 Diego Nehab. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
mit
Enignite/darkstar
scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua
16
1274
----------------------------------- -- Area: Cloister of Gales -- NPC: Ogmios -- Involved in Quest: Carbuncle Debacle ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- -- OnMobSpawn Action --------------------------------...
gpl-3.0
makhtomi/su
libs/url.lua
567
9183
--[[ Copyright 2004-2007 Diego Nehab. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
gpl-2.0
mohammad1234pv1234/mohammad1234pv1234
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
Enignite/darkstar
scripts/globals/items/piece_of_raisin_bread.lua
35
1280
----------------------------------------- -- ID: 4546 -- Item: piece_of_raisin_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
AMIRUJK/teleujk
plugins/chat.lua
22
1137
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return "va al...
gpl-2.0
apung/prosody-modules
mod_watchuntrusted/mod_watchuntrusted.lua
20
2595
local jid_prep = require "util.jid".prep; local secure_auth = module:get_option_boolean("s2s_secure_auth", false); local secure_domains, insecure_domains = module:get_option_set("s2s_secure_domains", {})._items, module:get_option_set("s2s_insecure_domains", {})._items; local untrusted_fail_watchers = module:get_opti...
mit
Enignite/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fg.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- @pos 100 -34 -71 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
fcpxhacks/fcpxhacks
src/plugins/finalcutpro/browser/duration.lua
2
4536
--- === plugins.finalcutpro.browser.duration === --- --- Shortcut for changing Final Cut Pro's Browser Height local require = require local timer = require "hs.timer" local eventtap = require "hs.eventtap" local fcp = require "cp.apple.finalcutpro" local i18n = require "cp.i18n"...
mit
luanorlandi/Hex
src/game/board.lua
1
7886
require "game/hexagon" require "game/lane" require "pathfinding/hexGrid" Board = {} Board.__index = Board function Board:new(size) -- "size" board size (default 11 x 11) local B = {} setmetatable(B, Board) B.size = size -- hexagons size, depends on the size of the board and resolution B.he...
gpl-3.0
asfdfdfd/fceux
output/luaScripts/shapedefs.lua
9
1176
--shapedefs --A Lua script with defined functions for shapes such as hearts. --Needed for SM-Lives&HPDisplay-4Matsy.lua local function box(x1,y1,x2,y2,color) if (x1 > 0 and x1 < 255 and x2 > 0 and x2 < 255 and y1 > 0 and y1 < 241 and y2 > 0 and y2 < 241) then gui.drawbox(x1,y1,x2,y2,color); end; end; loca...
gpl-2.0
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Bertenont.lua
19
1664
----------------------------------- -- Area: Northern San d'Oria -- NPC: Bertenont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -165 0.1 226 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
QUSpilPrgm/cuberite
Server/Plugins/APIDump/Hooks/OnLogin.lua
36
1581
return { HOOK_LOGIN = { CalledWhen = "Right before player authentication. If auth is disabled, right after the player sends their name.", DefaultFnName = "OnLogin", -- also used as pagename Desc = [[ This hook is called whenever a client logs in. It is called right before the client's name is sent to be ...
apache-2.0
Enignite/darkstar
scripts/zones/Al_Zahbi/npcs/Ndego.lua
19
1140
----------------------------------- -- Area: Al Zahbi -- NPC: Ndego -- Guild Merchant NPC: Smithing Guild -- @pos -37.192 0.000 -33.949 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
Enignite/darkstar
scripts/globals/spells/blindga.lua
18
1142
----------------------------------------- -- Spell: Blind ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell)...
gpl-3.0
Enignite/darkstar
scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua
21
12117
----------------------------------- -- Area: Aydeewa Subterrane -- ZNM: Pandemonium_Warden ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action -------------...
gpl-3.0
Enignite/darkstar
scripts/globals/abilities/shield_bash.lua
25
2038
----------------------------------- -- Ability: Shield Bash -- Delivers an attack that can stun the target. Shield required. -- Obtained: Paladin Level 15, Valoredge automaton frame Level 1 -- Recast Time: 3:00 minutes (3:00 for Valoredge version) -- Duration: Instant ----------------------------------- require("scrip...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sashosho.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sashosho -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
ming4883/bgfx
scripts/example-common.lua
1
1392
-- -- Copyright 2010-2015 Branimir Karadzic. All rights reserved. -- License: http://www.opensource.org/licenses/BSD-2-Clause -- project ("example-common") uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125") kind "StaticLib" includedirs { path.join(BX_DIR, "include"), path.join(BGFX_DIR, "include"), path.join(BGFX...
bsd-2-clause
Enignite/darkstar
scripts/zones/Abyssea-Vunkerl/Zone.lua
32
1552
----------------------------------- -- -- Zone: Abyssea - Vunkerl -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-...
gpl-3.0
Enignite/darkstar
scripts/globals/spells/curaga.lua
18
1213
----------------------------------------- -- Spell: Curaga -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- ...
gpl-3.0
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Vamorcote.lua
17
2626
----------------------------------- -- Area: Northern San d'Oria -- NPC: Vamorcote -- Starts and Finishes Quest: The Setting Sun -- @zone: 231 -- @pos -137.070 10.999 161.855 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/No...
gpl-3.0
AMIRUJK/teleujk
plugins/google axs.lua
42
3165
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
cs8425/nodemcu-firmware
lua_examples/onewire-ds18b20.lua
60
1505
--' -- 18b20 one wire example for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Vowstar <vowstar@nodemcu.com> --' pin = 9 ow.setup(pin) count = 0 repeat count = count + 1 addr = ow.reset_search(pin) addr = ow.search(pin) tmr.wdclr() until((addr ~= nil) or (count > 100)) if (addr ==...
mit
dragonworx/luakit
luakit/com/scene.lua
1
1445
local scenes = {} class("Scene", Group) { hasCreated = false, isActive = false, new = function(self, args) Group.new(self, args) scenes[self.id] = self end, show = function(self, currentScene) if not self.isActive then if not self.hasCreated then ...
mit
mraaaaaw/LISOGOLUB_Group-Butler-fork
plugins/logchannel.lua
6
8845
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} local function get_alert_text(key) if key == 'new_chat_member' then return _("Log every time an user join the group") elseif key == 'ban' then return _("Bans will be logged. I can't log manual bans") e...
gpl-2.0
Enignite/darkstar
scripts/zones/Mog_Garden/npcs/GreenThumbMo.lua
29
2393
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil; require("scripts/zones/Mog_Garden/TextIDs"); require("scripts/globals/moghouse") require("scripts/globals/shop"); local BRONZE_PIECE_ITEMID = 2184; ----------------------------------- -- onTrade ----------------------------------- function onTr...
gpl-3.0
WUTiAM/LUAnity
Source/LuaJIT-2.0.4/src/jit/dis_mips.lua
88
13222
---------------------------------------------------------------------------- -- LuaJIT MIPS disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------...
mit
Enignite/darkstar
scripts/zones/Southern_San_dOria/npcs/Corua.lua
30
2262
----------------------------------- -- Area: Southern San d'Oria -- NPC: Corua -- Only sells when San d'Oria controlls Ronfaure Region -- @ zone 230 -- @pos -66 2 -11 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ------------------...
gpl-3.0
sweeti0/dev_qollop
plugins/ar-lock-fwd.lua
1
2078
do local function pre_process(msg) local fwd = 'mate:'..msg.to.id if redis:get(fwd) and not is_momod(msg) and msg.fwd_from then delete_msg(msg.id, ok_cb, true) send_large_msg(get_receiver(msg), '⚠️ #تنبيه_ممنوع_عمل_اعاده___توجيه_داخل_هذه_المجموعه 🔕\n#User @'..msg.from.username) ...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua
17
2990
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Runic Portal -- Aht Urhgan Teleporter to Other Areas ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/besieged"); requi...
gpl-3.0
Enignite/darkstar
scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua
19
1224
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: HomePoint#1 -- @pos -365 -176.5 -36 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Delkfutts_Tower/TextIDs"); req...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua
17
4227
----------------------------------- -- Area: Windurst Waters -- NPC: Honoi-Gumoi -- Involved In Quest: Crying Over Onions, Hat in Hand -- @zone = 238 -- @pos = -195 -11 -120 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
dcsan/telegram-bot
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
DipColor/mehrabon2
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
Shayan123456/bot
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
juur/rot.lua
preciseshadowcasting.lua
1
3023
require "fov" PreciseShadowcasting = Class:newClass("PreciseShadowcasting",FOV) function PreciseShadowcasting:new(lightPassesCallback, options) return FOV.new(self,lightPassesCallback, options) end function PreciseShadowcasting:compute(x,y,R,callback) callback(x,y,0,1) if not self._lightPasses(x,y) then return ...
bsd-3-clause
Enignite/darkstar
scripts/zones/Windurst_Waters/npcs/Maysoon.lua
17
2172
----------------------------------- -- Area: Windurst Waters -- NPC: Maysoon -- Starts and Finishes Quest: Hoist the Jelly, Roger -- Involved in Quests: Cook's Pride -- @zone 238 -- @pos -105 -2 69 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loade...
gpl-3.0
Enignite/darkstar
scripts/zones/Bastok_Mines/npcs/Deegis.lua
36
1768
----------------------------------- -- Area: Bastok Mines -- NPC: Deegis -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------...
gpl-3.0
Enignite/darkstar
scripts/globals/weaponskills/blade_ei.lua
30
1206
----------------------------------- -- Blade Ei -- Katana weapon skill -- Skill Level: 175 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: Dark -- Modifiers: STR:30% ; INT:30% -- 100%TP 200%TP 300%TP -- 1.00 ...
gpl-3.0
Enignite/darkstar
scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua
7
1088
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6383; -- Obtained: <item> GIL_OBTAINED = 6384; -- Obtained <number> gil KEYITEM_OBTAINED = 6386; -- Obtain...
gpl-3.0
Enignite/darkstar
scripts/globals/spells/katon_san.lua
17
1616
----------------------------------------- -- Spell: Katon: San -- Deals fire damage to an enemy and lowers its resistance against water. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---...
gpl-3.0
Enignite/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Lobho_Ukipturi.lua
17
1747
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Lobho Ukipturi -- @pos -485 -31 50 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/co...
gpl-3.0
TeleSudo/TeleRedStar
plugins/invite.lua
197
1336
do local function callbackres(extra, success, result) --vardump(result) local user = 'user#id'..result.peer_id local chat = 'chat#id'..extra.chatid local channel = 'channel#id'..extra.chatid if is_banned(result.id, extra.chatid) then send_large_msg(chat, 'User is banned.') send_large_msg(c...
agpl-3.0
Ataron/Bijoux
bijoux/mapgen.lua
1
1826
--===================-- -- GENERATION MINERAIS -- --===================-- minetest.register_ore({ ore_type = "scatter", ore = "bijoux:stone_with_emeraude", wherein = "default:stone", clust_scarcity = 10*10*10, clust_num_ores = 2, clust_size = 2, height_min = -31000, height_max = -1000, }) minetest.regi...
gpl-3.0
cdhowie/Eluant
Eluant/BindingSupport.lua
2
1543
-- Eluant bindings -- Make copies of global functions to prevent sandboxed scripts from altering -- the behavior of Eluant bindings. local real_pcall = pcall local real_select = select local real_error = error -- Lua -> managed call support. -- -- Since longjmp() can have bad effects on the CLR, we try to avoid gener...
mit
Enignite/darkstar
scripts/globals/regimereward.lua
18
33598
------------------------------------------------- -- Regime Reward Database(s) ------------------------------------------------- -- ------------------------------------ -- FoV rewards -- ------------------------------------ function getFoVregimeReward(regimeid) if (regimeid<=50) then if (regimeid<...
gpl-3.0
Enignite/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/Treasure_Chest.lua
19
2590
----------------------------------- -- Area: Horutoto Ruins -- NPC: Treasure Chest -- @zone 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require(...
gpl-3.0
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Aurege.lua
38
1960
----------------------------------- -- Area: Northern San d'Oria -- NPC: Aurege -- Type: Quest Giver NPC -- Starts Quest: Exit the Gambler -- @zone: 231 -- @pos -156.253 11.999 253.691 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); require("scripts/glob...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Halbeeya.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Halbeeya -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
GraionDilach/OpenRA
mods/cnc/maps/nod08b/nod08b-AI.lua
7
6907
--[[ Copyright 2007-2017 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
fcpxhacks/fcpxhacks
src/plugins/resolve/tangent/emulation.lua
2
20103
--- === plugins.resolve.tangent.emulation === --- --- Emulates a Tangent Element Panel. local require = require local log = require "hs.logger".new "actions" local image = require "hs.image" local timer = require "hs.timer" local config ...
mit
Enignite/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Avatar_Icon.lua
12
2186
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Manifest_Icon ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); ---...
gpl-3.0
aminnfratuauuahaqoooqq/aminnbotmaker
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Enignite/darkstar
scripts/zones/Windurst_Waters/npcs/Ten_of_Hearts.lua
38
1045
----------------------------------- -- Area: Windurst Waters -- NPC: Ten of Hearts -- Type: Standard NPC -- @zone: 238 -- @pos -49.441 -5.909 226.524 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----...
gpl-3.0
Enignite/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hishahma.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hishahma -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
doofus-01/wesnoth
data/campaigns/World_Conquest/lua/game_mechanics/random_names.lua
7
19731
local _ = wesnoth.textdomain 'wesnoth-wc' local random_names = _"Aban,Abidin,Acacalide,Acimaëli,Acratoforo,Actarof,Adham,Adnan,Adramitio,Ael-Lagaleth,Aereste,Agshirt,Ahyaul,Aigaitha,Aigaithil,Aigaithol,Aigalam,Aigaling,Aigalir,Aigalol,Aigalsin,Aigatan,Aigatlod,Aigatsel,Aigatsol,Aigatu,Aigcataz,Aigcatil,Aigcating,Aigcat...
gpl-2.0
Enignite/darkstar
scripts/zones/Beaucedine_Glacier_[S]/npcs/Watchful_Pixie.lua
38
1058
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Watchful Pixie -- Type: Quest NPC -- @zone: 136 -- @pos -56.000 -1.3 -392.000 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"...
gpl-3.0
mpapadomanolaki/Torch
models/AlexNet.lua
1
1466
require 'nn' local SpatialConvolution = nn.SpatialConvolution--lib[1] local SpatialMaxPooling = nn.SpatialMaxPooling--lib[2] local features = nn.Sequential() features:add(SpatialConvolution(4,16,3,3,1,1,0,0)) -- 28 -> 26 features:add(nn.ReLU(true)) features:add(SpatialMaxPooling(2,2,2,2)) -- 26 -...
gpl-2.0
fabiodl/Gearsystem
platforms/ios/dependencies/SDL-2.0.4-9174/premake/util/sdl_gen_config.lua
7
2700
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for an...
gpl-3.0
Enignite/darkstar
scripts/zones/Temenos/mobs/Earth_Elemental.lua
16
1710
----------------------------------- -- Area: Temenos E T -- NPC: Earth_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
ld-test/luaejdb
samples/sample1.lua
4
1527
local ejdb = require("ejdb") local inspect = require("ejdb.inspect") local Q = ejdb.Q -- Used modes: -- 'r' - read -- 'w' - write -- 'c' - create db if not exists -- 't' - truncate existing db local db = ejdb.open("zoo", "rwct") -- Unordered lua table local parrot1 = { name = "Grenny", type = "African Grey", ma...
lgpl-2.1
Enignite/darkstar
scripts/zones/Meriphataud_Mountains_[S]/npcs/qm1.lua
31
1242
----------------------------------- -- Area: Meriphataud Mountains [S] -- NPC: ??? -- @pos 757 -16 -446 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Meriphat...
gpl-3.0
Enignite/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua
16
1062
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Wyrmgnasher Bjakdek -- Boss Trigger for Overlord's Tombstone ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; -----------...
gpl-3.0
Enignite/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5ei.lua
17
3315
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #5 (I out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
16
3001
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
QUSpilPrgm/cuberite
Server/Plugins/DumpInfo/Init.lua
19
1333
function Initialize(a_Plugin) a_Plugin:SetName("DumpInfo") a_Plugin:SetVersion(1) -- Check if the infodump file exists. if (not cFile:IsFile("Plugins/InfoDump.lua")) then LOGWARN("[DumpInfo] InfoDump.lua was not found.") return false end -- Add the webtab. a_Plugin:AddWebTab("DumpPlugin", HandleDumpPlugi...
apache-2.0
idlenexusgaming/MoPRares
Locales/deDE.lua
1
2071
local L = LibStub("AceLocale-3.0"):NewLocale("MoPRares", "deDE", true) if L then L["Haywire Sunreaver Construct"] = "Durchgebranntes Konstrukt der Sonnenhäscher" --50358 L["Mumta"] = "Mumta" --69664 L["Ku'lai the Skyclaw"] = "Ku'lai die Himmelsklaue" --69996 L["Progenitus"] = "Progenitus" --69997 L["Goda"] = "Goda...
unlicense
Enignite/darkstar
scripts/zones/PsoXja/npcs/_09h.lua
17
1223
----------------------------------- -- Area: Pso'Xja -- NPC: Avatars Gate ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/PsoXja/TextIDs"); require("scripts/globals/keyite...
gpl-3.0
RCdiy/OpenTxLua
TELEMETRY/_Experiments/TmTst.lua
1
5390
-- License https://www.gnu.org/licenses/gpl-3.0.en.html -- OpenTX Lua script -- TELEMETRY -- Place this file in the SD Card folder on your computer -- SD Card /SCRIPTS/TELEMETRY/ -- Works On OpenTX Companion Version: 2.1.8 -- Works With Sensor: none -- Author: RCdiy -- Web: http://RCdiy.ca -- Thanks: none -- Date:...
gpl-3.0
Enignite/darkstar
scripts/zones/Cloister_of_Storms/bcnms/sugar-coated_directive.lua
19
1711
---------------------------------------- -- Area: Cloister of Storms -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/...
gpl-3.0
Enignite/darkstar
scripts/zones/Beadeaux/npcs/Treasure_Chest.lua
19
2560
----------------------------------- -- Area: Beadeaux -- NPC: Treasure Chest -- @zone 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Bea...
gpl-3.0
Enignite/darkstar
scripts/zones/Lebros_Cavern/instances/wamoura_farm_raid.lua
37
3946
----------------------------------- -- -- Assault: Wamoura Farm Raid -- ----------------------------------- require("scripts/zones/Lebros_Cavern/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function afterInstanceRegister(player) local instance = player...
gpl-3.0
troopizer/ot-server
data/npc/scripts/bootmaker.lua
1
1792
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatu...
gpl-2.0
leyyin/university
computer-graphics/labs/lab3-glitter/Glitter/Vendor/bullet/test/GwenOpenGLTest/premake4.lua
9
1706
project "Test_Gwen_OpenGL" kind "ConsoleApp" flags {"Unicode"} defines { "GWEN_COMPILE_STATIC" , "_HAS_EXCEPTIONS=0", "_STATIC_CPPLIB" } defines { "DONT_USE_GLUT"} includedirs { "../../examples/ThirdPartyLibs", "../../examples", ".", } initOpenGL() initGlew() links { "gwen", } ...
mit
AMIRUJK/teleujk
plugins/admin.lua
24
6851
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
nofxboy1234/LD31_EGoOS
maps/map.lua
1
30107
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 40, height = 23, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "level", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, imag...
mit
Enignite/darkstar
scripts/zones/Norg/npcs/Shivivi.lua
17
3212
----------------------------------- -- Area: Norg -- NPC: Shivivi -- Starts Quest: Secret of the Damp Scroll -- @zone 252 -- @pos 68.729 -6.281 -6.432 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"...
gpl-3.0
Enignite/darkstar
scripts/zones/Kazham/npcs/Popopp.lua
15
3438
----------------------------------- -- Area: Kazham -- NPC: Popopp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------...
gpl-3.0
QUSpilPrgm/cuberite
Server/Plugins/APIDump/Hooks/OnExploding.lua
22
2195
return { HOOK_EXPLODING = { CalledWhen = "An explosion is about to be processed", DefaultFnName = "OnExploding", -- also used as pagename Desc = [[ This hook is called before an explosion has been processed in a world.</p> <p> See also {{OnExploded|HOOK_EXPLODED}} for a similar hook called after the e...
apache-2.0
zendey/Flashcard_mobile_app
scripts/classes/widget/button/BackButton.lua
1
1782
----------------------------------------------------------------------------------------- -- -- BackButton.lua -- BackButton class. -- ----------------------------------------------------------------------------------------- local BackButton = {} -- BackButton class. function BackButton.new( options ) ------------...
gpl-2.0
LudoSapiens/Dev
Data/common/script/util/string.lua
1
6294
--============================================================================= -- Copyright (c) 2007, Ludo Sapiens Inc. -- All rights reserved. -- -- These coded instructions, statements, and computer programs contain -- unpublished, proprietary information and are protected by Federal copyright -- law. They may not b...
mit
Enignite/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua
30
3070
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Calliope, I.M. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
florian-shellfire/luci
libs/luci-lib-json/luasrc/json.lua
17
11000
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nixio = require "nixio" local util = require "luci.util" local table = require "table" local string = require "string" local coroutine = ...
apache-2.0
qianqians/Screw
3rdparty/bullet/examples/pybullet/premake4.lua
2
5227
project ("pybullet") language "C++" kind "SharedLib" includedirs {"../../src", "../../examples", "../../examples/ThirdPartyLibs"} defines {"PHYSICS_IN_PROCESS_EXAMPLE_BROWSER"} hasCL = findOpenCL("clew") links{"BulletExampleBrowserLib","gwen", "BulletFileLoader","BulletWorldImporter","OpenGL_Window"...
lgpl-2.1
troopizer/ot-server
data/npc/scripts/elementalpatriarch.lua
1
7885
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCre...
gpl-2.0
Enignite/darkstar
scripts/zones/Castle_Oztroja/npcs/_47d.lua
13
1058
----------------------------------- -- Area: Castle Oztroja -- NPC: _47d -- @pos 20.000 24.168 -25.000 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); ---------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Mhaura/npcs/Albin.lua
17
1073
----------------------------------- -- Area: Mhaura -- NPC: Albin -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); ----------------------------------- -- onTrade Action...
gpl-3.0
fcpxhacks/fcpxhacks
src/plugins/core/disk/favourites.lua
2
1967
--- === plugins.core.disk.favourites === --- --- Action that allows you save and open user-defined favourite folders. local require = require --local log = require "hs.logger".new "favourites" local config = require "cp.config" local dialog = require "cp.dialog" local ...
mit
Enignite/darkstar
scripts/globals/weaponskills/requiescat.lua
30
1321
----------------------------------- -- Requiescat -- Sword weapon skill -- Skill level: MERIT -- Delivers a five-hit attack. Attack power varies with TP. -- Element: None -- Modifiers: MND:73~85% -- 100%TP 200%TP 300%TP -- ALL 1.0 ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Enignite/darkstar
scripts/globals/items/shrimp_cracker_+1.lua
35
1332
----------------------------------------- -- ID: 5636 -- Item: shrimp_cracker_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Vitality 2 -- HP Recovered While Healing 9 -- Amorph Killer 5 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
mrbangi/telesed
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0