content
stringlengths
5
1.05M
table = {} --[[ Given an array where all elements are strings or numbers, returns table[i]..sep..table[i+1] ... sep..table[j]. The default value for sep is the empty string, the default for i is 1, and the default for j is the length of the table. If i is greater than j, returns the empty string. --]] function table....
local function ChunkString(String: string, Size: number) local Index = 0 local EndSize = math.ceil(#String / Size) return function(CurrentString: string) Index += 1 if Index <= EndSize then return Index, string.sub(CurrentString, (Index - 1) * Size + 1, Index * Size) end end, String, nil end return Chunk...
--this is an update that always runs on wall time (not sim time) function WallUpdate(dt) TheSim:ProfilerPush("LuaWallUpdate") if GetPlayer() then local x,y,z = GetPlayer().Transform:GetWorldPosition() TheSim:SetActiveAreaCenterpoint(x,y,z) end TheSim:ProfilerPush("updating wall components") for k,v in pai...
-- Copyright 2004-present Facebook. All Rights Reserved. require('fb.luaunit') require('math') require('fbtorch') require('nn') require('fbcunn') require('fbnn') local n_test_repeats = 1 function run_KMaxPooling_updateOutput(n, d, k, infer_length) -- n = number of words -- d = dimension of embeddings ...
local Linq = require "linq"; require "dictionary"; --- @type Dictionary|Enumerable local Dictionary = Linq.Dictionary; local sameTypeComparer = function(item1, item2) return type(item1) == type(item2); end; describe("Dictionary:Add", function() it("adds a key/value pair if it doesn't already exist", function() ...
local utils = require("utils") local tasks = require("task") local pluginLoader = {} -- Path can either be a path to list items from or a list of prefound filenames function pluginLoader.loadPlugins(path, registerAt, loadFunction, shouldYield) shouldYield = shouldYield or shouldYield == nil local filenames =...
local cassandra = require "cassandra" local split = require("pl.stringx").split local insert = table.insert local fmt = string.format local Plugins = {} -- Emulate the `select_by_cache_key` operation -- using the `plugins` table of a 0.14 database. -- @tparam string key a 0.15+ plugin cache_key -- @treturn table|...
--- 导入需求的模块 local opcua = require 'opcua' local class = require 'middleclass' local client = class("APP_OPCUA_CLIENT_BASE") function client:initialize(app, conf) self._app = app self._log = app._log self._sys = app._sys self._conf = conf --- All callback from opcua module will run as coroutine task self._co_t...
-- Copyright 2006-2022 Mitchell. See LICENSE. -- Objective C LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, S = lpeg.P, lpeg.S local lex = lexer.new('objective_c') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1)) -- Keywor...
local K, C = unpack(select(2, ...)) local Module = K:GetModule("ActionBar") local _G = _G local table_insert = table.insert local CreateFrame = _G.CreateFrame local hooksecurefunc = _G.hooksecurefunc local InCombatLockdown = _G.InCombatLockdown local NUM_ACTIONBAR_BUTTONS = _G.NUM_ACTIONBAR_BUTTONS local RegisterStat...
local time = require("time") local value = cache:get("unknown") if value then error("must be unknown") end -- set get local err = cache:set("value_set_get", 42) if err then error(err) end local value_set_get = cache:get("value_set_get") if not(value_set_get == 42) then error("value_set_get must be 42, but get: "..tos...
local EventBus = require("engine.shared.EventBus") local UnitFactory = require("engine.unit.UnitFactory") local Starfield = require("engine.world.Starfield") local CollisionHandler = require("engine.world.CollisionHandler") local World = {} World.__index = World function World.new(group) local newWorld = {} loca...
local function get_formspec(fuel_percent, item_percent) return "size[8,8.5]".. default.gui_bg.. default.gui_bg_img.. default.gui_slots.. "list[context;src;2,0.5;2,1;]".. "list[context;fuel;2.5,2.5;1,1;]".. "image[2.5,1.5;1,1;default_furnace_fire_bg.png^[lowpart:".. (100-fuel_percent)..":default_furnace_...
local function chars(text, startIndex, endIndex) local i = startIndex and math.max(startIndex - 1, 0) or 0 local len = endIndex and math.min(endIndex, #text) or #text return function() i = i + 1 return i <= len and string.sub(text, i, i) or nil end end local str = "Hello World" print(...
local config = require("tokyonight.config") local colors = require("tokyonight.colors").setup(config) local util = require("tokyonight.util") local tokyonight = {} tokyonight.normal = { a = { bg = colors.blue, fg = colors.black }, b = { bg = colors.fg_gutter, fg = colors.blue }, c = { bg = colors.bg_statusline,...
--[[ copytape program, provides copying tapes with two tape drives Author: Bs()Dd (uses original "tape" program code by Bizzycola and Vexatos) ]] local component = require("component") local shell = require("shell") local term = require("term") local args, options = shell.parse(...) if not component.isAvailable("tape...
local fail = false print("Test: copy...") local r = a8:copy() if r ~= a8 then print("\tFail: r ~= a8") fail = true end r = r + 7 if r == a8 then print("\tFail: r == a8") fail = true end if a8 ~= uint.u8(19) then print("\tFail: a8 ~= 19") fail = true end if not fail then print("\tPass") ...
local g_LastRedo = 0 local REMOVED_MAPS_ORG_PATH = '[removed_maps]' local RESTORED_MAPS_ORG_PATH = '[restored_maps]' addEvent('onClientDisplayNextMapGuiReq', true) CmdMgr.register{ name = 'removemap', aliases = {'remmap'}, desc = "Removes map from server", cat = 'Admin', accessRight = AccessRight('r...
-- -- Simple message queuing broker -- Same as request-reply broker but using QUEUE device -- -- Author: Robert G. Jakabosky <bobby@sharedrealm.com> -- require"zmq" require"zhelpers" local context = zmq.init(1) -- Socket facing clients local frontend = context:socket(zmq.ROUTER) frontend:bind("tcp://*:5559") -- ...
-- Simple Lua vector module, object-oriented style -- Usage: local Vec = require "vec3" -- v = Vec:new(10,10) -- u = Vec:new(20,30) -- w = u + v invokes __add of u's metatable -- w:norm() invokes mt(w).norm(w) -- -- Still using the environment module pattern. Use a met...
--[[--------------------------------------------------------- Initializes the effect. The data is a table of data which was passed from the server. ---------------------------------------------------------]] function EFFECT:Init(data) self.Ent = data:GetEntity() self.Caliber = self.Ent:GetNWFloat("Caliber", 10...
class "UIManager" { new = function (self) self.components = { SettingsMenu(), PlayerControl(), } end, update = function (self, dt) for k,v in ipairs(self.components) do v:update(dt) end end, draw = function (self) for k,v in ipairs(self.components) do v:draw() end end, getComponents...
-- following options are the default -- each of these are documented in `:help nvim-tree.OPTION_NAME` vim.g.nvim_tree_icons = { default = "", symlink = "", git = { unstaged = "", staged = "S", unmerged = "", renamed = "➜", deleted = "", untracked = "U", ignored = "◌", }, folder = { default = "...
-- Generated by CSharp.lua Compiler return function (path) return System.init({ path = path, files = { "Protocol.AutoGen.CommonPrototype", "Protocol.IProtocol", "Sample.TestCoroutine", "Sample.TestHangingScript", "Sample.TestHelloWord", "Sample.TestProtobuf" }, type...
--GPU: Mouse/Touch Input. --luacheck: push ignore 211 local Config, GPU, yGPU, GPUVars, DevKit = ... --luacheck: pop local events = require("Engine.events") local WindowVars = GPUVars.Window local SharedVars = GPUVars.Shared --==Varss Constants==-- local _HostToLiko = WindowVars.HostToLiko local Verify = SharedVars...
local Class = require("lib.class") local Lovox = require("lib.lovox") local Timer = require("lib.timer") local Vec3 = require("lib.vec3") local World = require("src.world") local Combo = require("src.combo") local Wall = require("src.wall") local Tile = require("src.tile") local Hole = require("src.hole") local Logo...
Tile = {} Tile.__index = Tile local tileColors = {} tileColors[0] = "eee4da" tileColors[2] = "eee4da" tileColors[4] = "ede0c8" tileColors[8] = "f2b179" tileColors[16] = "f59563" tileColors[32] = "f67c5f" tileColors[64] = "f65e3b" tileColors[128] = "edcf72" tileColors[256] = "edcc61" tileColors[512] = "edc850" tileColo...
return { gui = {x=80/2-12*2/2, y=44-6*2-1, width=12*2, height=6*2}, inventory = {{x=0, y=0, width=12, height=6}}, }
showstuffstatus = nil showfriends = nil BHT_position = nil
--[[" desc: 日志辅助类 author: wuyinjie since: 2017-01-08 "]] local skynet = require "skynet" -- 不能引用framework,会有循环引用问题 local machine = require "adapter" local const = require "common.sharedefine.const" local pcall = pcall local format = string.format local error = skynet.error local tostring = ...
--[[ Copyright 2016-2020 The Node.lua Authors. All Rights Reserved. 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 la...
local a=require("cc.expect").expect;local b=require("json")local c=require("sha256")local d={}local e=1;local f,g,h,i,j;local k,l,m=false,false,false;local n={}local function o(p)a(1,p,"string")return{Fire=function(self,...)os.queueEvent(p,...)end,Wait=function(self,q)a(1,self,"table")a(2,q,"number","nil")if q then q=o...
Citizen.CreateThread(function() --About Menu local lastSelectionaboutMenu = 1 while true do if (aboutMenu) then if not IsDisabledControlPressed(1, 173) and not IsDisabledControlPressed(1, 172) then currentOption = lastSelectionaboutMenu else lastSelectionaboutMenu = currentOption end...
Follow = Class(BehaviourNode, function(self, inst, target, min_dist, target_dist, max_dist, canrun) BehaviourNode._ctor(self, "Follow") self.inst = inst self.target = target self.min_dist = min_dist self.max_dist = max_dist self.target_dist = target_dist self.canrun = canrun if...
print("Battleground module") local Battlegrounds = nil -- Трапа раскидывающая рес local HunterTrap = 82939 HeroismIds = { [ 2825] = "Жажда крови", [32182] = "Героизм", [80353] = "Искажение времени", [90355] = "Древняя истерия", [146555] = "Барабаны ярости" }; -- ObjectiveTrackerFrame:Hid...
-- This module provides implementations of all crafts. local CraftingRecipeMethods = {} --------------------------------------------------------------------------------------------------- CraftingRecipeMethods.CRAFT_TYPE = { MODIFY = 1, -- Modify an existing item. Requires UI support to select the item. ...
local lf = love.filesystem return function (editor) return { { icon = 'file.plugin', tip = 'Manage Plugins', press = function (self, cx, cy, cw, ch) local ui = editor.ui local panels = ui.panels local panel = ui.Panel(c...
--Paint roller mod created by Krock --License: WTFPL paint_roller = {} paint_roller.mod_path = minetest.get_modpath("paint_roller") paint_roller.node_colors = {} paint_roller.wear = 65535 / 300 --300 as maximal uses of every paint roller function paint_roller.register_one(node_name, dye_group, pack_name) if not pack...
require("rrpg.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); function newfrmRDF3() __o_rrpgObjs.beginObjectsLoading(); local obj = gui.fromHandle(_obj_newObject("form")); local self = obj; local sheet...
Formatter = require("lua-log-r.formatter.json") formatter = Formatter:new() print(formatter:format({message = "test"}))
---------------------------------------- -- -- DropdownMenu.lua -- -- Creates dropdown-style selection menu. -- ---------------------------------------- local plugin = _G.StudioWidgetsPluginGlobalDistributorObject local GuiUtilities = require(script.Parent.GuiUtilities) local DropdownMenu = {} DropdownMenu.__index = ...
local a, b a = (-1) ^ b a = (-0.0) ^ b a = 2 ^ b
local btnContinue; local btnRestartLevel; local btnSaveAndExit; -- ============================================================================ -- Shows the pause menu when triggered by the user tapping the pause button. -- ============================================================================ function showPaus...
Panels.TextAlignment = { LEFT = kTextAlignment.left, RIGHT = kTextAlignment.right, CENTER = kTextAlignment.center }
JournalatorLogViewResultsRowMixin = CreateFromMixins(AuctionatorResultsRowTemplateMixin) function JournalatorLogViewResultsRowMixin:OnEnter() AuctionatorResultsRowTemplateMixin.OnEnter(self) if self.rowData.itemLink then if string.match(self.rowData.itemLink, "battlepet") then BattlePetToolTip_ShowLink(...
object_building_kashyyyk_poi_kash_rryatt_bridge_s01_60m = object_building_kashyyyk_shared_poi_kash_rryatt_bridge_s01_60m:new { } ObjectTemplates:addTemplate(object_building_kashyyyk_poi_kash_rryatt_bridge_s01_60m, "object/building/kashyyyk/poi_kash_rryatt_bridge_s01_60m.iff")
--taken from my Berserker Pack, which was taken from GMDM /*--------------------------------------------------------- Initializes the effect. The data is a table of data which was passed from the server. ---------------------------------------------------------*/ function EFFECT:Init(data) self....
local Name, Addon = ... Addon.dungeons = { -- De Other Side [29] = { start = {x = 425, y = -120, sublevel = 1} }, -- Halls of Atonement [30] = { start = {x = 696, y = -303, sublevel = 1} }, -- Mists of Tirna Scithe [31] = { start = {x = 768, y = -95, sublevel = 1} }, -- Plaguefall [32] ...
config = require "config" spritelist = require "spritelist" local _M = {} --########################################################## -- Player data --########################################################## -- 7E:09C2 - 7E:09C3 Samus's health function _M.getHealth() local health = memory.read_s16_le(0x09C2) ...
-- local SS = game:GetService("StudioService") local UIS = game:GetService("UserInputService") local RES = game:GetService("RunService") local CHS = game:GetService("ChangeHistoryService") local SEL = game:GetService("Selection") local IS = game:GetService("InsertService") -- local localservices = '\nlocal PS =...
-- -- Main Awesome WM configuration. -- This imports different modules to add functionality. -- package.path = package.path .. ";{{ ansible_env.HOME }}/{{ user_local_confdir }}/awesome/?.lua" local awful = require("awful") require("awful.autofocus") local beautiful = require("beautiful") local naughty = require("naug...
local fs = require('fs') local timer = require('timer') local fiber = require('fiber') fiber.new(function (resume, wait) print("opening...") fs.open(__dirname .. "/../LICENSE.txt", "r", "0644", resume) local err, fd = wait() p("on_open", {err=err,fd=fd}) print("fstatting...") fs.fstat(fd, resume) loca...
config_json = {} function readConfig() local configStr = nil if file.open("config.json", "r") then configStr = file.readline() file.close() end if configStr ~= nil then config_json = sjson.decode(configStr) end end function setConfig(name,val) if file.open("config.js...
--[[ Copyright 2017 Stefano Mazzucco 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 in writin...
local json = require 'cjson.safe' local ENDPOINT = ngx.var.service_endpoint_miniprogram_weixin local URL = { auth = { code2session = '/sns/jscode2session', getPaidUnionId = '/wxa/getpaidunionid', getAccessToken = '/cgi-bin/token', }, analysis = { getDailyRetain = '/datacube/getweanalysisappiddai...
local function havedriver(name) local enabled = config.video_drivers and config.video_drivers[name] return '-D HAVE_'..name:upper()..'='..(enabled and '1' or '0') end cflags{ '-include $dir/config.h', havedriver('intel'), havedriver('nouveau'), havedriver('amdgpu'), '-I $dir', '-I $srcdir', '-I $srcdir/includ...
return { LrSdkVersion = 3.0, LrSdkMinimumVersion = 2.0, LrToolkitIdentifier = 'at.homebrew.lrdavinci', LrPluginName = LOC "$$$/LRDavinci/PluginName=Davinci Resolve", -- Add the Metadata Definition File LrMetadataProvider = 'DavinciMetadataDefinition.lua', -- Add the Metadata Tagset File LrMetadataTagsetFac...
process = { nativehelp = "winNativeHelper", libraryExt = "dll" } local lib64 = string.format("%s64.%s", process.nativehelp, process.libraryExt) local lib32 = string.format("%s32.%s", process.nativehelp, process.libraryExt) local libinit = package.loadlib(lib64, "libinit") or package.loadlib(lib32, "libinit") ...
local wezterm = require 'wezterm'; return { color_scheme = "Smyck", font = wezterm.font("Cascadia Code PL"), font_size = 12.0, line_height = 1.3, animation_fps = 1, enable_tab_bar = false, window_padding = { left = 0, right = 0, top = 0, bottom = 0, } }
local vtmp1 local vtmp2 local qtmp1 local qtmp2 local forward return { init = function() vtmp1 = vec3() vtmp2 = vec3() qtmp1 = quat() qtmp2 = quat() forward = vec3(0, 0, -1) end, type = { __call = function(_, x, y, z, w) return setmetatable({ x = x, y = y, z = z, w = w }, quat) ...
return { version = "1.1", luaversion = "5.1", tiledversion = "v0.15.2-100-gd5be8ea", orientation = "orthogonal", renderorder = "right-down", width = 30, height = 17, tilewidth = 32, tileheight = 32, nextobjectid = 11, properties = { ["areaNameKey"] = "coveArea", ["nextMapRight"] = "cove03....
--sequence.lua local ipairs = ipairs local SUCCESS = luabt.SUCCESS local node_execute = luabt.node_execute local SequenceNode = class() function SequenceNode:__init(...) self.name = "sequence" self.children = {...} end function SequenceNode:run(btree, node_data) for _, node in ipairs(self.c...
local luarpc = require("luarpc") --[[ exemplo de client 1: O cliente abre um proxy, e chama n vezes seguidas a função 'inc' do servidor. Por último, imprime o retorno obtido da última função, demonstrando o valor incrementado Testa a capacidade do servidor de atender diversas vezes seguidas à mesma conexão, sem o proc...
local ItemId = pExodus.ItemId local ItemVariables = pExodus.ItemVariables local game = pExodus.Game pExodus.ItemId.PSEUDOBULBAR_AFFECT = Isaac.GetItemIdByName("The Pseudobulbar Affect") function pExodus.pseudobulbarTurretUpdate() local player = Isaac.GetPlayer(0) for i, entity in pairs(Isaac.GetRoomEntit...
--[=[ Snackbars provide lightweight feedback on an operation at the base of the screen. They automatically disappear after a timeout or user interaction. There can only be one on the screen at a time. @class Snackbar ]=] local require = require(script.Parent.loader).load(script) local qGUI = require("qGUI") loca...
a = 1 b = 2 c = 3
isRunning = true while isRunning do love.thread.getChannel("lock"):supply(-1) if love.thread.getChannel("killThreads"):peek() then break end love.thread.getChannel("lock"):demand() if love.thread.getChannel("killThreads"):peek() then isRunning = not isRunning end end
local g = Rogue -- alias g.curse_message = '' function g.init_pack() g.curse_message = g.mesg[85] end local function check_duplicate(obj, pack) if not (obj.what_is == g.WEAPON or obj.what_is == g.FOOD or obj.what_is == g.SCROL or obj.what_is == g.POTION) then return nil end if (obj.what_is == g.FOOD) ...
print ("Booting..") gpio.mode(0, gpio.INPUT, gpio.PULLUP) gpio.mode(1, gpio.INPUT, gpio.PULLUP) if gpio.read(0) == 0 then print("..aborted") else if file.exists('parameters.lc') then dofile("parameters.lc") else dofile("parameters.lua") end if gpio.read(1) == ...
Elona.ItemDescription = { NoInformation = "There is no information about this object.", ItIsMadeOf = function(materialName) return ("It is made of %s."):format(materialName) end, }
hs.socket = require("hs.socket") hs.timer = require("hs.timer") hs.fnutils = require("hs.fnutils") -- globals for async UDP tests port = 9001 -- constructors function testUdpSocketInstanceCreation() assertIsUserdataOfType("hs.socket.udp", hs.socket.udp.new()) return success() end function testUdpSocketInstanceCr...
local group; local t = Def.ActorFrame{ --group title Def.Sprite { SetMessageCommand=function(self,params) group = params.Text; local so = GAMESTATE:GetSortOrder(); if group then if so == "SortOrder_Group" then if group_name[group] ~= nil then local filePath = THEME:GetPathG("","_jackets/gro...
--[[ @h1@ Osvetlite \(\frac{1}{2}\) svih krugova na razlicite nacine @/h1@ ]]-- style = {["width"] = 100, ["height"] = 100, ["ratio"] = 0.4, ["color"] = "aaf"}; solution = "" for i = 0, 11 do if i < 6 then solution = solution.."solution["..tostring(i).."]=1;" else solution = solution...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('XTemplate', { group = "Infopanel Sections", id = "customPowerDecoy", PlaceObj('XTemplateGroup', { '__context_of_kind', "PowerDecoy", }, { PlaceObj('XTemplateTemplate', { 'comment', "turn to metals", '__template', "InfopanelButton...
return function() local function createComponent(className) return { className = className, } end local ActionType = require(script.Parent.ActionType) local replicate = require(script.Parent.replicate) local function setShouldReplicate(value) replicate.shouldReplicate = value end describe("WHEN requir...
--- --- Modules的定义 --- local Modules = {} Modules.moduleList = { ---require("Modules.Login.Module.LoginModule") } return Modules
ESX = nil local base64MoneyIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8...
godmode = false; godmodeCount = 0; playerVisible = true; playerVisibleCount = 1; nowantedlevel = false; nowantedlevelCount = 0 superjump = false; stamina = false; supermanmode = false; WantedLevel = 0; maxWantedLevel = 5; Run = 1.0; Swim = 1.0 local animPlay, animDict, animName, pistol, changePedByName, mChar, fChar,...
--------------------------------------------- -- Earthen Ward --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------------- function onAbilityChec...
local app_name = "v2ray_server" local uci = require "luci.model.uci".cursor() local d = require "luci.dispatcher" local header_type = {"none", "srtp", "utp", "wechat-video", "dtls", "wireguard"} map = Map(app_name, "V2ray " .. translate("Server Config")) map.redirect = d.build_url("admin", "vpn", "v2ray_server") t =...
local amqp = require("amqp") local json = require("json") local base64 = require("base64") -- Server identifier to tag messages with local server_id = "testing-area" local ctx = amqp:new({ role = 'producer', exchange = 'cs2d', routing_key = 'chat', ssl = false, }) ctx:connect("rabbitmq", 5672) ctx:set...
player_manager.AddValidModel( "PMC3_03", "models/player/PMC_3/PMC__03.mdl" ) list.Set( "PlayerOptionsModel", "PMC3_03", "models/player/PMC_3/PMC__03.mdl" )
local nlsp = require("lspconfig") local M = {} M.setup = function(config, _, opts) config.cmd = { "lua-language-server" } -- nix installed wraps all of the comamnd line args needed config.root_dir = function(filename, _) local cwd = vim.fn.getcwd() if string.match(cwd, "nyx/config/.config") then ret...
RegisterNetEvent('cnr:police_imprison') RegisterNetEvent('cnr:player_respawn') RegisterNetEvent('cnr:prison_release') RegisterNetEvent('cnr:prison_rejail') RegisterNetEvent('cnr:death_notify') local locksound = false local hNear = 0 local hasInsurance = false local passiveMode = false local notified ...
local util = require "pallene.util" local benchlib = {} benchlib.DEFAULT_LUA = "./vm/src/lua" -- @param lua_path: Lua interpreter to use -- @param benchmark_path: Path to the benchmark file -- -- Compiles the benchmark program (if necessary) and then -- reeturns a command-line string that will run the benchmar...
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
local mod = getfenv(1) assert(mod) --module(mod._NAME..".EXARCH_MALADAAR",package.seeall) local self = getfenv(1) function OnCombat(unit) self[tostring(unit)] = { ribbon = math.random(2,5), scream = math.random(5,10), avatar = true, ssteal = 1 } local say_text = math.random(3) if(say_text == 1) then unit...
function SpawnPoints() return { constructionworker = { { worldX = -2 + 3, worldY = -14 + 44, posX = 49, posY = 191, posZ = 0 }, { worldX = -2 + 3, worldY = -14 + 44, posX = 80, posY = 293, posZ = 0 }, { worldX = -2 + 3, worldY = -14 + 44, posX = 160, posY = 223, posZ = 0 }, { worldX = -2 + 3, worldY =...
--[[ Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE) 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 ...
assert(false, "Yep, assert works.");
brokeAllowance_titleText=[[距离免费救济时间还剩:]] brokeAllowance_hour_1=[[9]] brokeAllowance_hour_2=[[9]] brokeAllowance_minute=[[9]] brokeAllowance_second=[[9]] brokeAllowance_centre_point=[[:]] brokeAllowance_text=[[领取救济]] brokeAllowance_text1=[[今日救济已被领光]] brokeAllowance_text2=[[正在拉取破产信息]] brokeAllo...
settings.define("lupus590.barrel_filler.input_chest", { description = "The peripheral name of the chest to input from.", type = "string", }) settings.define("lupus590.barrel_filler.output_chest", { description = "The peripheral name of the chest to output into.", type = "string", }) settings.define("l...
-- Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen -- Distributed under the MIT License. -- (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) local boy function create_boy() local boy = rainbow.skeleton("data/spineboy.json", 0.4) boy:set_animation_mix("idle", "...
-------------------------------------------------------------------------------- -- Module Declaration -- local mod, CL = BigWigs:NewBoss("Xeri'tac", 1279, 1209) if not mod then return end mod:RegisterEnableMob(84550) mod.engageId = 1752 mod.respawnTime = 20 ----------------------------------------------------------...
shell.run("wget CloudGet.madefor.cc CloudGet")
------------------------- -- copyright by bhgv 2016 ------------------------- return { name = "runtime custom gcode changer", type = "plugin", subtype = "Filter", gui = "button", image = nil, symbol = "\u{e0b9}", exec = function(self, cmd, pars) --for k,v in pairs(pars) do -- print("execk "...
-- Neuron is a World of Warcraft® user interface addon. -- Copyright (c) 2017-2021 Britt W. Yazel -- Copyright (c) 2006-2014 Connor H. Chenoweth -- This code is licensed under the MIT license (see LICENSE for details) ---@class MENUBTN : BUTTON @define class MENUBTN inherits from class BUTTON local MENUBTN = setmetata...
-- Editors: -- Shush, 01.04.2017 ------------------------------------------------- -- IMPALE -- ------------------------------------------------- imba_nyx_assassin_impale = class({}) LinkLuaModifier("modifier_imba_impale_suffering_aura", "components/abilities/heroes/hero_nyx_a...
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification OpenAPI spec version: 1.0.1 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapi-client.model.hudson Automatically generated by openapi-generator (https://openapi-gene...
--[[ Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. ]]-- local tnt ...