content
stringlengths
5
1.05M
require 'module/Linear_Weight_QR' require 'module/Linear_Weight_ST' require 'module/Linear_Weight_ST_CN' require 'module/Linear_Weight_CayT' require 'module/Linear_Weight_PCA_Row' require 'module/Linear_Weight_DBN_Row_Group' function create_model(opt) --------------------------------------------------------------...
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' ui_page 'ND_mTracker.html' client_scripts { 'ND_mTracker.lua', 'cfg.lua' } files { 'img/phone.png', 'img/tracker_background.png', 'img/tracker_bar.png', 'img/tracker_player.png', 'img/tracker_target.png', 'beep.ogg', 'ND_mTracker.html...
local example = {} example.title = "Form" example.category = "Object Demonstrations" function example.func(loveframes, centerarea) local frame = loveframes.create("frame") frame:setName("Form") frame:setSize(500, 80) frame:centerWithinArea(unpack(centerarea)) local form = loveframes.create("form", frame) fo...
local Layouts = GLOBAL.require("map/layouts").Layouts local StaticLayout = GLOBAL.require("map/static_layout") Layouts["MainCamp"] = StaticLayout.Get("map/static_layouts/ms") Layouts["HeliPad"] = StaticLayout.Get("map/static_layouts/helipad") AddRoom("WorldBG", { type = "background", value = GROUND.CHECKER, cont...
server = "website" function getAllPlayersName () for i, player in ipairs(getElementsByType("player")) do if player then return ""..getPlayerName(player).."" else return "No Players On Server" end end function getServerN () return ""..getServerName().."" end function getAllPlayers...
-- Cannon ball -- There are two types of canonn balls: balls and bomb local physics = require('physics') local sounds = require('libs.sounds') local _M = {} local newPuff = require('classes.puff').newPuff function _M.newBall(params) local ball = display.newImageRect(params.g, 'images/ammo/' .. params.type .. '.png...
local ghosts_death_delay = 5 local turtles = { {"turtle1","Ferk"}, {"turtle2","Don"}, {"turtle3","Max"}, {"turtle4","Nathan"}, } for i in ipairs(turtles) do local itm = turtles[i][1] local desc = turtles[i][2] minetest.register_entity("mario:"..itm, { hp_max = 1, physical = true, collide_with_objects ...
--[[ Copyright (c) 2016 by Marco Lizza (marco.lizza@gmail.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including...
--[[ 3p8_hoop Uses: Dunkin' on bitches File Theme Songs: KOBE https://www.youtube.com/watch?v=GLV07jcZ7hY BALLIN' LIKE A PISTON https://www.youtube.com/watch?v=56E662O9aoY HOOP LIFE https://www.youtube.com/watch?v=iWACgp6KGYQ Todo: hoop itself models/hunter/misc/platehole1x1a.mdl ...
local M = {} M.tmousebutton = 0 M.mbleft = 0 M.crhelp = 0 M.crhandpoint = 0 M.crdefault = 0 return M
--星态神碎·中立-08 local m=14000264 local cm=_G["c"..m] cm.card_code_list={14000260} function cm.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,nil,1) c:EnableReviveLimit() --cannot attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_MZONE) e1:SetCod...
local ban_list = { [""] = true } RegisterServerEvent('playerConnecting') AddEventHandler('playerConnecting', function(name, setCallback) local identifiers = GetPlayerIdentifiers(source) for i = 1, #identifiers do local ip = string.sub(identifiers[i], 4) if ban_list[ip] ~= nil then print('Player that was ba...
SageNpc = { click = async(function(player, npc) 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 local opts = {} if player.level < 50 then player:dialogSe...
local monster = { { Name = "土匪", file = "units\\creeps\\BanditSpearThrower\\BanditSpearThrower", modelScale = 0.80, scale = 0.80, unitSound = "Bandit", weapTp1 = CONST_WEAPON_TYPE.missile.value, Missileart_1 = "Abilities\\Weapons\\Banditmissile\\Banditmissile....
local DirectoryService = require(script.DirectoryService) DirectoryService:createDirectory("ServerStorage.HDAdmin", {script.DirectoryService}) return DirectoryService
local function captureGlobals(f) local newG = {} local oldG = _ENV f(newG, oldG) return newG end local function splitClass(class) local functions = {} local variables = {} for k,v in pairs(class) do if type(v) == "function" then functions[k] = v else variables[k] = v end end return functions, va...
-- @group Utility -- @brief Provides string-related utility functions local string = {} -- @brief Tests if a string starts with a prefix. -- @param str The string. -- @param prefix The prefix. -- @return `true` if the string starts with the prefix, `false` otherwise. function string.startsWith(str,prefix) ...
-- Author: Lpsd (https://github.com/Lpsd/) -- See the LICENSE file @ root directory -- ******************************************************************* Core = inherit(Singleton) -- ******************************************************************* function Core:constructor() self.renderer = Renderer:getInstan...
local bit32 = require("bit") local Dma = {} function Dma.new(modules) local dma = {} local io = modules.io local memory = modules.memory local timers = modules.timers local ports = io.ports dma.source = 0 dma.destination = 0x8000 dma.current = 0 dma.length = 0 dma.hblank = false dma.running = ...
vim.wo.spell = true vim.bo.textwidth = 80
local ax = require("hs.axuielement") local ui = require("rb.ui") local obj = {} local _appObj = nil local function clickActivityMonitorRadioButton(appObj, aButton) ui.getUIElement(ax.windowElement(appObj:mainWindow()), { {"AXToolbar", 1}, {"AXGroup", 2}, {"AXRadioGroup", 1}, {"AXRadioButton", tonumb...
----------------------------------- -- -- Assault: Excavation Duty -- ----------------------------------- local ID = require("scripts/zones/Lebros_Cavern/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getInstance() pl...
local NameEntry = {} function NameEntry:enter(from, name, resources, host, port, controls) lurker.postswap = function(f) Gamestate.switch(require "states.name_entry", name, resources, host, port, controls) end self.resources = resources self.name = name or "Panzer #" .. love.math.random(1914, 2808) self.pass =...
local SyntaxKind = require("lunar.ast.syntax_kind") local SyntaxNode = require("lunar.ast.syntax_node") local BreakStatement = setmetatable({}, { __index = SyntaxNode, }) BreakStatement.__index = setmetatable({}, SyntaxNode) function BreakStatement.new(start_pos, end_pos) return BreakStatement.constructor(setmetata...
local Ac = require("Action") TestActions = {} function TestActions:TestCallFunc( ) local testValue = 1 local action = Ac.CallFunc {function(data) testValue = data.value end} action:Start({value=1234}) action:Update() lu.assertTrue(action:IsDone()) lu.assertEquals(testValue, 1234) end function TestActions:T...
local vlua = require('vlua.vlua') -- 创建可响应的数据 local data = vlua.reactive({ firstName = 'li', lastName = 'jinjun', -- 简化的computed函数 fullName = function(self) return self.firstName .. ' ' .. self.lastName end }) -- 创建用来绑定函数的绑定器 local binder = vlua.newBinder(data) print(string.format("fullna...
local votePanels = {} local function realignVotes() local width = 200 local tall = 150 local totalWidth = 0 local maximumHeight = 0 for k, v in pairs(votePanels) do if not IsValid(v) then table.remove(votePanels, k) realignVotes() break end totalWidth = totalWidth + v:GetWide() maximumHeight = ...
--[[ Copyright 2014 Google Inc. All Rights Reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd ]] require 'torch' local M = {} -- Copies values from src to dst. local function update(dst, src) for k...
-- boilerplate to support localized strings if intllib mod is installed local S if minetest.global_exists("intllib") then if intllib.make_gettext_pair then -- New method using gettext. S = intllib.make_gettext_pair() else -- Old method using text files. S = intllib.Getter() end else S = function(s) return ...
local compose = require("../compose") print("Run tests for `compose`") local greet = function(name) return "hi: " .. name end local exclaim = function(statement) return statement .. "!" end local welcome = compose(exclaim, greet) print("both functions in computation called in right order") assert(welcome("moe") == "...
--=========== Copyright © 2018, Planimeter, All rights reserved. ===========-- -- -- Purpose: Region class -- --==========================================================================-- require( "engine.shared.hook" ) class( "region" ) region._regions = region._regions or {} if ( _CLIENT ) then local function d...
return { level = 88, need_exp = 265000, clothes_attrs = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, }, }
object_tangible_furniture_lifeday_lifeday_mini_tree = object_tangible_furniture_lifeday_shared_lifeday_mini_tree:new { } ObjectTemplates:addTemplate(object_tangible_furniture_lifeday_lifeday_mini_tree, "object/tangible/furniture/lifeday/lifeday_mini_tree.iff")
-- Application actions defined for modules/appwindows.lua local log = require'hs.logger'.new('appaction','info') local function hasNoMainWindow(appObject) return function() return appObject:mainWindow() == nil end end -- set the main window to fullscreen local function fullscreen(appName, eventType, appO...
-- Replaces Steel Chest in the Better Cargo Plane recipe with Brass Chest if Bob's mods are detected. if data.raw.item["brass-chest"] then bobmods.lib.recipe.replace_ingredient("better-cargo-plane", "steel-chest", "brass-chest") end -- Replaces Steel Chest in the Even Better Cargo Plane recipe with Titanium Chest if ...
--[[ LICENSE HEADER MIT License Copyright © 2017 Jordan Irwin 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 us...
-- Game Title: Tic-Tac-Toe -- A 2D video game written in the Lua Programming Language with Love2D Framework. -- Copyright (c) 2019, Jericho Crosby <jericho.crosby227@gmail.com> -- Special credits to Enrique García Cota for love-loader v2.0.3 (utility library). local loadingState = require 'Lib/loadingState' local play...
include("mysql.lua"); mysql:Connect("localhost", "example", "password", "example", 3306); hook.Add("DatabaseConnected", "example.DatabaseConnected", function() --[[ Create the "example" table if it does not exist. --]] local queryObj = mysql:Create("example"); queryObj:Create("id", "INT NOT NULL AUTO_INCREMENT")...
RegisterServerEvent('InitialCore:SaveMaison') AddEventHandler('InitialCore:SaveMaison', function(Type, Interieur, Entree, Sortie, PrixAchat, PrixLocation, IsAppartement) if not IsAppartement then MySQL.Async.execute("INSERT INTO batiments (Type, Interieur, Entree, Sortie, PrixAchat, PrixLocation) VALUES ('"...
local BANDWIDTH = 50 * 10^3 mReport = {} function mReport.init() mReport.gui.init() addCommandHandler("report", mReport.onCommand) return true end addEventHandler("onClientResourceStart", resourceRoot, mReport.init) function mReport.onCommand(command, ...) mReport.gui.show(table.concat({...}, " ")) end ...
-- Track -- © zorg @ 2016 § ISC -- A track can hold notes. It's monophonic. local track = {} track.getCell = function(trk, row) end local mtTrack = {__index = track} local new = function() local trk = setmetatable({},mtTrack) trk.clips = {} return trk end return new
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' -- This client version helps to catch information from the FXServer. (Created by Tabarra) description 'Helper resource for LionPanel' version '1.5.0' server_scripts { "sv_main.lua", "sv_logger.js" } client_scripts { "cl_logger.js" }
--- Invoker class. -- @classmod invokation.dota2.Invoker local m = require("moses") local List = require("pl.List") local class = require("pl.class") local Ability = require("invokation.dota2.Ability") local INVOKER = require("invokation.const.invoker") local M = class() m.extend(M, INVOKER) --- Constructor. -- @tp...
minetest.register_node("spacesuit:door2_1", { description = "Door", drop="spacesuit:door2_1", drawtype = "nodebox", paramtype = "light", node_box = { type = "fixed", fixed = { {-0.5, -0.5, -0.125, 0.5, 0.5, 0.125}, } }, tiles = {"spacesuit_warntape.png","spacesuit_warntape.png","spacesuit_d...
--- Nie potrzebne
if mods ["VehicleWagon2"] then data:extend( { { type = "shortcut", name = "ick-vehicle-wagon-2-winch", order = "d[item]-c[winch]", action = "create-blueprint-item", item_to_create = "winch", localised_name = {"item-name.winch"}, technology_to_unlock = "vehicle-wagons", ...
theme_park_rebel_big_creature = Creature:new { objectName = "@mob/creature_names:mawgax_raptor", socialGroup = "mawgax", faction = "", level = 30, chanceHit = 0.39, damageMin = 240, damageMax = 250, baseXp = 3005, baseHAM = 8300, baseHAMmax = 10100, armor = 0, resists = {20,20,10,-1,10,10,30,-1,-1}, meatTy...
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.memory",package.seeall) function item() return luci.i18n.translate("Memory") end function rrdargs( graph, plugin, plugin_instance, dtype ) local p = {} ...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('StoryBit', { ActivationEffects = {}, Effects = {}, Prerequisites = {}, ScriptDone = true, SuppressTime = 5400000, Text = T(168165070059, --[[StoryBit Boost16_TrainingProgram_Second Text]] "It looks like somebody has been keeping the best...
local mod = DBM:NewMod(1743, "DBM-Nighthold", nil, 786) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 17522 $"):sub(12, -3)) mod:SetCreatureID(106643) mod:SetEncounterID(1872) mod:SetZone() mod:SetUsedIcons(8, 7, 6, 5, 4, 3, 2, 1)--During soft enrage will go over 8 debuffs, can't mark beyond...
local g = vim.g local cmd = vim.cmd -- Trigger a highlight in the appropriate direction when pressing these keys: g['qs_highlight_on_keys'] = {'f', 'F', 't', 'T'} g['qs_max_chars'] = 150
module("luci.controller.openvpn-server", package.seeall) function index() if not nixio.fs.access("/etc/config/openvpn") then return end entry({"admin", "vpn"}, firstchild(), "VPN", 45).dependent = false entry({"admin", "vpn", "openvpn-server"}, cbi("openvpn-server/openvpn-server"), _("OpenVPN Server"), 80).de...
return { corshiva = { acceleration = 0.06, amphibious = 1, brakerate = 0.714, buildcostenergy = 87187, buildcostmetal = 3711, builder = false, buildpic = "corshiva.dds", buildtime = 35000, canattack = true, canguard = true, canmove = true, canpatrol = true, canstop = 1, categ...
-------------------------------- -- @module PluginProtocol -- @parent_module plugin -------------------------------- -- brief plug-in info methods(name, version, SDK version) -- @function [parent=#PluginProtocol] getPluginName -- @param self -- @return char#char ret (return value: char) ---------...
local Vector = require('./vector') local Particle = {} Particle.__index = Particle function Particle.new(location) local t = {} setmetatable(t, Particle) t.acceleration = Vector.new(0, 5) t.velocity = Vector.new(love.math.random(-100, 100), love.math.random(-200, 0)) t.location = location:clone() t.life...
------------------ Man Stage --------------------- -- Man animation frames local M1 = 1 local M2 = 2 local M3 = 3 local M4 = 4 local M5 = 5 local M6 = 6 local M7 = 7 local M8 = 8 -- Man x coordinates local X0 = 72 local X1 = 76 local X2 = 80 local X3 = 84 local X4 = 88 local X5 = 92 local X6 = 96 local X7 = 100 local...
require("prototypes.updates-science-materials") require("prototypes.updates-electronics") require("prototypes.updates-recipe") require("prototypes.updates-wood-process") require("compatibility.bobinserters") require("compatibility.underground-pipe-pack") require("compatibility.space-extension-mod") if not (momoIRTwe...
local DB = require('../db.lua') --[[ TABLE Items { "item name": { "quantity": 0 (Int) } } ]]-- DB.KnownItems = { fan = { Emoji = "<:fan:908145885676986398> ", description = "Reduces cooldowns of some commands.", price = 100 }, orangedetector = { Emoji = ":tangerine: ", description = "Increases the ch...
local BasePlugin = require("orange.plugins.base_handler") local checker = require("orange.plugins.upstream.checker") local balancer = require("ngx.balancer") local orange_db = require("orange.store.orange_db") local UpstreamHandler = BasePlugin:extend() UpstreamHandler.PRIORITY = 4000 function UpstreamHandler:new(st...
--[[ desc: Bstar, A pathfinding utility. author: Musoucrow since: 2018-11-20 alter: 2019-3-24 ]]-- local _Point = require("graphics.drawunit.point") ---@type Graphics.Drawunit.Point local _rule = { {0, -1}, {0, 1}, {-1, 0}, {1, 0}, {-1, -1}, {1, -1}, {-1, 1}, {1, 1} } ---@param se...
--- Parse queue table to VKScript -- @param queue (table) - queue table (25 or less elements) -- @return vkscript (string) - correct VKScript return function(queue) assert(#queue<=25, 'Queue must be 25 or less elements!') local vk_script_str = "var res=[];{BODY}return res;" local method_str = "res.push(API.{METH...
------------------------------------------------------------------------ -- -- AbsorbsMonitor -- -- Copyright (C) 2010 Philipp Schmidt -- -- 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; eit...
local h = require("null-ls.helpers") local methods = require("null-ls.methods") local DIAGNOSTICS = methods.internal.DIAGNOSTICS return h.make_builtin({ method = DIAGNOSTICS, filetypes = {}, generator_opts = { command = "ec", args = { "-no-color", "$FILENAME", ...
return { talon_leur = { acceleration = 0.0528, brakerate = 1.3992, buildcostenergy = 2745, buildcostmetal = 170, builddistance = 180, builder = true, buildpic = "talon_leur.dds", buildtime = 5000, canguard = true, canmove = true, canpatrol = true, canreclamate = 1, canstop = 1, ...
local Settings = { -- DiscordService Settings DiscordService = { UserBotLogin = "Mjk5MTYwODYxNTg1NDQwNzY4.C8Z2yA.7L3PQb6SYdWJhqTHB03dH6pWyYc", UserAccountLogin = { "itx@hezll.com", "7EVIah3EOqrJg9tumh4AsFvIsFqY1rZs" }, CommandsService = { PrefixActivator = "!", ...
------------------------------------------------------------------------ --- @file vxlan.lua --- @brief VXLAN utility. --- Utility functions for the vxlan_header struct --- defined in \ref headers.lua . \n --- Includes: --- - VXLAN constants --- - VXLAN header utility --- - Definition of VXLAN packets -----------------...
-- 2019 (c) kontakt@herrsch.de -- NOTE helpful links: -- https://www.lua.org/pil/22.1.html -- https://stackoverflow.com/questions/43067106/back-and-forth-utc-dates-in-lua -- http://lua-users.org/wiki/OsLibraryTutorial -- http://www.cplusplus.com/reference/ctime/strftime -- returns (string) abbreviation of your loca...
minetest.register_node("homedecor:cobweb_corner", { description = "Cobweb", drawtype = "torchlike", tiles = { "homedecor_cobweb_torchlike.png" }, inventory_image = "homedecor_cobweb.png", wield_image = "homedecor_cobweb.png", paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, liquid_v...
local _, Addon = ...; local RuleConfigObject = {} -- Helper for debugging local function debug(...) Addon:Debug("ruleconfig", ...); end -- Validates if the rule type is valid local function IsValidRuleType(ruleType) if (type(ruleType) ~= "string") then return false; end local valid = false; for _, value in pa...
local zmq = require "lzmq" local ztimer = require "lzmq.timer" local argparse = require "3rdparty.argparse" local Buffer = require "3rdparty.buffer" local mp = require '3rdparty.MessagePack' local Decom = require "libdecom" local parser = argparse("decomd", "A telemetry decommutation daemon in lua") parser:opti...
-------------------------------- -- @module TransitionMoveInR -- @extend TransitionMoveInL -- @parent_module cc -------------------------------- -- Creates a transition with duration and incoming scene.<br> -- param t Duration time, in seconds.<br> -- param scene A given scene.<br> -- return A autoreleased...
-- datalib/init.lua datalib = {} datalib.table = {} -- internal table global -- logger function datalib.log(content, log_type) if log_type == nil then log_type = "action" end minetest.log(log_type, "[datalib] "..content) end -- global path variables datalib.modpath = minetest.get_modpath("datalib") -- modpath dat...
local GlobalAddonName, WQLdb = ... --- some functions local GetAratiState, GetDarkshoreState do local aratiState = nil function GetAratiState() --1: horde; 2 alliance if aratiState then return aratiState end if C_Map.GetBestMapForUnit("player") == 14 then for i=1,40 do local spellID = select(10,Un...
object_mobile_dressed_droid_enemy_10 = object_mobile_shared_dressed_droid_enemy_10:new { } ObjectTemplates:addTemplate(object_mobile_dressed_droid_enemy_10, "object/mobile/dressed_droid_enemy_10.iff")
local playsession = { {"Soviet-Loli", {143657}}, {"TXL_PLAYZ", {142977}}, {"yulingqixiao", {4728}} } return playsession
return { name = "rphillips/logging", version = "1.1.14", description = "Logging Library", author = "Ryan Phillips <ryan.phillips@rackspace.com>", dependencies = { }, files = { "*.lua" } }
--[[------------------------------------------------------------------------------- Pets & Mounts Auto and random summon highly customizable for your pets and mounts, with Data Broker support. By: Shenton IconsList.lua -------------------------------------------------------------------------------]]-- ...
--- 商店UI模块: -- @module GuiStore -- @copyright Lilith Games, Avatar Team -- @author Dead Ratman ---@module GuiStore local GuiStore, this = ModuleUtil.New('GuiStore', ClientBase) local gui local curNpcID local chosenItemID = 0 function GuiStore:Init() print('GuiStore:Init') this:NodeRef() this:DataInit...
local utils = require "voip.sip.impl.utils" local SIP_MESSAGE = require "voip.sip.message" local SIP_TRANSPORT = require "voip.sip.impl.transport" local SIP_UA = require "voip.sip.ua" local SIP_US = require "voip.sip.us" local _M = {} function _M.new_message(...) return SIP_MESSAGE.new(.....
-- Copyright: 2015-2017, Björn Ståhl -- License: 3-Clause BSD -- Reference: http://durden.arcan-fe.com -- Description: Shader compilation and setup. if (SHADER_LANGUAGE == "GLSL120") then local old_build = build_shader; function build_shader(vertex, fragment, label) vertex = vertex and ("#define VERTEX\n" .. vertex) ...
if SERVER then util.AddNetworkString("UrbanWeaponSpawnsSetConfig") util.AddNetworkString("UrbanWeaponSpawnsDelete") net.Receive("UrbanWeaponSpawnsSetConfig",function(len, ply) local ent = net.ReadEntity() local id = ent:GetNWInt("id") local weapon = net.ReadString() local pos = tostring(ent:GetPos()) loc...
--create and init the item values, note that bigger number is rarer. value = {} value["diamond"] = 150 value["gold"] = 200 value["coreglass"] = 125 value["crystalized diamond"] = 50 value["entropy crystal"] = 25 possible = {} math.randomseed(os.time()) function decide_on_item(item) --find the total value count tota...
require 'spec/strict' () global 'bit32' global 'file' global 'level' describe("list", function() local fun = require 'ltrie.fun' local list = require 'ltrie.list' it("implements (from)", function() assert.are.same( list.from{1, 2, 3}, list.EMPTY:conj(3):conj(2):conj(1)) end) it("implements (get)", func...
-- plugin init require("alpha").setup(require("alpha.themes.dashboard").opts) require("presence"):setup({ neovim_image_text = "8==========>" }) require("lualine").setup({ options = { theme = "gruvbox-flat", section_separators = {left = "", right = ""}, component_separators = {"", ""}, ...
require"fidget".setup{} local lsp_installer = require('nvim-lsp-installer') local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities) local servers = { 'jsonls', 'yamlls', 'taplo', -- toml 'sumneko_lua', 'pyright', 'tsserver',...
local CorePackages = game:GetService("CorePackages") local InGameMenuDependencies = require(CorePackages.InGameMenuDependencies) local Roact = InGameMenuDependencies.Roact local RoactRodux = InGameMenuDependencies.RoactRodux local UIBlox = InGameMenuDependencies.UIBlox local withStyle = UIBlox.Core.Style.withStyle lo...
--[ esx_civmenu - powered by: https://szymczakovv.pl ]-- -- Nazwa: esx_civmenu -- Autor: szymczakovv#1937 -- Data: 16/03/2021 -- Wersja: 3.0 ESX = nil TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) local katb = false local kata = false local katc = false local jestb = 'nil' local jestzdrowie = nil l...
local class = require 'lib.30log' local Character = class 'Character' function Character:init(name, color, map, position) self.name = name self.color = color self.map = map self.position = position end return Character
ITEM.name = "Bat" ITEM.description = "A baseball bat." ITEM.model = "models/weapons/tfa_nmrih/w_me_bat_metal.mdl" ITEM.longdesc = "A worn aluminium bat, with several dents in it. The leather wrapping around the handle is torn in several places." ITEM.category = "Melee" ITEM.price = 450 ITEM.height = 1 ITEM.width = 3 ...
local decompiler = {} decompiler.decoder = require "luavm.decompiler.decoder" decompiler.analyzer = require "luavm.decompiler.analyzer" decompiler.formatter = require "luavm.decompiler.formatter" -- Do the table inline pass before general inline so tables can be inlined decompiler.pass = { require "luavm.decompiler....
---------------------------------------------------------------------------------------------- -- Client Lua Script for ForgeUI addon -- -- name: settings.lua -- author: Winty Badass@Jabbit -- about: General settings for the ForgeUI addon ---------------------------------------------------------------...
-- 1. do local x = 2 for i=1,100 do local t = {} -- TNEW: DCE x = t.foo -- HREF -> niltv: folded end assert(x == nil) end -- 2. do local x = 2 for i=1,100 do local t = {1} -- TDUP: DCE x = t.foo -- HREF -> niltv: folded end assert(x == nil) end -- 3. do local x = 2 for i=1,100 d...
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! -- This file is automaticly generated. Don't edit manualy! -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! ---@class C_Loot C_Loot = {} ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Loot.IsLegacyLootModeEnabled) ---@return boolean @is...
require('todo-comments').setup { signs = false, highlight = { keyword = "bg", after = "", }, }
local K, C, L, _ = select(2, ...):unpack() if IsAddOnLoaded("Carbonite") then return end local MinimapZone = CreateFrame("Frame", "MinimapZone", Minimap) MinimapZone:SetSize(0, 20) MinimapZone:SetPoint("TOPLEFT", Minimap, "TOPLEFT", 2, 2) MinimapZone:SetFrameLevel(Minimap:GetFrameLevel() + 3) MinimapZone:SetFrameStrat...
--[[ @author Sebastian "CrosRoad95" Jura <sebajura1234@gmail.com> @copyright 2011-2021 Sebastian Jura <sebajura1234@gmail.com> @license MIT ]]-- local job = "Nurek" local marker = false local text = false addEventHandler("onResourceStart", resourceRoot, function() marker = createMarker(263.47812, 2895.69409, 10.531...
--[[ Per-Player Dictionary - Server v1.0 by: standardcombo Networked transfer of variables, similar to resources. Use for information that is not super large and does not change frequently. API: - Clear(player) - GetCollection(player) - Get(player, key) - GetNumber(player, key) - Set(player, key, value) ...
local checkluatype = SF.CheckLuaType local haspermission = SF.Permissions.hasAccess --- VRMod Library -- Addon and module: https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 -- Follow install instructions on the addon's page. -- @name vr -- @class library -- @libtbl vr_library SF.RegisterLibrary("vr") ...
--[[ Name: cl_menu_driving_test.lua For: TalosLife By: TalosLife ]]-- local Panel = {} function Panel:Init() self:SetDeleteOnClose( false ) self.m_pnlCanvas = vgui.Create( "SRP_ScrollPanel", self ) self.m_pnlLabel = vgui.Create( "DLabel", self ) self.m_pnlLabel:SetFont( "Trebuchet24" ) self.m_pnlLabel:SetMou...
Translations = {} Translations.texts = {} Translations.Init = function() Translations.LoadTranslation(_CONFIG["defaultlanguage"]) GUI.AddAjaxGetHandler("translate", Translations.Translate) end Translations.LoadTranslation = function(language) Translations.texts = {} if not fileExists("files/translations/".....