content
stringlengths
5
1.05M
return require('luaossl.x509.verify_param')
--Script Name : ArrowRight.lua --Author : Jean Loup Pecquais --Description : take care of right arrow action depending of context --v1.0.0 local libPath = reaper.GetExtState("Reaper Evolution", "libPath") if not libPath or libPath == "" then reaper.MB("Reaper Evolution library is not found. Please refer to user gu...
local BanDatabase = game:GetService("DataStoreService"):GetDataStore("BanData") local module = require(script:WaitForChild("ModuleScript")) local TimebanModule = require(script:WaitForChild("ModuleTimeban")) game.ReplicatedStorage:WaitForChild("RACBan").OnServerEvent:Connect(function(player,Username,Reason,Ban...
local Tunnel = module("_core", "lib/Tunnel") local Proxy = module("_core", "lib/Proxy") cAPI = Proxy.getInterface("API") API = Tunnel.getInterface("API") local hash local nearestPlayers local spotPool = { vec3(-374.009,724.092,116.359), -- Criar posse em um lugar } local closestSpotIndex local prompt local pro...
function onEquip (cid, item, slot) if not cid then return true end if item.uid <= 0 then return true end if not getItemAttribute(item.uid, "poke") then return true end portraitSendLifeOTC(cid, item) for i, x in pairs(fotos) do if string.lower(getItemAttribute(item.uid, "poke")) == string.lowe...
local string_distance = require('telescope.algos.string_distance') print(string_distance("hello", "help")) print(string_distance("hello", "hello")) print(string_distance("hello", "asdf"))
text_mat = { passes = { base = { shader='text', depthWrite=false, blending=true, } }, resources = { [0] = { name='texture', resType='texture2D', useMipmaps=false } } }
--===========================================================================-- -- -- -- System.Text.XmlEntity -- -- -- ...
--[[ foundation class for solvers that use unstructured meshes from files NACA 0012 from... https://turbmodels.larc.nasa.gov/naca0012_grids.html --]] local ffi = require 'ffi' local class = require 'ext.class' local table = require 'ext.table' local math = require 'ext.math' local file = require 'ext.file' local vec3s...
local no_write = ... include 'common/enum' include 'common/load_tsv' local data = load_tsv(resolve_include_path('tex/block_packing.tsv'), function (token, key) if key == 'name' then return token else return tonumber(token) end end) local packing = make_enum_class('be::gfx::tex::BlockPacking', 'U...
local os_ext = {} os_ext.platforms = { unix = 'unix', windows = 'windows' } os_ext.path_separator = package.config:sub(1, 1) local _separator_platform_table = { ['/'] = os_ext.platforms.unix, ['\\'] = os_ext.platforms.windows } os_ext.platform = _separator_platform_table[os_ext.path_separator] os_ext.is_win...
local CHAIN_ARMOR, SCALE_ARMOR, BRASS_ARMOR, PLATE_ARMOR, KNIGHT_ARMOR, PALADIN_ARMOR, CROWN_ARMOR, GOLDEN_ARMOR, DRAGON_SCALE_MAIL, MAGIC_PLATE_ARMOR = 2464, 2483, 2465, 2463, 2476, 8891, 2487, 2466, 2492, 2472 local STUDDED_LEGS, CHAIN_LEGS, BRASS_LEGS, PLATE_LEGS, KNIGHT_LEGS, CROWN_LEGS, GOLDEN_LEGS = 2468, 2648, 2...
local awful = require("awful") local sig = require("theme.fly.signal") local dropdown = {} local tags = {} function dropdown:init(config) self.pid = nil self.terminal_object = nil self.terminal = config.terminal awesome.connect_signal(sig.dropdown.toggle, function() dropdown:toggle() end)...
-- Item data (c) Grinding Gear Games return { -- Helmet: Armour [[ 夜幕【仿品】 巨盔 等级需求: 22, 27 Str, 27 Int 联盟: 夺宝奇兵 固定基底词缀: 0 晕眩回复和格挡回复提高 (20-22)% 照亮范围缩小 40% 格挡攻击时反射 1 - (180-220) 闪电伤害 防御为零 元素抗性提高 (18-22)% ]], [[ 共鸣之面【仿品】 节庆之面 等级需求: 28, 33 Dex, 33 Int replica: true 联盟: 夺宝奇兵 固定基底词缀: 0 伤害降低 30% +(20-30) 最大生命 +(20-30) 最大魔力 魔...
ElvDB = { ["profileKeys"] = { ["独孤牛儿 - 森金"] = "独孤牛儿 - 森金", ["风雨思年华 - 森金"] = "风雨思年华 - 森金", ["雄奶奶 - 森金"] = "Chinar", ["午盾 - 森金"] = "午盾 - 森金", ["牛爹爹 - 屠魔山谷"] = "牛爹爹 - 屠魔山谷", ["奶奶的大刀 - 森金"] = "奶奶的大刀 - 森金", ["巨目巨目巨目 - 森金"] = "巨目巨目巨目 - 森金", ["仔酷 - 森金"] = "仔酷 - 森金", }, ["gold"] = { ["屠魔山谷"] = { ["牛爹爹"...
-- Tests an input on P1 / pin12, as a powerswitch for the led -- and output and P0 / pin11, as the led -- another input on P2 / pin13, as exit button -- requires both 'copas' and 'darksidesync' to be installed, using luarocks; -- sudo luarocks install copas -- sudo luarocks install darksidesync local gpio = re...
--KiraつKarin function c74560011.initial_effect(c) --print local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetDescription(aux.Stringid(74560011,0)) e1:SetCountLimit(1,74560011) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_MZONE) e1:SetCost(c74560011.cost) ...
-- Idk why this stuff doesn't work TJ...I will wait for 0.7 local M = {} M.nmap = function(tbl) vim.keymap.set("n", tbl[1], tbl[2], tbl[3]) end M.imap = function(tbl) vim.keymap.set("n", tbl[1], tbl[2], tbl[3]) end M.xmap = function(tbl) vim.keymap.set("n", tbl[1], tbl[2], tbl[3]) end -- Shouldn't really use th...
package.path = package.path .. ";Assets/LuaScripts/?.lua;" require "happ.happ_init" require "game.game_include" local cs_module_lua = xlua.get_generic_method(CS.Happ.HapMain, "GetModule")(CS.Happ.Third.ModuleLua)() ---@class Game Game = happ.declare_class("Game") function Game:ctor() cs_module_lua:SetInitializeC...
object_mobile_dressed_dark_jedi_master_male_zab_01 = object_mobile_shared_dressed_dark_jedi_master_male_zab_01:new { } ObjectTemplates:addTemplate(object_mobile_dressed_dark_jedi_master_male_zab_01, "object/mobile/dressed_dark_jedi_master_male_zab_01.iff")
-- item can be 'belt' or 'inserter' local function valid_rotations(item) local r = { settings.global['one-way-belts-' .. item .. '-n'].value, settings.global['one-way-belts-' .. item .. '-e'].value, settings.global['one-way-belts-' .. item .. '-s'].value, settings.global['one-way-bel...
--[[ © CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). Clockwork was created by Conna Wiles (also known as kurozael.) http://cloudsixteen.com/license/clockwork.html --]] local COMMAND = Clockwork.command:New("SpawnPointRemove"); COMMAND.tip = "Remove ...
local MAX_LEVEL = 1 local g_LastMsgCounter1s, g_LastMsgTicks1s local g_LastMsgCounter60s, g_LastMsgTicks60s local function onDbgMsg(msg, lvl, file, line) -- Check message level if(lvl > MAX_LEVEL) then return end -- Check if this is message from Toxic resource if(not file) then return end if(not file:...
local laddershop = { [1] = {ID=1,Start=1,End=4,GemMax=0,WashMax=0,Item1=201001,Item2=202001,Item3=203001,Item4=203001,Item5=0,Item6=0,Item7=0,Item8=0,Item9=0,Item10=0,Item11=0,Item12=0,Item13=0,Item14=0}, [2] = {ID=2,Start=5,End=9,GemMax=0,WashMax=0,Item1=201001,Item2=202001,Item3=204005,Item4=204005,Item5=203001,Item6...
return { name = "overlay", tilewidth = 56, tileheight = 56, spacing = 0, margin = 0, image = "arrs.png", imagewidth = 168, imageheight = 112, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 64, height = 64 }, properties = {}, terrains = {}, t...
--Minetest --Copyright (C) 2013 sapier -- --This program is free software; you can redistribute it and/or modify --it under the terms of the GNU Lesser General Public License as published by --the Free Software Foundation; either version 2.1 of the License, or --(at your option) any later version. -- --This program is ...
-------------------------------- -- @module VertexFormat -- @parent_module ccb --- Enum ccb.VertexFormat ---@class ccb.VertexFormat local VertexFormat = {} ccb.VertexFormat = VertexFormat ---@type number VertexFormat.FLOAT4 = 0 ---@type number VertexFormat.FLOAT3 = 1 ---@type number VertexFormat.FLOAT2 = 2 ---@type ...
object_tangible_wearables_cybernetic_s04_shared_cybernetic_s04_torso = SharedCreatureObjectTemplate:new { clientTemplateFileName = "object/tangible/wearables/cybernetic/s04/shared_cybernetic_s04_torso.iff" } ObjectTemplates:addClientTemplate(object_tangible_wearables_cybernetic_s04_shared_cybernetic_s04_torso, "objec...
interaction = { terminal = "terminal", conversation = "conversation", open = "open" }
-- math helper functions -- x == math.huge -- test for +inf, inline -- x == -math.huge -- test for -inf, inline -- x ~= x -- test for nan, inline -- x > -math.huge and x < math.huge -- test for finite -- or their slower counterparts: math.isnan = function(x) return x ~= x; end math.finite = functio...
-- reloads module for ease in interpreter function reload(name) package.loaded[name] = nil require(name) end
local oops = require 'tersen.oops' local M = {} -- True if s is nil, the empty string, or empty when trimmed. function M.is_nil_or_whitespace(s) return s == nil or M.trim(s) == '' end -- Convert nil to empty string, or keep existing value of string. function M.nil_to_empty(s) return s == nil and "" or s en...
-- https://github.com/ibhagwan/nvim-lua/blob/main/lua/utils.lua local execute = vim.api.nvim_command local vim = vim local opt = vim.opt -- global local g = vim.g -- global for let options local wo = vim.wo -- window local local bo = vim.bo -- buffer local local fn = vim.fn -- access vim functions local cmd = vim.cmd ...
---------------------------------------------------------- -- Load RayUI Environment ---------------------------------------------------------- RayUI:LoadEnv("Misc") local M = _Misc local S = R.Skins --Enhanced debugtools from ElvUI local D = M:NewModule("DebugTools", "AceEvent-3.0", "AceHook-3.0", "AceConsole-3.0")...
-- Tile current selection with pattern inside selection. -- Author: Andrew Trevorrow (andrew@trevorrow.com), Mar 2016. local g = golly() local gp = require "gplus" local selrect = g.getselrect() if #selrect == 0 then g.exit("There is no selection.") end local selpatt = g.getcells(selrect) if #selpatt == 0 then g.exi...
--[[ Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) 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 applicab...
function param() str = "20 < 30 is True. test str" chainhelper:log("no param test. str:"..str) end
local defaults_values = { config_home = vim.fn.stdpath('config') .. '/nlsp-settings', local_settings_root_markers = { '.git', }, jsonls_append_default_schemas = false } local config = {} config.values = vim.deepcopy(defaults_values) config.set_default_values = function(opts) config.values = vim.tbl_dee...
local launcher = {} local json = require "json" require "customizer" local lfs = require "lfs" function launcher.extract(zipfile, path) print("Extracting:"..zipfile) require "zip" lfs.mkdir(path) local zfile = assert(zip.open(zipfile)) for f in zfile:files() do if not string.match(f.filena...
local cmd = {} cmd.title = "Set Max Health" cmd.description = "Set the maximum health of a player" cmd.author = "Nub" cmd.timeCreated = "Oct. 16 2019 @11:17 AM CST" cmd.category = "Fun" cmd.call = "mhp" cmd.usage = "<player> [max-health]" cmd.server = function(caller, args) local myCol = nadmin:GetNameColo...
if not _TEST then Search = GimmeTheLoot:NewModule('Search') end function Search:SearchMatchItemText(text, record) return not text or text == '' or string.find(string.lower(record.item.name), string.lower(text)) end -- consider memoizing function Search:SearchMatchItemQuality(quality, record) return not qu...
-- Managing multiple Sandboxes for each Player/Force local Sandbox = {} Sandbox.pfx = BPSB.pfx .. "sb-" -- GUI Dropdown items for Sandboxes Sandbox.choices = { { "sandbox." .. Sandbox.pfx .. "player-lab" }, { "sandbox." .. Sandbox.pfx .. "force-lab" }, { "sandbox." .. Sandbox.pfx .. "force-lab-space-explo...
version = "v0.3"
local localName = g_CVar:FindVar("name") local function main(e) if e:GetName() == 'vote_cast' then vote = e:GetInt("vote_option") entID = e:GetInt("entityid") local entity = g_EntityList:GetClientEntity(entID) local player = entity:GetPlayer() local playerName = player:Ge...
meta.name = "Push Block Bridge" meta.description = "Makes a push block bridge across a gap." meta.author = "C_ffeeStain" meta.version = "WIP" max = 8 movedir = 0.05 id = 0 set_callback(function () if state.world == 1 and state.level == 4 then local x, y, l = get_position(players[1].uid) pb = get_e...
--- A Set class. -- -- > Set = require 'lib/pl.Set' -- > = Set{'one','two'} == Set{'two','one'} -- true -- > fruit = Set{'apple','banana','orange'} -- > = fruit['banana'] -- true -- > = fruit['hazelnut'] -- nil -- > colours = Set{'red','orange','green','blue'} -- > = fruit,colour...
g_FixedColorVehicles = { -- [416] = {1, 3, 0, 0}, -- [433] = {43, 0, 0, 0}, -- [438] = {6, 76, 0, 0}, -- [406] = {1, 1, 0, 0}, -- [407] = {3, 1, 0, 0}, -- [486] = {1, 1, 0, 0}, -- [427] = {0, 1, 0, 0}, -- [490] = {0, 0, 0, 0}, -- [425] = {43, 0, 0, 0}, -- [470] = {43, 0, 0, 0}, -- [430] = {46, 26, 0, 0}, --...
---@module WeaponMgr 枪械模块:服务端的枪械管理模块 ---@copyright Lilith Games, Avatar Team ---@author Sharif Ma local WeaponMgr, this = {}, nil ---枪械系统的服务端的事件 local _SERVER_EVENT_ = { 'WeaponHitPlayerEvent', 'CreateAmmoEvent', 'DestroyAmmoEvent', 'PlayerPickAmmoEvent', 'PlayerEventCreateOverEvent', 'PlayerDa...
-- oUF_OrbsConfig: tags -- zork, 2018 ----------------------------- -- Variables ----------------------------- local A, L = ... ----------------------------- -- Tags ----------------------------- --tag method: oUF_Orbs:status L.C.tagMethods["oUF_Orbs:status"] = function(unit) if UnitAffectingCombat(unit) then ...
--------------------------------------------------------------------------------------------------- -- func: cnation <target> <campaign allegiance> -- desc: check or alter target characters campaign allegiance --------------------------------------------------------------------------------------------------- cmdprops ...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseDailyMarkList_pb', package.seeall) local REWARD = protobuf.Descriptor(); local REWARD_ITEMID_FIELD = protobuf.FieldDescriptor(); local REWARD_LEVEL_FIELD = protobuf.FieldDescriptor(); local REWARD_NUMBER_FIELD = protobuf.FieldDe...
return _csharp_getType("system.LuaDateTime");
dofilepath("data:leveldata/campaign/FX_Path/ai/vaygr_easy.lua")
local safari = {} local utils = require "telescope._extensions.bookmarks.utils" local plist = require "telescope._extensions.bookmarks.parser.plist" ---Path components to the bookmarks file for the respective OS. ---Safari browser is only supported in MacOS. local bookmarks_filepath = { Darwin = { "Library", "Safar...
--[[ Copyright 2020 Matthew Hesketh <matthew@matthewhesketh.com> This code is licensed under the MIT. See LICENSE for details. ]] local fbaninfo = {} local mattata = require('mattata') local redis = require('libs.redis') function fbaninfo:init() fbaninfo.commands = mattata.commands(self.info.username):com...
include("shared.lua") function ENT:Draw() self:DrawModel() local ang=self:GetAngles() ang:RotateAroundAxis(Vector(0,0,1),3) self:SetAngles(ang) end
require 'nn' require 'cunn' require 'ccn2' require 'xlua' fSize = {3, 96, 128, 128, 384} inputSize = {3, 64, 64} batchSize = 128 model = nn.Sequential() model:add(ccn2.SpatialConvolution(fSize[1], fSize[2], 9)) model:add(nn.ReLU()) model:add(ccn2.SpatialMaxPooling(2,2)) model:add(ccn2.SpatialConvolution(fSize[2], fSi...
require("model2") function Init() end function Frame() local state = I960_ReadByte(0x202098); local state2 = I960_ReadByte(0x20209C); local state3 = I960_ReadByte(0x2020AC); if state==3 and state2==5 and state3==1 then Model2_SetWideScreen(0) else Model2_SetWideScreen(1) end end
--- === mjolnir._asm.watcher.battery === --- --- Home: https://github.com/asmagill/mjolnir_asm.watcher --- --- Functions for watching battery state changes. --- --- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/). local module = require(...
local E, L, V, P, G = unpack(ElvUI); local EEL = E:GetModule('ElvuiEnhancedAgain') local tinsert, format = tinsert, format local function configOptions() --E.Options.name = E.Options.name.." + EEL "..format(": |cff99ff33%s|r", EEL.version) E.Options.args.eel = { type = "group", name = EEL.title...
---@diagnostic disable: lowercase-global require("love.image") require("love.sound") json = require("src.lib.json") function string.split(str, sep, remove_empty) local t = {} local i = 1 local s = "" while i <= #str do if str:sub(i, i + (#sep - 1)) == sep then if not remove_empty o...
local ob = require "_openssl.ocsp.basic" return ob
surface.CreateFont( "CenturyGothic", { font = "Century Gothic", -- Use the font-name which is shown to you by your operating system Font Viewer, not the file name extended = false, size = ScreenScale(9), weight = 500, blursize = 0, scanlines = 0, antialias = true, underline = false, italic = false, ...
--[[ MTA Role Play (mta-rp.pl) Autorzy poniższego kodu: - Patryk Adamowicz <patrykadam.dev@gmail.com> Discord: PatrykAdam#1293 Link do githuba: https://github.com/PatrykAdam/mtarp --]] local screenX, screenY = guiGetScreenSize() local scaleX, scaleY = (screenX / 1920), (screenY / 1080) local chat...
local Spell = { } Spell.LearnTime = 4800 Spell.Description = [[ Very powerful and big explosion. Nothing will survive under this spell's effect. ]] Spell.FlyEffect = "hpw_dremboom_main" Spell.ImpactEffect = "hpw_dremboom_impact" Spell.ApplyDelay = 0.8 Spell.AccuracyDecreaseVal = 1 Spell.DoSelfCastAnim = false Spell...
AddCSLuaFile() ENT.Base = "gballoon_tower_base" ENT.Type = "anim" ENT.PrintName = "Turret Factory" ENT.Category = "#rotgb.category.tower" ENT.Author = "Piengineer12" ENT.Contact = "http://steamcommunity.com/id/Piengineer12/" ENT.Purpose = "#rotgb.tower.gballoon_tower_15.purpose" ENT.Instructions = "" ENT.Spawnable = f...
--[[ LOOP License ----------- LOOP is licensed under the terms of the MIT license reproduced below. This means that LOOP is free software and can be used for both academic and commercial purposes at absolutely no cost. =============================================================================== Copyright (C) 2004...
project "ImGui" kind "StaticLib" language "C++" cppdialect "C++17" staticruntime "on" location "imgui/" targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") objdir ("%{wks.location}/bin_obj/" .. outputdir .. "/%{prj.name}") files { "%{prj.location}/imconfig.h", "%{prj.location}/...
local itemframe, tmp = {}, {} screwdriver = screwdriver or {} local function remove_item(pos, node) local objs = minetest.get_objects_inside_radius(pos, 0.5) if not objs then return end for _, obj in pairs(objs) do local ent = obj:get_luaentity() if obj and ent and ent.name == "xdecor:f_item" then obj:remov...
function CreatePointModel(property) local pm = PointModel(); pm:Create(property.point); pm:SetTranslate(property.translate[1], property.translate[2], property.translate[3]) pm:SetRotate(property.rotate[1], property.rotate[2], property.rotate[3]) pm:SetScale(property.scale[1], property.scale[2], property.scale[3]) ...
ITEM.name = "Obrez" ITEM.description= "A shortened bolt action rifle chambered for 7.62x54mm." ITEM.longdesc = "A well-used sawn-off Mosin Nagant rifle, it's exact model is unclear.\nA direct hit with this weapon at close range is devastating, but accuracy leaves a lot to be desired.\n\nAmmo: 7.62x54mm\nMagazine Capaci...
local crud = require "kong.api.crud_helpers" return { ["/consumers/"] = { GET = function(self, dao_factory) crud.paginated_set(self, dao_factory.consumers) end, PUT = function(self, dao_factory) crud.put(self.params, dao_factory.consumers) end, POST = function(self, dao_factory) ...
local Notifier = require "nvim-test.notify" local api = vim.api local suite_runner local M = { config = vim.deepcopy(require "nvim-test.config"), notifier = nil, runners = require "nvim-test.runners", } -- Run tests --- ---@param scope string: (suite|file|nearest|last) function M.run(scope) -- Run latest if ...
local args={},jumper local wy,jy,wx,jx local ey,ex local jump,hit local spd=255 local jspd=-80 local action={{p=-200,a=.4,d=1},{p=60,a=.2,d=1},{p=260,a=.5,d=2},{p=-60,a=.3,d=3}} local active,phz local elife = 4 local mt = 3 local pause=false local createItem=function(typ,iny) if typ == 1 or not hit then table.in...
local args = ... local fs = require 'bee.filesystem' local glob = require 'glob' local root = fs.path(args.root) local session = glob.gitignore(args.pattern, args.options) session:setInterface('type', function (path) local fullpath = root / path if not fs.exists(fullpath) then return nil end i...
--[[ Copyright 2019 The Spin-Scenario 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 law or...
Craft = {} function Craft:GetCraftObject(craftId) local recipe = self.api.localAPI:GetRecipe(craftId) if recipe then local parseIngredients = function(ingredients, quantities) local ret = self.tools.list() for i = 1, #ingredients do ret:Add(self.tools.object({ ...
--[[ AvorionControl - data/scripts/commands/getlinkeddiscord.lua ----------------------------- Given a player index, this command returns the players Discord UID if it's been linked. Otherwise, an empty string is returned. This command is for use by Admins and (more importantly) RCON. License: BSD-3-Clau...
include("/scripts/includes/consts.lua") include("/scripts/includes/skill_consts.lua") include("/scripts/includes/damage.lua") include("/scripts/includes/attributes.lua") include("/scripts/includes/monk.lua") -- Touch skill costEnergy = 10 costAdrenaline = 0 activation = 1000 recharge = 5000 overcast = 0 -- HP cost hp ...
local details = _G.Details function get_current_amount( metric_type ) if metric_type == "healer" then local actor = details:GetActor ("current", DETAILS_ATTRIBUTE_HEAL, UnitName ("player")) if actor ~= nil then return actor.total else return 0 end end if metric_type == "damage" then local actor = de...
-- Code created by Kwik - Copyright: kwiksher.com {{year}} -- Version: {{vers}} -- Project: {{ProjName}} -- local _M = {} -- local _K = require "Application" -- local particleDesigner = require("extlib.particleDesigner") -- function _M:didShow() end -- function _M:toDispose() end -- {{#ultimate}} local imageWidth = {{e...
local R = require "rigel" local RM = require "generators.modules" local types = require("types") local S = require("systolic") local harness = require "generators.harness" local C = require "generators.examplescommon" W = 128 H = 64 T = 8 -- this example takes two streams and flattens them into 1 ------------ ITYPE ...
-- Provides: -- evil::volume -- percentage (integer) -- muted (boolean) -- evil::microphone -- muted (boolean) local awful = require("awful") local volume_old = -1 local muted_old = -1 local function emit_volume_info() -- Get volume info awful.spawn.easy_async("pactl list sinks", function(stdout...
--[[ --=====================================================================================================-- Script Name: Still-Untitled, for SAPP (PC & CE) Implementing API version: 1.11.0.0 Description: Retrieve coordinates from table. (comparison between coordinates) Copyright (c) 2016-2018, Jericho Crosby <j...
local PREFIX = "|cff33ff99"..(...).."|r:" local LOCALE = GetLocale() local C_TimerAfter, GetSpellInfo, SetCVar, SlashCmdList, UIErrorsFrame, print = C_Timer.After, GetSpellInfo, SetCVar, SlashCmdList, UIErrorsFrame, print local needTimer = true local cmd0, cmd1, cmdNext cmd0 = function() SetCVar("Sound_EnableErrorSp...
local M = {} local api = vim.api local fn = vim.fn local cmd = vim.cmd local qftool = require('bqf.qftool') local function setup() cmd('hi default BqfSign ctermfg=14 guifg=Cyan') fn.sign_define('BqfSign', {text = ' ^', texthl = 'BqfSign'}) end local function place(bufnr, lnum) bufnr = bufnr or api.nvim_g...
object_tangible_loot_creature_loot_collections_space_booster_mark_03_koensayr = object_tangible_loot_creature_loot_collections_space_shared_booster_mark_03_koensayr:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_space_booster_mark_03_koensayr, "object/tangible/loot/creature/loot/co...
-- LUALOCALS < --------------------------------------------------------- local minetest, nodecore, pairs, ipairs = minetest, nodecore, pairs, ipairs -- LUALOCALS > --------------------------------------------------------- local modname = minetest.get_current_modname() local get_node = minetest.get_node local set_no...
--[[ Author: your name Date: 2019-11-11 09:33:07 LastEditTime: 2021-01-14 18:50:06 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \luci-app-vssr\luasrc\model\cbi\vssr\socks5.lua --]] local vssr = 'vssr' local uci = luci.model.uci.cursor() local server_table = {} uci:foreach( 'vssr...
local Mod = GameMain:GetMod("CanVox.NewCharRandomizer") Mod.InputFilter = Mod.InputFilter or {} local filter = { Name = "NoAssist", Sort = 1000, DefaultPriority = 1000, DisplayName = "Assist Off", } table.insert(Mod.InputFilter, filter)
-- -- error-page.lua -- -- A script for handling HTTP error pages in HAProxy -- core.Alert("lua.error-page: init started") -- -- find_config_file_path: -- -- returns path of the main HAProxy config file, e.g. `haproxy.cfg` -- function find_config_file_path() local cmd_file = io.open("/proc/self/cmdline", "rb...
object_mobile_halloween_skeleton_mando = object_mobile_shared_halloween_skeleton_mando:new { } ObjectTemplates:addTemplate(object_mobile_halloween_skeleton_mando, "object/mobile/halloween_skeleton_mando.iff")
ITEM.name = "A filthy paper bag" ITEM.description= "A worn paper bag. Something is inside." ITEM.model = "models/props_junk/garbage_bag001a.mdl" ITEM.width = 2 ITEM.height = 2 ITEM.flag = "A" ITEM.items[1] = { dropAmount = 1, dropRareChance = 40, dropVeryRareChance = 10, itemsCommon = { {"9x18", {["quantity"] = ...
function onCreate() makeLuaSprite('xdd', 'xdd', -500, -160); addLuaSprite('xdd', 'xdd', -500, -160); scaleObject('xdd', 1, 1) makeAnimatedLuaSprite('sheetcity', 'sheetcity', -500, -360); scaleObject('sheetcity', 8.4, 8.4) addAnimationByPrefix('sheetcity', 'sheetcity', 'sheetcity', 10, ...
--====================================================================-- -- lua_megaphone.lua -- -- -- by David McCuskey -- Documentation: --====================================================================-- --[[ Copyright (C) 2013-2014 David McCuskey. All Rights Reserved. Permission is hereby granted, free of c...
sound.Add({ name = "Weapon_E11D.Single", channel = CHAN_USER_BASE+10, volume = 1.0, sound = {"e11d-1.wav", "e11d-2.wav", "e11d-3.wav"} })
local timer = require 'script.timer' local sleep = require 'script.ffi.sleep' require 'script.jzslm.task' while true do timer.update() sleep(1000) end
--- Additional readline local complete_fg = colours.grey local complete_bg = -1 local colour_table = { ["default"] = -1, } for k, v in pairs(colours) do if type(v) == "number" then colour_table[k] = v end end for k, v in pairs(colors) do if type(v) == "number" then colour_table[k] = v end end local function ...
object_tangible_storyteller_prop_hoth_pr_hoth_icicle_01 = object_tangible_storyteller_prop_hoth_shared_pr_hoth_icicle_01:new { } ObjectTemplates:addTemplate(object_tangible_storyteller_prop_hoth_pr_hoth_icicle_01, "object/tangible/storyteller/prop/hoth/pr_hoth_icicle_01.iff")
-- Default keybindings for launching apps in Hyper Mode -- -- To launch _your_ most commonly-used apps via Hyper Mode, create a copy of -- this file, save it as `hyper-apps.lua`, and edit the table below to configure -- your preferred shortcuts. return { -- System -- { 'f', 'Finder' }, -- "F" for "Find...