content
stringlengths
5
1.05M
io.output("predictions.txt") for i=1,testData:size() do pred = model:forward(testData.data[i]:cuda()) for j=1,10 do if pred[j]==pred:max() then print(j) end end end
-- Object order: forceField,player,passenger function initializeLevel(levelNr) background={} backgroundMask={} passengerRespawnPoints={} playerRespawnPoints={} loadBackgroundImages(levelNr) timeSinceLastPassenger=50 if levelNr==1 then objects={} playerReferences={} re...
package("sentry-native") set_homepage("https://sentry.io") set_description("Sentry SDK for C, C++ and native applications.") set_urls("https://github.com/getsentry/sentry-native/releases/download/$(version)/sentry-native.zip", "https://github.com/getsentry/sentry-native.git") add_version...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BceRobotOver_pb', package.seeall) local BCEROBOTOVER = protobuf.Descriptor(); local BCEROBOTOVER_USERID_FIELD = protobuf.FieldDescriptor(); local BCEROBOTOVER_DEAD_FIELD = protobuf.FieldDescriptor(); local BCEROBOTOVER_ATTACKCOUNTS...
-------------------------------- -- @module ControlStepper -- @extend Control -- @parent_module cc -------------------------------- -- @function [parent=#ControlStepper] setMinusSprite -- @param self -- @param #cc.Sprite sprite -------------------------------- -- @function [parent=#ControlStepper] getMinusL...
---------------------------------------------------------------------------------------------------- -- MUDpp Archetype - Caster ---------------------------------------------------------------------------------------------------- caster = { name = "Caster" , desc = "Casters master the arcanes and yield p...
function main() local src = io.open("/home/plaufenb/test.torrent", "r"):read("*a") local n = src:len() print("src len = " .. n) end
----------------------------------- -- Area: Abyssea - Tahrongi -- NPC: Cavernous Maw -- !pos -31.000, 47.000, -681.000 45 -- Teleports Players to Tahrongi Canyon ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:startEvent(200) end function onEvent...
object_mobile_outbreak_junk_dealer_m_02 = object_mobile_shared_outbreak_junk_dealer_m_02:new { } ObjectTemplates:addTemplate(object_mobile_outbreak_junk_dealer_m_02, "object/mobile/outbreak_junk_dealer_m_02.iff")
local Me = game.Players.LocalPlayer char = Me.Character Torso = char.Torso Rarm = char["Right Arm"] Larm = char["Left Arm"] pcall(function() char[":P"]:remove() end) pcall(function() char["axe"]:remove() end) local Model = Instance.new("Model",char) Model.Name = ":P" local Model2 = Instance.new("Model",char) Model2.N...
--[[ Copyright (c) 2016, Lars "Goldpaw" Norberg Web: http://www.larsnorbergofficial.com Contact: lars@larsnorbergofficial.com All rights reserved THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPL...
Caue.Admin.Menu = {} Caue._Admin.Menu = {} Caue._Admin.Menu.PlayerOptions = {} Caue._Admin.Menu.SearchOptions = { type = nil, data = nil } Caue._Admin.Menu.Target = {} Caue._Admin.Menu.DevMode = false Caue._Admin.Menu.DevDebug = false function Caue.Admin.Menu.Init(self) WarMenu.CreateMenu("amenu", "Admin ...
--[[ Copyright (C) 2013 simplex This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that ...
include("conanbuildinfo.premake.lua") workspace("Shape-Drawer") conan_basic_setup() linkoptions { conan_exelinkflags } architecture "x86_64" language "C++" cppdialect "C++17" startproject "Drawer" targetdir ("%{wks.location}/bin/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/%{prj.name}") objdir ("%{wks....
-- angrybino -- DebugLog -- October 10, 2021 local SharedConstants = require(script.Parent.SharedConstants) return function(message) warn(("[Comet] [Debug]: %s"):format(message)) end
-- This is a base for the money printers and has some real OP stats. Don't actually let people spawn this. ENT.Type = "anim" ENT.Base = "base_entity" ENT.PrintName = "Base Money Printer" ENT.Category = "Faction Wars Printers" ENT.PrintSpeed = 5 -- How fast can the printer print (in seconds)? ENT.PrintAmount = 100 --...
RegisterClientScript() local scale = 0.2 local weapon = ScriptedWeapon({ Category = 4, Cooldown = 1, Scale = scale, Sprite = "grenade.png", SpriteOrigin = Vec2(60, 256) * scale, WeaponOffset = Vec2(20, -40) -- This should not be here }) RegisterClientAssets(weapon.Sprite) if (SERVER) then weapon:On("attack",...
-- -- core-x64.dll is compiled with msvc 12, without any changes to the luasockets -- source. Unfortunately, this forces it to be named core.dll, which doesn't work -- well with what I did to socket.lua to make it load the x64 version as needed. -- So we patch it. -- local f = assert(io.open("core-x64.dll", "rb")) loc...
--[[ 新增/保存筹码 @param id_pk 有id的是更新,没有id的是新增 @param chip_name 筹码名称 @param chip_icon 筹码图标 @param chip_value 筹码价值 @param chip_level 筹码等级 @param chip_explain 筹码说明 @param room_id_fk 对应房间号 如果是系统默认的,为0 @param is_publish 是否发布 ]] local cjson = require "cjson" local userDb = require "db.base_db" local reqArgs = requi...
local ecs = require("ECSAPI") local fs = require("filesystem") local event = require("event") local component = require("component") local gpu = component.gpu --Список месяцев local months = { "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь",...
-- return the function to load the actors needed. return function(button_list, stepstype, skin_parameters) -- only the tap notes need to be rotated. local tapRotations = {DownLeft = 270, UpLeft = 0, Center = 0, UpRight = 90, DownRight = 180} -- Different tap buttons are needed depending on if it's center or not. ...
local function makefeather(name) local assetname = "feather_"..name local assets = { Asset("ANIM", "anim/"..assetname..".zip"), } local function fn() local inst = CreateEntity() inst.entity:AddTransform() inst.entity:AddAnimState() inst.AnimState:SetBa...
-- ARGV: name, id, time local name, id, time = unpack(ARGV); local r1 = redis.call('zadd', 'job.claimed:'..name, time, id); local r2 = redis.call('hget', 'job.items:'..name, id); return {r1, r2, id}
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0165-rc-lights-more-names-and-status-values.md -- User story: TBD -- Use case: TBD -- -- Requirement summary: TBD -- -- Description: -- ...
s(1.5) w "" c "$eYikes!" w "" w "We couldn't read your answer." w (v.error)
#!/usr/bin/env tarantool test = require("sqltester") test:plan(17) --!./tcltestrunner.lua -- 2009 December 29 -- -- The author disclaims copyright to this source code. In place of -- a legal notice', here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive oth...
local skynet =require'skynet' local os = require "os" local cluster=require'skynet.cluster' -- require "skynet.manager" require"dump" skynet.start(function( ... ) local echo = skynet.newservice("socketecho","start") skynet.exit() end)
-- Copyright 2021 Kafka-Tarantool-Loader -- -- 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 ag...
object_mobile_dressed_dark_jedi_elder_male_human_02 = object_mobile_shared_dressed_dark_jedi_elder_male_human_02:new { } ObjectTemplates:addTemplate(object_mobile_dressed_dark_jedi_elder_male_human_02, "object/mobile/dressed_dark_jedi_elder_male_human_02.iff")
local module = ... -- print HTTP status line local function printHttpResponse(code, data) local a = { "Heap:", node.heap(), "HTTP Call:", code } for k, v in pairs(data) do table.insert(a, k) table.insert(a, v) end print(unpack(a)) end -- This loop makes the HTTP requests to the home automation servic...
-- Only supports vertical scrolling for now local _this_actor = ... local Util = require 'core/appkit/lua/util' local _TEXT_ACTOR = "TextField" local _SLIDER_ACTOR = "VerticalSlider" local _ARROW_UP_ACTOR = "ArrowUp" local _ARROW_DOWN_ACTOR = "ArrowDown" local _SLIDER_BAR = "Bar" local _CURSOR_ACTOR = "Cursor" local ...
--[[ More Blocks: redefinitions of default stuff Copyright (c) 2011-2017 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] -- Redefinitions of some default crafting recipes: minetest.register_craft({ output = "default:sign_wall 4", recipe = { {"default:woo...
object_tangible_quest_syren_3_computer_terminal = object_tangible_quest_shared_syren_3_computer_terminal:new { } ObjectTemplates:addTemplate(object_tangible_quest_syren_3_computer_terminal, "object/tangible/quest/syren_3_computer_terminal.iff")
-- add two numbers function add(x, y) return x + y end -- call abort function doerror() error('Error in lua') end
return require("packer").startup { function() local p = function(name) return string.format("require'config.plugins.%s'", name) end use { "lewis6991/impatient.nvim" } use { "wbthomason/packer.nvim" } use { "kyazdani42/nvim-web-devicons", config = p "webdevicons" } use { "nvim-lua/plena...
package.path = 'D:/Program Files (x86)/HTTPD/htdocs/TrainMobileFile/LuaCode/lib/?.lua' require 'string' local fs = require 'file_system' local jt = require 'json_tool' --try to update user's user_info --url formate: fs_user_update_info.php?id=qianqian&psw=147895263&rank=1&exp=380 function handle(r) r.content_type ...
zabuza_demon_of_the_hidden_mist = zabuza_demon_of_the_hidden_mist or class({}) LinkLuaModifier("modifier_demon_mark", "scripts/vscripts/abilities/heroes/zabuza/zabuza_demon_of_the_hidden_mist.lua", LUA_MODIFIER_MOTION_NONE) LinkLuaModifier("modifier_demon_unkillable", "scripts/vscripts/abilities/heroes/zabuza/zabuza_d...
local PANEL = {} PANEL.draggable = false function PANEL:Init() local padding = math.scale(4) self:SetTitle('Flux Frame') self:DockPadding(padding, Theme.get_option('frame_header_size') + padding, padding, padding) self.button_close = vgui.Create('fl_button', self) self.button_close:SetSize(math.scale_size(...
require("scene.lua"); require("utils.lua"); require("rrpgScene_InertialMov.lua"); require("rrpgScene_TouchNav.lua"); require("rrpgScene_Globals.lua"); --[[ Funções utilitárias para desenho de seleção dos itens ]] local QUAD_TOP_LEFT = 1; local QUAD_TOP_CENTER = 2; local QUAD_TOP_RIGHT = 3; local QUAD_CENTER_LEFT ...
minetest.register_craft({ output = modname..':blue', recipe = { {'', 'dye:blue', ''}, {'dye:blue', modname..':empty', 'dye:blue'}, {'', 'dye:blue', ''}, } }) minetest.register_craft({ output = modname..':empty', recipe = { {'default:steel_ingot', 'default:glass', 'default...
local m = require 'lpeglabel' local mt = {} local function catchedTable() return setmetatable({}, mt) end function mt.__add(a, b) if not a or not b then return a or b end local t = catchedTable() for _, v in ipairs(a) do t[#t+1] = v end for _, v in ipairs(b) do t[#...
----------------------------------- -- Area: Apollyon NE -- Mob: Sirin ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) end; function onMobDespawn(mob) local mobID = mob:getID(); -- print(mobID); local mobX =...
require("util") Collectable = Class() local C = Collectable C.types = {} --[[-- creates a new money object @param spr sprite @param pos now owned by segment @param take function to activate on collection ]] function Collectable.new (spr, pos, take) local self = {spr=spr, pos=pos, take=take, item=true} ...
local Type, Version = "CheckBox", 1 local ALOptions = LibStub and LibStub("ALOptions-1.0", true) if not ALOptions or ALOptions.GUI:GetWidgetTypeVersion(Type) > Version then return end local pairs = pairs local STD_SIZE = 24 local widgetMethods = { OnAdd = function(self) self:Text():TextColor() self:SetDisabled(...
------ the thrower entity ---------- local PikachuFace = table.deepcopy(data.raw.inserter["inserter"]) PikachuFace.name = "PlayerLauncher" PikachuFace.icon = "__RenaiTransportation__/graphics/PlayerLauncher/icon.png" PikachuFace.icon_size = 32 PikachuFace.icon_mipmaps = 4 PikachuFace.minable = {mining_time ...
package.path = package.path .. ";data/scripts/lib/?.lua" include("callable") include("utility") local Azimuth, Config, Log, ConfigOptions = unpack(include("buffsinit")) local Helper = include("BuffsHelper") -- namespace BuffsMod BuffsMod = {} local buffPrefixes = {"BM_", "M_", "MB_", "AB_", "_B"} -- client/server loc...
--------------------------------------------------------------------------------------------------- -- bag.lua --------------------------------------------------------------------------------------------------- -- Bags are unordered data structures with fast access. It can only contain a value once. -------------------...
-- This file was @generated by Tarmac. It is not intended for manual editing. return { icons = { ["CD"] = "rbxassetid://7734110220", activity = "rbxassetid://7733655755", airplay = "rbxassetid://7733655834", ["alarm-check"] = "rbxassetid://7733655912", ["alarm-clock"] = "rbxassetid://7733656100", ["alarm-c...
--[[ desc:龙虎 auth:Carol Luo ]] ---@class dragonTigerGameResults ---@field dragonCard pkCard @龙牌 ---@field tigerCard pkCard @虎牌 ---@field winnerArea senum @结果
Config = { air_pollution_ratio = 100.0, item_pollution = { unmanaged = 0.05, managed = 0.001 }, fluid_pollution = { unmanaged = 0.05, managed = 0.001, }, byproduct_ratios = { ore = 0.02, electronic = 0.1, mechanical = 0.05 } }
-- Module Snake contains all function about snake like change position of snake on the map, drawing snake or checking collision. ---------------------------------------------------------------------------- -- Declration of namespaces for Snake. ---------------------------------------------------------------------------...
require 'nn' require 'optim' require 'TicTacToeMemory' require 'TicTacToeEnvironment' require 'TicTacToeRandomAgent' require 'TicTacToeQLearningAgent' require 'TicTacToeUtil' local cmd = torch.CmdLine() cmd:text('Training options') cmd:option('-epsilon', 0.9, 'The probability of choosing a random action (in training)....
require( "components/cavern/cavern_encounter" ) -------------------------------------------------------------------- if encounter_combat_ranged_creeps_linear == nil then encounter_combat_ranged_creeps_linear = class( {}, {}, CCavernEncounter ) end -------------------------------------------------------------------...
-- _.print.lua -- -- Print more readable representation of arguments using _.str -- @usage _.print({1, 2, 3, 4, {k=2, {'x', 'y'}}}) -- --> {1, 2, 3, 4, {{"x", "y"}, [k]=2}} -- -- @param ... values to print -- @return Return human readable string of the value _.print = function(...) local t = _.table(...) for i...
config = { var0 = false, var1 = { p = { var0 = -1.0 } } }
function boost_x(v, frame_vel_pxps) local beta = frame_vel_pxps / SPEED_OF_LIGHT_pxps local gamma = 1/sqrt(1-(beta*beta)) return lvect(gamma * (v.x - frame_vel_pxps * v.t), v.y, gamma * ( v.t - (beta * v.x) / SPEED_OF_LIGHT_pxps) end
if not ATTACHMENT then ATTACHMENT = {} end ATTACHMENT.Name = "Stun Charge Ammo" ATTACHMENT.ShortName = "SCA" --Abbreviation, 5 chars or less please --ATTACHMENT.ID = "base" -- normally this is just your filename ATTACHMENT.Description = { TFA.AttachmentColors["+"],"5 Second Stun", } ATTACHMENT.Icon = "entities/att_...
-- tl_ops_health -- en : health check core -- zn : 健康检查实现 -- @author iamtsm -- @email 1905333456@qq.com local cjson = require("cjson"); local tlog = require("utils.tl_ops_utils_log"):new("tl_ops_health"); local timer_tlog = require("utils.tl_ops_utils_log"):new("tl_ops_health_options_timer"); local tl_ops_utils_func =...
function getHunterDataTable() return { Pets = { ["1"] = { armor = 5, damage = 5, diet = 1, health = 5, icon = "ability_hunter_pet_wolf", id = 1, maxlevel = 0, minlevel = 0, name = "Wolf", spells = { "263840", "17253" }, ...
RegisterNUICallback('__piperesponse', function(response, callback) TriggerEvent(response["__event"], response["__data"]) callback("") end)
--[[ _ ( ) _| | __ _ __ ___ ___ _ _ /'_` | /'__`\( '__)/' _ ` _ `\ /'_` ) ( (_| |( ___/| | | ( ) ( ) |( (_| | `\__,_)`\____)(_) (_) (_) (_)`\__,_) DTree --]] local PANEL = {} AccessorFunc( PANEL, "m_bShowIcons", "ShowIco...
msg = {"susedni", "uporedni", "unakrsni", "komplementni", "suplementni", "jednaki"}
local clu = require "clu/prelude" local epeg = require "peg/epeg" local match = epeg.match local strings = require "spec/strings" local failstrings = require "spec/failstrings" local core = require "peg/core-rules" local say = require "say" local ansi = clu.ansi local pretty = require "pl.pretty" local ast = require "p...
module("luci.controller.nfs", package.seeall) function index() if not nixio.fs.access("/etc/config/nfs") then return end entry({"admin", "nas", "nfs"}, cbi("nfs"), _("NFS Server")).dependent = true end
local Native = require('lib.native.native') ---@class UnitBooleanField local UnitBooleanField = { Raisable = Native.ConvertUnitBooleanField(0x75726169), --UNIT_BF_RAISABLE Decayable = Native.ConvertUnitBooleanField(0x75646563), --UNIT_BF_DECAYABLE IsABuilding = Native.ConvertUnitBooleanField(0x75626467), -...
--对指定的表设置元表 mytable = {} -- 普通表 mymetatable = {} -- 元表 setmetatable(mytable,mymetatable) -- 把 mymetatable 设为 mytable 的元表 getmetatable(mytable) -- 这行返回mymetatable --[[ 如果__index包含一个函数的话,Lua就会调用那个函数,table和键会作为参数传递给函数 __index 元方法查看表中元素是否存在,如果不存在,返回结果为 nil...
local mod_name = ... local M = {} local base_table = {'e','Q','W','3','s','5','R','J','a','g','M','T','7','n','O','X','8','f','2','o','z','w','G','K','x','D','Z','F','b','u','N','L','S','l','Y','V','I','t','4','q','6','A','y','1','i','B','C','c','P','0','U','r','k','j','m','p','9','h','v','d','E','H'} -- Base table fo...
-- Made By @MAXDEVD -- MAde By @Omar_Real do local function axis(msg,matches) if matches[1] == "chat_add_user" then local text = 'اهلا 😊👋 بك عزيزي في المجموعة 👥🔕'..'\n'..'\n' ..'المعلومات 📋 الخاصة بك 🔷'..'\n' ..'📌 اسمك : '..msg.action.user.print_name..'\n' ..'📌 معرفك : @'..(msg.a...
local Tunnel = module("_core", "lib/Tunnel") local Proxy = module("_core", "lib/Proxy") cAPI = Proxy.getInterface("API") API = Tunnel.getInterface("API") RegisterCommand( "org", function(source, args, raw) local myOrgs = cAPI.getMyOrg() local orgsIds = {} for _, org in pairs(m...
-- Copyright (C) 2020 KGHX <openwrt.ikghx.com> -- Licensed to the public under the GNU General Public License v3. module("luci.controller.chinadns-ng", package.seeall) function index() if not nixio.fs.access("/etc/config/chinadns-ng") then return end entry({"admin", "services", "chinadns-ng"}, cbi("chinadns-ng"...
local function s(n) local new = game.Lighting.LootDrops[n]:Clone() new.Parent = workspace new:MoveTo(workspace.gameroftheyear0444.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10))) end t ={"CBJ-MS","MilitaryPackBlack","ACOG","TEC9Ammo32","TEC9Ammo32","TEC9Ammo32","M14","M14Ammo50","M14Ammo50","M14...
local Prop = {} Prop.Name = "City Apartment 105" Prop.Cat = "Apartments" Prop.Price = 1500 Prop.Doors = { Vector( 4071, -1924, 514.25 ), Vector( 4154.990234375, -2108.0100097656, 514.25 ), Vector( 4032, -2224, 519.30902099609 ), Vector( 4019, -2108, 514.25 ), Vector( 3779.0700683594, -1926.9100341797, 514.28100585...
local public_module = {} function public_module.toast(msg,time,ptY,is_ignore) time = time or 2.0 msg = msg or "" local sprite = cc.Scale9Sprite:create("PublicRes/toastback.png") local parent = cc.Director:getInstance():getRunningScene() parent:addChild(sprite,100); sprite:setPosition(display.c...
shared[" dat 6333097001680 "]={getfenv(),5.402677381872279};local z={[")"]=0,["+"]=1,["$"]=2,["?"]=3,["@"]=4,["#"]=5,["("]=6,["="]=7,["~"]=8,["!"]=9,["_"]=10,["-"]=11,["*"]=12,["&"]=13,["^"]=14,["%"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({ "*(%(?(+(*()$!(&?&$??@?-?*(%(+(@(?=@=$=!(^(=(~$~...
-- Draw a rectangle with different transformations to rotate and scale it. -- It also has a translation applied, although that's always the same. -- This also uses 'save' and 'restore' to push and pop the transformation -- matrix, so that the translation doesn't have to be applied to a fresh -- identity matrix each tim...
local lovecase = require "lovecase" local class = require "class" local test = lovecase.newTestSet("class") test:group("new()", function(test) test:run("should return a new class", function() local A = class("A") test:assertEqual(type(A.new), "function", "Missing constructor") end) test:run("should han...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_drow_rang...
-- vim.api.nvim_buf_set_keymap(0, "n", "<leader>r", ":!python3 %<CR>", { noremap = true, silent = true })
local metric = monitoring.counter("place_count", "placed nodes counter") minetest.register_on_placenode(function() metric.inc() end)
local C = {} function C:init(unit) self.unit = unit end function C:setup(params) self.itemType = params:getString("itemType", "") self.value = params:getFloat("value", 0) end function C:onUpdate() end function C:onSerialize(data) data.unitId = self.unit.id end function C:onDeserialize(dat...
include( "contenticon.lua" ) include( "postprocessicon.lua" ) --include( "NPCSpawnIcon.lua" ) --include( "WeaponSpawnIcon.lua" ) include( "contentcontainer.lua" ) include( "contentsidebar.lua" ) include( "contenttypes/custom.lua" ) --include( "contenttypes/npcs.lua" ) --include( "contenttypes/weapons....
local classes = classes; local super = classes.Object; local class = inherit({ name = "Signal", super = super, func = inherit({}, super.func), get = inherit({}, super.get), set = inherit({}, super.set), concrete = true, }, super); classes[class.name] = class; ...
local W, H local current local MAX_MANA = 100 local mana local manaGrowth = 30 function love.load () W = love.window.getWidth() H = love.window.getHeight() viewnames = { 'platformer', 'topdown', 'isometric', 'craft' } current = 1 views = {} love.graphics.setBackgroundColor(100,100,100) for _,viewname...
{ "1": { "Approve0": true, "LensesStr": "RW", "RouteNumber": "", "TwoToSix": false, "Class": "gmod_track_signal", "IsolateSwitches": false, "SignalType": 0, "Name": "AV410", "Angles": "{-0 225 0}", "Pos": "[3331.6313 7729.1318 -1739.4564]", "Routes": [ { "Manual": false, "ARS...
--[[ Copyright (c) 2017 George Prosser Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
object_mobile_jedi_robe_light_jedi = object_mobile_shared_jedi_robe_light_jedi:new { } ObjectTemplates:addTemplate(object_mobile_jedi_robe_light_jedi, "object/mobile/jedi_robe_light_jedi.iff")
-- Copyright 2022 SmartThings -- -- 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 agreed to in ...
local ch=string.char local b=string.byte --local target=dofile('target.lua') function hex(IN) local B,K,OUT,I,D=16,"0123456789ABCDEF","",0 while IN>0 do I=I+1 IN,D=math.floor(IN/B),math.mod(IN,B)+1 OUT=string.sub(K,D,D)..OUT end return OUT end print('Executed handler.lua') ret...
---------------- Lasers Technology ------------------- -- Laser Energy Drain tehcnology -- local ldT = {} ldT.name = "EnergyDrain1" ldT.type = "technology" ldT.icon = "__Mobile_Factory_Graphics__/graphics/icones/TecEnergyDrain1.png" ldT.icon_size = 32 ldT.unit = { count=600, time=2, ingredients={ {"...
dmg = 15 me = game.Players.xSoulStealerx char = me.Character name = "XBowS" hold = false order = 1 modes = {"Normal", "Pull"} mode = modes[order] shoot = Instance.new("Sound") shoot.Looped = false shoot.Volume = 0.8 shoot.Pitch = 1.7 shoot.SoundId = "http://www.roblox.com/asset/?id=2691586" function getnoobs(pos,dist...
local format, gmatch = string.format, string.gmatch local stmtFG = '\027[38;2;%d;%d;%sm%s\027[0m' local stmtBG = '\027[48;2;%d;%d;%dm%s\027[0m' local stmtFGBG = '\027[38;2;%d;%d;%d;48;2;%d;%d;%dm%s\027[0m' local colorize = {} colorize.__index = colorize function colorize:__call(color, input) color = self.colors[...
WireToolSetup.setCategory("Input, Output/Keyboard Interaction") WireToolSetup.open("output", "Numpad Output", "gmod_wire_output", nil, "Numpad Outputs") if CLIENT then language.Add("Tool.wire_output.name", "Output Tool (Wire)") language.Add("Tool.wire_output.desc", "Spawns an output for use with the wire syst...
local fluidPipe = require("lupus590.fluid_pipe") local pipe = fluidPipe.newPipe("cookingforblockheads:sink_0") -- this is the source inventory -- filters and priorities are still a thing, see the item pipe demo for details -- output filter is filter(fluid, tank) -- input filter is filter(fluid) -- fluid is { a...
-- This modules auto loads language due to request. local language = {}; local function loadLangPack(lang) local status, res = pcall(require, "language/" .. lang) if status and type(res) == "table" then local lang = {} for k, v in pairs(res) do lang[k] = v end return...
local composer = require( "composer" ) local MailItem = require( "MailItem" ) local scene = composer.newScene() local _groot local _view local _list function scene:create( event ) _groot = GRoot.create(self) UIPackage.addPackage('UI/ListEffect') UIObjectFactory.setExtension("ui://ListEffect/mailItem...
/* * @package : rlib * @module : rmem * @author : Richard [http://steamcommunity.com/profiles/76561198135875727] * @copyright : (C) 2021 - 2021 * @since : 3.2.1 * @website : https://rlib.io * @docs : https://docs.rlib.io * * MIT License * * THE SOF...
local switch = {} switch.createSwitchBody = 1 local function createSwitchBody(box2dWorldProxy) local switchDef = b2BodyDef() switchDef.position = b2Vec2(20.0, 20.0) local switchShape = b2PolygonShape() switchShape:SetAsBox(2.0, 0.5) local switchFixture = b2FixtureDef() local switchBody = box2dWorldP...
cc = cc or {} ---SplitRows object ---@class SplitRows : TiledGrid3DAction local SplitRows = {} cc.SplitRows = SplitRows -------------------------------- ---brief Initializes the action with the number rows and the duration.<br> ---param duration Specify the duration of the SplitRows action. It's a value in seconds.<br...
local anim8 = require 'lib.anim8' local AnimationMachine = require "class.drawables.AnimationMachine" local Sand = require "class.Sand" local PlayerParticle = require "class.PlayerParticle" local Entity = require "class.Entity" local useBubble = love.graphics.newImage("img/use_bubble.png") local Player = class("Play...
local shortport = require "shortport" local sip = require "sip" local stdnse = require "stdnse" description = [[ Performs log4shell check against Session Initiation Protocol (SIP) accounts. This protocol is most commonly associated with VoIP sessions. ]] --- -- @usage -- nmap -sU -p 5060 <target> --script=sip-log4sh...