content
stringlengths
5
1.05M
-- functions.lua -- Functions called upon plugin initialization. -- Returns the unique identifier of a player. function GetPlayerUUID(PlayerName) -- Always check for unique identifier because of Bungee. return cMojangAPI:GetUUIDFromPlayerName(PlayerName) end -- Returns the world object of the specified world name. ...
-- $Id: //depot/Projects/StarWars_Expansion/Run/Data/Scripts/AI/SpaceMode/RetreatPlan.lua#2 $ --///////////////////////////////////////////////////////////////////////////////////////////////// -- -- (C) Petroglyph Games, Inc. -- -- -- ***** ** * * -- * ** ...
-- All the net messages defined here util.AddNetworkString("ChristmasCredits:Derma") util.AddNetworkString("ChristmasCredits:Purchase")
local lunatest = require "lunatest" local assert_equal = lunatest.assert_equal local assert_function = lunatest.assert_function local assert_table = lunatest.assert_table local common = require "common_test_functions" local utilities = require "luchia.utilities" -- Server. local good_protocol = common.server_good_pro...
local Object = require 'classic' local Registry = Object:extend() function Registry:new() self.services = {} end function Registry:add(key, instance) self.services[key] = instance end function Registry:get(key) return self.services[key] end return Registry
local pad_0 = require 'pad_0' local pad_1 = require 'pad_1' local ball = {} ball.def_color = {1, 1, 1} ball.born = love.audio.newSource('sfx/born.mp3', 'static') function ball:init_ball() ball.width = 10 ball.height = 10 ball.x = w_width / 2 - ball.width / 2 ball.y = w_height / 2 - ball.height / 2 ball.speed_x ...
---------------------------------------------------------------- -- Copyright (c) 2012 Klei Entertainment Inc. -- All Rights Reserved. -- SPY SOCIETY. ---------------------------------------------------------------- local boardrig = include( "gameplay/boardrig" ) local gameobj = include( "modules/game" ) local util = ...
function EFFECT:Init( data ) local posoffset = data:GetOrigin() local emitter = ParticleEmitter( posoffset ) for i = 0,5 do local p = emitter:Add( "particle/particle_smokegrenade", posoffset ) p:SetVelocity( math.random(6,12) * math.sqrt(i) * data:GetNormal() * 3 + 2 * VectorRand() ) p:SetAirResistanc...
local map = ... local game = map:get_game() local light_fx local area_darkness_level = "dusk" local boss_bar = require"scripts/hud/boss_bar" map:register_event("on_started", function() area_darkness_level = game:get_value"central_yarnham_area_darkness_level" or "dusk" light_fx = require"scripts/fx/lighting_effects...
for n,e in pairs({(function(e,...)_1cb51731c642abab="This file was obfuscated using PSU Obfuscator 4.5.A | https://www.psu.dev/ & discord.gg/psu";local j=_1cb51731c642abab local W=e[(817061545)];local M=e['UzBFBCZg'];local h=e[((198363752-#("stop submitting junk!!!!!")))];local k=e[((261631072-#("is that a password pro...
require('nvim-autopairs').setup({ enable_check_bracket_line = false })
--[[ Minetest Mod Storage Drawers - A Mod adding storage drawers Copyright (C) 2017 LNJ <git@lnj.li> MIT License 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 wi...
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2014 Daurnimator -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza"; local lock_rooms = module:get_option_...
return PlaceObj('ModDef', { 'title', "Seasons of Mars (Difficulty Mod)", 'description', "Seasons of Mars aims to fulfill 2 goals: \n[list]\n[*]If you have Green Planet; make Terraforming much more important in the early to mid game.\n[*]If you have Below and Beyond; make Underground colonization and Asteroid mining m...
-- [string] string1 = "Lua" print("\"string1: \"", string1) string2 = "runoob.com" print("srting2: ", string2) string3 = [["Lua Tutorial]] print("string3: ", sting3) -- [String Operation] -- [1.string.upper(argument)] print("string.upper(string1): ", string.upper(string1)) -- [2.string.lower(argument)] print("string....
local InventoryUpdateSystem = libs.tiny.processingSystem(libs.class{}) InventoryUpdateSystem.filter = libs.tiny.requireAll("items") function InventoryUpdateSystem:process(entity, dt) if entity.isOpen then moonshineEffect.enable(unpack(moonshineEffectNames)) if Input:pressed("up") then ...
Player = game:GetService("Players").LocalPlayer Character = Player.Character PlayerGui = Player.PlayerGui Backpack = Player.Backpack Torso = Character.Torso Head = Character.Head LeftArm = Character["Left Arm"] LeftLeg = Character["Left Leg"] RightArm = Character["Right Arm"] RightLeg = Character["Right Leg"] ...
--[[ Copyright (C) 2015 Real-Time Innovations, Inc. 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...
--[=[ @class MyFirstClass This is my first class. ]=] local MyFirstClass = {} MyFirstClass.__index = MyFirstClass
-- Phoenix Project © 2016 SWEP.VElements = { ["element_name"] = { type = "Model", model = "models/arxweapon/doubleshotgun.mdl", bone = "doublebarr", rel = "", pos = Vector(1.583, -0.094, -0.486), angle = Angle(89.333, 90, 180), size = Vector(0.851, 0.851, 0.851), color = Color(255, 255, 255, 255), surpresslightning ...
MountModData( "CardExporter" ) local function OnLoad() require("CardExporter:file/codes") end return { version = "0.1.0", alias = "CardExporter", OnPreLoad = OnPreLoad, OnLoad = OnLoad, OnNewGame = OnNewGame, OnGameStart = OnGameStart, title = "CardExporter", description = "Hijack the Daily Challenge button to...
--Dgun trail return { ["dgun_trail"] = { usedefaultexplosions = false, Spawner_dgun_sparkels = { air = true, class = [[CExpGenSpawner]], count = 2, --8 ground = true, water = false, unit = tru...
include("terms") addition_table = function() measure = {measures_str[1].." \( \) cm", measures_str[2].." \( \) cm\(^2\)", measures_str[3].." \( \) \( \) cm\(^2\)"} columns = 6 min_range = 5 max_range = 20 q = {} for i=0,columns-1 do edge = min_range + math.random(max_range - min_range) area = edg...
(function() local exepath = package.cpath:sub(1, (package.cpath:find(';') or 0)-6) package.path = package.path .. ';' .. exepath .. '..\\script\\?.lua' end)() require 'filesystem' require 'utility' local uni = require 'ffi.unicode' local w2l = require 'w3x2lni' local progress = require 'progress' loc...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- P L A Y H E A D P L U G I N -- -----------------------------------------------------------------------------...
---@class AttachedLocation : zombie.characters.AttachedItems.AttachedLocation ---@field protected group AttachedLocationGroup ---@field protected id String ---@field protected attachmentName String AttachedLocation = {} ---@public ---@return String function AttachedLocation:getId() end ---@public ---@param arg0 Strin...
object_tangible_loot_npc_loot_handheld_viewscreen_2_generic = object_tangible_loot_npc_loot_shared_handheld_viewscreen_2_generic:new { } ObjectTemplates:addTemplate(object_tangible_loot_npc_loot_handheld_viewscreen_2_generic, "object/tangible/loot/npc/loot/handheld_viewscreen_2_generic.iff")
me = game.Players.LocalPlayer if script.Parent.className ~= "HopperBin" then h = Instance.new("HopperBin",me.Backpack) script.Parent = h end bin = script.Parent bin.Selected:connect(function(mouse) mouse.KeyDown:connect(function(key) print(key:byte().." "..key) end) end)
local module = {} local function CheckBetween(Num,x,y) if Num == x or Num == y then return true end local min = math.min(x,y) local max = math.max(x,y) if Num >= min and Num <= max then return true end return false end local FireworkColors = { Color3.fromRGB(255,0,0); Color3.fromRGB(0,255,0); Colo...
local module = {} function module:OnInputData(func) self.on_input_data = func end function module:OnConnected(func) self.on_connected = func end function module:OnDisconnected(func) self.on_disconnected = func end function module:Disconnect() self.on_disconnected() end function module:InputData(data) self....
if GetBot():IsInvulnerable() or not GetBot():IsHero() or not string.find(GetBot():GetUnitName(), "hero") or GetBot():IsIllusion() then return; end local ability_item_usage_generic = dofile( GetScriptDirectory().."/ability_item_usage_shutnik" ) local utils = require(GetScriptDirectory() .. "/util") local mutil = requ...
local cpath = ... local log = require(cpath..".log") log.level = 'info' local spritesheet = require(cpath..".spritesheet") local viewport = require(cpath..".viewport") local function tableSelect(aTable, someFields) local outTable = {} if not aTable then return outTable end for _, key in ipairs(someFields) do l...
local Button = Widget:new() Button.defualtSpriteUp = nil Button.defualtSpriteDown = nil function Button:new(x, y, width, height, label) local button = Widget:new(nil, x, y, width, height) setmetatable(button, self) self.__index = self button.label = label or "" if type(button.label) == "string" the...
yatm_device_hubs:require("nodes/bus_hub.lua") yatm_device_hubs:require("nodes/card_hub.lua") yatm_device_hubs:require("nodes/element_hub.lua") yatm_device_hubs:require("nodes/wireless_hub.lua")
module 'mock' CLASS: PrefabContainer ( mock.Entity ) :MODEL{ '----'; Field 'prefab' :asset( 'prefab' ) :set( 'setPrefab' ); '----'; Field 'resetLoc' :boolean() :onset( 'refreshPrefab' ); Field 'resetScl' :boolean() :onset( 'refreshPrefab' ); Field 'resetRot' :boolean() :onset( 'refreshPrefab' ); '----';...
local env=env local storage={}
local mod = get_mod("rwaon_talents") -- Fireball Staff ------------------------------------------------------------------------------ -- Charged Shot Changes -- Increased Damage NewDamageProfileTemplates.staff_fireball_charged = { charge_value = "projectile", critical_strike = { attack_armor_power_modifer = { ...
module(...,package.seeall) local VhostUser = require("apps.vhost.vhost_user").VhostUser local PcapFilter = require("apps.packet_filter.pcap_filter").PcapFilter local RateLimiter = require("apps.rate_limiter.rate_limiter").RateLimiter local nd_light = require("apps.ipv6.nd_light").nd_light local L2TPv3 = require("apps....
-- Copyright (c) 2021 Kirazy -- Part of Artisanal Reskins: Bob's Mods -- -- See LICENSE in the project directory for license information. -- Check to see if reskinning needs to be done. if not (reskins.bobs and reskins.bobs.triggers.revamp.technologies) then return end -- Setup standard inputs local inputs = { mo...
lord_types = { SCHEMA = {"key", "skill_set", "skill_set_name", "default_skill_set"}, KEY = {"key", "LIST"}, DATA = { {"wh2_main_lzd_slann_mage_priest", "wh2_main_trait_lzd_slann_mage_priest_magic", "Purification Magic", "TRUE"}, {"wh2_main_lzd_slann_mage_priest", "wh2_main_trait_lzd_slann_ma...
local ffi = require("ffi") ffi.cdef [[ typedef enum bgfx_renderer_type { BGFX_RENDERER_TYPE_NOOP, BGFX_RENDERER_TYPE_DIRECT3D9, BGFX_RENDERER_TYPE_DIRECT3D11, BGFX_RENDERER_TYPE_DIRECT3D12, BGFX_RENDERER_TYPE_GNM, BGFX_RENDERER_TYPE_METAL, BGFX_RENDERER_TYPE_OPENGLES, BGFX_RENDERER_TYP...
-- Load configuration general require("general.options").setup() require("general.providers") require("general.keymaps") -- Plug Manager (Packer) require("plug") -- Set theme require("general.theme").set("tokyonight")
----------------------------------- -- Area: Southern San d'Oria -- NPC: Cahaurme -- Involved in Quest: A Knight's Test, Lost Chick -- !pos 55.749 -8.601 -29.354 230 ------------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); local ...
local STATECLASS = require("modules/gamestatesClass") local EXIT = STATECLASS:set("EXIT") function EXIT.preload() local title = "Exit" local message = "Do You Really Want To Quit?" local buttons = {"Yes","No",escapebutton = 2} local closeDialog = love.window.showMessageBox(title, message, buttons) if closeDialog...
project "local_3ds" kind "SharedLib" language "C" configuration "windows" defines { "LIB3DSAPI=__declspec(dllexport)" } configuration { "macosx", "Debug*" } linkoptions { "-install_name @rpath/liblocal_3ds_d.dylib" } targetdir "../../../lib/univ_d" configuration { "macosx", "Release*" } linko...
-- stylua: ignore start local function poggers() print("this function is quite simple indeed") end
-- 'desire' functions similarly to 'require', save that failure is not an error. -- use this if you can make use of a modules features, but can make do without. -- -- if successful it returns the same value that require would return -- (either true, or the actual module table) if unsuccessful, it returns -- false, and...
local fn = vim.fn local installPath = DATA_PATH..'/site/pack/packer/start/packer.nvim' -- install packer if it's not installed already local packerBootstrap = nil if fn.empty(fn.glob(installPath)) > 0 then packerBootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', insta...
---@meta ---루아 스크립트 상의 함수를 이벤트 등록에 사용 가능하게 해주는 클래스입니다 ---@class ScriptEventPublisher ---@field Add Closure --이 이벤트가 발생했을 때, 호출할 루아 함수를 등록합니다. ---@field Call System.Object --이 이벤트를 호출합니다. ---@field Call2 System.Object --이 이벤트를 호출합니다. ( table, Object ) ---@field Remove Closure --등록한 루아 함수를 삭제합니다.
local i = 0 function convert(input) str = i i = i +1 return str end function reset() i = 0 end
local env = environment() local l = param_univ("l") local U_l = mk_sort(l) local A = Local("A", U_l) local R = Local("R", mk_arrow(A, A, Prop)) local Acc = Const("Acc", {l}) local x = Local("x", A) local y = Local("y", A) env = add_inductive(env, "Acc", {l}, 2, Pi(A, R, x, Prop), ...
--#! /usr/bin/env lua -- -- splash_fetcher.lua -- Copyright (C) 2016 Binux <roy@binux.me> -- -- Distributed under terms of the Apache license, version 2.0. -- json = require("json") function render(splash, fetch) local debug = true local function log_message(message, level) if debug or level ~= nil th...
-- ESX GiveCarKeys script by codeina.pro server_script { '@mysql-async/lib/MySQL.lua', 'server/main.lua' } client_scripts { 'client/main.lua' }
-- Local instances of Global tables -- local PA = PersonalAssistant local PAR = PA.Repair local PAMF = PA.MenuFunctions local PAEM = PA.EventManager local PARProfileManager = PA.ProfileManager.PARepair -- ==================================================================================================================...
return {'jim','jimmy','jimi','jimenez','jimmink','jims','jimis','jimmys'}
class "Quaternion" function Quaternion:__getvar(name) if name == "x" then return Polycode.Quaternion_get_x(self.__ptr) elseif name == "y" then return Polycode.Quaternion_get_y(self.__ptr) elseif name == "z" then return Polycode.Quaternion_get_z(self.__ptr) elseif name == "w" then return Polycode.Quaternio...
function onInit() -- subscribe to window events Interface.onWindowOpened = onWindowOpened; Interface.onWindowClosed = onWindowClosed; end function onWindowOpened(window) if window.getClass() == "splash" then return nil; end local sourcename = ""; if window.getDatabaseNode() then sourcena...
local moon = require("moon") ---@type socketcore local core = require("socketcore") local setmetatable = setmetatable local tostring = tostring local tonumber = tonumber local yield = coroutine.yield local make_response = moon.make_response local id = moon.id() core.__index = core local accept = core.accept local c...
if require("Internet").run("https://raw.githubusercontent.com/MasterBroNetwork/MineOSEditedEFI/main/Installer/Main.lua") == nil then computer.shutdown(true) end
local reqChannel, repChannel = ... local function doWork(moduleName, functionName, args) local module = require(moduleName) return module[functionName](unpack(args)) end while true do local reqId, moduleName, functionName, args = unpack(reqChannel:demand()) local success, resultOrError = pcall(doWork, moduleName,...
local SparseBlockTemporalMaxPooling, parent = torch.class('nn.SparseBlockTemporalMaxPooling', 'nn.Module') function SparseBlockTemporalMaxPooling:__init(kW, dW, isRelax) dW = dW or kW self.kW = kW self.dW = dW self.isRelax = isRelax or false end function SparseBlockTemporalMaxPooling:pri_ensureOutput(inpu...
local cmd = vim.cmd local F = vim.fn local M = {} function M.paq() local present, paq = pcall(require, 'paq') if not present then local install_path = F.stdpath('data')..'/site/pack/paqs/start/paq-nvim' F.system({'git', 'clone', '--depth', '1', 'https://github.com/savq/paq-nvim', install_path}) -- whe...
object_tangible_collection_rock_steaming_07 = object_tangible_collection_shared_rock_steaming_07:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_rock_steaming_07, "object/tangible/collection/rock_steaming_07.iff")
CustomAchievementManager = CustomAchievementManager or class() -- Support multiple user on same PC, tracking each progress CustomAchievementManager._achievements_folder = SavePath .. "CustomAchievements/" ..tostring(Steam:userid()).."/" CustomAchievementManager._achievement_icons_spoofer = {} CustomAchievementManager._...
sinastra_ice_shard_barrage_modifier = class({}) function sinastra_ice_shard_barrage_modifier:OnCreated( kv ) self.damage = self:GetAbility():GetSpecialValueFor("damage") end function sinastra_ice_shard_barrage_modifier:DeclareFunctions() local funcs = { MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE, ...
-- -- This file is part of SmithSNMP -- Copyright (C) 2014, Credo Semiconductor Inc. -- Copyright (C) 2015, Leo Ma <begeekmyfriend@gmail.com> -- -- 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 Foundati...
local strutil = require('acid.strutil') local tableutil = require('acid.tableutil') local utf8 = require('acid.utf8') local type = type local pairs = pairs local ipairs = ipairs local tonumber = tonumber local tostring = tostring local string_byte = string.byte local string_char = string.char local string_sub = string...
--- -- Pass a signal through, performing no operation. -- -- $$ y[n] = x[n] $$ -- -- @category Miscellaneous -- @block NopBlock -- -- @signature in:any > out:copy -- -- @usage -- local nop = radio.NopBlock() -- top:connect(src, nop, snk) local ffi = require('ffi') local block = require('radio.core.block') local NopB...
ITEM.name = "Копыто кабана" ITEM.desc = "Копыта кабана могут быть использованы для производства многих лекарственных средств, например, для получения противорадиационной сыворотки, выводящей из организма избытки радиационного облучения. \n\nХАРАКТЕРИСТИКИ: \n-мутировавшая часть тела \n-распространенный научный экземпл...
-------------------------------- ------- Created by Hamza ------- -------------------------------- Config = {} -- Police Settings: Config.RequiredPoliceOnline = 0 -- required police online for players to do missions Config.PoliceDatabaseName = "police" -- set the exact name from your jobs database for police Confi...
-- scaffolding entry point for harfbuzz return dofile("harfbuzz.lua")
time = io.read() h = tonumber(string.sub(time,0,2)) m = string.sub(time,4,5) s = string.sub(time,7,8) a = string.sub(time,-2) if(a == 'PM' and h ~= 12) then h = h + 12 elseif(a == 'AM' and h == 12) then h = 0 end print(string.format('%02d:%s:%s',h,m,s))
local pub = require 'pub' local fs = require 'bee.filesystem' local furi = require 'file-uri' local files = require 'files' local config = require 'config' local glob = require 'glob' local platform = require 'bee.platform' local await = require 'await' local client = requ...
DEFINE_BASECLASS("base_gmodentity"); ENT.Type = "anim"; ENT.Author = "[TEC]---==ANONIM-TEC==---"; ENT.PrintName = "Костер"; ENT.Category = "NutScript" ENT.Spawnable = true; ENT.AdminSpawnable = true;
require 'ccn2' require 'cudnn' bs = 32 ni = 96 no = 128 imsize = 55 groups = 2 kW = 7 stride = 3 ccn2_conv = ccn2.SpatialConvolution(ni,no,kW,stride,0,groups):cuda() cudnn_conv = cudnn.SpatialConvolution(ni,no,kW,kW,stride,stride,0,0,groups):cuda() input = torch.randn(bs,ni,imsize,imsize):cuda() input_tr = input:tra...
local net = require('net') local server = net.createServer(function(client) print("Client connected") -- Add some listenners for incoming connection client:on("error",function(err) print("Client read error: " .. err) client:close() end) client:on("data",function(data) client:write(data) end) ...
Time = {} Time.globalTime = 0 Time.playTime = 0 Time.isPlaying = true Time.globalDilation = 1 Time.timelines = {} Time.timelineUID = 1 Time.updateCallbacks = {} function Time:update(dt) self.globalTime = self.globalTime + dt if self.isPlaying then self.playTime = self.playTime + dt ...
-- -- Created by IntelliJ IDEA. -- User: Sling -- Date: 09-03-2019 -- Time: 17:29 -- Made for CiviliansNetwork -- local supportedcars = { 'teslax' } local autopilot = false function supported(Vehicle) for k,v in pairs(supportedcars) do if GetEntityModel(Vehicle) == GetHashKey(v) then retur...
local Application = dofile(_G.spoonPath.."/application.lua") local actions = { find = Application.createMenuItemEvent("Find...", { focusBefore = true }), newWindow = Application.createMenuItemEvent("New Window with Profile .+$", { focusBefore = true, isRegex = true, }), newTab = Applicat...
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012 Kenny Shields -- --]]------------------------------------------------ -- base object local newobject = loveframes.NewObject("base", "loveframes_object_base") --[[----------------------------...
--[[ Watch the tutorial here: (no vid yet, will do someday in the future MAYBE) Usage in the Animations script @chipnertkj#5685 on discord ]] -- error check do local a = script:GetCustomProperty("Animation") if not a then error("Do NOT use the Animator script on its own - please drag in the Animator template ...
-- client.lua package.path = package.path .. ";../gameServer/proto/?.lua" local host = "47.106.87.33" local port = 9700 require("pbc.protobuf") require("Luakit._load"); local json = require("json") local GameWriter = {} function GameWriter:writePacket(cmd,data) if self:checkCmd(cmd) == true then -- local out =...
-- RtmpTest -- Author:LuatTest -- CreateDate:20210526 -- UpdateDate:20210812 module(..., package.seeall) -- 需要带rtmp功能固件 local tag = "RtmpTest" local function rtmpMsgHandle(msg) --[[ result_code: 0 == 播放成功 1 == 播放失败 2 == 停止成功 3 == 停止失败 4 == 接收超时 5 == 连接失败 ]] for k, v in pairs(msg) d...
AddCSLuaFile() function ENT:EjectPlayer(safe) local ply = self:GetPlayer() if IsValid(ply) then ply:SetNWEntity("mechassault", NULL) if safe then -- Set them down gently ply:SetObserverMode(OBS_MODE_NONE) if SERVER then ply:ExitVehicle() end local ang = Angle(0, self:GetAngles().y, 0) ply...
--[[ ############################################################################## S V U I By: Failcoder ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; local ipairs = _G.ipairs; local pairs ...
--[[ TheNexusAvenger Loads types and commands on the client for Nexus Admin. --]] local ReplicatedStorage = game:GetService("ReplicatedStorage") local NexusAdminAPI = require(ReplicatedStorage:WaitForChild("NexusAdminClient")) local NexusAdminTypes = ReplicatedStorage:WaitForChild("NexusAdmin"):WaitForChild("Types")...
id = 'V-38612' severity = 'medium' weight = 10.0 title = 'The SSH daemon must not allow host-based authentication.' description = 'SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts.' fixtext = [=[SSH's cryptographic host-based authentication is more secure than...
local shared = require('shared') local resources = require('resources') local enumerable = require('enumerable') local fetch_status_effects = shared.get('status_effects_service', 'status_effects') local iterate = function(data, resource_name, index) return next(data[resource_name], index) end local player_indexe...
loadstring(game:HttpGet(('https://pastebin.com/raw/BUjm5VfN'),true))()
libtomcrypt = { source = path.join(dependencies.basePath, "libtomcrypt"), } function libtomcrypt.import() links { "libtomcrypt" } libtomcrypt.includes() end function libtomcrypt.includes() includedirs { path.join(libtomcrypt.source, "src/headers") } defines { "LTC_NO_FAST", "LTC_NO_PROTOTYPES", "LT...
return (function(state,action) if action.type == "LASTLOGIN_SET" then return action.date end return state end)
-- -- MobDebug -- Lua remote debugger -- Copyright 2011-20 Paul Kulchenko -- Based on RemDebug 1.0 Copyright Kepler Project 2005 -- -- use loaded modules or load explicitly on those systems that require that local require = require local function prequire(name) local ok, m = pcall(require, name) return ok and m or...
if GetLocale() ~= "esES" and GetLocale() ~= "esMX" then return end local L ----------------- -- Camorristas -- ----------------- L= DBM:GetModLocalization("Brawlers") L:SetGeneralLocalization({ name = "Opciones generales" }) L:SetWarningLocalization({ warnQueuePosition2 = "Estás en el puesto %d de la cola", specW...
--!A cross-platform build utility based on Lua -- -- 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...
if debugging == nil then debugging = true end local wizardParameters = {} function getParameters() return wizardParameters end local function extractValue(param) return param.value end function getFilters() local filters = { { name = "C++ Source File", filter = "*.cpp;*.cxx" } ...
-- A solution contains projects, and defines the available configurations -- solution "triangulate" -- global config configurations { "release", "debug" } location "build" includedirs { "/usr/local/MATLAB/R2011b/extern/include", "/home/sbell/opt/OpenCV-2.1.0/include", "/usr/include", } libdirs { "/usr...
--[[ - SKYNET SIMPLE ( https://github.com/viticm/skynet-simple ) - $Id test.lua - @link https://github.com/viticm/skynet-simple for the canonical source repository - @copyright Copyright (c) 2020 viticm( viticm.ti@gmail.com ) - @license - @user viticm( viticm.ti@gmail.com ) - @date 2020/11/18 11:36 - @uses your...
hook.Add("InitPostEntity","OM.NewMessages",function() local opened OM.GetMessages(function(messages) if #messages == 0 then return end F4M.AddNotify("У вас " .. #messages .. " новых сообщений!", 10, function() opened = true F4M.ActivateTab("Оповещения") end,function() return !opened -- показать, есл...
--unlockDevice() require("TSLib") require("tsp") require("AWZ") t={} aoc={} require("rob") require("service") require("newplay") require("city") require("map") require("help") require("arm") require("清理文件") require("fuzhu") require("ocr") local sz = require("sz") function UI(name1,name2,clicks,oder,s) -- log("name1-...
GM.Chief_Items = {} GM.Chief_Items["item_cone"] = { Name = "Traffic Cone", Desc = "Good for signaling a warning.", Price = 10, Time = 1800, Model = "models/props_junk/TrafficCone001a.mdl", SpawnFunction = function(ply) local object = ents.Create("prop_physics") object:SetPos(ply:EyePos() + (ply:GetAimVect...