repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/masterTailor/tradersFlightsuit.lua
1
4702
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
vgire/nn
SpatialConvolution.lua
9
4476
local SpatialConvolution, parent = torch.class('nn.SpatialConvolution', 'nn.Module') function SpatialConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.nOutputPlane = nOutputPlane self.kW = kW ...
bsd-3-clause
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/npcs/pubam/pubamChieftan.lua
1
4579
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/boardShuttle.lua
1
2668
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/formalWearIiJewelry/intricateDress.lua
1
4537
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/npcs/specforce/specforceHeavyWeaponsSpecialist.lua
1
4874
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
Andrettin/Wyrmsun
scripts/upgrade_faction_types.lua
1
4682
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/npcs/dulok/dulokOutcastRaider.lua
1
4560
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
zain211/zain.aliraqe
stats.lua
11
4121
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msg...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/noviceTailor/thinStripedPants.lua
1
4516
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/tatooine/npcs/dimU/dimUPriestess.lua
1
4497
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
ajauhri/evol-ant-placement
luas/tc3_sa.lua
1
8255
load_platform("input/S5 - 4ft square plate w box and sides fixed.nec") add_antenna("input/A3 - 150dipole fixed.nec") add_point( 0.101600, 0.101600, 0.203200) add_point( 0.000000, 0.101600, 0.203200) add_point( -0.101600, 0.101600, 0.203200) add_point( -0.101600, 0.000000, 0.203200) add_point( -0.10160...
bsd-3-clause
devilrap97/alirap97
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
nullifye/tg-bot-pi
tg_bot/plugins/shorten.lua
1
1264
return function(msg) cmd = "pi:shorten" if args[1]==cmd then if (#args == 1 or #args > 2) then send_msg (target, "📝 "..cmd.." <LONG-URL>", ok_cb, false) else if not http_code(args[2], "200 301 302") then send_msg (target, "("..cmd..") check your URL", ok_cb, false) retu...
apache-2.0
TheAnswer/FirstTest
bin/scripts/items/objects/weapons/1H/jantaKnife.lua
1
2393
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
mramir8274/goldnbot
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
aqasaeed/telhesam
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
Xeltor/ovale
dist/Frame.lua
1
27666
local __exports = LibStub:NewLibrary("ovale/Frame", 80300) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local AceGUI = LibStub:GetLibrary("AceGUI-3.0", true) local Masque = LibStub:GetLibrary("Masque", true) local __Icon = LibStub:GetLibrary("ovale/Icon") local OvaleIcon = __Ico...
mit
TheAnswer/FirstTest
bin/scripts/object/creature/npc/droid/crafted/objects.lua
1
73664
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/corellia/creatures/forestMurra.lua
1
4698
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/armorsmith/personalArmorIvPadded/paddedArmorGloves.lua
1
5211
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/npcs/rebel/rebelPilot.lua
1
4734
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/npcs/imperial/darthVaderAttacks.lua
1
15108
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
Andrettin/Wyrmsun
scripts/languages/germanic/west_germanic.lua
1
1676
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
Andrettin/Wyrmsun
scripts/civilizations/welsh/factions.lua
1
3316
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/crafting/selectDraftSchematic.lua
1
2491
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/npcs/jedi/darksideAttacks.lua
1
9293
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
KateAdams/HeadTrack
bin/lua/lib/angle.lua
1
2459
_R = _R or debug.getregistry() _R.Angle = {} local meta = {} local function AjustIt(x) if x >= 180 then x = x - 360 elseif x <= -180 then x = x + 360 end return x end function _R.Angle:Distance(other) local p = self.p - other.p local y = self.y - other.y local r = self.r - other.r p ...
gpl-3.0
Wargus/stargus
scripts/zerg/unit-zerg-larva.lua
1
3240
-- -- unit-zerg-larva -- DefineAnimations("animations-zerg-larva-death", { Death = { "unbreakable begin", "frame 0", "wait 2", "frame 1", "wait 2", "frame 2", "wait 2", "frame 3", "wait 2", "frame 4", "wait 2", "frame 5", "wait 2", "frame 6", "wait 25", "frame 7", "wait 25", "frame 8", "wait 25", ...
gpl-2.0
Andrettin/Wyrmsun
scripts/civilizations/illyrian/factions.lua
1
1722
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
Hammerspoon/hammerspoon
extensions/ipc/ipc.lua
3
22359
--- === hs.ipc === --- --- Provides Hammerspoon with the ability to create both local and remote message ports for inter-process communication. --- --- The most common use of this module is to provide support for the command line tool `hs` which can be added to your terminal shell environment with [hs.ipc.cliInstall](#...
mit
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/corellia/creatures/dalyrakeAttacks.lua
1
6237
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
thkhxm/TGame
LuaEncoder/luajit_ios/x86/jit/v.lua
78
5755
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
apache-2.0
TheAnswer/FirstTest
bin/scripts/object/weapon/ranged/rifle/base/objects.lua
1
3444
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
PatPeter/ULXSourceBansModule
ulxsourcebans/lua/ulx/modules/sban_mysql.lua
1
4447
/* * ULX Source Bans * Version: 0.2.3a */ require ("mysqloo") //Config local SBANDATABASE_HOSTNAME = "DB Hostname" //Database IP/Host local SBANDATABASE_HOSTPORT = 3306 //Database Port local SBANDATABASE_DATABASE = "DB Database" //Database Database/Schema local SBANDATABASE_USERNAME = "DB Username" //Database...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/ithorian/ithDressVest.lua
1
2296
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua
1
2850
-------------------------------- -- @module PhysicsJoint -- @parent_module cc -------------------------------- -- Get physics body a connected to this joint. -- @function [parent=#PhysicsJoint] getBodyA -- @param self -- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) ---------...
apache-2.0
PAPAGENO-devels/papageno
test/benchmarks/Lua/lua-regression-test/WoW/worldcmds.lua
1
10945
-- -- worldcmds.lua - Copyright (c) 2006, the WoWBench developer community. All rights reserved. See LICENSE.TXT. -- -- This file defines command-line commands that are available when -- "the world" (world.toc) has been loaded. It is actually included -- from there. -- WOWB_WorldCmds = {} -----------...
gpl-2.0
alisa-dolinsky/Gluttony
src/thirst.lua
3
5455
if not table.unpack and unpack then table.unpack = unpack end -- polyfill local sentinel = {} local quote_sentinel = {} local void = {} local function exit (operands) print ('result', table.unpack (operands)) print ('exit') end local function quote (operands) return operands end local operator_prototype_base local ...
mit
develCuy/lazy-steem
claim_reward.lua
1
1366
#!/usr/bin/env lua5.1 local seawolf = require 'seawolf'.__build('text') local trim, tonumber = seawolf.text.trim, tonumber local common = require 'common' local api_call = common.api_call local cli_wallet_call = common.cli_wallet_call local account = trim(arg[1]) local server = trim(arg[2]) if '' == account or '' =...
agpl-3.0
technomancy/ss-calandria
mods/calandria/nodes.lua
1
2204
minetest.register_node("calandria:steel", { description = "Steel", drawtype = "nodebox", paramtype = "light", node_box = { type = "fixed", fixed = { {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, }, }, tiles = {"calandria_steel.png"}, groups = {cracky=3,level=1}, }) ...
gpl-3.0
Andrettin/Wyrmsun
scripts/languages/germanic/norwegian.lua
1
7076
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
jesstelford/time-prototype
Character/Abstract.lua
1
1241
Character_Abstract = {} -- avoid circular dependancies Renderable_Image = Renderable_Image or require "Renderable.Image" -- Abstract character class containing basic functionality for all characters -- in the game (enemies, players, etc) Character_Abstract = Class { name = 'Character_Abstract', inherits = Ren...
bsd-2-clause
Andrettin/Wyrmsun
scripts/civilizations/hittite/factions.lua
1
2053
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/creatures/timidVirVur.lua
1
4663
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
Xeltor/ovale
libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
8
58035
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. -- @class file -- @name AceConfigDialog-3.0 -- @release $Id: AceConfigDialog-3.0.lua 1169 2018-02-27 16:18:28Z nevcairiel $ local LibStub = LibStub local gui = LibStub("AceGUI-3.0") local reg = LibStub("AceConfigRegistry-3.0") local MA...
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/bodyHit.lua
1
2547
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/npcs/imperial/imperialScoutTrooperAttacks.lua
1
3016
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
ArashFaceBook/Virus
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/creatures/geonosianEnhancedKliknik.lua
1
4881
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/forceWoundHeal.lua
1
2576
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
Andrettin/Wyrmsun
scripts/settlements_france.lua
1
15283
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/tatooine/creatures/dwarfNuna.lua
1
4637
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/casualWearIiiWeatherWear/ithorianRacingGear.lua
1
4387
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
Andrettin/Wyrmsun
scripts/civilizations/germanic/characters.lua
1
23784
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/npcs/narmle/narmleGrenadier.lua
1
4539
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/workSlacks.lua
1
2282
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/sceneobjects/objects/lairs/naboo/pekoPekoLair.lua
1
2524
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/creatureBlindAttack.lua
1
2596
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
mynameis123/uzzbot
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
Andrettin/Wyrmsun
scripts/grand_strategy/norse_events.lua
1
13109
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
praveenjha527/Algorithm-Implementations
Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua
26
1219
-- Knuth-Morris-Pratt string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm local function kmp_table(pattern) local result = {} for i = 1, #pattern+1,1 do local j = i while true do if j == 1 then result[#result + 1] = 1 ...
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/npcs/stranded/strandedRebelOfficer.lua
1
4550
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
jpeach/zfsd
ext/luajit/src/jit/dump.lua
84
19509
---------------------------------------------------------------------------- -- LuaJIT compiler dump module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -...
apache-2.0
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/hats/hat12.lua
1
2277
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
dkaisers/filtered-deconstruction-planner
control.lua
1
5296
require "util" require "config" require "lib" require "gui" -- Initializes the mod config function fdp_init_global() global["config"] = global["config"] or {} end -- Initializes the mod config for the given player function fdp_init_player(player) global["config"][player.index] = global["config"][player.index] or ...
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/unsnoop.lua
1
2425
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
mazlixek/Elevators
level1.lua
1
6728
----------------------------------------------------------------------------------------- -- -- level1.lua -- ----------------------------------------------------------------------------------------- local composer = require "composer" local scene = composer.newScene() -- forward declarations and other local...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dathomir/creatures/nightsisterBullRancor.lua
1
4829
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
infernall/nevermind
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/entities/crow_spit/cl_init.lua
1
1066
-- © Limetric Studios ( www.limetricstudios.com ) -- All rights reserved. -- See LICENSE.txt for license information include("shared.lua") function ENT:Initialize() self.Emitter = ParticleEmitter (self:GetPos()) self.Emitter:SetNearClip (30,45) end function ENT:Think() self.Emitter:SetPos(self:GetPos()...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/casualWearIvComplexClothing/ithorianFadeDyedShirt.lua
1
4378
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/getPlayerId.lua
1
2441
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/sceneobjects/objects/lairs/dantooine/bolLair.lua
1
2494
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
trentapple/BetterUI
Modules/Store/StoreHeader.lua
2
6398
ZO_GAMEPAD_HEADER_CONTROLS = { TABBAR = 1, TITLE = 2, CENTER_BASELINE = 3, TITLE_BASELINE = 4, DIVIDER_SIMPLE = 5, DIVIDER_PIPPED = 6, DATA1 = 7, DATA1HEADER = 8, DATA2 = 9, DATA2HEADER = 10, DATA3 = 11, DATA3HEA...
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/findObject.lua
1
2437
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/tatooine/creatures/swarmingLesserDewback.lua
1
4732
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/tangible/item/plant/objects.lua
1
3363
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/engineeringITinkering/twelveSidedDiceSet.lua
1
3790
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/playerSkills/combat/swordsman.lua
1
13821
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
Mizugola/MeltingSagaEngine
engine/Lib/Extlibs/pl/permute.lua
5
1598
--- Permutation operations. -- -- Dependencies: `pl.utils`, `pl.tablex` -- @module pl.permute local tablex = require 'Lib.Extlibs.pl.tablex' local utils = require 'Lib.Extlibs.pl.utils' local copy = tablex.deepcopy local append = table.insert local coroutine = coroutine local resume = coroutine.resume local assert_arg ...
mit
zain211/zain.aliraqe
en-lock-bot.lua
9
2082
local function isAntiBotEnabled (chatId) local hash = 'bot:lock:'..chatId local lock = redis:get(hash) return lock end local function enableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:set(hash, true) end local function disableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:del(hash) end local ...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/talus/citys/dearic.lua
1
94698
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
zhityer/zhityer1
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/lok/creatures/elderSnorbalMale.lua
1
4748
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
vgire/nn
SpatialDivisiveNormalization.lua
39
5171
local SpatialDivisiveNormalization, parent = torch.class('nn.SpatialDivisiveNormalization','nn.Module') function SpatialDivisiveNormalization:__init(nInputPlane, kernel, threshold, thresval) parent.__init(self) -- get args self.nInputPlane = nInputPlane or 1 self.kernel = kernel or torch.Tensor(9,9):fill(...
bsd-3-clause
B1GAPTEAM/B1GAPBOT
plugins/inpm.lua
11
2850
do function run(msg, matches) if msg.to.id == our_id then local data = load_data(_config.moderation.data) if matches[1] == 'join' and data[tostring(matches[2])] then if is_banned(msg.from.id, matches[2]) then return 'شما بن هستید' end if is_gbanned(msg.from.id) then return 'شما از تمام...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/weaponsmith/noviceWeaponsmith/sword.lua
1
4328
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/fullAutoArea.lua
1
2576
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
perusio/lua-uri
uri/ftp.lua
2
1367
local M = { _NAME = "uri.ftp" } local Util = require "uri._util" local LoginURI = require "uri._login" Util.subclass_of(M, LoginURI) function M.default_port () return 21 end function M.init (self) local err self, err = M._SUPER.init_base(self) if not self then return nil, err end local host = self:ho...
mit
RockySeven3161/Unknown
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
ArashFaceBook/Virus
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/grantTitle.lua
1
2437
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/lua/gui/dialogs.lua
3
6207
-- Some simple dialog screens local _ENV = mkmodule('gui.dialogs') local gui = require('gui') local widgets = require('gui.widgets') local utils = require('utils') local dscreen = dfhack.screen MessageBox = defclass(MessageBox, gui.FramedScreen) MessageBox.focus_path = 'MessageBox' MessageBox.ATTRS{...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/ranger/wayfaringIBasicConcealment/camoKitTatooine.lua
1
3714
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
CrackedP0t/models
hump/vector.lua
28
5323
--[[ Copyright (c) 2010-2013 Matthias Richter 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, dis...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/formalWearIiiGowns/ithorianReligiousCap.lua
1
4387
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
asmagill/hammerspoon
extensions/alert/alert.lua
4
15683
local module = {} --- === hs.alert === --- --- Simple on-screen alerts local drawing = require("hs.drawing") local timer = require("hs.timer") local screen = require("hs.screen") local uuid = require"hs.host".uuid local stext = require"hs.styledtext".new local stextMT = hs.getObjectMetatable("hs.styledtext")...
mit
Xeltor/ovale
dist/Score.lua
1
6492
local __exports = LibStub:NewLibrary("ovale/Score", 80300) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local __Ovale = LibStub:GetLibrary("ovale/Ovale") local MSG_PREFIX = __Ovale.MSG_PREFIX local aceEvent = LibStub:GetLibrary("AceEvent-3.0", true) local aceSerializer = LibStub...
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/citys/deejaPeak.lua
1
56925
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0