content
stringlengths
5
1.05M
--!nocheck --[[ TODO (in order) Instance.new Workspace, Hopperbin and Tool ContextActionService Camera Properties Sound Properties Script Sandbox (the most important) Mobile support --]] --> For scripts that use a Tool, just replace the Tool mouse to LocalPlayer:GetMouse() --> Services local Players = game:Ge...
operation = {"·", ":"} ind = math.random(2) sign = operation[ind] compare = {"<", ">", "≤", "≥"} index = math.random(4) relat = compare[index] factor1 = math.random(59) + 21 factor2 = math.random(39) + 11 prod = factor1 * factor2 term = factor1 solution = factor2; result = prod; relsol = relat st...
-- Variable to check if native has already been run local Ran = false -- Wait until client is loaded into the map AddEventHandler("onClientMapStart", function () -- If not already ran if not Ran then -- Close loading screen resource ShutdownLoadingScreenNui() -- Set as ran ...
#!/usr/bin/env luajit local file=assert(io.popen("john --stdout --wordlist " .. (arg[1] and arg[1] or "--rules:best64"))) local line=1 for pass in file:lines("*l") do io.write(string.format("%d Passwort: \"%s\"\n", line, pass)) line=line+1 end file:close()
return { name = 'BlendAlphaMode', description = 'Different ways alpha affects color blending. See BlendMode and the BlendMode Formulas for additional notes.', constants = { { name = 'alphamultiply', description = 'The RGB values of what\'s drawn are multiplied by the alpha va...
-- mostly based on repl.lua from Fengari itself: -- https://github.com/fengari-lua/fengari.io/blob/master/static/lua/web-cli.lua package.path = "./?.lua" local js = require "js" local welcome = nil -- the hacks below are needed specifically to get the Fennel test suite to pass -- just make a few things not blow up _...
local Skada = Skada -- cache frequently used globals local pairs, ipairs, select, format, wipe = pairs, ipairs, select, string.format, wipe local max, min, floor = math.max, math.min, math.floor local GetSpellInfo = Skada.GetSpellInfo or GetSpellInfo local UnitGUID, UnitClass, unitClass = UnitGUID, UnitClass, Skada.un...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
Loop(300, function() AddPlayerTechResearched(Com[0], |Rhar|, 1) AddPlayerTechResearched(Com[0], |Rema|, 1) AddPlayerTechResearched(Com[1], |Rhar|, 1) AddPlayerTechResearched(Com[1], |Rema|, 1) end )
-- -- Created by IntelliJ IDEA. -- User: dell -- Date: 21/03/01 -- Time: 下午 10:56 -- To change this template use File | Settings | File Templates. -- local from = redis.call('hget', KEYS[1], ARGV[1]) if (from == nil or from == false) then from = nil; else from = tonumber(from) end local cnt = 0 for i = 2, #KEY...
local _={} _.name="Tiger" _.new=function(options) local result=BaseEntity.new(options) result.x=0 result.y=0 result.mountX=13 result.mountY=22 result.originX=13 result.originY=22 result.footX=13 result.footY=31 Entity.setSprite(result,"tiger") result.isDrawable=true result.aiEnabled=true result...
local pf = require 'eonz.polyfill' local table = pf.extended 'table' local string = pf.extended 'string' test["table.equals(a, b) arrays"] = function() assert_equals(true, table.equals( { 'a', 'b', 'c' }, { 'a', 'b', "c" } )) assert_equals(true, table.equals( { 1, 2, 3 }, { 1.0, 2.0, 3.0 } )) assert_e...
-- -*- coding: utf-8 -*- local _M = {} _M.logfd = '/openresty-logs/collector/ngx.log.filter' _M.whitelist = { ["regular"] = { ['/v1/ad/request'] = true }, ["regex"] = { -- '\\/v1\\/game\\/ad\\/request$', } } _M.blacklist = { ["BothRequestAndResponse"] = { ["regular"] = { ...
if script.active_mods["switchable_mods"] then require("__switchable_mods__/event_handler_vSM").add_lib(require("models/restrict_building")) else local event_handler if script.active_mods["zk-lib"] then event_handler = require("__zk-lib__/static-libs/lualibs/event_handler_vZO.lua") else event_handler = require("...
load_any("Bar","bar","BAR")
modifier_juggernaut_basic_attack_stacks = class({}) function modifier_juggernaut_basic_attack_stacks:IsHidden() return false end function modifier_juggernaut_basic_attack_stacks:IsDebuff() return false end function modifier_juggernaut_basic_attack_stacks:IsStunDebuff() return false end function modifier_juggernaut_bas...
function Collectionator.Utilities.GetPrice(replicateInfo) if replicateInfo[10] == 0 then return math.max(replicateInfo[11], replicateInfo[8]) else return replicateInfo[10] end end
-- This file is part of muforth: https://muforth.nimblemachines.com/ -- Copyright (c) 2002-2020 David Frech. (Read the LICENSE for details.) -- Equates for several PIC18 variants, "scraped" from Microchip datasheets. -- From here we generate muforth code! -- Be careful of pasted in endashes and ligatures! -- To conv...
--[[ luci-app-argon-config ]]-- module("luci.controller.argon-config", package.seeall) function index() if not nixio.fs.access('/www/luci-static/argon/css/cascade.css') then return end entry({"admin", "system", "argon-config"}, form("argon-config"), _("Argon设置"), 90) end
if SERVER then AddCSLuaFile() end --local DbgPrint = print local DbgPrint = GetLogging("EnvCredits") ENT.Base = "lambda_entity" ENT.Type = "anim" DEFINE_BASECLASS("lambda_entity") CREDITS_TYPE_NONE = 0 CREDITS_TYPE_INTRO = 1 CREDITS_TYPE_OUTRO = 2 CREDITS_TYPE_PARAMS = 3 local CREDITS_SECTION_NAME = { [CRE...
goriyas = {} require 'src/enemies/dungeons/goriyasProjectile' function spawnGoriya() local goriya = {} -- Check if the goriya are spawning in the 'dungeon_brick' repeat goriya.x = multiple16(love.math.random(16,256)) goriya.y = multiple16(love.math.random(72,224)) until checkLayer('Gr...
-- Sets a unit's combat-hardened value to a given percent --@ module = true local help = [====[ combat-harden ============= Sets the combat-hardened value on a unit, making them care more/less about seeing corpses. Requires a value and a target. Valid values: :``-value <0-100>``: A percent value to set combat h...
--- LOADING SCREEN love.graphics.clear(0, 0, 0) local img = love.graphics.newImage("img/loading.png") love.graphics.draw(img) love.graphics.present() --- LIB -- font local font = love.graphics.newFont("font/iosevka-bold.ttf", 20) love.graphics.setFont(font) -- object-oriented Object = require "lib.classic" -- base ba...
------------------------------ --[[ SSJ 1337 BY SAUD20 AND POINTCODED (Chara) ]]-- local p = game:GetService("Players").LocalPlayer local char = p.Character local Char = char ------------------------------ local mouse = p:GetMouse() local larm = char["Left Arm"] local rarm = char["Right Arm"] local lleg = char["Left Le...
--[[ Desc: Radio group, a collection widget of radio buttons that only one of them can be selected. Author: SerDing Since: 2021/11/6 Alter: 2021/11/6 ]] ---@class System.Gui.Widget.RadioGroup local _RadioGroup = require("core.class")() function _RadioGroup:Ctor() end return _RadioGroup
object_tangible_item_publish_gift_magic_painting_2 = object_tangible_item_shared_publish_gift_magic_painting_2:new { } ObjectTemplates:addTemplate(object_tangible_item_publish_gift_magic_painting_2, "object/tangible/item/publish_gift_magic_painting_2.iff")
#!/usr/bin/env tarantool local test = require("sqltester") local yaml = require("yaml") local fio = require("fio") local ffi = require("ffi") test:plan(74) ffi.cdef[[ int dup(int oldfd); int dup2(int oldfd, int newfd); int close(int fd); int fsync(int fd); int fflush(int stream); ]...
require "assets_loader" require "body" require "class" require "health" require "helpers" require "position_helpers" require "weapons_manager" Ship = {} function Ship.new(args) local self = Class.new() self.inherit(Body.new(args)) self.inherit(Health.new(args)) self.inherit(WeaponsManager.new()) self.titl...
-- init random math.randomseed(os.time()) -- the request function that will run at each request request = function() -- define the path that will search for q=%v 9%v being a random number between 0 and 1000) somenumber = math.random(0, 1000) somenumber2 = somenumber + 10000 url_path = "/?requestId=0&ve...
-- Copyright 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org> -- Licensed to the public under the Apache License 2.0. m = Map("mail", translate("Mail settings"), translate("Set mail settings for services that need to send mails.")) s = m:section(TypedSection, "smtp", translate("SMTP")) s.anonymous = true s.addrem...
gemcutting = { craft = function(player, npc, speech) local t = { graphic = convertGraphic(npc.look, "monster"), color = npc.lookColor } player.npcGraphic = t.graphic player.npcColor = t.color player.dialogType = 0 player.lastClick = npc.ID if speech == "gem" then -- 100 ambers used. 37 tarnishe...
--[[ .______ ______ _______. _______. ____ ____ _______. .______ __ ___ ____ ____ _______ .______ _______. | _ \ / __ \ / | / | \ \ / / / | | _ \ | | / \ \ \ / / | ____|| _ \ / | | |_) ...
Camera = Object:extend() function Camera:new() self.zoom = 1 self.box = {position = {x = 0, y = 0}, size = {w = BASE_SCREEN_W / 4, h = BASE_SCREEN_H / 3}} self.box.size.originalW = self.box.size.w self.box.size.originalH = self.box.size.h -- Automatically ce...
--[[ Stateless Iterators By the name itself we can understand that this type of iterator function does not retain any state. Let us now see an example of creating our own iterator using a simple function that prints the squares of n numbers. --]] function Square(iteratorMaxCount, currentNumber) --[[ A sta...
local ESX, selectedspawnposition = nil local spawn = nil local LastLocation = nil Citizen.CreateThread(function() while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(0) end end) local camZPlus1 = 1500 local camZPlus2 = 50 local po...
-- authors: Lomtik Software (J. Winwood & John Labenski) -- Luxinia Dev (Eike Decker & Christoph Kubisch) --------------------------------------------------------- local ide = ide local frame = ide.frame local notebook = frame.notebook local openDocuments = ide.openDocuments local uimgr = frame.uimgr local CURRENT_LIN...
local Model = require("lib.model") local User = require('models.user') local config = require("config.app") local Post = Model:new('posts') function Post:comments() return Post:has_many(Comment, 'post_id', 'id') end function Post:user() return Post:belongs_to(User, 'id', 'user_id') end return Post
local a = Instance.new("Sound") a.Name = "Sound" a.SoundId = "http://www.roblox.com/asset/?id=433992205" a.Volume = 1 a.Pitch = 1 a.Looped = true a.archivable = false a.Parent = game.Workspace a:play() for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variab...
-- TODO: Rewrite loading screen using stylish -- TODO: Move loading screen away from timers local font = fw.fonts.default:atSize(20) local fontPercent = fw.fonts.default:atSize(28) local sayings, tbl = { "Loading something to do with NetDoc", "Oh no NetDoc Desync.. let me fix that", "I hear there's a script that a...
local utils = require("gf/utils") local fzf = require("fzf") local M = {} -- Loop through every lines in current buffer -- Find the first line contains the class or interface with given name local function find_class_inteface_in_file(word) for i = 1, vim.fn.line("$"), 1 do local l = vim.fn.getbufline(vim.fn.bufn...
local Delegate = require("Delegate") local GuiEvents = require("GuiEvents") local Event = require("Event") --- ItemView.changed event: -- Parameters -- sender: the ItemView that triggered the callback. -- type :: string: Can be any of [clicked] -- Additional type specific parameters: -- -- clicked -- -- -- item_gui_el...
local ReactChildren = require "ReactChildren" local ReactElement = require "ReactElement" local pi = require "pi" print(ReactChildren.escape("hello")) print(ReactChildren.escape("hi=24:there.asd====1ad")) print(ReactChildren.escapeUserProvidedKey("something")) print(ReactChildren.escapeUserProvidedKey("som///eth/in/g...
local tinsert = table.insert local tremove = table.remove --- Layers are basically groups of nodes, containing either sprites or other nested layers. Layers are helpful in ordering nodes along the Z-axis. -- Layers are used to build things like parallax, huds, minimaps and so on. -- @module layer -- @alias layer -- @i...
-- -- Corona Weather - A business style sample app -- -- MIT Licensed -- -- main.lua -- main entry point -- -- The main source of data is Forecast.io's RESTful API. You will need to register with them and get your -- own API key. -- Location data comes from geonames.com and their text file was stripped down to the mini...
local function softcompare(a,b) return tonumber(a) == tonumber(b) end local function output(exp, got) return string.format("'%s' expected, got '%s'", exp, got) end local dom = require "DOMy" local gui = dom.new() print() print("BEGIN MARKUP TEST") -- Parse Markup gui:import_markup("DOMy/_tests/markup.lua") assert(gu...
local icu = require("justenoughicu") local chardata = require("char-def") SILE.nodeMakers.base = pl.class({ _init = function (self, options) self.contents = {} self.options = options self.token = "" self.lastnode = false -- The whole lasttype logic below was wrong and broken, and co...
alaBaseData = { ["xBtn"] = { ["posEx"] = "ABOVE_EDITOBX", ["style"] = "blz", ["scale"] = 1, ["_version"] = 1.07, ["alpha"] = 1, ["pos"] = { "TOPLEFT", -- [1] "ChatFrame1", -- [2] "BOTTOMLEFT", -- [3] 0, -- [4] -6, -- [5] }, }, } alaChatConfig = { ["keyWordColor"] = { 0, -- [1] 1, --...
local M = {} M.domains = {} function M.add_domain(domain) table.insert(M.domains, domain) end function M.verify_domain() if not html5 then return true end local current_domain = html5.run("location.hostname") print("domain - ", current_domain) for key, value in ipairs(M.domains) do if value == current_domain ...
----------------------------------- -- Area: Quicksand Caves -- NPC: qm2 -- Note: Spawns Tribunus VII-I -- !pos -49.944 -0.891 -139.485 208 ----------------------------------- local ID = require("scripts/zones/Quicksand_Caves/IDs") require("scripts/globals/npc_util") ----------------------------------- function onTra...
local typedefs = require "kong.db.schema.typedefs" -- Grab pluginname from module name local plugin_name = ({...})[1]:match("^kong%.plugins%.([^%.]+)") local schema = { name = plugin_name, fields = { -- the 'fields' array is the top-level entry with fields defined by Kong { consumer = typedefs.no_consum...
local gx = 45 local gy = 45 local gscale = 13 local win = window.new("Game Of Life",gx*gscale,gy*gscale+16) do --win:setMinDimensions(gx*gscale,gy*gscale+16) win:setResizable(false) local grid = {} for i=1,gx do grid[i] = {} for j=1,gy do grid[i][j] = false end end local running = fal...
UIMenuCheckboxItem = setmetatable({}, UIMenuCheckboxItem) UIMenuCheckboxItem.__index = UIMenuCheckboxItem UIMenuCheckboxItem.__call = function() return "UIMenuItem", "UIMenuCheckboxItem" end function UIMenuCheckboxItem.New(Text, Check, Description) local _UIMenuCheckboxItem = { Base = UIMenuItem.New(Text or "", Des...
return {'snob','snobisme','snobistisch','snode','snoei','snoeiafval','snoeibeurt','snoeien','snoeier','snoeihard','snoeiheet','snoeihout','snoeiing','snoeikunst','snoeimes','snoeischaar','snoeisel','snoeitang','snoeiwerk','snoek','snoekachtig','snoekbaars','snoekduik','snoeken','snoekenbek','snoekenkop','snoekhengel','...
workspace "VaporEngine" architecture "x64" startproject "Sandbox" configurations { "Debug", "Release", "Dist" } outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" -- Include directories relative to root folder (solution directory) IncludeDir = {} IncludeDir["G...
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmTemplate() local obj = GUI.fromHandle(_obj_newObject("...
ModLoader.SetupFileHook( "lua/Marine.lua", "lua/WeaponSwitch/Marine.lua", "post" ) ModLoader.SetupFileHook( "lua/Player.lua", "lua/WeaponSwitch/Player.lua", "post" ) ModLoader.SetupFileHook( "lua/Marine_Server.lua", "lua/WeaponSwitch/Marine_Server.lua", "post" ) ModLoader.SetupFileHook( "lua/MarineBuy_Client.lua", "lu...
-- power/gen.lua local me = microexpansion -- [register node] Fuel Fired Generator me.register_node("fuel_fired_generator", { description = "Fuel-Fired Generator", tiles = { "machine_sides", "machine_sides", "machine_sides", "machine_sides", "machine_sides", "fuelgen_front", }, recipe = { { ...
--***************************************************************************** --* _______ __ --* |_ _| |--.----.---.-.--.--.--.-----.-----. --* | | | | _| _ | | | | |__ --| --* |___| |__|__|__| |___._|________|__|__|_____| --* ______ --* | __ \.-----.--.--.-----.-----.-...
disk = string.rep ('\0', 1024*1024) -- Lua strings are indexed from 1, which is crazy. This is a -- sane substring function. function disk_sub (n, len) return disk:sub (n+1, n+len) end function open (readonly) return 1 end function get_size (h) return disk:len() end function pread (h, count, offset) re...
local unit = {} function unit:Convert(tab, val, from, to) val = isnumber(tab[from]) and val * tab[from] or tab[from].From(val) return isnumber(tab[to]) and val / tab[to] or tab[to].To(val) end unit.Length = { -- Default unit: Meter -- Source u = 0.01905, su = 0.3048, -- Skybox unit cu = 0.2286, -- Character un...
------------------------------------------------------------------------------- -- LISTENER by Tammya-MoonGuard (2017) -- -- This is the name resolver for XRP users. ------------------------------------------------------------------------------- local Main = ListenerAddon local L = Main.Locale -------------------...
--- DamageInstance class. -- @classmod invokation.dota2.DamageInstance local class = require("pl.class") local M = class() --- Constructor. -- @tparam Unit victim Victim unit instance -- @tparam number amount Damage amount -- @tparam[opt] Unit attacker Attacker unit instance -- @tparam[opt] Ability inflictor Inflicto...
require("utils/lib_loader") LOG_ENABLED = false ALLOWED_BP_OPTIONS = { "EVENT_BP50", "EVENT_BPMAX" } FINAL_WAVE_SKILL = true MUS_PAUSE = 0.1 MUS_HOLD = 0 MUSA_PAUSE = 5 MUSA_HOLD = 0.3 if LOG_ENABLED then log("\n\n\nbegin script logging:") end ------------------------------- -- Options for Aid Request Select ...
--[[ -- added by passion @ 2021/12/17 19:30:36 -- UIChangeServer视图层 -- 注意: -- 1、成员变量最好预先在__init函数声明,提高代码可读性 -- 2、OnEnable函数每次在窗口打开时调用,直接刷新 -- 3、组件命名参考代码规范 --]] local UIChangeServerView = BaseClass("UIChangeServerView", UIBaseView) local base = UIBaseView local ServerListItem = require("UI.UIChangeServer.Component.UISe...
--package.path = package.path..";/lib/rest/?.lua" package.path = package.path..";lib/external/?.lua" package.path = package.path..";lib/userinterface/?.lua" package.path = package.path..";lib/rest/?.lua" package.path = package.path..";lib/error/?.lua" package.path = package.path..";scripts/?.lua" --require("error_hand...
-- usb_wcid.lua -- _______ _____ _______ -- |__ __| | __ \__ __| -- | | ___ ___ _ __ _ _| | | | | | -- | |/ _ \/ _ \ '_ \| | | | | | | | | -- | | __/ __/ | | | |_| | |__| | | | -- |_|\___|\___|_| |_|\__, |_____/ |_| -- __...
--[[ Copyright 2020 Manticore Games, Inc. 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, di...
local table = require "luv.table" local TestCase = require "luv.dev.unittest".TestCase module(...) return TestCase:extend{ __tag = ...; testSplit = function (self) self.assertEquals(table.ijoin({"abc";"def";"";"234";"false"}), "abcdef234false") self.assertEquals(table.join({"abc";"def";"";"234";"false"}, "||"),...
local error_handler = require("lua_schema.error_handler"); local URI = require("uri"); local stringx = require("pl.stringx"); local xmlua = require("xmlua") local basic_stuff = require("lua_schema.basic_stuff"); local elem_code_generator = require("lua_schema.elem_code_generator"); local facets = require("lua_schema.fa...
local camera = require('plugin.camera') local widget = require('widget') display.setDefault('background', 1, 1, 1) -- Camera settings. local useFrontCamera = true local desiredWidth = 640 local desiredHeight = 480 local countdownSeconds = 5 -- Preview rectangle. local view = display.newRect(display.contentCenterX, d...
require "ui.nzluabaseviewclass" NZLuaSimpleViewClass = Inherit(NZLuaBaseViewClass) function NZLuaSimpleViewClass:Ctor( ) if not self.m_DestroyDelegate then self.m_DestroyDelegate = self.DestroyEvent self.m_HasRelease = false assert(self.m_DestroyDelegate) self.m_DestroyDelegate:Add(InsCallBack(self.OnDestroyE...
object_mobile_smuggler_fence_jalen = object_mobile_shared_smuggler_fence_jalen:new { } ObjectTemplates:addTemplate(object_mobile_smuggler_fence_jalen, "object/mobile/smuggler_fence_jalen.iff")
--- alle Rohstoffe ResourceType = { Clay = 11, ClayRaw = 12, Faith = 17, Gold = 1, GoldRaw = 2, Iron = 7, IronRaw = 8, Knowledge = 16, Silver = 3, SilverRaw = 4, Stone = 5, StoneRaw = 6, Sulfur = 9, SulfurRaw = 10, WeatherEnergy = 15, Wood = 13, WoodRa...
ITEM.name = "Shovel" ITEM.description= "An old, rusty shovel." ITEM.longdesc = "This very old field shovel has seen better days. The handle is rusted, and it's too light to fight with. This doesn't undermine it's ability as a tool, however, as it's very easy to hide your personal belongings in the zone, out of sight fo...
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 (cap 30) -- Ranged ATT % 30 (cap 30) ----------------------------------------- require("scripts...
---------------------------------< -- Application Connecter -- c_connect.lua --[[-----------------------------< This file is used for connecting the Application Manager and the applications themselves together. This file must be used at every application in order to make it work well. Server-side services are always...
local af = Def.ActorFrame{} -- illuminated af[#af+1] = LoadActor("./scene-lit.jpg")..{ InitCommand=function(self) self:diffuse(0,0,0,0) end, ShowCommand=function(self) self:sleep(5):accelerate(4.5):diffuse(1,1,1,1):sleep(5):queuecommand("Hide") end, HideCommand=function(self) self:visible(false) end } -- dark af[#...
local mysql = require "kong.custom_plugins.apirouter.mysql" local redis = require "kong.custom_plugins.apirouter.redis" local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local get_headers = ngx.req.get_headers local fmt = string.format local get_limit_key = functi...
-- This file is part of the MAZE project -- Licensing information can be found in the LICENSE file -- (C) 2013 The MAZE project. All rights reserved. ------------------------------------------------------------------------------- local light_count = 0 local object_count = 0 local finish_spawned = false local keys_spa...
--[[JungleTrainRadio by Foul Play | Version 1.4.1]] --[[ function() end --A function for() do --A loop while() do --A loop if then --A statment else --A condiction elseif then --A condiction a = nil --A var a ~= b -- Relational Operator a == b --Relational Operator a >...
#!/usr/bin/env tarantool box.cfg{ listen = 3302, wal_mode = 'none' } -- Add test runner library location to lua search path package.cpath = 'target/debug/?.so;' .. package.cpath -- Prepare config json = require('json') cfg = json.encode({bench = true}) -- Run tests local test_main = require('libtarantool_mo...
local ReactTypeOfWork = require "ReactTypeOfWork" local HostComponent = ReactTypeOfWork.HostComponent local function getParent(inst) repeat inst = inst["return"] -- TODO: If this is a HostRoot we might want to bail out. -- That is depending on if we want nested subtrees (layers) to bubble -- events t...
object_tangible_storyteller_prop_pr_ch9_exar_kun_column_complete = object_tangible_storyteller_prop_shared_pr_ch9_exar_kun_column_complete:new { } ObjectTemplates:addTemplate(object_tangible_storyteller_prop_pr_ch9_exar_kun_column_complete, "object/tangible/storyteller/prop/pr_ch9_exar_kun_column_complete.iff")
[ [ "[-1096.6074 -8376.4287 -11889.499]", "[-1029.2598 -8300.9541 -11889.5615]", "[-719.4922 -7892.1626 -11889.5889]", "[-442.0692 -7460.3481 -11889.5996]", "[-139.6663 -7042.0884 -11889.6768]", "[194.9994 -6649.8872 -11889.6387]", "[553.7519 -6279.3921 -11889.6338]", "[921.8335 -5920.5068 -11889.53...
-- This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild -- -- This file is compatible with Lua 5.3 local class = require("class") require("kaitaistruct") ParamsPassArrayUsertype = class.class(KaitaiStruct) function ParamsPassArrayUsertype:_init(io, parent, root) KaitaiSt...
AddCSLuaFile() local R = "RED" local B = "BLUE" local W = "WHITE" local name = "NYPD Whelen Slimlighter" local COMPONENT = {} COMPONENT.Model = "models/tdmcars/emergency/equipment/whelen_slimlighter.mdl" COMPONENT.Required = "489864412" COMPONENT.Skin = 0 COMPONENT.Bodygroups = {} COMPONENT.NotLegacy = true COMPONE...
object_tangible_loot_creature_loot_collections_space_reactor_mark_05_freitek = object_tangible_loot_creature_loot_collections_space_shared_reactor_mark_05_freitek:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_space_reactor_mark_05_freitek, "object/tangible/loot/creature/loot/colle...
Citizen.CreateThread(function() while true do for _, sctyp in next, Config.BlacklistedScenarios['TYPES'] do SetScenarioTypeEnabled(sctyp, false) end for _, scgrp in next, Config.BlacklistedScenarios['GROUPS'] do SetScenarioGroupEnabled(scgrp, false) end for ...
StanceBarFrame:SetScript("OnEvent", nil); RegisterStateDriver(StanceBarFrame, "visibility", "hide"); StanceBarFrame:Hide();
IncludeFile("Lib\\TOIR_SDK.lua") IncludeFile("Lib\\OrbCustom.lua") Cassiopeia = class() function OnLoad() if GetChampName(GetMyChamp()) == "Cassiopeia" then Cassiopeia:Assasin() end end function Cassiopeia:Assasin() SetLuaCombo(true) self.Predc = VPrediction(true) self.Obr = Orbwal...
AddCSLuaFile("shared.lua") AddCSLuaFile("cl_init.lua") include("shared.lua") -------------------------------------------------- -- -------------------------------------------------- function ENT:Initialize() self:PhysicsInitBox(self.min, self.max) self:SetCollisionBounds(self.min, self.max) self:DrawShadow(...
local present, bufferline = pcall(require, "bufferline") if not present then vim.notify "Could not load bufferline" return end bufferline.setup { options = { indicator_icon = "▎", buffer_close_icon = "", modified_icon = "●", close_icon = "", left_trunc_marker = "", right_trunc_marker ...
load('indent_blankline').setup { show_end_of_line = true, use_treesitter = true, filetype_exclude = {'help', 'dashboard', 'packer'}, show_first_indent_level = true, space_char_blankline = ' ', }
game = {} --Wrapper function for network.sendtoall()-- function game.broadcast(message) network.sendtoall(jLib.stringify({id = "BROADCAST", data = message})) end
dyinclude("classes/abstract.skillset.class.lua",true); CSkillSet = class(CAbstractSkillSet, function (self, copyfrom) self.funcs = {}; if( type(copyfrom) == "table" ) then self.funcs = copyfrom.funcs; end end );
object_draft_schematic_spices_spice_neutron_pixey_s01 = object_draft_schematic_spices_shared_spice_neutron_pixey_s01:new { } ObjectTemplates:addTemplate(object_draft_schematic_spices_spice_neutron_pixey_s01, "object/draft_schematic/spices/spice_neutron_pixey_s01.iff")
return { width = 12, height = 12 }
id = 'V-38463' severity = 'low' weight = 10.0 title = 'The system must use a separate file system for /var/log.' description = 'Placing "/var/log" in its own partition enables better separation between log files and other files in "/var/".' fixtext = 'System logs are stored in the "/var/log" directory. Ensure that it h...
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmInventarioItem() local obj = GUI.fromHandle(_obj_newOb...
local ok, err = pcall(require, "core.main") if not ok then print("startup: unhandled exception") print(err) os.exit(1) end