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
yejr/MyDBAtools
bench-tools/sysbench/sysbench/tests/db/select_random_ranges.lua
11
4066
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM, -- and should work with other storage engines as well. -- -- For details about key_cache_segments please refer to: -- http://kb.askmonty.org/v/segmented-key-cache -- function prepare() local query local i set_vars() db_connect()...
bsd-3-clause
praveenjha527/Algorithm-Implementations
Gauss_Seidel_Algorithm/Lua/Yonaba/gauss_seidel_test.lua
26
2074
-- Tests for sor.lua local gauss_seidel = require 'gauss_seidel' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end ...
mit
TheAnswer/FirstTest
bin/scripts/items/objects/armor/composite/composite_bicep_r.lua
1
2424
--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
hamode-Aliraq/HAMODE_ALIRAQE
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
amirfo18/Star-Queen
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/npcs/imperial/imperialStormtrooperNovatrooper.lua
1
4619
--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
sweetbot0/sweetbot
plugin/insta.lua
3
4894
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS (@Th3_BOOS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ insta : انستا ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀...
gpl-3.0
Andrettin/Wyrmsun
scripts/civilizations/goth/icons.lua
1
2950
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/armorsmith/personalArmorIvPadded/kashyyykianBlackMountainChestPlate.lua
1
5260
--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
nullifye/tg-bot-pi
tg_bot/plugins/poslaju.lua
1
1027
return function(msg) cmd = "pi:poslaju" if args[1]==cmd then if #args == 2 then curr_ptt = os.time() try = os.execute('wget -qO- "http://api.pos.com.my/v2TrackNTraceWebApi/api/Details/'..args[2]..'?sKey=7oHHMvxM0" --connect-timeout='..TIMEOUT..' | grep -Po \'"date":.*?[^\\\\]",|"process":.*?[^\...
apache-2.0
Xeltor/ovale
dist/Icon.lua
1
13639
local __exports = LibStub:NewLibrary("ovale/Icon", 80300) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local __Localization = LibStub:GetLibrary("ovale/Localization") local L = __Localization.L local format = string.format local find = string.find local sub = string.sub local ne...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/casualWearIBasics/pleatedSkirt.lua
1
4513
--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/cover.lua
1
2536
--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/npcs/corsec/corsecInspectorSergeant.lua
1
4589
--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/creatures/objects/tatooine/npcs/mosEisley/mosEisleyPoliceLieutenant.lua
1
4553
--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
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/entities/prop_obj_exit/cl_init.lua
1
5894
include("shared.lua") ENT.RenderGroup = RENDERGROUP_TRANSLUCENT function ENT:Initialize() self:SetRenderBounds(Vector(-128, -128, -128), Vector(128, 128, 200)) local ent = ClientsideModel("models/props_doors/door01_dynamic.mdl", RENDERGROUP_TRANSLUCENT) if ent:IsValid() then ent:SetPos(self:LocalToWorl...
gpl-2.0
ludi1991/skynet
gamelogic/rankmgr.lua
1
1181
local skynet = require "skynet" local rankmgr = {} function rankmgr:init(player) self.player = player end function rankmgr:get_player_rank(rank_type) local player = self.player local rank = skynet.call("RANK_SERVICE","lua","get_index_by_playerid",player.basic.playerid,rank_type) local fight_power = s...
mit
zain211/zain.aliraqe
plugins.lua
14
6574
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If n...
gpl-3.0
Mohammadrezar/telediamond
bot/seedbot.lua
2
9545
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
agpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/attack.lua
1
2515
--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
frioux/awesome-vicious
widgets/pkg.lua
11
1387
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local io = { popen = io.popen } local math = { max = math.max } local setmetatable = setmeta...
gpl-2.0
Xeltor/ovale
dist/spellhelpers/warrior_protection_helper.lua
1
3776
local __exports = LibStub:GetLibrary("ovale/scripts/ovale_warrior") if not __exports then return end __exports.registerWarriorProtectionHelper = function(OvaleScripts) do local name = "WARRPROThelp" local desc = "[Xel][7.x] Spellhelper: Protection" local code = [[ AddIcon { # Remove a line when you have its colour ...
mit
TheAnswer/FirstTest
bin/scripts/items/objects/weapons/carbines/laserCarbineElite.lua
1
2471
--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/object/tangible/transport/objects.lua
1
8485
--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/slashcommands/entertainer/changeMusic.lua
1
2669
--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
Novaes/ouro
tests/direct-vec.lua
1
14158
require("dotproduct") local haddavx = terralib.intrinsic("llvm.x86.avx.hadd.ps.256", { vector(float,8), vector(float,8) } -> vector(float,8)) local cstdio = terralib.includec("stdio.h") local stdlib = terralib.includec("stdlib.h") -- set number to float to Single Float Point computation local number = float local alig...
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/tatooine/creatures/mutantWompRat.lua
1
4713
--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/noviceArmorsmith/armorweaveSegment.lua
1
4509
--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/creatureSkills/rori/creatures/kaiTokAttacks.lua
1
3658
kaiTokAttack1 = { attackname = "kaiTokAttack1", animation = "creature_attack_light", requiredWeaponType = NONE, range = 7, damageRatio = 1.2, speedRatio = 4, arearange = 7, accuracyBonus = 0, knockdownCh...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/yavin4/creatures/anglerAttacks.lua
1
6211
--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/object/tangible/deed/vehicle_deed/objects.lua
1
14878
--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/object/tangible/wearables/armor/zam/objects.lua
1
15230
--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
thkhxm/TGame
LuaEncoder/luajit_ios/x86/jit/vmdef.lua
9
7368
-- This is a generated file. DO NOT EDIT! return { bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF ISTYPEISNUM MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM...
apache-2.0
loklaan/TexMate
TexMateStatic.lua
2
2326
local class = require('middleclass') local _M = class("texmate") --pass in the atlas, and it will make a deck, and preseve offset data. --framerate, works as a global number function round(num, idp) if idp and idp>0 then local mult = 10^idp return math.floor(num * mult + 0.5) / mult end return math.fl...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/fieldWearIvParamilitaryGear/heavyGloves.lua
1
3864
--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
judos/rocketAutoStarter
source/libs/prototypes.lua
1
1060
require "constants" function addItem(itemName, subgroup, order, stackSize) data:extend({ { type = "item", name = itemName, icon = "__"..fullModName.."__/graphics/icons/"..itemName..".png", flags = {"goes-to-main-inventory"}, subgroup = subgroup, order = order, stack_size = stackSize } }) end...
gpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/ActionCamera.lua
1
2186
-------------------------------- -- @module ActionCamera -- @extend ActionInterval -- @parent_module cc -------------------------------- -- @overload self, float, float, float -- @overload self, vec3_table -- @function [parent=#ActionCamera] setEye -- @param self -- @param #float x -- @p...
apache-2.0
TheAnswer/FirstTest
bin/scripts/creatures/spawns/lok/kimoTown.lua
1
3344
--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 lat...
lgpl-3.0
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/scripts/masterwork/tesb-add-pets.lua
2
4072
-- Made by Dirst for the Earth Strikes Back mod -- Based on AddPetToCiv local utils=require 'utils' local args = utils.processArgs({...}, validArgs) validArgs = validArgs or utils.invert({ 'help', 'entity', 'race', 'sort' }) if args.help then print([[tesb-add-pets.lua Adds specific castes to ea...
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/creatures/kliknikWorker.lua
1
4705
--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
VolumetricDeconvolution.lua
6
1862
local VolumetricDeconvolution, parent = torch.class('nn.VolumetricDeconvolution', 'nn.Module') function VolumetricDeconvolution:__init(nInputPlane, nOutputPlane, kT, kH, kW, dT, dH, dW, pT, pH, pW) parent.__init(self) dT = dT or 1 dW = dW or 1 dH = dH or 1 pT = pT or 0 pW = pW or 0 pH = pH or 0 ...
bsd-3-clause
Andrettin/Wyrmsun
scripts/ai/land_attack.lua
1
4715
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
asmagill/hammerspoon
extensions/audiodevice/test_audiodevice.lua
5
12804
hs.audiodevice = require("hs.audiodevice") -- Test constructors/functions function testGetDefaultEffect() assertIsUserdataOfType("hs.audiodevice", hs.audiodevice.defaultEffectDevice()) return success() end function testGetDefaultOutput() assertIsUserdataOfType("hs.audiodevice", hs.audiodevice.defaultOutputDevic...
mit
TheAnswer/FirstTest
bin/scripts/object/tangible/lair/rock_mite/objects.lua
1
7412
--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
CrackedP0t/models
hump/class.lua
25
3024
--[[ 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
Andrettin/Wyrmsun
scripts/grand_strategy/christianity_events.lua
1
2285
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
hamode-Aliraq/HAMODE_ALIRAQE
plugins/lock_english.lua
16
1429
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
PAPAGENO-devels/papageno
test/benchmarks/Lua/lua-regression-test/grim/lz.lua
1
4629
CheckFirstTime("lz.lua") lz = Set:create("lz.set", "lola zapata", { lz_top = 0, lz_intha = 1, lz_dorcu = 2 }) lz.call_count = 0 lz.call_down_pipe = function(arg1) -- line 14 lz.call_count = lz.call_count + 1 system_prefs:set_voice_effect("Basic Reverb") break_here() if lz.call_count == 1 then ma...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/spawns/talus/staticSpawns.lua
2
2107
--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/creatures/objects/lok/creatures/anglatchDestroyer.lua
1
4877
--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
hamode-Aliraq/HAMODE_ALIRAQE
plugins/ingroup.lua
156
60323
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.peer_id if member_id ~= our_id then -- Group configuration data[...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/creatures/giantMawgax.lua
1
4695
--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
ludi1991/skynet
service/datacenterd.lua
100
1928
local skynet = require "skynet" local command = {} local database = {} local wait_queue = {} local mode = {} local function query(db, key, ...) if key == nil then return db else return query(db[key], ...) end end function command.QUERY(key, ...) local d = database[key] if d then return query(d, ...) end ...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/armorsmith/personalArmorIvPadded/paddedArmorLeftBicep.lua
1
5220
--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/yavin4/creatures/punyGackleBat.lua
1
4696
--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
asmagill/hammerspoon
extensions/doc/makeLuaDocs.lua
6
14716
-- -[x] do separate parse of manual text for lua.man and lua.func so manual actually approximates real manual with function defs in chapters -- -[x] instead of converting . to _ in func, create sub tables -- -[x] same for man? No, hs.doc then splits toc into submodules/modules -- -[x] move func to root? -- -[ ] a way ...
mit
LuaDist/sputnik_tickets
lua/sputnik/node_defaults/icons/edit-faded.lua
1
1292
----------------------------------------------------------------------------- -- An icon for editing the node (a faded version). -- -- Image (c) Mark James (http://famfamfam.com), 2008 -- Creative Commons Attribution 2.5 License. ----------------------------------------------------------------------------- module(......
mit
devilrap97/alirap97
plugins/en-sticker.lua
5
1612
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ sticker : تحويل ملصق ▀▄ ▄▀ ▀▄▀...
gpl-2.0
fkaa/iceball
pkg/iceball/mapedit/main_client.lua
2
15781
--[[ This file is part of Ice Lua Components. Ice Lua Components 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 3 of the License, or (at your option) any later version. ...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/items/objects/weapons/polearm/staffWoodS1Polearm.lua
1
2468
--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
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/scripts/masterwork/base/on-time.lua
2
4614
--base/on-time.lua v1.0 local persistTable = require 'persist-table' roses = persistTable.GlobalTable.roses if not roses then return end yearly = {} season = {} monthly = {} weekly = {} daily = {} -- CivilizationTable Checks if roses.CivilizationTable and roses.EntityTable then for _,id in pairs(...
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/creatures/fleshEatingChuba.lua
1
4638
--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
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/MenuItemToggle.lua
1
2157
-------------------------------- -- @module MenuItemToggle -- @extend MenuItem -- @parent_module cc -------------------------------- -- Sets the array that contains the subitems. -- @function [parent=#MenuItemToggle] setSubItems -- @param self -- @param #array_table items -- @return MenuItemToggle#MenuI...
apache-2.0
GeekWithALife/love-bone
lovebone/skeleton.lua
2
4097
--[[ Skeleton A simple containment data structure for bones, animations, and skins. Actors hold a reference to a skeleton, which defines what animations and skins it can use. --]] local util = RequireLibPart("util"); local newBone = RequireLibPart("bone"); local SKELETON_ROOT_NAME = util.SKELETON_ROOT_NAME; local ...
mit
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/wookiee/wookieeSkirt2.lua
1
2339
--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
Entware/openwrt-packages
net/luci-app-squid/files/squid-cbi.lua
95
1822
--[[ LuCI Squid module Copyright (C) 2015, OpenWrt.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 Author: Marko Ratkaj <marko.ratkaj@sartura.hr> ...
gpl-2.0
ludi1991/skynet
gamelogic/generateNPC/npcfactory.lua
1
3535
local NpcGen = require "npcgen" local dump = require "dump" local distribution = require "distribution" local NpcFactory = {} ------------------------------------------------------------------ -- API: -- require this file and call NpcFactory:Run() -- it will return a npcList (table) which contains all npcs, ...
mit
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/engineeringITinkering/starshipCraftingTool.lua
1
3817
--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
praveenjha527/Algorithm-Implementations
Roman_Numerals/Lua/Yonaba/roman_test.lua
26
1056
-- Tests for roman.lua local roman = require 'roman' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end local statu...
mit
mynameis123/uzzbot
plugins/yoda.lua
642
1199
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 request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
ArashFaceBook/Virus
plugins/yoda.lua
642
1199
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 request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
Lunovox/minetest_nibirus_game
mods/base/default/craftitems.lua
5
9063
-- mods/default/craftitems.lua minetest.register_craftitem("default:stick", { description = "Stick", inventory_image = "default_stick.png", groups = {stick = 1, flammable = 2}, }) minetest.register_craftitem("default:paper", { description = "Paper", inventory_image = "default_paper.png", groups = {flammable = 3...
agpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/waypoint.lua
1
2430
--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/weaponsmith/advancedFirearmsCrafting/tuskenRifle.lua
1
4843
--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/terrain_features_earth.lua
1
4990
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
thkhxm/TGame
Assets/StreamingAssets/lua/UnityEngine/Vector3.lua
8
12219
-------------------------------------------------------------------------------- -- Copyright (c) 2015 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" ------------------------------------------------------------------------...
apache-2.0
praveenjha527/Algorithm-Implementations
Cocktail_Sort/Lua/Yonaba/cocktail_sort_test.lua
26
2230
-- Tests for cocktail_sort.lua local cocktail_sort = require 'cocktail_sort' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pa...
mit
TheAnswer/FirstTest
bin/scripts/object/tangible/lair/corellian_slice_hound/objects.lua
1
6253
--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/engineeringIiHardwareDesign/type10Firework.lua
1
3837
--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/object/installation/faction_perk/turret/objects.lua
1
13441
--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
ludi1991/skynet
lualib/skynet/remotedebug.lua
54
5502
local skynet = require "skynet" local debugchannel = require "debugchannel" local socket = require "socket" local injectrun = require "skynet.injectcode" local table = table local debug = debug local coroutine = coroutine local sethook = debugchannel.sethook local M = {} local HOOK_FUNC = "raw_dispatch_message" loca...
mit
kyle-lu/fceux.js
output/luaScripts/taseditor/InvertSelection.lua
7
1832
--------------------------------------------------------------------------- -- Invert Selection -- by AnS, 2012 --------------------------------------------------------------------------- -- Showcases following functions: -- * taseditor.getselection() -- * taseditor.setselection() -------------------------------...
gpl-2.0
nullifye/tg-bot-pi
tg_bot/plugins/youtube.lua
1
1798
return function(msg) cmd = "pi:yt" if args[1]==cmd then if (#args < 2) then send_msg (target, "📝 "..cmd.." <KEYWORD1> [<KEYWORD2>] ... [+<1..20>]", ok_cb, false) else limit = 3 if (#args > 2) then qno = tonumber(string.match(args[#args], "+%d+")) if qno ~= nil the...
apache-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dantooine/creatures/huurtonStalker.lua
1
4761
--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/settlements_anatolia.lua
1
3745
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
badboyam/redstorm
plugins/chat.lua
2
1259
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
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua
1
9126
-------------------------------- -- @module RenderTexture -- @extend Node -- @parent_module cc -------------------------------- -- Used for grab part of screen to a texture. <br> -- param rtBegin The position of renderTexture on the fullRect.<br> -- param fullRect The total size of screen.<br> -- param full...
apache-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/corellia/creatures/greatPlainsStalker.lua
1
4756
--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/creatures/objects/naboo/creatures/imperialVeermok.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
asmagill/hammerspoon
extensions/inspect/inspect.lua
4
11090
--- === hs.inspect === --- --- Produce human-readable representations of Lua variables (particularly tables) --- --- This extension is based on inspect.lua by Enrique García Cota --- https://github.com/kikito/inspect.lua local inspect ={ _VERSION = 'inspect.lua 3.0.0', _URL = 'http://github.com/kikito/inspect....
mit
Shayan123456/botttttt9
plugins/Feedback.lua
87
1054
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
selboo/wrk
deps/luajit/src/jit/dis_mips.lua
99
13222
---------------------------------------------------------------------------- -- LuaJIT MIPS disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------...
apache-2.0
kyle-lu/fceux.js
output/luaScripts/taseditor/ShowNotes.lua
7
2511
--------------------------------------------------------------------------- -- Showing Markers' Notes on screen -- by AnS, 2012 --------------------------------------------------------------------------- -- Showcases following functions: -- * taseditor.getmarker() -- * taseditor.getnote() -- * taseditor.getselec...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/tatooine/creatures/kraytAttacks.lua
1
6889
--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 versi...
lgpl-3.0
danushkaf/contrib
ingress/controllers/nginx/lua/trie.lua
56
1428
-- Simple trie for URLs local _M = {} local mt = { __index = _M } -- http://lua-users.org/wiki/SplitJoin local strfind, tinsert, strsub = string.find, table.insert, string.sub function _M.strsplit(delimiter, text) local list = {} local pos = 1 while 1 do local first, last = strfind(text, deli...
apache-2.0
Andrettin/Wyrmsun
scripts/settlements_niflheim.lua
1
1905
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
thkhxm/TGame
Assets/LuaFramework/ToLua/Lua/protobuf/text_format.lua
15
2486
-- -------------------------------------------------------------------------------- -- FILE: text_format.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com ...
apache-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/creatures/kingMerekHarvester.lua
1
4778
--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
javierojan/copia
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
praveenjha527/Algorithm-Implementations
Iterative_Deepening_Depth_First_Search/Lua/Yonaba/handlers/gridmap_handler.lua
182
2356
-- A grid map handler -- Supports 4-directions and 8-directions moves -- This handler is devised for 2d bounded grid where nodes are indexed -- with a pair of (x, y) coordinates. It features straight (4-directions) -- and diagonal (8-directions) moves. local PATH = (...):gsub('handlers.gridmap_handler$','') local Nod...
mit