content
stringlengths
5
1.05M
XYZChat = {} XYZChat.Core = {} XYZChat.UI = {} print("Loading XYZ Chat Box") local path = "xyz_chat/" if SERVER then local files, folders = file.Find(path .. "*", "LUA") for _, folder in SortedPairs(folders, true) do print("Loading folder:", folder) for b, File in SortedPairs(file.Find(path .. folder .. "/...
require "Utils/Module" require "Global/Module" require "Common/Module"
local grpc_tools = require "kong.tools.grpc" describe("grpc tools", function() it("visits service methods", function() local methods = {} local grpc_tools_instance = grpc_tools.new() grpc_tools_instance:each_method("helloworld.proto", function(parsed, service, method) methods[#methods + 1] ...
return [[ { "Lang": "ru", "Name": "Russian", } ]]
object_tangible_collection_scout_trooper_right_bicep = object_tangible_collection_shared_scout_trooper_right_bicep:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_scout_trooper_right_bicep, "object/tangible/collection/scout_trooper_right_bicep.iff")
-- Add a server script client_script 'client.lua'
-- language specific higlights local lush = require("lush") local base = require("apprentice.base") local M = {} M = lush(function() return { rustSigil {base.ApprenticeOrange}, rustEscape {base.ApprenticeAqua}, rustStringContinuation {base.ApprenticeAqua}, rustEnum {base.ApprenticeAqua}, rustStr...
function stdev() local sum, sumsq, k = 0,0,0 return function(n) sum, sumsq, k = sum + n, sumsq + n^2, k+1 return math.sqrt((sumsq / k) - (sum/k)^2) end end ldev = stdev() for i, v in ipairs{2,4,4,4,5,5,7,9} do print(ldev(v)) end
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0122-New_rules_for_providing_VRHelpItems_VRHelpTitle.md -- User story: TBD -- Use case: TBD -- -- Requirement summary: TBD -- -- Descrip...
--------------------------------------------- -- Hard Membrane -- -- Description: Enhances evasion. -- Type: Enhancing -- Utsusemi/Blink absorb: N/A -- Range: Self -- Notes: Very sharp evasion increase. --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/sett...
-------------------------------- -- @module ParticleFire -- @extend ParticleSystemQuad -- @parent_module cc -------------------------------- -- Create a fire particle system.<br> -- return An autoreleased ParticleFire object. -- @function [parent=#ParticleFire] create -- @param self -- @return ParticleFire#Particle...
local unpack = table.unpack or _G.unpack util.seed() local SCALE = 0.3 local N_EACH = 25 local function randtable(n, a, b) local t = {} for i=1, n do t[i] = util.randab(a, b) end return t end local MATERIALS = {surfacetype.DIFFUSE, surfacetype.REFLECTIVE, surfacetype.STOP} local function randommaterial() loca...
--[[ s:UI Panels Martin Karer / Sezz, 2014 http://www.sezz.at --]] local S = Apollo.GetPackage("Gemini:Addon-1.1").tPackage:GetAddon("SezzUI"); local M = S:CreateSubmodule("Panels"); local log; ----------------------------------------------------------------------------- local tXMLData = { __X...
instrument { overlay = true, name = 'Fibonacci retracements B.Bands', short_name = 'FBBB', icon="indicators:BB"} period = input (200, "front.period", input.integer, 1) source = input (1, "front.ind.source", input.string_selection, inputs.titles_overlay) fn = input (1,...
local sandbox = require('sandbox') describe('sandboxing', function () describe('when handling base cases', function () it('should run harmless strings', function () assert.same('hello', sandbox.run('return "hello"')) end) it('should have access to safe methods', function () asse...
--[[ NetEz (Easy network library) Author: tochonement Email: tochonement@gmail.com Credits: - thelastpenguin for pON 23.07.2021 --]] if not pon then error("NetEz requires pon to work!") end netez = netez or {} netez.storage = netez.storage or {} netez.types = netez.types or {} local pon = pon local netez = ...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_spectre_h...
local helpers = require('test.functional.helpers')(after_each) local eval = helpers.eval local clear = helpers.clear local command = helpers.command describe('autocmd FileType', function() before_each(clear) it("is triggered by :help only once", function() command("let g:foo = 0") command("au...
local L = LibStub("AceLocale-3.0"):NewLocale("WorldQuestTrackerAddon", "ptBR") if not L then return end L["S_APOWER_AVAILABLE"] = "Disponível" L["S_APOWER_NEXTLEVEL"] = "Próximo nível" L["S_DECREASESIZE"] = "Diminuir Tamanho" L["S_ENABLED"] = "Ativado" L["S_ERROR_NOTIMELEFT"] = "Esta missão expirou." L["S_ERROR_NOTL...
local table = require 'ext.table' --[[ idk where to put this stuff TODO luajit's getfenv is returning _G I wonder if there's a way to set these variables to the local scope env of the require'ing files ...without using debug's upvalue stuff --]] return function(env) env = env or {} env.minmaxs = table{'min', 'max'}...
-- -- 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, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be use...
-- Экран смены номерного знака NumberplateScreen = Screen:subclass "NumberplateScreen" local MAX_NUMBERPLATE_TEXT_LENGTH = 10 local allowedLetters = "abcdefghijklmnopqrstuvwxyz0123456789" function NumberplateScreen:init() self.super:init() self.numberplateText = GarageCar.getVehicle():getData("Numberplate") if ...
function PLUGIN:IsPlayerRecognized(client) if (client == LocalPlayer()) then return true end local localPlayer = LocalPlayer() if (IsValid(localPlayer) and localPlayer.character) then local recognized = localPlayer.character:GetData("recog", {}) if (recognized[client.character:GetVar("id", 0)] == true) t...
local _, core = ...; local _G = _G; local MonDKP = core.MonDKP; local L = core.L; local curReason; function MonDKP:AdjustDKP(value) local adjustReason = curReason; local curTime = time() local c; local curOfficer = UnitName("player") if not IsInRaid() then c = MonDKP:GetCColors(); end if (curReason == L["O...
local meta = FindMetaTable( "Player" ); function meta:ClearDrug() self.DrugEffects = { }; end function meta:DoDrug( d ) if( !self.DrugEffects ) then self:ClearDrug() end self.DrugEffects[d] = CurTime(); end function meta:HasDrug( d ) if( !self.DrugEffects ) then self:ClearDrug() end if( self.DrugE...
local init = { require(".Event"); Const = require(".Const"); Cmd = require(".Cmd"); } return init;
local gui = require 'yue.gui' local ca = require 'gui.new.common_attribute' return function (t, data) local btn = gui.Button.create('') local bind = {} if t.bind and t.bind.title then local bind_title bind_title = data:bind(t.bind.title, function() btn:settitle(bind_tit...
-------------------------------------------------------------------------------- --[[ Dusk Engine Component: Tile Culling Manages displayed tiles for tile layers in a map. --]] -------------------------------------------------------------------------------- local lib_tileculling = {} --------------------------------...
local playerPosition = 4 if playerPosition <= 3 then print("Well done! You are in spot ".. playerPosition .. "!") else print("You are not in the top three yet! Keep going!") end
local server = require "nvim-lsp-installer.server" local path = require "nvim-lsp-installer.path" local zx = require "nvim-lsp-installer.installers.zx" local root_dir = server.get_server_root_path "tailwindcss" return server.Server:new { name = "tailwindcss", root_dir = root_dir, installer = zx.file "./in...
-- for positive dx, dy: x=0..n, y=x..n -- intervals of 0.5, n=50, inclusive -- precision of 8 decimal places distances = {} distances[0.0] = {} distances[0.0][0.0] = 0.0 distances[0.5] = {} distances[0.5][0.0] = 0.5 distances[0.5][0.5] = 0.70710678 distances[1.0] = {} distances[1.0][0.0] = 1.0 distances[1.0]...
local cjson = require 'cjson' local torch_utils = {} function torch_utils.wd_sgd(opfunc, x, config, state) -- (0) get/update state local config = config or {} local state = state or config local lr = config.learningRate or 1e-3 local lrd = config.learningRateDecay or 0 local wd = config.weightDecay...
local path = require 'pl.path' return function() local loadOutputHandler = function(output, opath, options, busted, defaultOutput) local handler local success, err = pcall(function() if output:match('.lua$') or output:match('.moon$') then handler = loadfile(path.normpath(opath))() else ...
-->8 -- game object factories -- player is represented as the bottom of the falling quad -- player3 -- player1 player2 -- player0 function new_player_quad() player = { y = board_height - 2, x = 4, player0 = function(self) return {x = self.x, y = self.y} end, player1 = funct...
---------------------------------------------------------------------------------------------------- -- Flower Extentions Library for FSM. -- -- @author Makoto -- @release V3.0.0 ---------------------------------------------------------------------------------------------------- -- module local fsm = {} -------------...
Ambi.Download = Ambi.Download or {} -- --------------------------------------------------------------------------------------------------------------------------------------------------------- local http_fetch, string_gmatch, tostring = http.Fetch, string.gmatch, tostring -- ------------------------------------------...
return "v2.7.6"
require 'nn' rfcn = {} rfcn.C = require 'rfcn.ffi' require 'rfcn.PSROIPooling' return rfcn
-- Valid module (exposing data and having a global variable) for utils.load_module_if_exists unit tests. -- Assert that load_module_if_exists returns a module if it was valid local _M = { exposed = "All your base are belong to us." } return _M
function afunc() local p = {} p[1] = "foo" return p["bar"] end
local DiagnosticSeverity = require('vim.lsp.protocol').DiagnosticSeverity local trythis = {} local function suggestions_from(diagnostic) local trimmed = diagnostic.message:gsub('^.-Try this:%s*', '') return vim.gsplit(trimmed, 'Try this:') end --- Swap the first suggestion from Lean with the word under the cursor...
TOOL.Category = "Construction" TOOL.Name = "#Tool.textscreen.name" TOOL.Command = nil TOOL.ConfigName = "" local textBox = {} local lineLabels = {} local labels = {} local sliders = {} for i = 1, 5 do TOOL.ClientConVar[ "text"..i ] = "" TOOL.ClientConVar[ "size"..i ] = 20 TOOL.ClientConVar[ "r"..i ] = 255 TOO...
return LoadFont("time")..{ BeginCommand=cmd(playcommand,"Set"); CurrentCourseChangedMessageCommand=cmd(playcommand,"Set"); SetCommand=function(self) local course = GAMESTATE:GetCurrentCourse() if course then local style = GAMESTATE:GetCurrentStyle() local stepsType = style:GetStepsType() local courseLen...
local formatting = require("modules.completion.formatting") vim.cmd([[packadd nvim-lsp-installer]]) vim.cmd([[packadd lsp_signature.nvim]]) vim.cmd([[packadd lspsaga.nvim]]) vim.cmd([[packadd cmp-nvim-lsp]]) vim.cmd([[packadd lua-dev.nvim]]) vim.cmd([[packadd efmls-configs-nvim]]) vim.cmd([[packadd vim-illuminate]]) ...
LinkLuaModifier( "modifier_animation_translate_permanent_string", "libraries/modifiers/modifier_animation_translate_permanent_string.lua", LUA_MODIFIER_MOTION_NONE ) if HeroCosmetics == nil then DebugPrint ( 'Starting HeroCosmetics' ) HeroCosmetics = class({}) end function HeroCosmetics:Sohei (hero) DebugPrint...
local _M = { _NAME = "luanode.path", _PACKAGE = "luanode." } -- Make LuaNode 'public' modules available as globals. luanode.path = _M -- TODO: Deberia usar penlight.path y dejarme de joder local config_regexp = ("([^\n])\n"):rep(5):sub(1, -2) local dir_sep, path_sep, path_mark, execdir, igmark = package.config:mat...
-- use local package; you don't have to use this if the `luacsound` is -- installed package.path = package.path .. ';../?/init.lua' local csd = require 'luacsound'() local sine = csd:instr( 'sine' ) sine{ freq = 'f6', start = 0, dur = 1, vol = 2 } sine{ freq = 'f5', start = 1, dur = 1, vol = 2 } sine{ freq = 'f4', s...
--[[ Authors: insyri; roblox: 145291526, github: insyri veryunhappydoge; roblox: 1455906620, github: dowoge ]] function transparencyShift( targetTransparencyShiftTo: number, elapsedTimeLength: number, easingStyle: Enum, part: BasePart ) --[[ documentation REQUIRED | targetTransparencyShiftTo : nu...
#!/usr/bin/env luajit local unpack = unpack or require'table'.unpack local min, max = require'math'.min, require'math'.max local floor = require'math'.floor -- local interval_x = {0, 60} -- local interval_y = {0, 80} local interval_x = {-10, 10} local interval_y = {-10, 10} local interval_scale = 0.05 local grid_par...
local status_ok, comment = pcall(require, "Comment") if not status_ok then return end comment.setup { pre_hook = function(ctx) local U = require "Comment.utils" local location = nil if ctx.ctype == U.ctype.block then location = require("ts_context_commentstring.utils").get_cursor_location() ...
--[[ Day 18: Musicy ]] print("Day 18") function GetValue(val, vars) if (type(val) == 'number') then return val else return vars[val] or 0 end end MACH = {} MACH[1] = {vars = {}, count = 1, done = false} MACH[2] = {vars = {}, count = 1, done = false} function Run(i, machine) end function Day18(in...
util.AddNetworkString("FScript.ChangeCharacter.OpenMenu") util.AddNetworkString("FScript.ChangeCharacter.Validate") net.Receive("FScript.ChangeCharacter.Validate", function(lenght, ply) if not FScript.IsValidPlayer(ply) or lenght == 0 then return end local CanChange, Reason = hook.Run("FScript.CanChangeCharacter...
SoundOptions = {} SoundOptions.__index = SoundOptions setmetatable(SoundOptions, { __index = SoundOptions, __call = function (cls, ...) local self = setmetatable({}, cls) self:_init(...) return self end, }) function SoundOptions:_init() self.background = love.graphics.newImage("media/menu/darkBack...
slot0 = class("BackYardThemeTemplateDescPage", import("....base.BaseSubView")) slot1 = 1 slot2 = 2 slot3 = 3 slot4 = { { "text_desc", "text_allin" }, { "text_delete", "text_upload", "text_cancel_upload" }, { "text_desc", "text_allin" } } function slot5(slot0) return slot0[slot0] end slot0.getUINa...
paradeSlot("dtm4_hw2container_basic", { 1.954785, -10.1566125, 41.17178 }, {0, 0, 1}, {1, 0, 0}, 0); paradeSlot("misc", {0, 0, 0}, {0, 0, 1}, {1, 0, 0}, 0);
ExtraItem.ID = "ZPArmor" ExtraItem.Name = "ExtraItemArmorName" ExtraItem.Price = 12 function ExtraItem:OnBuy(ply) ply:SetArmor(ply:Armor() + 100) end
-- Wireshark PostDissector to ascii decode non-passworded DNScat2 traffic. -- Based off the dnscat dissector by DiabloHorn https://diablohorn.wordpress.com -- Currently only performs ascii decode, should be expanded to include the rest of the protocol -- info print("dnscat postdissector loading") dc_udp_dport...
local mode = require "config.modes" -- common stuff require 'waffle.core.loadVimOptions' require 'waffle.core.vimStuff' require 'waffle.core.bindKeys' -- mode detction { if mode.plusplus then require 'modes.plusplus' end if mode.typewriter then require 'modes.typewriter' end if mode.doom then require '...
--------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md -- Description: -- Two mobile applications with the same appNames and different appIds from di...
AddCSLuaFile() --[[------------------------------------------------------------------------- Powerup Drop Entities ---------------------------------------------------------------------------]] ENT.Type = "anim" ENT.Base = "base_entity" ENT.Category = "nZombies Unlimited" ENT.PrintName = "Power-Up" ENT.Author = "Zet0r"...
-- An affinity mode which makes sure connections are rebalanced when a deployment is scaled. -- The advantage of this mode is that the load on the pods will be redistributed. -- The drawback of this mode is that, when scaling up a deployment, roughly (n-c)/n users -- will lose their session, where c is the current numb...
--[[ *********************************************************** nothing.lua This particular file has been released in the public domain and is therefore free of any restriction. You are allowed to credit me as the original author, but this is not required. This file was setup/modified in: 2018 If the law of your cou...
function send_cap(arg, data) local id = data.id_ td.sendText(tonumber(msg.to.id), id, 1, 0, nil, arg, 0, 'md', ok_cb, cmd) end function sphoto(arg ,msgr) local count = msgr.total_count_ if count < 1 then return td.sendText(tonumber(msg.to.id), 0, 1, 0, nil, arg:gsub('_', '\\%0'), 0, 'md', ok_cb, cmd) end local min = ms...
-- ******************************** CONSTANTS ******************************* -- Setup the name we want in the global namespace TitanPlayed = {}; -- Reduce the chance of functions and variables colliding with another addon. local TP = TitanPlayed; local LibQTip = LibStub('LibQTip-1.0'); TP.id = "Played"; TP.addon...
function console(t) clr(16) end
--[[ Copyright 2019 Valeri Ochinski Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0190-resumption-data-error-handling.md -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0188-get-inte...
--[[ {"debug"} ]] return function (input,chests,inventory,tell,dynaStore,mods,chestCache,allItems) local function cSerialize(tb,spc) spc = spc or 0 local i = 1 local tmp = {} if spc == 0 then tmp[1] = string.rep(" ",spc) .. "{" else i = i - 1 end spc = spc + 2 if type(tb) ...
-- This table is returned when this file is passed to require local scaster = {} -- This holds data about the current map local map = { loaded = false } -- This holds data about the screen resolution local screen = {} screen.width, screen.height = love.graphics.getDimensions() screen.center = { x = screen.width/...
require("functions.lua") require("jp_endings.lua")
local a = {} for i=10,1,-1 do print(i); a[i] = i; end print(a[1]); print(a[2]); print(a[3]);
local codelldb = function(on_adapter) local port=vim.fn.rand() % 1000 + 8000 print("Launching codelldb on port " .. port) local stdout = vim.loop.new_pipe(false) local stderr = vim.loop.new_pipe(false) require("recipe.install").request("codelldb", function(cmd) local handle, pid_or_err local opts = ...
--[[ The MIT License (MIT) Copyright (c) 2015 Martin Felis Copyright (c) 2017 Matthias Richter 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 th...
-- use py2exe to build all the python files into an exe file. -- please install py2exe first. http://www.py2exe.org/ -- usage: premake4 install newaction { trigger = "install", description = "Install the software", execute = function () os.execute("C:/Python26/python.exe setup.py py2exe") end }
require "util" require("config") -- to print in factorio log: error("Hi player") error(serpent.block(table_name)) -- Initialise local recipes = table.deepcopy(data.raw.recipe) local recipes_copy = table.deepcopy(data.raw.recipe) item = {} fluid = {} -- item and fluids are called replication recipes in my notes ---- Re...
function WeaponAmmoPack:GetIsValidRecipient(recipient) return false end RifleAmmo.GetIsValidRecipient = WeaponAmmoPack.GetIsValidRecipient ShotgunAmmo.GetIsValidRecipient = WeaponAmmoPack.GetIsValidRecipient FlamethrowerAmmo.GetIsValidRecipient = WeaponAmmoPack.GetIsValidRecipient GrenadeLauncherAmmo.GetIsVali...
--[[ LICENSE HEADER The MIT License (MIT) Copyright © 2017-2021 Jordan Irwin (AntumDeluge) See: LICENSE.txt --]] local cotton_aliases = {"thread", "string"} if core.global_exists("farming") and core.get_modpath("wool") then -- Craft cotton from wool antum.registerCraft({ output = "farming:cotton 4", t...
--[[ # tableok : unit tests for table DARE, Copyright (c) 2017, Tim Menzies All rights reserved, BSD 3-Clause License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above ...
--[[ Netherstorm -- Shaleskin Flayer.lua This script was written and is protected by the GPL v2. This script was released by BlackHer0 of the BLUA Scripting Project. Please give proper accredidations when re-releasing or sharing this script with others in the emulation community. ~~End of License Agreement -- BlackHe...
local h = require("null-ls.helpers") local methods = require("null-ls.methods") local FORMATTING = methods.internal.FORMATTING return h.make_builtin({ name = "gofmt", meta = { url = "https://pkg.go.dev/cmd/gofmt", description = "Formats go programs.", notes = { "It uses tab...
require "util" require "mod-gui" require "export_csv" local function tick_to_timestring(tick) if not tick then return "00:00:00" end local h = string.format("%02d", math.floor(tick/216000)) local m = string.format("%02d", math.floor(tick%216000/3600)) local s = string.format("%0...
local path = require "nvim-lsp-installer.path" local platform = require "nvim-lsp-installer.platform" local installer = require "nvim-lsp-installer.core.installer" local git = require "nvim-lsp-installer.core.managers.git" local Optional = require "nvim-lsp-installer.core.optional" ---@async ---@param opts {llvm_dir: ...
-- This information tells other players more about the mod name = "Brook" description = "Dead Bones Brook from One Piece" author = "kobyov and Dani the Marble" version = "1.4.0" -- This is the URL name of the mod's thread on the forum; the part after the ? and before the first & in the url forumthread = "" -- This l...
local plpath = require 'pl.path' local srcdir = "../gen_src/" local incdir = "../gen_inc/" if ( not plpath.isdir(srcdir) ) then plpath.mkdir(srcdir) end if ( not plpath.isdir(incdir) ) then plpath.mkdir(incdir) end local gen_code = require("Q/UTILS/lua/gen_code") qtypes = { 'I1', 'I2', 'I4', 'I8','F4', ...
require("Game/builderUpgrader.lua") require("Game/builderFunctions.lua") require("Game/mapInfo.lua") require("NPC/state.lua") --require("Game/autoBuilder.lua") --this = BuildNode() local buildCounter = 0 local readyToPlay = {} local towerChangeState = 0 local towerBuildInfo = {} local waveTime = 0 local curentWave = -1...
player_manager.AddValidModel( "PMC5_08", "models/player/PMC_5/PMC__08.mdl" ) list.Set( "PlayerOptionsModel", "PMC5_08", "models/player/PMC_5/PMC__08.mdl" )
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseConfigData_pb', package.seeall) local BSECONFIGDATA = protobuf.Descriptor(); local BSECONFIGDATA_VERSION_FIELD = protobuf.FieldDescriptor(); BSECONFIGDATA_VERSION_FIELD.name = "version" BSECONFIGDATA_VERSION_FIELD.full_name = "...
--------------------------------------------------------------------- -- Manage collection and display of minimap buttons --------------------------------------------------------------------- local _, ns = ... local LSM = LibStub and LibStub:GetLibrary("LibSharedMedia-3.0", true) local FONT = LSM:Fetch(LSM.Med...
// Wildfire Black Mesa Roleplay // File description: BMRP developer functionality script // Copyright (c) 2022 KiwifruitDev // Licensed under the MIT License. //********************************************************************************************* // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND...
--@ componenttypes -- Drive maintainer module DriveMaintainer = {} function DriveMaintainer.new(Direction) local self = {} if Direction then self.Direction = Direction self.LastDriveMaintainerCount = 0 self.DriveMaintainerIndex = nil self.LastReading = 0 -- This is private, should...
-- ░▀▀█░█▀▀░█▀█░█▀█░░ -- ░░░█░▀▀█░█░█░█░█░░ -- ░▀▀░░▀▀▀░▀▀▀░▀░▀░░ -- This script is from https://gist.github.com/tylerneylon/59f4bcf316be525b30ab -- License: None. Public Domain --[[ json.lua A compact pure-Lua JSON library. The main functions are: json.stringify, json.parse. ## json.stringify: This expects the fo...
-- spawn_glow return { ["spawn_glow"] = { usedefaultexplosions = false, groundflash = { circlealpha = 0.9, circlegrowth = 1.5, flashalpha = 1, flashsize = 30, ttl = 8, color = { [1] = 0, [2] = 0.60000002384186,...
--時花の賢者-フルール・ド・サージュ --Script by XyLeN function c100425020.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100425020,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(L...
--[[ Dungeon generator Dungeon generator module for Roblox. @author EgoMoose @link N/A @date 12/02/2016 --]] ------------------------------------------------------------------------------------------------------------------------------ --// Setup local cardinal = { north = Vector2.new(0, -1); east = Vector2.ne...
--[[ Librarian is a library used to manage localization, packages, scripts, animations and data embedded into the SVUI core addon. It's main purpose is to keep all methods and logic needed to properly keep core add-ins functioning outside of the core object and away from other libraries like LibStub. ...
--[[ File: init.lua Author: davness Year: 2019 License: MIT This file acts as a runtime for the ObjectEvent described in the index file. --]] -- Declare existance of our classes local RBXScriptSignalLike, ObjectEvent, ObjectEventConnection RBXScriptSignalLike = setmetatable({}, { __tostring = fu...
local class = require "class" local Path = class:derive("Path") local Vec2 = require("Essentials/Vector2") local SphereChain = require("SphereChain") local BonusScarab = require("BonusScarab") function Path:new(map, pathData, dummy) self.map = map -- whether it's just a decorative path, if false then it's ...
local player = ... local pn = ToEnumShortString(player) local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats(player) local TapNoteScores = { Types = { 'W1', 'W2', 'W3', 'W4', 'W5', 'Miss' }, -- x values for P1 and P2 x = { P1=64, P2=94 } } local RadarCategories = { Types = { 'Holds', 'Mines', 'H...
-- try to run: -- $ lua arg.lua 1 2 3 -- print(arg) print(arg[0]) print(arg[1])
return function (connection, req, args) dofile('httpserver-header.lc')(connection, 200, 'html') if req.method == 'POST' then local rd = req.getRequestData() if (rd['data'] ~= nil) then print("data: ",rd['data']) ws2812.write(rd['data']) end end collectgarbage() end