content
stringlengths
5
1.05M
local config = require"lspinstall/util".extract_config("elixirls") config.default_config.cmd = { "./elixir-ls/language_server.sh" } return vim.tbl_extend('error', config, { install_script = [[ rm -rf elixir-ls curl -fLO https://github.com/elixir-lsp/elixir-ls/releases/latest/download/elixir-ls.zip unzip ...
-- genie, https://github.com/bkaradzic/GENie -- known working version -- https://github.com/bkaradzic/bx/blob/51f25ba638b9cb35eb2ac078f842a4bed0746d56/tools/bin/windows/genie.exe MINGW_ACTION = 'gmake' if _ACTION == MINGW_ACTION then -- need a msys2 with clang premake.gcc.cc = 'clang' premake.gcc.cxx =...
posButtonx = 380 posButtony = 450 function menuLoad() imgMenu = love.graphics.newImage('image/tryme.png') end function menuUpdate(dt) end function menuDraw() love.graphics.setColor(1,1,1) love.graphics.draw(imgMenu,330,20) if love.keyboard.isDown("r") then love.graphics.setCol...
minetest.register_privilege("damocles_builder", { description = "can build games on the server", }) minetest.register_privilege("damocles_center", { description = "can build on the center platform", })
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('StoryBit', { ActivationEffects = { PlaceObj('PauseExpedition', nil), }, Category = "PlanetaryAnomaly", Effects = {}, Enabled = true, Image = "UI/Messages/rocket.tga", Prerequisites = {}, ScriptDone = true, Text = T(186317965668, --[...
-- Copyright (C) 2017-2020 DBotThePony -- 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, publis...
local lush = require'lush' local base = require'lucid.base' local plugins = require'lucid.plugins' return lush.merge({ base, plugins })
--[[ Copyright (c) 2019 igor725, scaledteam released under The MIT license http://opensource.org/licenses/MIT ]] local bp = { global = true, defaults = { [7] = false, [8] = false, [9] = false, [10] = false, [11] = false } } local function setBlockPermFor(player, id, allowPlace, allowDelete) if player:...
war_gronda = Creature:new { objectName = "@mob/creature_names:war_gronda", socialGroup = "gronda", faction = "", level = 23, chanceHit = 0.34, damageMin = 200, damageMax = 210, baseXp = 2443, baseHAM = 5400, baseHAMmax = 6600, armor = 0, resists = {140,10,140,10,10,-1,-1,-1,-1}, meatType = "meat_carnivore"...
--[[---------------------------------------------------------------------------- UniteGalleryPluginManagerDialogSections.lua Export dialog customization for Unite Gallery exporter ------------------------------------------------------------------------------]] -- Lightroom SDK local LrView = import 'LrView' local Lr...
solution "gmsv_refresh" language "C++" location ( "project-" .. os.get() ) targetdir ( "build/" .. os.get() .. "/" ) flags { "StaticRuntime" } includedirs { "include" } libdirs { "lib" } links { "Psapi" } configurations { "Release" } configuration "Release" defines { "GMMODULE" } optimi...
local Prop = {} Prop.Name = "City Hall" Prop.Government = true Prop.Doors = { Vector( 414, -4276, 352 ), Vector( 290, -4276, 352 ), } GM.Property:Register( Prop )
local utilities = {} require("bit32-compat") function utilities.required(t, name, context) if not t[name] then utilities.error(context.." needs a "..name.." parameter") end return t[name] end function utilities.error(message) print("\n! "..message.. " in "..SILE.currentlyProcessingFile) assert(false, "ERROR"...
local function eval(expr) local value = string.format('${%s}', expr) value = conky_parse(value) value = tonumber(value) return value; end return { eval = eval }
return { plugins = function(use) use("sheerun/vim-polyglot") use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }) use("nvim-treesitter/nvim-treesitter-textobjects") end, setup = function() require("nvim-treesitter.configs").setup({ textobjects = { select = { enabl...
--[[ #part of the 3DreamEngine by Luke100000 --]] local lib = _3DreamEngine function lib:renderSky(transformProj) love.graphics.push("all") if self.sky_cube then love.graphics.setShader(self.shaders.sky) self.shaders.sky:send("transformProj", transformProj) self.shaders.sky:send("sky", self.sky_cube) love.g...
--Start of Global Scope---------------------------------------------------------- --End of Global Scope----------------------------------------------------------- --Start of Function and Event Scope--------------------------------------------- -- This is the function which then can be used from a control in the user...
if(not _start)then local srv, cr = net.createServer(net.TCP,10),{} srv:listen(80,function(conn) local cn conn:on("receive", function(conn, payload) local req = dofile("web_request.lua")(payload) if req then cn = req.file cr[cn] = nil cr[cn] = corou...
local Music = {} local _handlers = setmetatable({}, {__mode="v"}) function Music:init() self.volume = 1 self.pitch = 1 self.target_volume = 0 self.fade_speed = 0 self.fade_callback = nil self.current = nil self.source = nil end function Music:fade(to, speed, callback) self.target_v...
AddCSLuaFile() --[[ This is the configuration table for our module loader. Feel free to change the load order of *your* modules. --]] loaderConfig = { splash = -- Super duper cool splash screen for cool kids like us. { "", " %@@@@@@@@@@@@@@@", " ///@@@ @@@@@@@", " ...
prototype_name = gs.prototype(prototype_parent, function() local prototype_variable = value local function prototype_method() return self.instance_variable end -- comment instance_variable = value function instance_method(self, arg1, arg2, ...) local a = 2 print(arg1 + arg2 + a) end function constructor(s...
return PlaceObj("ModDef", { "dependencies", { PlaceObj("ModDependency", { "id", "ChoGGi_Library", "title", "ChoGGi's Library", "version_major", 10, "version_minor", 3, }), }, "title", "Empty Mech Depot", "id", "ChoGGi_EmptyMechDepot", "pops_any_uuid", "c3b2ae57-aaf6-4dd1-a5ad-2bd33afd0505", "steam...
--[[ * Copyright (c) MZ3 Project Team All rights reserved. * Code licensed under the BSD License: * http://www.mz3.jp/license.txt ]] -------------------------------------------------- -- MZ3 Script : GoogleReader -- -- $Id: gmail.lua 1453 2009-12-13 13:06:06Z takke $ -------------------------------------------------...
local shell = require("shell") local fs = require("filesystem") local args, ops = shell.parse(...) local path = nil local verbose = false if ops.help then print( [[Usage cd [dir] For more options, run: man cd]]) return end if #args == 0 then local home = os.getenv("HOME") if not home then ...
if SERVER then AddCSLuaFile( "shared.lua" ) end if CLIENT then SWEP.PrintName = "Time Bomb" SWEP.Instructions = "" end SWEP.Author = "Douglas Huck" SWEP.Contact = "faceguydb@gmail.com" SWEP.Base = "weapon_banana" SWEP.ViewModel = "models/weapons/pbecustom/v_helibomb.mdl" SWEP.WorldModel = "models...
local A, L = ... local oUF = L.oUF or oUF local _, PlayerClass = UnitClass'player' local ClassPowerID, ClassPowerType local RequireSpec, RequireSpell local unpack = unpack do if(PlayerClass == 'MONK') then ClassPowerID = SPELL_POWER_CHI ClassPowerType = "CHI" RequireSpec = SPEC_MONK_WINDWALKER elseif...
return function() local createElement = require(script.Parent.Parent.createElement) local NoopRenderer = require(script.Parent.Parent.NoopRenderer) local createReconciler = require(script.Parent.Parent.createReconciler) local PureComponent = require(script.Parent) local noopReconciler = createReconciler(NoopRend...
class("BlackWhiteGridOPCommand", pm.SimpleCommand).execute = function (slot0, slot1) slot2 = slot1:getBody() slot3 = slot2.id slot4 = slot2.activityId slot5 = slot2.cmd if slot2.score < 0 then return end if not getProxy(ActivityProxy):getActivityById(slot4) or slot8:isEnd() then return end pg.Connection...
msg_tue = "Tuesday" msg_change = "Change" msg_wed = "Wednesday"
ESX = nil TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) RegisterServerEvent('mythic_base:server:CharacterSpawned') AddEventHandler('mythic_base:server:CharacterSpawned', function() local src = source local char = ESX.GetPlayerFromId(src) if settings == nil then exports['ghmattim...
flesh_eating_chuba = Creature:new { objectName = "@mob/creature_names:flesh_eating_chuba", socialGroup = "self", faction = "", level = 6, chanceHit = 0.25, damageMin = 50, damageMax = 55, baseXp = 113, baseHAM = 180, baseHAMmax = 220, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "meat_carnivore",...
local MP = minetest.get_modpath("eco_mapgen") eco_mapgen.register_biome({ name = "underground", match = function(_, info) return info.type == "underground" end, full = MP .. "/schematics/base/air_full", replace = { ["air"] = "default:stone" } })
--[[ Copyright (c) 2016 Calvin Rose 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, su...
return { BrickColorFormat = require(script.BrickColorFormat), Color3Format = require(script.Color3Format), EnumFormat = require(script.EnumFormat), NamingScheme = require(script.NamingScheme), NumberRangeFormat = require(script.NumberRangeFormat), PhysicalPropertiesFormat = require(script.PhysicalPropertiesFormat...
local cpath = "{$WAF_PATH}/" local rpath = "{$WAF_PATH}/rule/" local logdir = "{$ROOT_PATH}/wwwlogs/waf/" local json = require "cjson" local ngx_match = ngx.re.find local _C = require "common" local C = _C:new(cpath, rpath, logdir) config = C:read_file_body_decode(cpath .. 'config.json') local site_config = C:read_f...
local function item_to_matter(item) return { type = "recipe", name = item.item_name .. "-to-matter", localised_name = {"recipe-name.to-matter", {item.type .. "-name." .. item.item_name}}, category = "matter-conversion", subgroup = "matter-conversion", allow_as_intermediate = false, icon...
--[[ LuCI - Lua Configuration Interface 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 $Id$ ]]-- module("luci.controller.ipsec", package.seeall) f...
object_ship_nova_orion_smuggler_heavy_tier1 = object_ship_shared_nova_orion_smuggler_heavy_tier1:new { } ObjectTemplates:addTemplate(object_ship_nova_orion_smuggler_heavy_tier1, "object/ship/nova_orion_smuggler_heavy_tier1.iff")
-- ui indicator/target --[[ g_Tutorial is a global var which is either false if we're not running a tutorial, or a table holding various parameters/state related to the tutorial List of members: EnableRockets - if not set to true, the city will not create starting rockets for you. EnableResupply - if not se...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- C R E D I T S -- -----------------------------------------------------------------------------...
local Animation = require(script.Animation) local AnimationSequence = require(script.AnimationSequence) local PrepareStep = require(script.PrepareStep) local makeAnimatedComponent = require(script.makeAnimatedComponent) local RoactAnimate = { Value = require(script.AnimatedValue), makeAnimatedComponent = makeAnimate...
local str = "Hello_World" --常用函数 assert(str:ToLower() == "hello_world") assert(str:ToUpper() == "HELLO_WORLD") assert(str:StartsWith("Hello") == true) assert(str:StartsWith("wHello") == false) assert(str:EndsWith("World") == true) assert(str:EndsWith("Worl") == false) local splitArr = str:Split("_") assert(splitArr[...
super_saiyan = { cast = function(player) if player:hasDuration("super_saiyan") then player:setDuration("super_saiyan", 1) else player:setDuration("super_saiyan", 600000) end -- player:sendAnimation(241, 599) -- player:sendAnimation(242, 599) clone.equip(player, player) player.gfxCrown = 273 pla...
-- Madonox local rs = game:GetService("RunService") local BasicService = {} BasicService.services = {} BasicService.httpEnabled = false local http = game:GetService("HttpService") BasicService.httpEnabled = pcall(function() http:GetAsync("https://www.google.com") end) if BasicService.httpEnabled == false then warn("...
local BaseScene = class("BaseScene") function BaseScene:ctor() end return BaseScene
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB local S = E:GetModule('Skins') --Cache global variables --Lua functions local _G = _G local gsub = gsub local pairs = pairs local strfind = strfind --WoW API / Variables local hooksecurefunc = hooksecurefunc --Globa...
local initiatives_selector = Initiative:selector_for_updated_drafts(app.session.member_id) ui.container{ attr = { class = "heading" }, content = _"Open initiatives you are supporting which has been updated their draft:" } slot.put("<br />") execute.view{ module = "initiative", view = "_list", params = { in...
ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\master.lvl") -- -- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved. -- ScriptCB_DoFile("ME5_Master") ScriptCB_DoFile("ME5_setup_teams") ScriptCB_DoFile("ME5_ObjectiveConquest") -- Create a new MapManager object manager = MapManager:New{ -- Map...
local assert, setmetatable = assert, setmetatable return function(following, options) if not options.root_path then options.root_path = '/' end local r = options.router if not r then r = require 'routing.router' r = r.new { root_path=options.root_path, a...
--[[ Copyright (c) 2009 Peter "Corsix" Cawley 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, dis...
local array = {} local larray = require"iota.complex.array" local time = false array.new = larray.new local get = larray.get local set = larray.set array.inner = function(...) if TIME then time = os.clock() end local res = larray.inner(...) if TIME then TIME.inner = TIME.inner + (os.clock()-time) end if COUNT t...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:29' 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...
local skynet = require "skynet" require "skynet.manager" skynet.start(function() --[[ 发送lua类型的消息给service,发送成功,该函数将阻塞等待响应返回,r的值为响应的返回值 ]] skynet.register ".testcallmsg" local r = skynet.call(".testluamsg", "lua", 1, "Twitter", true) skynet.error("skynet.call return value:", r) --[[ 通过skynet.pack来打...
-- Copyright (c) 2019 Redfern, Trevor <trevorredfern@gmail.com> -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT return setmetatable({ hot_keys = {}, key_down = {}, hotkey = function(self, key, callback) self.hot_keys[key] = callback end, reset = function(sel...
--[[ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
return function() local tt = tmr.create() table.insert(timers, tt) local ii = 0 tt:alarm(30, tmr.ALARM_AUTO, function() if (ii/200)%3 == 0 then color = string.char(255,0,0) elseif (ii/200)%3 == 1 then color = string.char(255,100,0) else ...
local Utils = BeardLib.Utils local XML = Utils.XML or {} Utils.XML = XML --Finds a node from table 'tbl' with 'meta' as the name of the meta. function XML:GetNode(tbl, meta) if not tbl then return nil end for _, v in pairs(tbl) do if type(v) == "table" and v._meta == meta then return v ...
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fubruhn -- Mog Locker NPC -- -- Event IDs: -- 600 = Not a mercenary + mog locker options -- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00. -- If this is 0, it shows the not a mecenary message instead. -- ...
--!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...
object_mobile_admiral_sait = object_mobile_shared_admiral_sait:new { } ObjectTemplates:addTemplate(object_mobile_admiral_sait, "object/mobile/admiral_sait.iff")
---------------------------------------------------------------------------------- -- -- scenetemplate.lua -- ---------------------------------------------------------------------------------- local storyboard = require( "storyboard" ) local scene = storyboard.newScene() ----------------------------------------------...
local function openInventory( element, ax, ay ) triggerEvent( "subscribeToInventoryChanges", source, element ) triggerClientEvent( source, "openElementInventory", element, ax, ay ) end addEvent( "openFreakinInventory", true ) addEventHandler( "openFreakinInventory", getRootElement(), openInventory ) -- l...
--[[ ############################################################################## S V U I By: Failcoder ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; local string = _G.string; local math =...
-- CEF C API example -- Project website: https://github.com/cztomczak/cefcapi local ffi = require( "ffi" ) local cef = require( "../cef" ) -- ---------------------------------------------------------------------------- -- struct cef_client_t -- ------------------------------------------------------------------------...
local IsNew = false RegisterNetEvent('qb-interior:client:SetNewState') AddEventHandler('qb-interior:client:SetNewState', function(bool) IsNew = bool end) -- Thanks Stroudy <3 function CreateHotelFurnished(spawn) local object = {} local POIOffsets = {} POIOffsets.exit = json.decode('{"z":2.5,"y":-15.901171875,"x"...
--!strict local createSymbol = require(script.Parent.createSymbol) local Symbols = {} -- Element kinds to be used in record-based conditionals (visitor pattern reconciler) local ElementKinds = {} ElementKinds.CreateInstance = createSymbol('CreateInstance') ElementKinds.Stamp = createSymbol('Stamp') ElementKinds.OnC...
ITEM.name = "Полевой набор медика" ITEM.category = "Медицина" ITEM.desc = "Ларец со множеством выдвижных ящичков. Внутри находятся инструменты для проведения хирургических операций, бинты, припарки, а также несколько отваров и зелий." ITEM.model = "models/toussaint_box1.mdl" ITEM.price = 30 ITEM.width = 1 ITEM.height =...
local dap = require("dap") local dutils = require("dap.utils") local util = require("eden.modules.protocol.dap.util") local function rust_crate() local metadata_json = vim.fn.system("cargo metadata --format-version 1 --no-deps") local metadata = vim.fn.json_decode(metadata_json) local target_dir = metadata.targe...
imperial_exterminator = Creature:new { objectName = "@mob/creature_names:imperial_exterminator", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "imperial", faction = "imperial", level = 28, chanceHit = 0.37, damageMin = 270, damageMax = 280, baseXp = 2914, baseHAM = 8200, baseHAMmax = 10...
Player = game:GetService("Players").LocalPlayer Character = Player.Character PlayerGui = Player.PlayerGui Backpack = Player.Backpack Torso = Character.Torso Head = Character.Head Humanoid = Character.Humanoid LeftArm = Character["Left Arm"] LeftLeg = Character["Left Leg"] RightArm = Character["Right Arm"] Righ...
local socket = require('socket') local fiber = require('fiber') local metrics = require('metrics') local checks = require('checks') local log = require('log') local graphite = {} -- Default values local DEFAULT_PREFIX = 'tarantool' local DEFAULT_HOST = '127.0.0.1' local DEFAULT_PORT = 2003 local DEFAULT_SEND_INTERVAL...
--ペンテスタッグ --Pentestag --Scripted by Eerie Code function c100318042.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,2) --pierce local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_PIERCE) e1:SetRange(LO...
-- Gemeinschaft 5 module: call_history class -- (c) AMOOMA GmbH 2012-2013 -- module(...,package.seeall) function camelize_type(account_type) ACCOUNT_TYPES = { sipaccount = 'SipAccount', conference = 'Conference', faxaccount = 'FaxAccount', callthrough = 'Callthrough', huntgroup = 'HuntGroup...
local VERSION = '201709171' -- version history at end of file local AUTHOR_NOTE = "-[ luastring.lua package by ldeveloperl1985 version 201709171 ]-" local OBJDEF = { VERSION = VERSION, AUTHOR_NOTE = AUTHOR_NOTE, } function OBJDEF:echo () print("String Testing"); end function OBJDEF:echoSubString (s...
--[[ local wibox = require('wibox') local gtable = require('gears.table') local keygrabber = require('awful.keygrabber') local gstring = require('gears.string') local gcolor = require('gears.color') local setmetatable = setmetatable local searchbox = {mt = {}} local function prompt_text_with_cursor(args) local char...
return function(port) assert((not not wifi.sta.getip()) or (not not wifi.ap.getip()), "tcpserver: No viable IP found") --FIXME: should also assert 0 < port <= 65K local luasrv = net.createServer(net.TCP, 180) luasrv:listen(port, function(socket) local fifo = {} local fifo_drained = true ...
pfDB["meta-tbc"] = { ["chests"] = { [-300405] = "_", [-300404] = "_", [-300403] = "_", [-300402] = "_", [-300401] = "_", [-300400] = "_", [-187072] = 0, [-186750] = 0, [-186748] = 0, [-186744] = 0, [-186741] = 0, [-186740] = 0, [-186739] = 0, [-186736] = 0, ...
local Path = require("plenary.path") local utils = require("cmp_pandoc.utils") local M = {} M.yaml_front_matter = function(bufnr) local lines = vim.api.nvim_buf_get_lines(bufnr, 0, -1, true) local yaml_start = nil local yaml_end = nil local function is_valid(str) local match = string.match(str, "^%-%-%-...
object_tangible_quest_menagerie_terminal_52 = object_tangible_quest_shared_menagerie_terminal_52:new { } ObjectTemplates:addTemplate(object_tangible_quest_menagerie_terminal_52, "object/tangible/quest/menagerie_terminal_52.iff")
local colors = require('colors') local c = require('component') local gpu = c.gpu local function getCurrentStyle() return { color=gpu.getForeground(), backgroundColor=gpu.getBackground() } end local stateStyle = getCurrentStyle() local defaultStyle = clone(stateStyle) local function getHexaColor(color) ...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Indicator" ENT.WireDebugName = "Indicator" if CLIENT then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.a = 0 s...
nn = require 'nn' UpSample = nn.SpatialUpSamplingBilinear Max = nn.SpatialMaxPooling SBatchNorm = nn.SpatialBatchNormalization model = nn.Sequential() model:add(nn.SpatialConvolution(3, 1, 5, 5)) model:add(UpSample(5)) -- FPROP a multi-resolution sample input = torch.rand(3,5,5) input:float() model:forward(input) --...
--[[ #obj - Wavefront OBJ file --]] return function(self, obj, path, loadAsCollisions) --store vertices, normals and texture coordinates local vertices = { } local normals = { } local texVertices = { } --load object local material = obj.materials.None local blocked = false obj.objects.COLLISION_object = ob...
-- The getopt-functionality is loaded from pm3/getopt.lua -- Have a look there for further details getopt = require('getopt') bin = require('bin') dumplib = require('html_dumplib') example = "script run emul2html -o dumpdata.eml " author = "Martin Holst Swende" usage = "script run htmldump [-i <file>] [-o <file>]" des...
local MAJOR, MINOR = 'Wasabi', 7 assert(LibStub, MAJOR .. ' requires LibStub') local lib, oldMinor = LibStub:NewLibrary(MAJOR, MINOR) if(not lib) then return end local databases = {} local function OnEvent(self, event, arg1) if(event == 'ADDON_LOADED' and arg1 == (self.parent or self.name)) then if(not _G[self.g...
vim.cmd([[ iabbrev itn int iabbrev retunr return iabbrev reutnr return iabbrev esle else iabbrev vecotr vector ]])
--[[ Obsolete. You may delete this file. ]]
return { "icons/drug_001", "icons/drug_002", "icons/drug_003", "icons/drug_004", "icons/drug_005", "icons/drug_006", "icons/fete_water_01", "icons/fete_water_02", "icons/fete_water_03", "icons/fete_water_04", "icons/fete_water_05", "icons/fete_water_06", "icons/fete_water_07", "icons/fete_water_08", "icons/fete_water_0...
-- Basic skinning example. local windowHeader = love.graphics.newImage 'skin/window_header.png' local windowBody = love.graphics.newImage 'skin/window.png' local checkboxTexture = love.graphics.newImage 'skin/checkbox.png' local checkboxOff = {checkboxTexture, love.graphics.newQuad(0, 0, 51, 55, 58, 115)} local checkb...
local Tunnel = module("vrp","lib/Tunnel") local Proxy = module("vrp","lib/Proxy") vRP = Proxy.getInterface("vRP") --[ CONEXÃO ]----------------------------------------------------------------------------------------------------------------------------------------------------------- src = {} Tunnel.bindInterface("vrp_...
local utils = require("utils") local jautils = require("mods").requireFromPlugin("libraries.jautils") local drawableSpriteStruct = require("structs.drawable_sprite") local customRisingLava = {} customRisingLava.name = "FrostHelper/CustomRisingLava" jautils.createPlacementsPreserveOrder(customRisingLava, "normal", { ...
GuildControl = SimpleClass(BaseControl) function GuildControl:__init(...) end function GuildControl:__init_self() end function GuildControl:initEvent() --EventMgr:addListener(Define.On_Scene_Load_Begin,Bind(self.onSceneLoadBegin,self)) end --Control ClassName--uiEnum--openUI EventCmd--closeUI EventCmd Registe...
--[[********************************** * * Multi Theft Auto - Admin Panel * * admin_ip2c.lua * * Original File by lil_Toady * **************************************]] local aCountries = {} local makeCor function getPlayerCountry ( player ) return getIpCountry ( getPlayerIP ( player ) ) end function getIpCountry ( i...
-- MODULE AUTO-START -- Thanks to jo148 on github for making rofi dpi aware! local filesystem = require('gears.filesystem') local with_dpi = require('beautiful').xresources.apply_dpi local get_dpi = require('beautiful').xresources.get_dpi local awful = require('awful') local rofi_command = 'env /usr/bin/rofi -no-cycl...
bar = Bar.new(8) barx = bar:get_x() barp = bar:print(2)
-- Disable Humanoids health regenerating
local _ = function(k,...) return ImportPackage("i18n").t(GetPackageName(),k,...) end local minutes = 20 local MINIMUM_WAGE = 50 local JOB_WAGE = 100 local POLICE_WAGE = 200 local MEDIC_WAGE = 500 CreateTimer(function() for key, player in pairs(GetAllPlayers()) do if PlayerData[player] then ...
return { item = { _ = { weird_thing = { weird_thing = { desc = { main = { text = "なん", footnote = "〜鑑定報告書:<嫌だなwwww>カテゴリ〜", } }, name = "変なもん", unidentif...
object_tangible_collection_rock_bubbling_06 = object_tangible_collection_shared_rock_bubbling_06:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_rock_bubbling_06, "object/tangible/collection/rock_bubbling_06.iff")
description "Khat by MrPoll0" client_script "client/main.lua" server_script "server/main.lua"