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/mobile/dressed_blood_razor_pirate_weak_wee_m.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
TerraME/terrame
packages/base/tests/functional/alternative/Profiler.lua
3
6418
------------------------------------------------------------------------------------------- -- 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
sprunk/Zero-K
LuaUI/Widgets/dbg_widgetprofiler.lua
2
11573
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Widget Profiler", desc = "", author = "jK", version = "2.0", date = "200...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/skreeg/lair_skreeg_jungle.lua
1
2287
--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/armor/armor_segment_enhancement_rancor.lua
3
2316
--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/weapon/ranged/rifle/rifle_tusken.lua
1
6175
--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/dungeon/corellian_corvette/imperial_rescue_filler01.lua
2
2361
--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
thexamx/forgottenserver
data/movements/scripts/trap.lua
6
1152
local traps = { [1510] = { -- strange slits transformTo = 1511, damage = {-60, -60} }, [1513] = { -- spikes damage = {-60, -60} }, [2579] = { -- trap transformTo = 2578, damage = {-30, -30} }, [4208] = { -- jungle maw transformTo = 4209, damage = {-30, -30}, type = COMBAT_EARTHDAMAGE }, [25331]...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_bounty_hunter_gloves.lua
3
2328
--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/intangible/pet/probot.lua
3
2172
--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/mission/quest_item/kais_q1_needed.lua
3
2256
--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/gekk/objects.lua
3
5427
--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/lair/opee_sea_killer/lair_opee_sea_killer.lua
1
2331
--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
repository/updatePackages.lua
3
3905
-- Script to update the package's repository. -- Copy the packages to be updated to this directory and run -- 'terrame -color updatePackages.lua' ----------------------------------------------------------------------- local host = "ssh.dpi.inpe.br:" local doc = "/home/www/terrame/packages/doc" local repository = "/hom...
lgpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_commoner_tatooine_aqualish_female_08.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/screenplays/tasks/hero_of_tatooine/conversations/heroOfTatRanchersWifeConvoHandler.lua
1
3344
local ObjectManager = require("managers.object.object_manager") heroOfTatRanchersWifeConvoHandler = { } function heroOfTatRanchersWifeConvoHandler:getNextConversationScreen(pConversationTemplate, pPlayer, selectedOption, pConversingNpc) local pConversationSession = CreatureObject(pPlayer):getConversationSession() ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/healEnhance.lua
4
2126
--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/building/base/base_bank.lua
3
2180
--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/booster/fast_charge_fuel_cell_mk4.lua
2
2834
--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/base/poi_all_lair_thicket_small_fog_red.lua
1
2343
--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/structure/corellia/corl_imprv_arch_lg_s02.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/mobile/dune_lizard.lua
3
2160
--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
scripts/chicken_roc.lua
3
5577
include "constants.lua" --pieces local body, head, tail, leftWing1, rightWing1, leftWing2, rightWing2 = piece("body","head","tail","lwing1","rwing1","lwing2","rwing2") local leftThigh, leftKnee, leftShin, leftFoot, rightThigh, rightKnee, rightShin, rightFoot = piece("lthigh", "lknee", "lshin", "lfoot", "rthigh", "rkne...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/conversations/record_keepers/planet_record_keeper_dantoonie_conv.lua
3
7174
--Generated by SWGEmu Conversation Editor planet_record_keeper_dantooine_convConversationTemplate = ConvoTemplate:new { initialScreen = "init", templateType = "Lua", luaClassHandler = "dantooine_static_record_keeper_convo_handler", screens = {} } record_keeper_init = ConvoScreen:new { id = "init", leftDialog = ""...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/interior_components/escape_pod_hatch.lua
3
2288
--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
YveOne/WoW335-Wardrobe
AgisWardrobe/Libs/AgiDialogs/AgiDialogs.lua
1
2782
----------------------------------------------------------------------------------- local MAJOR, MINOR = "AgiDialogs", 5 local AgiDialogs, OldMinor = LibStub:NewLibrary(MAJOR, MINOR) if ( not AgiDialogs ) then return end -- No Upgrade needed. -----------------------------------------------------------------------...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/component/droid/medic_module_4.lua
2
2894
--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/components/droid_interface/ddi_sds_imperial_3.lua
3
2324
--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/weapon/ranged/base/serverobjects.lua
3
2105
--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
loganchien/scratchbox2
lua_scripts/pathmaps/accel/00_default.lua
3
26479
-- Author: Lauri T. Aarnio -- Copyright (C) 2007 Lauri Leukkunen <lle@rahina.org> -- Copyright (c) 2009 Nokia Corporation. -- Licensed under MIT license. -- -- "accel" mode = build accelerator mode, to be used for software -- development & building when the rootstrap and the tools are "twins": -- Built from the same s...
lgpl-2.1
aircross/OpenWrt-Firefly-LuCI
applications/luci-statistics/luasrc/model/cbi/luci_statistics/csv.lua
80
1198
--[[ Luci configuration model for statistics - collectd csv plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/eng_incom_advanced_fusialthrust.lua
3
2340
--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
error454/ShiVa-Proof-Of-Concept
GameShell/Resources/Scripts/InputAI_Handler_onJoypadButtonDown.lua
1
1664
-------------------------------------------------------------------------------- -- Handler.......... : onJoypadButtonDown -- Author........... : -- Description...... : -------------------------------------------------------------------------------- ----------------------------------------------------------------...
mit
sprunk/Zero-K
LuaUI/Widgets/mission_messagebox_ZK.lua
8
18827
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "MessageBoxes ZK", desc = "Displays messages from missions.", author = "quantum", da...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_tatooine_scavenger.lua
3
2220
--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
packages/base/tests/functional/basics/ErrorHandling.lua
3
13329
------------------------------------------------------------------------------------------- -- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling. -- Copyright (C) 2001-2014 INPE and TerraLAB/UFOP. -- -- This code is part of the TerraME framework. -- This framework is free software; yo...
lgpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/hair/trandoshan/hair_trandoshan_male_s03.lua
3
2284
--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/creature/tatooine_dewback.lua
3
2216
--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/dathomir/brackaset_female.lua
1
1051
brackaset_female = Creature:new { objectName = "@mob/creature_names:brackaset_female", socialGroup = "brackaset", faction = "", level = 29, chanceHit = 0.37, damageMin = 260, damageMax = 270, baseXp = 2914, baseHAM = 8300, baseHAMmax = 10100, armor = 0, resists = {130,130,120,15,15,-1,-1,-1,-1}, meatType =...
agpl-3.0
Mrhalix/DrAgoN
bot/utils.lua
309
23029
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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/item/wp_mle_baton_stun.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/bio_engineer/creature/creature_huurton.lua
1
3380
--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/interior_components/droid_interface_interior.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
sprunk/Zero-K
scripts/shieldfelon.lua
2
6012
include "constants.lua" -------------------------------------------------------------------------------- -- pieces -------------------------------------------------------------------------------- local base = piece "base" local pelvis = piece "pelvis" local torso = piece "torso" local shield = piece "shield" local sho...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/gurnaset/lair_gurnaset_grassland.lua
1
2315
--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
ashrafboss/V1_ASHRAF_EN_AR
plugins/hello.lua
4
2155
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀...
gpl-2.0
renoth/factorio-alien-module
alien-module/data.lua
1
8894
require("prototypes.entity.entity") require("prototypes.item.alien-module") require("prototypes.item.alien-components") require("prototypes.item.alien-warfare") require("prototypes.item.alien-economy") require("prototypes.item-group.item-groups-module") require("prototypes.recipe.alien-module") require("prototypes.r...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/shield_generator/shd_mandalor_flexshield_ks1.lua
3
2364
--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
ashrafboss/V1_ASHRAF_EN_AR
plugins/kickme.lua
6
1900
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHA ▀▄ ▄▀ ▀▄ ▄▀ ban : والحظر ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_rebel_specforce_sergeant_twk_female_01.lua
3
2300
--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
ld-test/kong
spec/integration/admin_api/apis_routes_spec.lua
2
14022
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local send_content_types = require "spec.integration.admin_api.helpers" describe("Admin API", function() setup(function() spec_helper.prepare_db() spec_helper.start_kong() end)...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/space/debris/xwing_debris_b.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/tangible/wearables/ithorian/ith_shirt_s02.lua
3
2879
--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/human/hair_human_male_s18.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/tangible/lair/vynock/lair_vynock_mountain.lua
1
2295
--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/attachment/weapon/xwing_weapon_pos_s01_0.lua
3
2304
--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
zhen-he/TensNN
_old/LanguageModel.lua
1
5738
require 'torch' require 'nn' require 'VanillaRNN' require 'LSTM' local utils = require 'util.utils' local LM, parent = torch.class('nn.LanguageModel', 'nn.Module') function LM:__init(kwargs) self.idx_to_token = utils.get_kwarg(kwargs, 'idx_to_token') self.token_to_idx = {} self.vocab_size = 0 for idx, tok...
mit
cappiewu/luci
modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua
74
1873
-- Copyright 2011-2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ifc = net:get_interface() local hostname, accept_ra, send_rs local bcast, defaultroute, peerdns, dns, metric, clientid, vendorclass hostname = section:taboption("gener...
apache-2.0
fire/Urho3D-1
Source/ThirdParty/LuaJIT/src/jit/dis_x86.lua
41
32726
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
beauli/kong
spec/01-unit/11-database_cache_spec.lua
2
1167
local cache = require "kong.tools.database_cache" describe("Database cache", function() it("returns a valid API cache key", function() assert.are.equal("apis:httpbin.org", cache.api_key("httpbin.org")) end) it("returns a valid PLUGIN cache key", function() assert.are.equal("plugins:authentication:api12...
apache-2.0
sprunk/Zero-K
LuaRules/Configs/StartBoxes/Gehenna Rising v2.lua
17
1167
return { [0] = { startpoints = { {655,2458}, }, boxes = { { {0,1802}, {1311,1802}, {1311,3113}, {0,3113}, }, }, }, [1] = { startpoints = { {7537,5734}, }, boxes = { { {6881,5079}, {8192,5079}, {8192,6390}, {6881,6390}, }, }, }, [2] = { startpoints...
gpl-2.0
gonboy/sl4a
lua/json4lua/json/rpcserver.lua
22
3155
----------------------------------------------------------------------------- -- JSONRPC4Lua: JSON RPC server for exposing Lua objects as JSON RPC callable -- objects via http. -- json.rpcserver Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.10 -- This module is rele...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/food/dessert_puffcake.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/commands/fullAutoSingle2.lua
1
2901
--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/token/serverobjects.lua
3
2123
--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_nightsisterpatrol_large1.lua
2
2294
--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/COFCtools/Interpolate.lua
2
11338
--a workaround for https://springrts.com/mantis/view.php?id=4650 local spGetCameraState = Spring.GetCameraState local spSetCameraState = Spring.SetCameraState local spGetTimer = Spring.GetTimer local spDiffTimers = Spring.DiffTimers local mathPi = math.pi local pow = math.pow lockMode = { xy = 1, free = 2, x...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_shirt_formal_08.lua
1
3307
--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_mourno_draver.lua
3
2200
--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/chassis/tieaggressor.lua
1
3720
--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/creature/npc/droid/crafted/r3_droid.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
sprunk/Zero-K
LuaUI/Widgets/chili_old/Skins/Glass/skin.lua
17
5140
--//============================================================================= --// GlassSkin local skin = { info = { name = "Glass", version = "0.2", author = "jK", } } --//============================================================================= --// skin.general = { --font = "F...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_jacket_field_18.lua
3
2284
--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/talus/aakuan_steward.lua
1
1285
aakuan_steward = Creature:new { objectName = "@mob/creature_names:aakuan_steward", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "aakuans", faction = "aakuans", level = 14, chanceHit = 0.3, damageMin = 150, damageMax = 160, baseXp = 831, baseHAM = 2000, baseHAMmax = 2400, armor = 0, r...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/tatooine/dim_u_monastery_nun.lua
1
1145
dim_u_monastery_nun = Creature:new { objectName = "@mob/creature_names:dim_u_monastery_nun", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "dim_u", faction = "", level = 6, chanceHit = 0.25, damageMin = 50, damageMax = 55, baseXp = 113, baseHAM = 180, baseHAMmax = 220, armor = 0, resi...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/wearables/robe/objects.lua
3
49267
--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
ouyangruoxue/pokerServer
server/lua/netease/msg/recall.lua
1
1847
--[[ -- 作者:左笑林 -- 日期:2017-03-31 -- 文件名:recall.lua -- 功能:消息撤回 -- 版权说明:南京正溯网络科技有限公司.版权所有©copy right. -- 消息撤回接口,可以撤回一定时间内的点对点与群消息 --]] -- 参数说明 -- 参数 类型 必须 说明 -- deleteMsgid String 是 要撤回消息的msgid -- timetag long 是 要撤回消息的创建时间 -- type int 是 7:表示点对点消息撤回,8:表示群消息撤回,其它为参数错误 -- from String 是 发消息的accid -- to St...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/xwing_weapon2_neg_s01_1.lua
3
2308
--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/endor/vicious_pubam_battlelord.lua
1
1062
vicious_pubam_battlelord = Creature:new { objectName = "@mob/creature_names:vicious_pubam_battlelord", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "pubam", faction = "pubam", level = 35, chanceHit = 0.41, damageMin = 320, damageMax = 350, baseXp = 3551, baseHAM = 8800, baseHAMmax = 10...
agpl-3.0
Swizzy/AuroraScripts
Media/Scripts/UserFilters/Publishers.lua
1
4461
local function IsEaGame(Content) if (string.lower(string.sub(Content.Publisher, 0, 15)) == "electronic arts") then return true end if (string.lower(string.sub(Content.Publisher, 0, 2)) == "ea") then return true end --return (string.lower(string.sub(Content.Publisher, 3, 6)) ~= "sports") end return false end l...
unlicense
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/building/player/construction/serverobjects.lua
3
4279
--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/components/droid_interface/ddi_novaldex_droid_interface_mk2.lua
3
2380
--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
sousoux/luvit
tests/test-http-parse-error.lua
5
1478
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
apache-2.0
TobleMiner/ts3musicbot
tSYSmusicbot/curl.lua
1
1743
--(c) by Tobias Schramm 2014 Curl = {} Curl.__index = Curl setmetatable(Curl, { __call = function (class, ...) return class.new(...) end, }) function Curl.new(curlbin, json, exec, chat, apikey) local self = setmetatable({}, Curl) self.curlbin = curlbin self.json = json self.exec = exec s...
gpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/malakili.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
mehdimax/mega
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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_nym_destroyer_hum_m.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/tangible/deed/city_deed/cityhall_naboo_deed.lua
3
2838
--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/soundobject/soundobject_marketplace_large.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/wearables/armor/nightsister/serverobjects.lua
3
2134
--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/tutorial/tutorial_celebrity.lua
1
1346
tutorial_celebrity = Creature:new { objectName = "@mob/creature_names:commoner", 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, ...
agpl-3.0
TerraME/terrame
ide/zerobrane/terrame-examples/calibration/04-samde.lua
3
2495
--[[ [previous](03-output.lua) | [back to index](00-contents.lua) | [next](00-contents.lua) Sometimes it is interesting to use an automatic approach to try to get insights related to the parameters of the model. Package calibration provides SAMDE, an automatic calibration method based on genetic algorithms. It require...
lgpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/space/asteroid/asteroid_obsidian_medium_02.lua
3
2284
--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/ship/freighterheavy_tier1.lua
3
2188
--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/loot/items/armor/ubese_armor_helmet.lua
4
1131
ubese_armor_helmet = { minimumLevel = 0, maximumLevel = -1, customObjectName = "Ubese Armor Helmet", directObjectTemplate = "object/tangible/wearables/armor/ubese/armor_ubese_helmet.iff", craftingValues = { {"armor_rating",1,1,0}, {"kineticeffectiveness",10,40,10}, {"armor_effectiveness",4,29,10}, {"armor_...
agpl-3.0
SpaceVim/SpaceVim
bundle/nvim-lspconfig/lua/lspconfig/util.lua
1
12203
local vim = vim local validate = vim.validate local api = vim.api local lsp = vim.lsp local uv = vim.loop local M = {} M.default_config = { log_level = lsp.protocol.MessageType.Warning, message_level = lsp.protocol.MessageType.Warning, settings = vim.empty_dict(), init_options = vim.empty_dict(), handlers =...
gpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/creature/creature_verne.lua
1
3368
--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/endor/skilled_gondula_worker.lua
1
1372
skilled_gondula_worker = Creature:new { objectName = "@mob/creature_names:skilled_gondula_worker", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "gondula_tribe", faction = "gondula_tribe", level = 37, chanceHit = 0.42, damageMin = 330, damageMax = 370, baseXp = 3642, baseHAM = 9000, bas...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/wearables/armor/composite/armor_composite_boots.lua
1
5821
--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/Groups.lua
3
2514
local function chat_list(msg) local data = load_data(_config.moderation.data) local groups = 'groups' if not data[tostring(groups)] then return 'No groups at the moment' end local message = 'List of your bot Groups:\n\n ' for k,v in pairs(data[tostring(groups)...
gpl-2.0