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 |
|---|---|---|---|---|---|
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/quest/victor_questn_journal.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/tools/tools.lua | 1 | 1103 | StaffTools = {
toolsMenu = {
{ "Shuttle Dropoff", "openShuttleConfig" },
{ "Firework Event", "openFireworkConfig" },
}
}
function StaffTools:openToolsSUI(pCreature)
if (pCreature == nil) then
return
end
self:openSUI(pCreature)
end
function StaffTools:openSUI(pCreature)
local sui = SuiListBox.new("StaffTo... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/corellia/selonian_champion.lua | 1 | 1677 | selonian_champion = Creature:new {
objectName = "@mob/creature_names:selonian_champion",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "selonian",
faction = "",
level = 16,
chanceHit = 0.31,
damageMin = 170,
damageMax = 180,
baseXp = 1102,
baseHAM = 2900,
baseHAMmax = 3500,
armor = 0,
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/universe/base/objects.lua | 3 | 4585 | --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 version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/pistol/pistol_cdef.lua | 1 | 6166 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | units/chickenr.lua | 1 | 3178 | unitDef = {
unitname = [[chickenr]],
name = [[Lobber]],
description = [[Artillery]],
acceleration = 0.36,
activateWhenBuilt = true,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/tatooine/hermit.lua | 1 | 1147 | hermit = Creature:new {
objectName = "@mob/creature_names:hermit",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "townsperson",
faction = "townsperson",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 62,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
resists = {0,0... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_fs_village_medic.lua | 3 | 2212 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
beauli/kong | kong/plugins/datadog/handler.lua | 5 | 2823 | local BasePlugin = require "kong.plugins.base_plugin"
local basic_serializer = require "kong.plugins.log-serializers.basic"
local statsd_logger = require "kong.plugins.datadog.statsd_logger"
local DatadogHandler = BasePlugin:extend()
DatadogHandler.PRIORITY = 1
local ngx_timer_at = ngx.timer.at
local string_gsub = s... | apache-2.0 |
sprunk/Zero-K | effects/weapexp_puff.lua | 18 | 4155 | -- weapexp_puff
-- puff_fire2
return {
["weapexp_puff"] = {
fire = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
underwater = 0,
water = false,
properties = {
a... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/imperial/scout_trooper.lua | 1 | 1501 | scout_trooper = Creature:new {
objectName = "@mob/creature_names:scout_trooper",
randomNameType = NAME_SCOUTTROOPER,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 23,
chanceHit = 0.35,
damageMin = 220,
damageMax = 230,
baseXp = 2006,
baseHAM = 6300,
baseHAMmax = 7700,
armor ... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/base/objects.lua | 3 | 3883 | --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 version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dessert_pyollian_cake.lua | 1 | 3353 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/newbie_tutorial/serverobjects.lua | 3 | 2099 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
NeuroRoboticTech/AnimatLabPublicSource | Libraries/RoboticsAnimatSim/Projects_VisualStudio/UnitTests.lua | 1 | 1939 |
project "Robotics_UnitTests"
language "C++"
kind "ConsoleApp"
files { "../Robotics_UnitTests/*.h",
"../Robotics_UnitTests/*.cpp"}
configuration { "Debug or Debug_Double", "windows" }
includedirs { "../../../include",
"../../StdUtils",
"../../AnimatSim",
"../../RoboticsA... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/saber2hBodyHit1.lua | 1 | 2500 | --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.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/medpack_cure_poison_area_c.lua | 2 | 3085 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
ghaznaviali1375/alijoon | plugins/StoP.lua | 1 | 1284 | --shared by @punisher_team
--admin: @punisher_official
local function tosticker(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/stickers/'..msg.from.id..'.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/bothan/base/serverobjects.lua | 3 | 2246 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/vehicle/static_speeder_bike.lua | 3 | 2224 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/installation/faction_perk/turret/dish_lg.lua | 1 | 2732 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
TerraME/terrame | src/lua/zerobrane.lua | 2 | 10253 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/reactor/rct_mandal_dxr5.lua | 3 | 2280 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/collectible/collectible_parts/orange_rug_thread_01.lua | 3 | 2344 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/apron/serverobjects.lua | 3 | 2281 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/medpack_disease_stamina_a.lua | 2 | 3298 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/item/armor_padded_helmet.lua | 3 | 2212 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/capacitor/quick_recharge_battery_mk5.lua | 2 | 2841 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | LuaUI/Widgets/chili_old/Handlers/debughandler.lua | 8 | 13038 | --//=============================================================================
--// Chili DebugHandler
--//=============================================================================
--// todo:
--// * use the custom errorhandler for any widget->chili interaction,
--// atm if a widget calls mybutton:SetCaption()... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/space/story_loot/loot_naboo_civspeeder.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/fearful_fynock_youth.lua | 3 | 2196 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/rebel/fbase_rebel_sergeant_hard.lua | 1 | 1698 | fbase_rebel_sergeant_hard = Creature:new {
objectName = "@mob/creature_names:fbase_rebel_sergeant_hard",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "rebel",
faction = "rebel",
level = 53,
chanceHit = 0.53,
damageMin = 410,
damageMax = 530,
baseXp = 5300,
baseHAM = 10500,
baseHAMmax =... | agpl-3.0 |
Aysegul/nn | Criterion.lua | 38 | 1273 | local Criterion = torch.class('nn.Criterion')
function Criterion:__init()
self.gradInput = torch.Tensor()
self.output = 0
end
function Criterion:updateOutput(input, target)
end
function Criterion:forward(input, target)
return self:updateOutput(input, target)
end
function Criterion:backward(input, target)
... | bsd-3-clause |
ld-test/kong | spec/unit/resolver/access_spec.lua | 4 | 6037 | local resolver_access = require "kong.resolver.access"
-- Stubs
require "kong.tools.ngx_stub"
local APIS_FIXTURES = {
{name = "mockbin", request_host = "mockbin.com", upstream_url = "http://mockbin.com"},
{name = "mockbin", request_host = "mockbin-auth.com", upstream_url = "http://mockbin.com"},
{name = "mockbin... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/huf_dun/objects.lua | 3 | 5509 | --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 version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/forceResistStates.lua | 1 | 2299 | --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.
... | agpl-3.0 |
wbqd/cqui | Integrations/BTS/UI/Choosers/traderoutechooser.lua | 4 | 51155 | -- ===========================================================================
-- Settings
-- ===========================================================================
local showSortOrdersPermanently = false
-- ===========================================================================
-- INCLUDES
-- ============... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/camp/camp_stool_tall.lua | 3 | 2204 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/weapon/wpn_experimental_disruptor.lua | 1 | 3511 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/container/loot/placable_loot_crate_skeleton_human.lua | 3 | 2375 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/quest/sean_campaign_disk.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/rodian/hair_rodian_male_s02.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/item/serverobjects.lua | 3 | 2588 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_nym_pirate_strong_wee_m.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
oubliette32/Torrent | gamemode/core/cl_player_meta.lua | 1 | 1569 | /*
* Torrent - 2013 Illuminati Productions
*
* This product is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/r5_space.lua | 3 | 2148 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/droid/droid_stimpack_b.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_crook_zabrak_male_01.lua | 3 | 2228 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/dathomir_nightsister_medium3.lua | 2 | 2274 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/managers/spawn_manager/rori.lua | 1 | 9349 | JUNKNOTSELLABLE = 0
JUNKGENERIC = 1
JUNKCLOTHESANDJEWELLERY = 2
JUNKWEAPONS = 4
JUNKARMOUR = 8
JUNKTUSKEN = 16
JUNKJEDI = 32
JUNKJAWA = 64
JUNKGUNGAN = 128
JUNKCONVGENERIC = 1
JUNKCONVARMS = 2
JUNKCONVFINARY = 3
JUNKCONVDENDERRORI = 4
JUNKCONVDENDERTHEED = 5
JUNKCONVLILABORVO = 6
JUNKCONVMALIKVISTAL = 7
JUNKCONVNADOWA... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_sith_shadow_trn_f_01.lua | 3 | 2228 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/firework/firework_s01.lua | 1 | 2772 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/imperial/veteran_compforce_trooper.lua | 1 | 1450 | veteran_compforce_trooper = Creature:new {
objectName = "@mob/creature_names:veteran_compforce_trooper",
randomNameType = NAME_STORMTROOPER,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 25,
chanceHit = 0.35,
damageMin = 230,
damageMax = 240,
baseXp = 2637,
baseHAM = 6800,
ba... | agpl-3.0 |
leafvmaple/LM | LM_Tip/src/LM_TipUI.lua | 1 | 3591 | --------------------------------------------------------
-- This file is part of the JX3 LM Plugin.
-- @link : https://leafvmaple.com/
-- @desc :
-- @author : Áã¶È·ãÓ°
-- @modifier : Emile Zhai (root@derzh.com)
-- @copyright: Copyright (c) 2016 Leafvmaple Kingsoft Co., Ltd.
-----------------------------------... | bsd-3-clause |
sprunk/Zero-K | LuaRules/Gadgets/CAI/AllyTeamInfoHandler.lua | 8 | 2265 | --[[
Handles all the information about force composition and
position for both an allyTeam and enemies of that allyTeam.
--]]
local AssetTracker = VFS.Include("LuaRules/Gadgets/CAI/AssetTracker.lua")
local ScoutHeatmapHandler = VFS.Include("LuaRules/Gadgets/CAI/ScoutHeatmapHandler.lua")
local ScoutHandler = VFS.Inclu... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/base/tangible_craftable.lua | 1 | 2456 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SoniEx2/Luva | src/fileutils.lua | 1 | 5109 | -- I/O Utils
local tweaks = require("tweaks")
local modules = tweaks.modules
local ffi = modules.ffi
local C = ffi.C
local bit = modules.bit
local blshift = bit.lshift
local brshift = bit.rshift
local bor = bit.bor
-- file I/O stuff
ffi.cdef[[
typedef struct FILE FILE;
FILE *fopen(const char *path, const char *mode)... | mit |
sprunk/Zero-K | effects/gundam_snipercooloff.lua | 25 | 3744 | -- snipercooloff
return {
["snipercooloff"] = {
greytowhitepuff = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
properties = {
airdrag = 1,
colormap = [[0.2 0.2 0.2... | gpl-2.0 |
lubing521/MonaServer | FunctionalTests/www/FunctionalTests/cookies/main.lua | 7 | 1524 |
-- Test for HTTP cookies
function onConnection(client,...)
INFO("New client on ", path)
function writeCookies(cookies)
-- check sended cookies
assert(client["sendCookie1"]=="Marcel Pagnol")
assert(client["sendCookie2"]=="Charles-Pierre Baudelaire")
assert(client["sendCookie3"]=="one=1&two=2")
-- c... | gpl-3.0 |
gonboy/sl4a | lua/json4lua/examples/tests.lua | 20 | 5532 | --[[
Some basic tests for JSON4Lua.
]]--
--- Compares two tables for being data-identical.
function compareData(a,b)
if (type(a)=='string' or type(a)=='number' or type(a)=='boolean' or type(a)=='nil') then return a==b end
-- After basic data types, we're only interested in tables
if (type(a)~='table') th... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/item/item_mockup_bank_terminal.lua | 3 | 2236 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/conversations/trials/padawan/chef_01_conv.lua | 1 | 5694 | trialsPadawanChef01ConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "trialsPadawanChef01ConvoHandler",
screens = {}
}
intro = ConvoScreen:new {
id = "intro",
leftDialog = "@conversation/padawan_chef_01:s_58e01006", -- He took it.
stopConversation = "false",
option... | agpl-3.0 |
beauli/kong | spec/02-integration/02-dao/03-crud_spec.lua | 2 | 22505 | local function raw_table(state, arguments)
local tbl = arguments[1]
if not pcall(assert.falsy, getmetatable(tbl)) then
return false
end
for _, v in ipairs({"ROWS", "VOID"}) do
if tbl.type == v then
return false
end
end
if tbl.meta ~= nil then
return false
end
return true
end
local... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/booster/ykl37r_booster_s01.lua | 3 | 2292 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/infant_graul.lua | 3 | 2164 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lp/pdtest | pdtests/pdtest_auto_test_suite.lua | 1 | 12990 | local suite = Suite("Auto Test")
suite.case("test lists"
).test({"A","B","C"}
).should:equal({"A","B","C"})
suite.case("not test lists"
).test({"A","B","C"}
).should.nt:equal({"B","B","C"})
suite.case("out lists"
).test(function(test)
test({"A","B","C"})
end).should:equal({"A","B","C"})
suite... | mit |
sprunk/Zero-K | LuaUI/Widgets/gui_recv_indicator.lua | 2 | 20214 | local versionName = "v1.294"
function widget:GetInfo()
return {
name = "Receive Units Indicator",
desc = versionName .. " Notify users of received units from unit transfer",
author = "msafwan",
date = "Jan 30, 2012", --minor clean up: June 25, 2013
license = "GNU GPL, v2 or lat... | gpl-2.0 |
sprunk/Zero-K | scripts/shipscout.lua | 1 | 2690 | include "constants.lua"
local base = piece 'base'
local turret = piece 'turret'
local hull = piece 'hull'
local wake1 = piece 'wake1'
local wake2 = piece 'wake2'
local missile = piece 'missile'
local firepoint = piece 'firepoint'
local doorl = piece 'doorl'
local doorr = piece 'doorr'
local smokePiece = {base}
-- Si... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/dna/dna_template_eopie.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | lua/spacevim/plugin/a.lua | 1 | 6029 | --=============================================================================
-- a.lua --- alternate plugin for SpaceVim
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
-- Author: Wang Shidong < wsdjeg@outlook.com >
-- URL: https://spacevim.org
-- License: GPLv3
--==============================================... | gpl-3.0 |
SpaceVim/SpaceVim | bundle/nvim-lspconfig/test/lspconfig_spec.lua | 1 | 10399 | local helpers = require 'test.functional.helpers'(after_each)
local clear = helpers.clear
local exec_lua = helpers.exec_lua
local eq = helpers.eq
local ok = helpers.ok
before_each(function()
clear()
-- add plugin module path to package.path in Lua runtime in Nvim
exec_lua(
[[
package.path = ...
]],
... | gpl-3.0 |
sprunk/Zero-K | LuaRules/Gadgets/unit_zombies.lua | 1 | 14388 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
sprunk/Zero-K | units/staticjammer.lua | 1 | 2522 | unitDef = {
unitname = [[staticjammer]],
name = [[Cornea]],
description = [[Area Cloaker/Jammer]],
activateWhenBuilt = true,
buildCostMetal = 420,
builder = false,
buildingGroundDecalDecaySpeed... | gpl-2.0 |
SpaceVim/SpaceVim | bundle/plenary.nvim/tests/plenary/job_spec.lua | 1 | 21000 | local Job = require "plenary.job"
local has_all_executables = function(execs)
for _, e in ipairs(execs) do
if vim.fn.executable(e) == 0 then
return false
end
end
return true
end
describe("Job", function()
describe("> cat manually >", function()
it("should split simple stdin", function()
... | gpl-3.0 |
AHXR/Dreamstride-YGOPro- | script/c90000016.lua | 1 | 3639 | --Dreamstride - Lucid
function c90000016.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure2(c,aux.FilterBoolFunction(Card.IsType,TYPE_FUSION),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90000016,0))
e1:SetCategory(CATEGORY_REMOVE)
... | gpl-3.0 |
superusercode/RTC3 | Real-Time Corruptor/BizHawk_RTC/Assets/Lua/PCE/Neutopia.lua | 7 | 2454 | -- Neutopia (USA) Collision Box Viewer v1.0
-- Author: Pasky (6/22/2015)
-- For use with Bizhawk
memory.usememorydomain("System Bus")
local function player()
local hp = mainmemory.read_u8(0x14c5)
local x = mainmemory.read_u8(0x1063)
local h = mainmemory.read_u8(0x112F)
local y = mainmemory.read_u8(0x10C9) - 0xA -... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_rebel_crewman_human_female_01.lua | 3 | 2264 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_disease_area_strength_b.lua | 1 | 3747 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/installation/battlefield/destructible/bfield_banner_freestand_rebl.lua | 3 | 2352 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | effects/solange.lua | 18 | 1660 | -- solange
-- solange_pillar
return {
["solange"] = {
nw = {
air = true,
class = [[CExpGenSpawner]],
count = 150,
ground = true,
water = true,
underwater = true,
properties = {
delay ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/2h_sword/crafted_saber/objects.lua | 3 | 166479 | --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 version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/hutt_heavy_missile_pod_s01.lua | 3 | 2320 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/dungeon/death_watch_bunker/death_watch_overlord_mines.lua | 1 | 1114 | death_watch_overlord_mines = Creature:new {
objectName = "@mob/creature_names:mand_bunker_dthwatch_gold",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "death_watch",
faction = "",
level = 221,
chanceHit = 19,
damageMin = 1245,
damageMax = 2200,
baseXp = 20948,
baseHAM = 350000,
baseHAM... | agpl-3.0 |
shahhena95/resnet | pretrained/imagenet.lua | 10 | 25684 | return{
'tench, Tinca tinca',
'goldfish, Carassius auratus',
'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
'tiger shark, Galeocerdo cuvieri',
'hammerhead, hammerhead shark',
'electric ray, crampfish, numbfish, torpedo',
'stingray',
'cock',
'hen',
'ostrich, Struthio cam... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/creature/npc/base/selonian_base_male.lua | 3 | 2232 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/warren_teraud_loyalist_cyborg_s02.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/vim-zettelkasten/lua/zettelkasten/browser.lua | 1 | 5012 | local M = {}
local fn = vim.fn
local config = require('zettelkasten.config')
local ZK_FULL_TITLE_PATTERN = '# %d+-%d+-%d+-%d+-%d+-%d+ .+'
local ZK_ID_PATTERN = '%d+-%d+-%d+-%d+-%d+-%d+'
local ZK_FILE_NAME_PATTERN = '%d+-%d+-%d+-%d+-%d+-%d+.md'
local s_note_cache_with_file_path = {}
local s_note_cache_with_id = {}
l... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/corellian_corvette_turret_large_base_s01.lua | 3 | 2376 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_desperado_bith_female_01.lua | 3 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/telescope.nvim/lua/telescope/actions/utils.lua | 1 | 5394 | ---@tag telescope.actions.utils
---@config { ["module"] = "telescope.actions.utils", ["name"] = "ACTIONS_UTILS" }
---@brief [[
--- Utilities to wrap functions around picker selections and entries.
---
--- Generally used from within other |telescope.actions|
---@brief ]]
local action_state = require "telescope.actions... | gpl-3.0 |
TerraME/terrame | packages/gis/lua/Project.lua | 2 | 6436 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/hondo/bazaarbot/BazaarBot.lua | 1 | 12657 | -- BazaarBot
-- A simple way to populate the bazaar with goods
-- Documentation: doc/features/mod-bazaarbot.md
includeFile("hondo/bazaarbot/table_resources.lua")
includeFile("hondo/bazaarbot/table_armor.lua")
includeFile("hondo/bazaarbot/table_medicine.lua")
includeFile("hondo/bazaarbot/table_food.lua")
includeFile("h... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/SharedWaypointObjectTemplate.lua | 3 | 2137 | --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... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/ithorian/ith_bodysuit_s02.lua | 4 | 1290 | ith_bodysuit_s02 = {
-- Ithorian Technical Suit
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_bodysuit_s02.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/i... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_criminal_thug_aqualish_male_02.lua | 3 | 2268 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/base/base_bubble_naboo.lua | 3 | 2212 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/nvim-tree.lua/lua/nvim-tree/actions/rename-file.lua | 1 | 1319 | local a = vim.api
local uv = vim.loop
local lib = require "nvim-tree.lib"
local utils = require "nvim-tree.utils"
local events = require "nvim-tree.events"
local M = {}
function M.fn(with_sub)
return function(node)
node = lib.get_last_group_node(node)
if node.name == ".." then
return
end
loc... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/naboo/gungan_relic_s02.lua | 3 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dish_bivoli_tempari.lua | 1 | 3463 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/ikopi/lair_ikopi_grassland.lua | 1 | 2291 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.