content
stringlengths
5
1.05M
local function scrape() for line in io.lines("/proc/meminfo") do local name, size, unit = string.match(line, "([^:]+):%s+(%d+)%s?(k?B?)") if unit == 'kB' then size = size * 1024 end metric("node_memory_"..name:gsub("[):]", ""):gsub("[(]", "_").."_bytes", "gauge", nil, size) end end re...
-----------------------------------------------------------| --[[ Read Me #Maps in github Loadout: Lets players Swap weapons and loadouts. Main Game: It is the main game. Screenshots: This is an empty project that houses the billboard's images ...
local _2afile_2a = "fnl/aniseed/string.fnl" local _0_ do local name_0_ = "conjure-macroexpand.aniseed.string" local module_0_ do local x_0_ = package.loaded[name_0_] if ("table" == type(x_0_)) then module_0_ = x_0_ else module_0_ = {} end end module_0_["aniseed/module"] = name_0_ ...
include("shared.lua") local MaxHorisontal = 14 local frame = nil local MaxWagons = 0 local MaxWagonsOnPlayer = 0 local Settings = { Train = 1, Adv = 1, WagNum = 3, Texture = "", Lighter = 1, PassTexture = "", CabTexture = "", ARS = 1, Cran = 1, Prom = 1, Mask = 1, PiterMsk = 1, LED = 0, ...
module("httpRuntime",package.seeeall) -- Http Runtime Api -- Receive Device Bound Notification function receiveDeviceBoundNotification(fa, iotName, id, auth) local b,c,h = fa.request{url="https://"..iotName..".azure-devices.net/devices/"..id.."/messages/deviceBound?api-version=2016-11-14", method = "GET",...
require 'busted.runner'() expose("Inheritance functionality tests #component #inheritance", function() local classA = _G.frostmoon.components["Inherit.A"] local classB = _G.frostmoon.components["Inherit.B"] local a = A{} --Create a default instance of A local b = B{} --Create a default instance of B it...
local class = require("extlibs.middleclass") BayesClassifier = class('BayesClassifier') function BayesClassifier:initialize(attrCount, classCount) self.attrCount = attrCount self.classCount = classCount self.m = 2.0 self.p = 0.5 end function BayesClassifier:classify(trainingData, testData) local probabilit...
-- Box.lua Box = {} Box.__index = Box setmetatable(Box, { __call = function (cls, ...) local self = setmetatable({}, cls) self:_init(...) return self end, }) function Box:_init(x, y, width, height, scale, color, cam) self.scale = scale or 5 self.x = x - self.scale self.y = y self.width = width...
function startCycler_vote() addCommandHandler("skipmap", cycleMap_vote, true) cycleMap_vote() addEventHandler("onRoundFinished", rootElement, roundCounter) end function cycleMap_vote() -- This increases the server startup speed - ('voteBetweenModes' will fail with no players anyway) if #getElementsByType("playe...
local _, CLM = ... local LOG = CLM.LOG local MODULES = CLM.MODULES local UTILS = CLM.UTILS local EventManager = MODULES.EventManager local EVENT_END_AUCTION = "CLM_AUCTION_END" local AuctionHistoryManager = {} local CHANNELS = { [1] = "SAY", [2] = "EMOTE", [3] = "PARTY", [4] = "GUILD", [5] = "O...
-- rGroupFinder: core -- zork, 2018 ----------------------------- -- Local Variables ----------------------------- local A, L = ... L.addonName = A ----------------------------- -- Config ----------------------------- local wordQuestsOnly = false ----------------------------- -- Functions ------------------------...
-- vim: ts=2 sw=2 sts=2 et : -- testing table routines -- (c) 2021 Tim Menzies (timm@ieee.org) unlicense.org package.path = '../src/?.lua;' .. package.path local Tbl, Lib = require("tbl"), require("lib") local o,oo = Lib.o,Lib.oo local function r(z) return Lib.round(z,3) end local function _t1() local t=Tbl() f...
-- bar.lua
local API_NPC = require(script:GetCustomProperty("API_NPC")) local API_D = require(script:GetCustomProperty("APIDamage")) local API_P = require(script:GetCustomProperty("APIProjectile")) local API_K = require(script:GetCustomProperty("APIKnockback")) local API_SE = require(script:GetCustomProperty("APIStatusEffects...
----------------------------------- -- Area: Metalworks -- NPC: Ayame -- Involved in Missions -- Starts and Finishes Quest: True Strength -- !pos 133 -19 34 237 ----------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/titles") require("scripts/g...
local AntClass = require(OOPLibrary.AntClass) local Repr = require("Repr") local TableLibrary = AntClass("TableLibrary") function TableLibrary.Clone(ToClone) local NewTab = {} for i,v in pairs(ToClone) do if typeof(v) == "table" then NewTab[i] = TableLibrary.Clone(v) else NewTab[i] = v end end setmetat...
do local t = {} function t:conj(...) local n = select('#', ...) local args = {...} for i = 1, n do self[args[i]] = true end end t['remove!'] = function(self, x) local r = self[x] self[x] = nil return r end t['contains?'] = function(self, x) return self[x] or false end local mt = { __c...
-- This file is automatically generated, do not edit! -- Path of Building -- -- Active Dexterity skill gems -- Skill data (c) Grinding Gear Games -- local skills, mod, flag, skill = ... skills["AnimateWeapon"] = { name = "Animate Weapon", gemTags = { dexterity = true, active_skill = true, duration = true, mi...
Ryan.Entity = { Type = { All, Ped, Vehicle }, GetAllNearby = function(coords, range, types) types = types or Ryan.Entity.Type.All local player_ped = Ryan.Player.GetPed() local player_vehicle = PED.GET_VEHICLE_PED_IS_IN(player_ped) local nearby_en...
require 'optim' require 'rnn' require 'hdf5' require 'xlua' require 'nngraph' cjson = require 'cjson' utils = require 'misc.utils' dofile("misc/optim_updates.lua") dofile("misc/vocab.lua") torch.setdefaulttensortype('torch.FloatTensor') torch.manualSeed(123) quesLen = 7 batchSize = 256 epochs = 30 use_cuda = true dev...
module 'character' -------------------------------------------------------------------- CLASS: EventAlign ( CharacterActionEvent ) :MODEL{ Field 'name' :string() } function EventAlign:toString() return self.name or '<nil>' end function EventAlign:start( target, pos ) local nextAlign = self:findNextEvent() if ...
local Sprite = Drawable:new() function Sprite:new(x, y, width, height, image) local sprite = Drawable:new() setmetatable(sprite, self) self.__index = self sprite.quad = Graphics.newQuad(x, y, width, height, image:getDimensions()) sprite.image = image return sprite end function Sprite:draw(x, y...
local Spell = { } Spell.LearnTime = 120 Spell.Description = [[ Transforms combine turret prop into a NPC that fights on your side against players and bad NPCs. Also can make combine turret NPC fight on your side. ]] Spell.FlyEffect = "hpw_blue_main" Spell.ImpactEffect = "hpw_blue_impact" Spell.ApplyDelay = 0.5 S...
----------------------------------------------------------------------------- -- Little program to download files from URLs -- LuaSocket sample files -- Author: Diego Nehab -- RCS ID: $Id: get.lua,v 1.25 2007/03/12 04:08:40 diego Exp $ ----------------------------------------------------------------------------- local ...
object_static_halloween_item_burning_man = object_static_halloween_shared_item_burning_man:new { } ObjectTemplates:addTemplate(object_static_halloween_item_burning_man, "object/static/halloween/item_burning_man.iff")
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB local DT = E:GetModule('DataTexts') --Cache global variables --Lua functions local select, ipairs = select, ipairs local format = string.format local tsort = table.sort --WoW API / Variables local C_Garrison_GetComp...
-- Madonox -- ID: 7642306654 -- RPM automatic updating files, normally used to push critical updates. local RPMAutoContent = {} function RPMAutoContent:Get(filename) if script.PackagedFiles:FindFirstChild(filename) then return script.PackagedFiles[filename] end end return RPMAutoContent
-- Enable /chatbell command & Save players settings on disk local settings_file = minetest.get_worldpath() .. "/chatbell" -- Enable/Disable Sound Command minetest.register_chatcommand("chatbell", { description = "Plays a sound when your name is quoted in chat (spam protection of ".. chatbell.spam_time .."s)", func...
Channel = {} Channel.__index = Channel --[[ Functions: Channel ]]-- function Channel:Create(id) local channel = setmetatable({ id = id, clients = {}, talking = {}, }, Channel) Voip.channels[id] = channel return channel end function Channel:Destroy() Voip.channels[self.id] = nil end function Channel:AddP...
local LuaNEAT = require"LuaNEAT" local xor = {} -- initializing LuaNEAT local pool_size = 100 local inputs = 2 -- number of inputs local outputs = 1 -- number of outputs local pool = LuaNEAT.newPool(pool_size, inputs, outputs) -- how many seconds until the next generation local wait = 0--.25 local counter = 0 -- st...
local _ _ = function() local joop = 2302 return function(hi) local d = 100 hi = 1021 local a, b, c a, b, c, d = 1, 2, 3, 4 local hello hello[232], (5 + 5)[121], hello, x[99] = 100, 200, 300 joop = 12 end end local joop = 2345 local a, b if hello then a, b = "hello" else a, b = "not...
return {'sax','saxofonist','saxofoniste','saxofoon','saxofoonkwartet','saxofoonspel','saxhoorn','saxen','saxofonen','saxofonisten','saxofoons','saxofoontje','saxofoontjes','saxhoorns'}
local _NAME = "LibProtectedCall" local _VERSION = "1.0.0" local _LICENSE = [[ MIT License Copyright (c) 2020 Jayrgo 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 res...
local string = string local tconcat = table.concat local tinsert = table.insert local lpeg = require "lpeg" local function escape_identifier(ident) local v = {'"', tostring(ident):gsub('"', '""'), '"'} return tconcat(v) end local function default_escape_literal(val) local t = type(val) if "number" == t then ret...
-- See Copyright Notice in core\LICENSE.txt require("utils") local file = io.open(".."..directory_delimiter..".."..directory_delimiter.."projects"..directory_delimiter..project.name..directory_delimiter.."compile.error.log", "r") if (not file) then os.exit() end local problems={} problems.errors={} problems.w...
--[[ Author: Firetoad Date: 08.07.2016 ]] function HasteBoots( keys ) local caster = keys.caster local ability = keys.ability local ability_level = ability:GetLevel() - 1 local modifier_ms = keys.modifier_ms local sound_haste = keys.sound_haste local particle_haste = keys.particle_haste -- Parameters local ...
--[[ Lua Stream API 1.0.0 Created 2016 by Michael Karneim. For detailed documentation on the Lua Stream API please see <http://github.com/mkarneim/lua-stream-api>. This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute t...
rpc_dispatch={} function dispatch_rpc() if peek(0x5f80)==0 then local type=peek(0x5f81) local len=peek(0x5f82) local args={} for i=1,len do args[i]=peek(0x5f82+i) end debug_str="dispatch type "..tostr(type).." len "..tostr(len).." args "..tostr(#args) if rpc_dispatch[type]!=nil then local vals=rpc...
-- ---------------------------------------------- -- Copyright (c) 2019, CounterFlow AI, Inc. All Rights Reserved. -- author: Collins Huff <ch@counterflowai.com> -- -- Use of this source code is governed by a BSD-style -- license that can be found in the LICENSE.txt file. -- --------------------------------------------...
dofile("common.inc"); function doit() askForWindow("Shows currently hovered mouse position and RGB color values. Press shift over ATITD window to continue."); while true do srReadScreen(); local pos = getMousePos(); local pixelsRaw = srReadPixel(pos[0], pos[1]); local pixels = pixelDiffs(pos[0], po...
return { -- Language language = "en_gb", -- Window persistence persistWindowSize = true, persistWindowPosition = true, persistWindowFullscreen = true, }
local firstSpawn = true AddEventHandler("playerSpawned", function(spawn) if firstSpawn == true then TriggerServerEvent('five_roleplay_core:spawn') firstSpawn = false end end) RegisterNetEvent('five_roleplay_core:initializeinfo') AddEventHandler('five_roleplay_core:initializeinfo', function(money,dirtymoney,bank...
-- FILE: mapEditorScriptingExtension_s.lua -- PURPOSE: Prevent the map editor feature set being limited by what MTA can load from a map file by adding a script file to maps -- VERSION: RemoveWorldObjects (v1) AutoLOD (v1) local usedLODModels = {} function onResourceStartOrStop ( ) for _, object in ipairs ( getEleme...
local local0 = 0.3 local local1 = 0.3 - local0 local local2 = 0.3 - local0 local local3 = 0.3 - local0 local local4 = 0.3 - local0 local local5 = 4.7 - local0 local local6 = 0.3 - local0 local local7 = 4.6 - local0 local local8 = 0.3 - local0 local local9 = 0.3 - local0 local local10 = 0.3 - local0 local local11 = 0.3 ...
local config = require("lspinstall/util").extract_config "dockerls" local npm = require "lspinstall/helpers".npm local package_name = "dockerfile-language-server" config.default_config.cmd[1] = npm.bin_path(package_name) return vim.tbl_extend("error", config, { install_script = npm.install_script(package_name), })
vim.bo.shiftwidth = 2 vim.bo.expandtab = true
require "Window" require "Apollo" require "ApolloCursor" require "GameLib" require "Item" local KuronaSalvage = {} local kidBackpack = 0 local karEvalColors = { [Item.CodeEnumItemQuality.Inferior] = "ItemQuality_Inferior", [Item.CodeEnumItemQuality.Average] = "ItemQuality_Average", [Item.CodeEnumItemQuality....
object_static_worldbuilding_structures_mun_nboo_block_building_64x32_destroyed_01 = object_static_worldbuilding_structures_shared_mun_nboo_block_building_64x32_destroyed_01:new { } ObjectTemplates:addTemplate(object_static_worldbuilding_structures_mun_nboo_block_building_64x32_destroyed_01, "object/static/worldbuilding...
local cc = data.raw["constant-combinator"]["constant-combinator"] cc.item_slot_count = math.max(36, cc.item_slot_count) local enableDataItems = { "ammo", "armor", "gun", "item", "capsule", "repair-tool", "mining-tool", "item-with-entity-data", "rail-planner", "tool", "blueprint", "deconstruction-item", "b...
local local0 = 0.4 local local1 = 0 - local0 local local2 = 0 - local0 local local3 = 0 - local0 local local4 = 0 - local0 function OnIf_101010(arg0, arg1, arg2) if arg2 == 0 then Sniper_Priest101010_ActAfter_RealTime(arg0, arg1) end return end function Sniper_Priest101010Battle_Activate(arg0, arg...
require'nvim-treesitter.configs'.setup { highlight = { enable = true, custom_captures = { -- Highlight the @foo.bar capture group with the "Identifier" highlight group. --["foo.bar"] = "Identifier", }, }, context_commentstring = { enable = true, enable_autocmd = false, config =...
local awful = require("awful") local table = require("gears.table") local wibox = require("wibox") local beautiful = require("beautiful") local font = require("utils.font") local helper = require("utils.helper") local icons = require("config.icons") beautiful.tasklist_font = M.f.subtile_2 local tasklist_root = class(...
-- chatmaid -- hide and clean up unwanted Firefall chat messages. -- Copyright (c) 2013-14 Thomas Aglassinger -- See also: <https://github.com/roskakori/chatmaid>. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"),...
--[[ -- prototype code (desired outcome) TDUI.Label = TDUI.Panel { text = "" font = RegisterFont("font/consolas.ttf"), fontSize = 24, Draw = function(self, w, h) UiFont(self.font, self.fontSize) UiAlign("left top") UiText(self.text) -- This example doesn't account for: -- * custom alignment -- * w...
---[[[ bitwise operators between Lua 5.1 (require LuaBitOp), 5.2 and 5.3 local _lshift, _rshift, _bnot, _band, _bor, _bxor; if _VERSION == "Lua 5.1" then luabitop = require ("bit") _lshift = luabitop.lshift _rshift = luabitop.rshift _bnot = luabitop.bnot _band = luabitop...
-- Reactor- and Turbine control by Asher9 -- -- Version 2.6 -- -- Start program -- --========== Global variables for all program parts ========== --All options optionList = {} version = 0 rodLevel = 0 backgroundColor = 0 textColor = 0 reactorOffAt = 0 reactorOnAt = 0 mainMenu = "" lang = "" overallMode = "" program =...
local cipher = require 'security.crypto.cipher' local digest = require 'security.crypto.digest' local ticket = require 'security.crypto.ticket' local http = require 'http' local web = require 'web' local config = require 'config' local _ = require 'shared.utils' local options = { urls = _.load_urls {'membership'...
-- lfs_panels.lua local M = require "lfs_message" local Common = require "lfs_common" local sd = require "far2.simpledialog" local Sett = require "far2.settings" local field = Sett.field local Excl_Key = "sExcludeDirs" local F = far.Flags local dirsep = package.config:sub(1,1) local TmpPanelDefaults = { ...
local Vec = _Require_relative( ... , 'lib.DeWallua.vector-light', 1) local Cache = _Require_relative(..., 'classes.Cache',1) local MTV = _Require_relative(..., 'classes.MTV',1) local min = math.min local inf = math.huge -- Get sign of number local function sign(number) return number > 0 and 1 or (number == 0 and 0...
--- @type StdUi local StdUi = LibStub and LibStub('StdUi', true); if not StdUi then return end local module, version = 'ProgressBar', 3; if not StdUi:UpgradeNeeded(module, version) then return end; ---------------------------------------------------- --- ProgressBar --------------------------------------------------...
--フュージョン・ゲート Maschange friend function c33550698.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Mask change local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(33550694,0)) e2:SetCategory(CAT...
----------------------------------- -- Area: Vunkerl Inlet (S) (F-5) -- NPC: Leafy Patch -- Involved in Quests -- !pos -418 -33 576 ----------------------------------- local ID = require("scripts/zones/Vunkerl_Inlet_[S]/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(pla...
local Camera = require "lib.Camera" local Viewport = class("Viewport") function Viewport:initialize(level, x, y, w, h, target) self.level = level self.camera = Camera.new(0, 0, w, h, x, y) self.target = target if self.target then self.camera:lookAt(self.target.x, self.target.y) end end f...
-- Drawing with Cairo on an SDL window. sdl = require 'sdl2' cairo = require 'oocairo' require 'util' sdl.init(sdl.INIT_VIDEO) local window = sdl.createWindow('Test Window', sdl.WINDOWPOS_CENTERED, sdl.WINDOWPOS_CENTERED, 200, 200, sdl.WINDOW_RESIZABLE) local SDLsurface = sdl.getWindowSurface(window) local surface ...
-- Areas mod by ShadowNinja -- Based on node_ownership -- License: LGPLv2+ areas = {} areas.adminPrivs = {areas=true} areas.startTime = os.clock() areas.modpath = minetest.get_modpath("areas") dofile(areas.modpath.."/settings.lua") dofile(areas.modpath.."/api.lua") dofile(areas.modpath.."/internal.lua") dofile(areas...
local BELU , parent = torch.class('BELU','nn.ELU') function BELU:__init() parent.__init(self) end function BELU:updateOutput(input) local s = input:size(2) / 2 input[{{}, {1,s}}]:mul(-1) parent.updateOutput(self, input) input[{{}, {1,s}}]:mul(-1) s = self.output:size(2) / 2 self.output2 = self.outp...
function fib(m) if m < 2 then return m end return fib(m-1) + fib(m-2) end return fib(15);
-- Storage Remote -- Config local storage_channel = 234 local listening_channel = 123 local modem_side = "back" -- End of Config -- Import common function api local common_functions = require(".storage.common_functions") local items = {} local item_menu_entries = {} local cobalt = dofile("cobalt") cobalt.ui = dofile...
local warning = require "warning" local function forwardRef(render) if __DEV__ then warning(type(render) == "function", "forwardRef requires a render function but was given " .. type(render)) end return { ["$$typeof"] = "REACT_FORWARD_REF_TYPE", render = render } end return f...
local setmetatable = setmetatable local wibox = require("wibox") local timer = require("obvious.lib.hooks").timer local mem_usage = require("obvious.mem").mem_usage local gradient_graph = require("obscure.widget.gradient_graph") local function create(label, field) local label = label or "MEM" local field = fi...
-------------------------------------------------------------------------------- --- Schema node dumper -- @module lua-nucleo.dsl.dump_nodes -- This file is a part of lua-nucleo library -- @copyright lua-nucleo authors (see file `COPYRIGHT` for the license) --------------------------------------------------------------...
--[[ This code subscribes to the twist motion of the head from vicon_listener that I wrote. It also subscribes to the geometry/TransformStamped message from vicon bridge The twist motion is what we pass to the neyral network to develo a real-time function approximator Author: Olalekan Ogunmolu. Date: October 2...
local cluster = require "cluster" local skynet = require "skynetex" local M = skynet.module("player") -- 离线时保存相关数据, 大部分数据都是实时保持的,所以在玩家连接坏掉之后缓存的数据都是早已经保存到数据库,这个接口 -- 只需要保持离线时间相关数据,以及清理定时器等工作 function M.logout_save_data( ) -- 移除事件的侦听 M.base_unsubscribe_events( ) -- 退出场景 M.scene_exit() -- 清除数据 M.__init__() end ...
function isPalindrome(input) for left = 1, #input / 2 do right = #input - left + 1 if string.sub(input, left, left) ~= string.sub(input, right, right) then return false end end return true end input = "amanaplanacanalpanama" if isPalindrome(input) then print(input .. " is a palindrome!") else print(...
-- Press Cmd+Q twice to quit local quitModal = hs.hotkey.modal.new('cmd','q') function quitModal:entered() hs.alert.show("Press Cmd+Q again to quit", 1) hs.timer.doAfter(1, function() quitModal:exit() end) end local function doQuit() local app = hs.application.frontmostApplication() app:kill() end q...
local vdom = require('vdom') -- start_game: () => () return function(props) return vdom.create_element('widget', { width = '100%', height = '100%' }, vdom.create_element( 'label', { halign = 'center', bottom = 720/2 + 80, color = '#fff...
local config = require 'config' local u = require 'utilities' local api = require 'methods' local ltn12 = require "ltn12" local https = require "ssl.https" local HTTP = require('socket.http') local URL = require('socket.url') local plugin = {} local function isempty(s) return s == nil or s == '' end local function...
local TOCNAME, _ = ... local BOM = BuffomatAddon ---@type BuffomatAddon ---@class BomUiMyButtonModule local uiMyButtonModule = BuffomatModule.DeclareModule("Ui/MyButton") ---@type BomUiMyButtonModule local ONIcon = "|TInterface\\RAIDFRAME\\ReadyCheck-Ready:0:0:0:0:64:64:4:60:4:60|t" local OFFIcon = "|TInterface\\RAID...
---------------------- Crystallizer ---------------------- -- Entity -- cE = {} cE.type = "assembling-machine" cE.name = "Crystallizer" cE.icon = "__Mobile_Factory_Graphics__/graphics/icones/Crystallizer.png" cE.icon_size = 32 cE.flags = {"placeable-neutral", "placeable-player", "player-creation"} cE.minabl...
pfUI:RegisterModule("tooltip", function () local alpha = tonumber(C.tooltip.alpha) CreateBackdrop(GameTooltip, nil, nil, alpha) -- prevent tooltips from being placed offscreen GameTooltip:SetClampedToScreen(true) GameTooltipStatusBar:SetClampedToScreen(true) if C.tooltip.position == "cursor" then func...
local entity = {} entity["level"] = [[59]] entity["spellDeck"] = {} entity["spellDeck"][1] = [[Tempest Slash]] entity["spellDeck"][2] = [[]] entity["spellDeck"][3] = [[Power Charge]] entity["spellDeck"][4] = [[]] entity["spellDeck"][5] = [[Auto-Masukukaja]] entity["spellDeck"][6] = [[]] entity["heritage"] = {} entity["...
function chinLoadObject(fileName) --=========================================== Create object numObj = chiObjectQuery(0); newSurf = chiLoadSurface(fileName); objName = "Object_"..string.format("%4d",numObj) chiObjectCreate(objName); chiObjectAddSurface(objName,newSurf); --=============...
local EMOTE_NAMES = { wave = false, point = false, dance = true, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false, } return EMOTE_NAMES
demo = {} demo.name = "Demo" demo.range = "1" demo.skill1 = "Creativity" demo.skill2 = "Memory" demo.skill3 = "Focus" demo.defense = "Nullification" demo.description = "This spell is a demo that exists to test the interface." demo.effect = "None"
-- // NOTICE: They have a new anti cheat that is obfuscated and one that has no bytecode. In other words, I'm not bothered to bypass that. -- // Services local ReplicatedStorage = game:GetService("ReplicatedStorage") -- // Vars local WeaponManagerClient = require(ReplicatedStorage.Modules.Client.Managers.WeaponManage...
function ReplaceChar(str, pos, r) return str:sub(1, pos-1) .. r .. str:sub(pos+#r) end function NewChunk(x,z) local chunk = NewThing(x,0,z) chunk.voxels = {} chunk.slices = {} chunk.heightMap = {} chunk.name = "chunk" chunk.ceiling = 120 chunk.floor = 48 chunk.requests = {} --...
fx_version 'bodacious' games 'gta5' client_script 'client.lua' files { "hud.html" } ui_page "hud.html"
require("animation/animBase"); require("particle/particleBubble"); local loading_pin_map = require("qnFiles/qnPlist/hall/loading_pin"); AnimUpdateProgress = class(AnimBase); AnimUpdateProgress.lightImageIndex = 0; AnimUpdateProgress.lightFiles = { loading_pin_map["light1.png"], loading_pin_map["light2....
--[[ 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 Data = require "nvim-lsp-installer.data" local process = require "nvim-lsp-installer.process" local path = require "nvim-lsp-installer.path" local Result = require "nvim-lsp-installer.core.result" local spawn = require "nvim-lsp-installer.core.spawn" local Optional = require "nvim-lsp-installer.core.optional" loc...
slot2 = "ClientUpdaterModel" ClientUpdaterModel = class(slot1) slot2 = "clientupdater.mvc.model.ClientUpdaterVersionVo" require(slot1) ClientUpdaterModel.ctor = function (slot0) slot7 = cc.UserDefault slot7 = true createSetterGetter(slot2, slot0, "so", cc.UserDefault.getInstance(slot6), false) slot5 = nil cre...
project "qcpu-tetris" kind "ConsoleApp" language "C" objdir("%{wks.location}/bin-int/" .. outputDir .. "/%{prj.name}") targetdir("%{wks.location}/bin/" .. outputDir .. "/%{prj.name}") defines { } includedirs { "%{includePath.qcpu-emu}" } files { "src/**.c" } links { "QCPUEm...
local music = nil; local ambientMusic = ""; local isAmbient = false; local subwayCars = {}; local airlocks = {}; local doors = {}; local timers = {}; local levers = {}; local timersDone = false; function startMusic(name, crossfade) local newMusic = audio:createStream(name); newMusic.loop = true; newMusic.i...
local angleshit = 0.5; local anglevar = 0.5; function opponentNoteHit(id, direction, noteType, isSustainNote) if difficulty == 2 then if curBeat < 288 then if curBeat > 180 then cameraShake('cam', '0.015', '0.1') end end end end
local _G = require "_G" local mysql = require "mysql" local nmap = require "nmap" local shortport = require "shortport" local stdnse = require "stdnse" local table = require "table" description = [[ Audits MySQL database server security configuration against parts of the CIS MySQL v1.0.2 benchmark (the engine can be u...
local M = {} local date = require("taglinks.date") --- returns the day of week (1..Monday, ..., 7..Sunday) for Dec, 31st of year --- see https://webspace.science.uu.nl/~gent0113/calendar/isocalendar.htm --- see https://en.wikipedia.org/wiki/ISO_week_date M.dow_for_year = function(year) return ( year ...
local cmd = require('bex.cmd') cmd.normal.params = {param.raw} cmd.normal.bang.params = {param.raw}
object_tangible_furniture_all_outbreak_shackled_man = object_tangible_furniture_all_shared_outbreak_shackled_man:new { } ObjectTemplates:addTemplate(object_tangible_furniture_all_outbreak_shackled_man, "object/tangible/furniture/all/outbreak_shackled_man.iff")
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf/protobuf" module('UnlockSealFindBackData_pb') UNLOCKSEALFINDBACKDATA = protobuf.Descriptor(); local UNLOCKSEALFINDBACKDATA_STATE_FIELD = protobuf.FieldDescriptor(); local UNLOCKSEALFINDBACKDATA_TYPE_FIELD = protobuf.FieldDescriptor(); local...
require('lualine').setup({ sections = { lualine_a = { { 'mode', fmt = function() return ' ' end, padding = 0, }, }, lualine_b = { 'branch', { 'diagnostics', symbols = { error = ' ', warn = ' ', ...