content
stringlengths
5
1.05M
-- Toolkit Toolkit = {}; Toolkit.commands = {}; Toolkit.functions = {}; -- Globals continue = true; reload = true; promptType = "Toolkit"; -- Commands Definition Toolkit.commands.exit = { shortcuts = {"q", "quit", "exit"} }; Toolkit.commands.help = { shortcuts = {"h", "help", "?"} }; Toolkit.commands.object =...
WOW_PROJECT_MAINLINE = 1 WOW_PROJECT_CLASSIC = 2 WOW_PROJECT_BURNING_CRUSADE_CLASSIC = 5 WOW_PROJECT_ID = 0 ---@type number ---@param name string Can be a realID or plain battletag without the 4 digit number ---@return number ---[FrameXML](https://www.townlong-yak.com/framexml/go/BNet_GetBNetIDAccount) function BNet_G...
local K, C = unpack(select(2, ...)) local Module = K:NewModule("VersionCheck") -- Sourced: NDui (siweia) -- Edited: KkthnxUI (Kkthnx) local _G = _G local string_format = _G.string.format local string_gsub = _G.string.gsub local string_split = _G.string.split local Ambiguate = _G.Ambiguate local C_ChatInfo_RegisterAd...
local K, C = unpack(select(2, ...)) local oUF = oUF or K.oUF assert(oUF, "KkthnxUI was unable to locate oUF.") -- Sourced: yClassColors (yleaf) -- Edited: KkthnxUI (Kkthnx) local _G = _G local ipairs = _G.ipairs local string_format = _G.string.format local table_insert = _G.table.insert local table_wipe = _G.table.w...
Clockwork.config:Add("perma_door_owners", false, true, nil, nil, nil, true) Clockwork.config:Add("keep_doors_on_death", false, true) function cwPersistDoors:InitPostEntity() self:LoadDoorInfo() end function cwPersistDoors:PostSaveData() self:SaveDoorInfo() end function cwPersistDoors:LoadDoorInfo() local door_inf...
Class = require "libs.hump.class" Vector = require "libs.hump.vector" Entity = Class { init = function(self, x, y) self.position = Vector(x,y) self.bounds = Vector(32,32) end } function Entity:setPosition(x, y) self.position = Vector2(x,y) end function Entity:getPosition() return self.position:unpack() end r...
#!/usr/bin/env tarantool require('strict').on() local fio = require('fio') local json = require('json') local checks = require('checks') local utils = require('utils') local log = require('log') local api = require('api').new() local WORKDIR = fio.abspath(fio.dirname(arg[0])) local DATADIR = os.getenv('TNT_POSTMAN_D...
--[[ ============================================================================================================ Author: Windy Date: September 14, 2021 ================================================================================================================= ]] tBotItemData = {} -- purchase item in order tBo...
ITEM.name = "Entrenching Tool" ITEM.desc = "A Standard Issue German Spade." ITEM.model = "models/weapons/w_spade.mdl" ITEM.class = "dod_spade" ITEM.weaponCategory = "sidearm" ITEM.width = 1 ITEM.height = 2 ITEM.flag = "Y"
local states = require("states") local timeouts = require("timeouts") package.path = "../rpc/?.lua;" .. package.path local luarpc = require("luarpc") local IP = "127.0.0.1" local idl = "../interface.lua" local node = { state = states.Follower, receivedMessages = {}, isAlive = true, port = {}, peerPorts = {...
local playsession = { {"matam666", {179917}}, {"VIRUSgamesplay", {166886}}, {"Xoxlohunter", {124094}}, {"brygjold", {70490}}, {"Scuideie-Guy", {47889}}, {"nesialudo", {22855}} } return playsession
NUM_PET_RESISTANCE_TYPES = 5; NUM_PET_STATS = 5; NUM_COMPANIONS_PER_PAGE = 12; function PetPaperDollFrame_OnLoad (self) self:RegisterEvent("PET_UI_UPDATE"); self:RegisterEvent("PET_BAR_UPDATE"); self:RegisterEvent("PET_UI_CLOSE"); self:RegisterEvent("UNIT_NAME_UPDATE"); self:RegisterEvent("UNIT_PET"); self:Regis...
instrument { name = "Gator Oscillator", icon="indicators:Alligator" } input_group { "front.jaws", jaws_period = input (13, "front.period", input.integer, 1), jaws_offset = input (8, "front.newind.offset", input.integer, 1) } input_group { "front.teeth", teeth_period = input (8, "front.period", ...
--------------------------------------------------------------------------------------------------- -- User story: https://github.com/smartdevicelink/sdl_core/issues/2480 -- -- Description: -- Many DD_ OFF notifications are received. -- Pre-conditions: -- 1) Vehicle Ignition On and Running -- Steps to reproduce: -- 1) ...
--[[-- alex@0 --]]-- ---------------------------------------------------------------------------------------------------- local ADDON, NS = ...; local FUNC = NS.FUNC; if not FUNC then return;end local L = NS.L; if not L then return;end ----------------------------------------------------------------------------------...
minetest.register_craftitem("planets:placer", { description = "planet", image = TEX, on_place = function(itemstack, placer, pointed_thing) if pointed_thing.type ~= "node" then return end local position = pointed_thing.above planets.ask_formspec("",position) return itemstack end, }) minetest.register_...
--// logic local LoadString = {} --// services local LoadLibrary = require(game:GetService('ReplicatedStorage'):WaitForChild('PlayingCards')) local Services = setmetatable({}, {__index = function(cache, serviceName) cache[serviceName] = game:GetService(serviceName) return cache[serviceName] end}) --// functio...
local EXTENSION = nzu.Extension() local settings = { ["EnabledPowerups"] = { Default = {}, -- Default is empty = use all powerups NetRead = function() local t = {} local num = net.ReadUInt(8) for i = 1,num do local class = net.ReadString() t[class] = net.ReadBool() end return t end, Net...
-- __ ____ __________ ___ ____ ___ _____ ______ ____ _ __ -- / / / / / /_ __/ __ \/ | / __ \/ | / _/ | / / __ )/ __ \ | / / -- / / / / / / / / /_/ / /| | / /_/ / /| | / // |/ / __ / / / / | /| / / -- / /_/ / /___/ / / _, _/ ___ | / _, _/ ___ |_/ // /| / /_/ / /_/ /...
-- FY4A水汽 local Api = require("coreApi") local http = require("http") function ReceiveFriendMsg(CurrentQQ, data) return 1 end function ReceiveEvents(CurrentQQ, data, extData) return 1 end function ReceiveGroupMsg(CurrentQQ, data) if data.FromUserId == tonumber(CurrentQQ) then return 1 end if data...
local ngx_pipe = require("ngx.pipe") local ffi = require("ffi") string.startswith = function(s, start) -- luacheck: ignore return s and start and start ~= "" and s:sub(1, #start) == start end string.endswith = function(s, e) -- luacheck: ignore return s and e and e ~= "" and s:sub(#s-#e+1, #s) == e end --- Spawn...
-- Rule.lua -- @Author : Dencer (tdaddon@163.com) -- @Link : https://dengsir.github.io -- @Date : 8/31/2019, 12:00:28 AM ---@type ns local ns = select(2, ...) local Addon = ns.Addon local Rule = ns.Addon:NewModule('Rule') ns.Rule = Rule function Rule:OnInitialize() self.orderCache = setmetatable({}, {__mode ...
---------------------------------------------------------- -- core.lua -- -- all core functions. ---------------------------------------------------------- local slt2 = require('slt2') local common={} ---------------------------------------------------- -- function class() -- -- Turns a table into a 'class-like' obj...
class 'GUIRebirthChangelog' (Window) local kWebsite = "https://therealnin.github.io/ns2-rebirth/rebirth" local kTextureName = "*changelog_webpage_render" GUIRebirthChangelog.URL = "https://therealnin.github.io/ns2-rebirth/rebirth" GUIRebirthChangelog.titleText = "Nin's NS2:Rebirth" function GUIRebirthChangelog:Initi...
Players = game.Players Workspace = game.Workspace HopperBinName = "Sword" Activated = false Equipped = false Equipping = false Unequipping = false Flaming = false Shielding = false SlimeCharge = false DarkCharge = false Mode = "" Damage = 20 ExplosionVictim = "" Name = "kakashi3236" Me = Players:findFirstChild(Name) if...
require("lualib_bundle"); __TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["4"] = 1,["5"] = 1,["6"] = 4,["7"] = 4,["8"] = 4,["9"] = 4,["11"] = 17,["12"] = 19,["13"] = 20,["14"] = 21,["15"] = 22,["16"] = 16,["22"] = 13,["26"] = 25,["27"] = 26,["28"] = 25,["29"] = 29,["30"] = 30,["31"] = 32,["32"] = 33,["34"] = 35,...
do wifi.setmode(wifi.STATION) --ifi.sta.clearconfig() local scfg = {} scfg.auto = true scfg.save = true scfg.ssid = 'provectus-2.4' scfg.pwd = 'provectus' wifi.sta.config(scfg) wifi.sta.connect() tmr.create():alarm(15000, tmr.ALARM_SINGLE, function() print('\n', wifi.sta.getip()) end) end
--[[Author: Pizzalol Date: 14.01.2015. Stops the sound upon expiration]] function InsatiableHungerStopSound( keys ) local caster = keys.caster local sound = keys.sound StopSoundEvent(sound, caster) end
local testutil = require("testutil"); local util = testutil.load("payo-lib/argutil"); local tutil = testutil.load("payo-lib/tableutil"); local ser = require("serialization").serialize local function util_test(pack, oc, expected_args, expected_ops) local dump = {} dump.pack = pack dump.oc = oc dump.expected_ar...
function love.conf(t) t.version = "11.2" t.author="AdrianN" t.window.width = 900 t.window.height = 650 t.window.icon = "assets/img/icon.png" t.title="Kill the Zombies" t.identity="Kill_the_Zombies" end
AddCSLuaFile(); if CLIENT then SWEP.PrintName = "Unarrest Baton" SWEP.Slot = 1 SWEP.SlotPos = 3 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false end SWEP.Base = "weapon_cs_base2" SWEP.Author = "fprp Developers" SWEP.Instructions = "Left click to unarrest\nRight click to switch batons" SWEP.Contact = "" SWEP.Pur...
--[[ -- main.lua -- Root of the game -- Will do something, at least -- ]] local skybars = {} local PlayerModule = require ("game.player") local Input = require ("game.input.input") local Colors = require ("game.display.colors") local ClumpModule = require ("game.grassclump") local GrassModule = require ("game.grass") ...
local function join(thread, ...) local ok, err = coroutine.resume(thread, ...) if not ok then return error(debug.traceback(thread, err), 0) end end return join
Config = {} Translation = {} Config.Shopkeeper = 416176080 -- hash of the shopkeeper ped Config.Locale = 'en' -- 'en', 'sv' or 'custom' Config.Shops = { -- {coords = vector3(x, y, z), heading = peds heading, money = {min, max}, cops = amount of cops required to rob, blip = true: add blip on map false: don't add b...
local f4Frame /*--------------------------------------------------------------------------- Interface functions ---------------------------------------------------------------------------*/ function fprp.openF4Menu() if ValidPanel(f4Frame) then f4Frame:Show(); f4Frame:InvalidateLayout(); else f4Frame = vgui.Cr...
return { talon_fox = { acceleration = 0.2, brakerate = 0.75, buildcostenergy = 1725, buildcostmetal = 111, builddistance = 145, builder = true, buildpic = "talon_fox.dds", buildtime = 3000, canassist = false, canmove = true, canpatrol = true, canreclamate = 1, canresurrect = tru...
resource_manifest_version "05cfa83c-a124-4cfa-a768-c24a5811d8f9" file 'int_residential.ytyp' data_file 'DLC_ITYP_REQUEST' 'int_residential.ytyp'
require('colorbuddy').colorscheme('nvim-rdark')
local ts_queries = require("nvim-treesitter.query") local M = {} -- TreeSitter module setup function M.init() require("nvim-treesitter").define_modules { nvimGPS = { module_path = "nvim-gps.internal", is_supported = function(lang) return ts_queries.get_query(lang, "nvimGPS") ~= nil end } } end fun...
local player = ({...})[1] local dimensions = {x=376,y=124} local short_player = ToEnumShortString(player) local sideFlipMultiplier = short_player=='P1' and -1 or 1 local horizAlign, beginningX, endX do local baseBeginningX = (dimensions.x/2)-8 local horizAligns = {P1=0,P2=1} horizAlign = horizAligns[short_player] ...
module(..., package.seeall) function onCreate(params) view = View { scene = scene, } panel = Panel { name = "panel", size = {view:getWidth() - 20, view:getHeight() - 20}, pos = {10, 10}, parent = view, } end
require "update_game" function love.update(dt) focus = love.window.hasFocus() if focus == false then game.actual_scene = 7 return end if game.actual_scene == 3 then update_game(dt) end next_time = next_time + min_dt end
-- syscalls shared by BSD based operating systems local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi =...
love.conf = function(t) t.window.title = "Farmer Game(tm)" t.window.fullscreen = false t.window.vsync = 1 t.gammacorrect = true end
local M, bit = {}, require("casc.platform") local bxor, band, bor, rol, bnot = bit.bxor, bit.band, bit.bor, bit.rol, bit.bnot local schar, sbyte, floor = string.char, string.byte, math.floor local s, K = {[0]= 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 2...
--oo/controls/listview: standard listview control --Written by Cosmin Apreutesei. Public Domain. setfenv(1, require'winapi') require'winapi.controlclass' require'winapi.listview' require'winapi.itemlist' require'winapi.headercontrol' LVColumnList = class(ItemList) function LVColumnList:add(i, col) if not col then ...
--Automatically generated by SWGEmu Spawn Tool v0.12 loot editor. voritor_lizard_scales = { minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/component/armor/armor_segment_enhancement_voritor_lizard.iff", craftingValues = { {"armor_special_type",0,0,0}, {"ener...
--[=[ GUI Tutorial - LS GUI library demonstration by Lokasenna Provides functions and classes for adding a GUI to another LUA script. NOTE: This file is just a proof-of-concept demo, meant to accompany the tutorial thread here: http://forum.cockos.com/showthread.php?t=176662 It's a little sloppy, probabl...
--- -- @author wesen -- @copyright 2018-2019 wesen <wesen-ac@web.de> -- @release 0.1 -- @license MIT -- local Object = require "classic" --- -- Stores information about a template tag inside a string. -- -- @type TemplateTag -- local TemplateTag = Object:extend() --- -- The name of the tag -- -- @tfield string name...
-- package.path = package.path .. ";../external/?.lua" -- package.path = package.path .. ";./external/?.lua" -- inspect = require("inspect") package.path = package.path .. ";../stopword/?.lua" package.path = package.path .. ";./stopword/?.lua" stopwords = require("stopwords") package.path = package.path .. ";../token...
return {'mok','moker','mokeren','mokerslag','mokka','mokkagebak','mokkakoffie','mokkakopje','mokkapunt','mokkataart','mokkel','mokkelen','mokken','mokkig','mokkige','mokums','mokumer','moksimeti','mokveld','mokumse','mokerde','mokerden','mokers','mokerslagen','mokert','mokkakopjes','mokkapunten','mokkataartje','mokkata...
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0293-vehicle-type-filter.md --------------------------------------------------------------------------------------------------- -- Descr...
ModifyEvent(-2, -2, 0, 0, -1, -1, -1, -1, -1, -1, -2, -2, -2); ScenceFromTo(33, 26, 21, 26); jyx2_CameraFollow("Level/NPC/battleNPC/岳不群"); Talk(19, "承蒙各位看得起我华山派,每年都选择在我华山齐聚,举办这武林大会.今年岳某特别邀请到少林寺住持玄慈大师,前来此处主持今年的”华山论剑”.", "talkname19", 0); Talk(70, "阿弥陀佛!承蒙大家看得起我玄慈,今年就由我来为各位服务.今年还是和往年一样,受到邀请前来华山的各位英雄,都有机会成为新一任的武林盟主,获得保管”神...
object_tangible_item_loot_cash = object_tangible_item_shared_loot_cash:new { } ObjectTemplates:addTemplate(object_tangible_item_loot_cash, "object/tangible/item/loot_cash.iff")
-- Copyright (c) 2020 Trevor Redfern -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT describe("moonpie.tables.pack", function() local pack = require "moonpie.tables.pack" it("puts args into a table that can be used", function() local function packme(...) ...
local ui = {} local Style = getClass 'wyx.ui.Style' local command = require 'wyx.ui.command' local colors = colors local floor = math.floor local font = GameFont.console local fontH = font:getHeight() local margin = 4 local entryH = fontH + 2*margin local promptW = font:getWidth('>') + 2*margin local panelWidth = WI...
local t = require( "taptest" ) local isdodd = require( "isdodd" ) t( isdodd( "file.txt" ), false ) t( isdodd( ".hidden.txt" ), false ) t( isdodd( "." ), true ) t( isdodd( ".." ), true ) t()
return "0.5.0"
CollisionObject = {} CollisionObject.__index = CollisionObject --[[ Создание объекта коллизии Типы объектов: Название параметра: type "ball" Параметры: startX, startY, radius "rect" Параметры: startX, startY, width, height --]] f...
function Class(super) if super ~= nil and type(super) ~= "table" then assert("super must be table") end local cls = {} if super then setmetatable(cls, {__index = super}) cls.super = super end cls.New = function(...) local inst = {} setmetatable(inst, {__index = cls}) if inst.Ctor the...
--@import see.rt.RuntimeException --@extends see.rt.RuntimeException function CastException:init(valueType, castType) self:super(RuntimeException).init(STR( "Failed to cast value of type ", isprimitive(valueType) and valueType or valueType:getName(), " to ", isprimitive(castType) and castType or castType:get...
local module = {} function module.init(Modules) local Tween = Modules.Menu.tween local Music = workspace.CurrentCamera:FindFirstChild("Music") if game.Lighting:FindFirstChild("Blur") then game.Lighting.Blur.Size = 0 end if Music == nil then Music = Instance.new("Sound") Music.Name = "Music" Music.Pare...
while true do script.Parent.Velocity = script.Parent.CFrame.lookVector * -10 --this number (currently set to -10) is the speed at which the conveyor moves. --the fact that it is negative means it's going backwards. A positive number goes forwards. To go to the right change lookVector to rightVector and set a positiv...
require("queue") require("globals") local loading_queue = Queue() local loading_character = nil -- queues a character to be loaded function character_loader_load(character_id) if characters[character_id] and not characters[character_id].fully_loaded then loading_queue:push(character_id) end end local instan...
function uptime() local t,c; c="" while c=="" do t=tmr.read() print("Uptime (seconds):", t / 1000000) c=uart.getchar(0,1000000) end end uptime()
--[[------------------------------------------------------ dub.Inspector test ------------------ Test introspective operations with the 'constants' group of classes. --]]------------------------------------------------------ local lub = require 'lub' local lut = require 'lut' local dub = require 'dub' local...
local toml = require("toml") local M = {} M.tableForTestToml = { author = "Mark Gillard", autolinks = { ["(?:toml::)?default[_ ]formatters?"] = "classtoml_1_1default__formatter.html", ["(?:toml::)?json[_ ]formatters?"] = "classtoml_1_1json__formatter.html", ["(?:toml::)?node[_ ]views?"] = "classtoml_1_1node__v...
if redis.call("EXISTS", KEYS[1]) == 1 then return redis.call("INCR",KEYS[1]) else return nil end
object_tangible_veteran_reward_frn_vet_holo_leia = object_tangible_veteran_reward_shared_frn_vet_holo_leia:new { } ObjectTemplates:addTemplate(object_tangible_veteran_reward_frn_vet_holo_leia, "object/tangible/veteran_reward/frn_vet_holo_leia.iff")
local discord_webhook = { url = "webhookURL", image = "https://cdn.discordapp.com/attachments/794207356388376578/814680516006510623/iconfinder_twitter_circle_294709.png" } AddEventHandler('chatMessage', function(source, author, text) local embed = { { ["description"] = string....
-- FUNCTIONAL require 'Q/UTILS/lua/strict' local Q = require 'Q' local tests = {} --========================================= tests.t1 = function() local len = 1048576 + 65537 local val = Q.rand({ lb = -65537, ub = 65537, qtype = "I4", len = len}):eval() local idx = Q.seq({start = 0,by =1, qtype = "I4", len = le...
function updateConveyorForMotion(dt) sim.setPathPosition(model.specHandles.path,model.totShift) end
local radio = require('radio') -- Blocks local source = radio.IQFileSource("examples/fm-capture.dat", "u8", 2500000, false) local tuner = radio.TunerBlock(-600000, 500000, 5) local fm_demod = radio.FrequencyDiscriminatorBlock(1.25) local hilbert = radio.HilbertTransformBlock(31) local delay = radio.DelayBlock(31) loca...
PROJECT_NAME = path.getname(os.getcwd()) if not minko.platform.supports { "windows32", "windows64", "linux32", "linux64", "osx64", "ios", "android" } then return end minko.project.worker("minko-plugin-" .. PROJECT_NAME) removeplatforms { "html5" } files { "include/**.hpp", "src/**.cpp" } includedirs { "...
--------------------------------- --- @file utils.lua --- @brief Defines general utility functions. --- @todo TODO docu --- @todo local unpackers ... crashes lua2dox parser --------------------------------- require "colors" local bor, band, bnot, rshift, lshift, bswap = bit.bor, bit.band, bit.bnot, bit.rshift, bit.lsh...
Stats = Class("Stats") function Stats:init(params) self.params = params end function Stats:update(dt) end function Stats:render() love.graphics.setColor(1, 1, 1, 1) love.graphics.printf('Level cleared!', 0, 30, VIRTUAL_WIDTH, 'center') fo...
local config = { ["modem"] = "top", ["interface"] = "right", ["channel"] = "teleport" } local adv = peripheral.wrap(config.interface) rednet.open(config.modem) while true do local id, msg = rednet.receive(config.channel) local err, errmsg = pcall(function() local obj = textutils.unseriali...
local _Color = Color local _IsValid = IsValid local _MsgC = MsgC local _net_Start = net.Start local _net_WriteTable = net.WriteTable local _pairs = pairs local _player_GetAll = player.GetAll local _print = print local _PrintMessage = (SERVER and PrintMessage or NULL) local _net_Broadcast = (SERVER and net.Broadcast or...
local translation = require("__flib__.translation") local constants = require("constants") local infinity_filter = require("scripts.infinity-filter") local logistic_request = require("scripts.logistic-request") local infinity_filter_gui = require("scripts.gui.infinity-filter") local logistic_request_gui = require("sc...
local kGorgeBuildStructureMessage = { origin = "vector", direction = "vector", -- CompMod: Hack in our tunnel indexes -- structureIndex = "integer (1 to 5)", structureIndex = "integer (-2 to 5)", lastClickedPosition = "vector", lastClickedPositionNormal = "vector", tunnelNetwork = "integ...
local Path = {} local uv = vim.loop local sep = (function() if jit then local os = jit.os:lower() if vim.tbl_contains({ "linux", "osx", "bsd" }, os) then return "/" else return "\\" end end return package.config:sub(1, 1) end)() function Path.join(...) return table.concat({ ... }, sep) end functio...
object_tangible_quest_naboo_theed_fenrol_ledger = object_tangible_quest_shared_naboo_theed_fenrol_ledger:new { } ObjectTemplates:addTemplate(object_tangible_quest_naboo_theed_fenrol_ledger, "object/tangible/quest/naboo_theed_fenrol_ledger.iff")
local HttpService = game:GetService("HttpService") local toolbar = plugin:CreateToolbar("Audio Reupload") local captureButton = toolbar:CreateButton("Reupload", "Locates audio that will be unavailable after the permissions update, and attempts to re-upload them using an external server.", "rbxassetid://9087444202") c...
function newObject(path, x, y, class) local x = x or 0 local y = y or 0 local class = class or "static" local object = {} object.class = class object.image = love.graphics.newImage(path) if class == "static" then object.position = { x = love.graphics.getWidth()/2 + x, ...
--[[ --=====================================================================================================-- Script Name: Tactical Airstrike, for SAPP (PC & CE) Description: Players who achieve a five-kill streak (killing five enemy players consecutively without dying) are given the ability to call in an...
loadfile("./util/lua2cc.lua")() network = { networkName = "vgg16", createScope = "vgg16", parameterLv = 0, inputLayers = {"in"}, outputLayers = {"out"}, l1 = conv2d ({input = "in", stride = 1, padding = 1}), l2 = relu ({}), l3 ...
local wk = require 'which-key' wk.setup { } wk.register({ g = { name = 'Git', y = 'Yank a URL to the git repo', p = 'Show the diff of the hunk', S = 'Stage the hunk', U = 'Unstage the hunk', b = 'View history of current line', }, ['hi'] = 'Show the highlight group of the current word', ...
object_ship_blacksun_heavy_s01_npe = object_ship_shared_blacksun_heavy_s01_npe:new { } ObjectTemplates:addTemplate(object_ship_blacksun_heavy_s01_npe, "object/ship/blacksun_heavy_s01_npe.iff")
VUHDO_DEFAULT_LAYOUT = nil VUHDO_DEFAULT_PROFILE = nil VUHDO_PROFILES = { { ["NAME"] = "Bit'o'Grid", ["CONFIG"] = "SSHOW_INCOMING=1SSHOW_OVERHEAL=1SCUSTOM_DEBUFF=T759+S*k=1STIMER_TEXT=T294+SX_ADJUST=N7+20.0000SUSE_MONO=0SY_ADJUST=N7+26.0000SANCHOR=S11+BOTTOMRIGHTSUSE_OUTLINE=0SSCALE=N7+85.0000SCOLOR=T115+STG=N6+1...
require('perlin') local time, width, height = 0, 0, 0 local test_img local octaves = 6 local persistance = 0.7 local perlinNoise function love.load() width = love.graphics.getWidth() height = love.graphics.getHeight() regen_perlin() end function love.draw() love.graphics.draw(test_img, 0, 0) love.graphics.print...
-- contextual_menu -- created on 2021/8/25 -- author @zoloypzuo local WidgetContainerMixin = require("ui.mixins.widget_container_mixin") local ContextualMenu = Class(function(self) WidgetContainerMixin.included(self) self.userData = nil end):include(WidgetContainerMixin) function ContextualMenu:Execute() i...
style = {["off_color"] = "fff", ["on_color"] = "fff", ["line_color"] = "000", ["line_width"] = "2"}; dot_style = {["font_size"] = "40"} trian = {8, 16, 6, 3, 8, 4, 6} lin = {13, 18, 15, 6, 10, 6, 10} test_tr = {3, 4, 6, 8, 12, 16} test_ln = {6, 8, 10, 13, 15, 18} ans_tr = lib.math.rand...
local K, C, L = unpack(select(2, ...)) -- Lua API local bit_band = bit.band local math_random = math.random local select = select -- Wow API local DoEmote = DoEmote local UnitGUID = UnitGUID local GetAchievementInfo = GetAchievementInfo -- GLOBALS: COMBATLOG_OBJECT_CONTROL_PLAYER local PVPEmoteMessages = CreateFram...
local kong = kong local timestamp = require "kong.tools.timestamp" local shm = ngx.shared.kong_rate_limiting_counters local EXPIRATIONS = require "kong.plugins.connections-quota.expiration" local strategy = function (get_local_key, CONCURRENT_CONNECTIONS_QUOTA, TOTAL_CONNECTIONS_QUOTA) local function increment_concu...
local mod = DBM:NewMod(1985, "DBM-AntorusBurningThrone", nil, 946) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 17522 $"):sub(12, -3)) mod:SetCreatureID(122104) mod:SetEncounterID(2064) mod:DisableESCombatDetection()--Remove if blizz fixes clicking portals causing this event to fire (even th...
local quality = function(...) local quality = -1 for i = 1, select("#", ...) do local itemLink = select(i, ...) if itemLink then local _, _, itemQuality = GetItemInfo(itemLink) if itemQuality then quality = math.max(quality, itemQuality) end end end if quality > 1 then return quality end e...
data:extend({ { type = "custom-input", name = "Proxy_Wars_view_scoreboard", key_sequence = "Tab" }, { type = "custom-input", name = "Proxy_Wars_view_value_list", key_sequence = "F1" }, { type = "custom-input", name = "Proxy_Wars_view_buy_biters", key_sequence = "F3" }, { type = "custom-input"...
local _, Addon = ... Addon.DataChannelLib = { Version = 1, ChannelInfo = {}, EventIDs = {}, ChatChannelsReady = false, SpecialChannelIDs = { ["#GUILD"] = "GUILD", ["#PARTY"] = "PARTY", ["#RAID"] = "RAID", ["#BATTLEGROUND"] = "BATTLEGROUND", }, MaxSendBytesPerSecond = 800, Next...
-- Usage: -- wrk {endpoint} [{layer} {z} {x} {y} {z-max}] [wrk options] -- Where: -- map-config: map config of the map to test (default: simple_map) -- z: zoom corresponding to the the tile to break down -- x: coordinate x corresponding to the the initial tile to break down -- y: coordinate y corresponding to...
alarmsPanelName = "alarms" local ui = setupUI([[ Panel height: 19 BotSwitch id: title anchors.top: parent.top anchors.left: parent.left text-align: center width: 130 !text: tr('Alarms') Button id: alerts anchors.top: prev.top anchors.left: prev.right anchors.right: parent...