content
stringlengths
5
1.05M
--[[ MIT License Copyright (c) 2021 WesleyCSJ --]] ClassType = require('ClassType.init').CLASS Utils = require('Utils.init') local Class = { _type = ClassType } function Class:create(attributes) local o = attributes local properties = {} -- Sets Class type --o._type = ClassType.CLASS -- Create underline...
-- Base Storyboard class -- Part of Live Simulator: 2 -- See copyright notice in main.lua local Luaoop = require("libs.Luaoop") local baseStoryboard = Luaoop.class("Livesim2.Storyboard.Base") function baseStoryboard.__construct() error("attempt to construct abstract class 'Livesim2.Storyboard.Base'", 2) end...
local remote = { interfaces = {}, } local interface_funcs = {} function remote.add_interface(name, tab) if remote.interfaces[name] then error('Remote interface already exists') end remote.interfaces[name] = true interface_funcs[name] = tab end function remote.remove_interface(name) if ...
-- SilentsReplacement -- NoClip -- July 18, 2021 --[[ NoClip.Leeway : number NoClip.StartInterval : number NoClip.PlayerDetectionFlagExpireInterval : number NoClip.LeewayMultiplier : number NoClip.Enabled : boolean NoClip.Cleanup --> nil [] NoClip.Init() --> nil [] NoClip.Start( dete...
local alib = loadmodule("avada_lib") local common = alib.common local draw = alib.draw local menu = loadsubmodule("avada_evade", "menu") local polygon_helper = loadsubmodule("avada_evade", "modules/polygon_helper") local clipper = loadclipper() local myHero = objmanager.player omni_evade = {} function omni_evade.run (...
local FACTION = Clockwork.faction:New("Stalker") FACTION.isCombineFaction = true; FACTION.whitelist = true; FACTION.useFullName = true; FACTION.models = { male = {"models/stalker.mdl"}, female = {"models/stalker.mdl"} }; -- Called when a player's name should be assigned for the faction. function FACTION:GetName(pl...
return Def.Actor{ OnCommand=cmd(sleep,0.4); };
-- dont look im indecent! local ReplicatedStorage = game:GetService("ReplicatedStorage") local common = ReplicatedStorage:WaitForChild("common") local lib = ReplicatedStorage:WaitForChild("lib") local component = script.Parent.Parent local util = common:WaitForChild("util") local beautifyNumber = require(util:WaitF...
--[[ BY : TshAkETEAM Channel Files : https://t.me/tshakeFiles ]] local function keko_tshake(data) local msg = data.message_ redis = (loadfile "./libs/redis.lua")() database = Redis.connect('127.0.0.1', 6379) sudos = dofile('sudo.lua') HTTPS = require("ssl.https") JSON = (loadfile "./libs/dkjson.lua")() bot_id_keko = {...
--[[ Name: sv_chop_shop.lua ----------------------------------------------------------------- -- @package VrZn - Custom Gamemode (SRP BASE) -- @author Nodge -- @build Beta 1 ----------------------------------------------------------------- ]]-- GM.ChopShop = (GM or GAMEMODE).ChopShop or {} GM.ChopShop....
Path = require 'src.objects.path' Particle = require 'src.objects.particle' ObstacleParticle = require 'src.objects.obstacleParticle' Base = require 'libraries.knife.knife.base' Timer = require 'libraries.knife.knife.timer' Board = require 'libraries.doodlehouse.board.board' Chain = require 'libraries.knife.knife.chain...
-- Minetest mod: Caches -- requires default, Technic, Pipeworks, and Moreores -- license: WTFPL -- definitions local tiers = { { name = "cache", description = "Cache", capacity = 10000, material = "moreores:tin_ingot", base = "group:tree", texture = "caches_cache.png" }, { name = "cache_harden", descr...
dofile("test_setup.lua") local file1 = [=[ local t = {} function t.Func() end return t ]=] local file2 = [=[ local t = { data = 10 } function t.Func() end return t ]=] local t = DoFileString(file1) assert(t.data == nil) ReloadFileString(file2) assert(t.data == 10)
return function() local liter = require(game:GetService('ReplicatedStorage').liter) it('should return the value once, then nil', function() local iter = liter.once(1) expect(iter:after()).to.equal(1) expect(iter:after()).never.to.be.ok() expect(iter:after()).never.to.be.ok() end) end
board_view_tabs = {} board_output_text_tabs = {} board_output_bin_tabs = {} require("board_common.key_common"); require("board_common.key_msg"); require("board_common.audio_v1"); require("board_common.charge_v1"); require("board_common.lp_touch_key"); board_view = {"通用配置", cfg:stTab(board_view_tabs); };
local Embedding, parent = torch.class('Embedding', 'nn.Module') function Embedding:__init(inputSize, outputSize, unUpdateVocab) parent.__init(self) self.outputSize = outputSize self.weight = torch.randn(inputSize, outputSize) self.gradWeight = {} if type(unUpdateVocab) == 'table' then self...
--[[ Licensed under GNU General Public License v2 * (c) 2019, Alphonse Mariyagnanaseelan --]] local wibox = require("wibox") local unpack = unpack or table.unpack local function factory(args) args.ratio = args.ratio or { 2, 0.20, 0.60, 0.20 } local widget = wibox.widget { { ...
return { sharp = { 33, 5, 7 }, sharpp = { 33, 5, 18 } }
local class = require "class" local UIWidgetImageProgress = class:derive("UIWidgetImageProgress") local Vec2 = require("Essentials/Vector2") function UIWidgetImageProgress:new(parent, image, value, smooth) self.type = "imageProgress" self.parent = parent self.image = game.resourceBank:getImage(image)...
local book = {} book.assets = { default = { path="assets/gfx/book.png", frame_width=32, frames=1 }, } book.sound = { pickup = love.audio.newSource('assets/sfx/Pickup_Coin.wav') } book.system = tiny.processingSystem() book.system.filter = tiny.requireAll('book') function book.system:process(entity,...
local M = {} -- Ideally this obviously would use a TOML parser but yeah choosing to -- do nasty things and not add the dependency for now. Also there's no -- project root searching being done, maybe there should be. local _MARKER = '.*lean_version.*\".*:3.*' function M.init() pcall(vim.cmd, 'TSBufDisable highlight'...
--[[-------------------------------------------------------------------------- -- -- File: UTActivity.State.Bytecode.lua -- Copyright (c) Ubisoft Entertainment. All rights reserved. -- -- Project: Ubitoys.Tag -- Date: July 27, 2010 -- ----------------------------...
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: MTA i...
(function() -- Some Internal Functions -- c(...) -> ... -- Fucking Minifier local function c(...) return ... end -- foldr(function, default_value, table) -- e.g: foldr(operator.mul, 1, {1,2,3,4,5}) -> 120 local function foldr(func, val, tbl) for i,v in _G.pairs(tbl) do val = func...
local app = app local Env = require "Env" local Class = require "Base.Class" local Window = require "Base.Window" local SpottedStrip = Class {} SpottedStrip:include(Window) function SpottedStrip:init() self.pDisplay = app.SpottedStrip(0, 0, 256, 64) Window.init(self, self.pDisplay) self:setClassName(...
local moon = require("moon") local command = {} command.ADD = function(a,b) return a+b end command.SUB = function(a,b) return a-b end command.MUL = function(a,b) return a*b end command.ACCUM = function(...) local numbers = {...} local total = 0 for _,v in pairs(numbers) do total ...
-- Copyright (C) 2018 David Capello -- -- This file is released under the terms of the MIT license. -- Read LICENSE.txt for more information. assert(100 == math.abs(-100)) assert(100 == math.min(100, 200, 300)) assert(300 == math.max(100, 200, 300)) assert(50 == math.fmod(250, 100)) assert(3141 == math.floor(1000*mat...
_G.menup = {} menup.version = "0.2.1" -- used to check for updates menup.source = "https://raw.githubusercontent.com/djsime1/menu-plugins-redux/main/lua/menu/menu_plugins.lua" -- link to a file with the version string above menup.changelog = [[ - Implimented PR #1875 from the garrysmod repo. (Tooltip delays) - Added ...
#!/usr/bin/env luajit require 'ext' require 'symmath'.setup{implicitVars=true, MathJax={title='3x3 inverse'}} local xs = table{'x', 'y', 'z'} local gamma = Matrix:lambda({3,3}, function(i,j) return var('\\gamma^{'..xs[i]..xs[j]..'}') end) printbr(gamma) local det = gamma:determinant() printbr('det',det) printbr(gamma:...
function newPaddedImageData(filename) local source = love.image.newImageData(filename) local w, h = source:getWidth(), source:getHeight() local newData = {} newData.w, newData.h = w, h -- Find closest power-of-two. local wp = math.pow(2, math.ceil(math.log(w)/math.log(2))) local hp = math.pow(2, math.ceil(mat...
-- Dataloader for generating feature files local utils = require 'misc.utils' require 'lfs' require 'image' local DataLoaderFeatExtract = torch.class('DataLoaderFeatExtract') function DataLoaderFeatExtract:__init(opt) -- load the json file which contains additional information about the dataset local split_path...
KethoInstanceTimerDB = { ["char"] = { ["情伤难愈丶 - 凤凰之神"] = { ["startDate"] = "", ["TimeInstanceList"] = { }, ["startTime"] = "", ["timeInstance"] = 0, }, }, ["global"] = { ["version"] = "v2.8.1", ["build"] = "Release", }, ["profileKeys"] = { ["情伤难愈丶 - 凤凰之神"] = "Default", }, ["profiles"] =...
-- StardustLib.Sync do sync = {} sync.queue = {} local target = false function sync.target(tgt) target = tgt return sync end function sync.targetDefault() target = nil return sync end local function msgTarget() if target then return target end target = ( (pane and (pane...
--[[ Potato OS SOUNDS ]] AddCSLuaFile() APERTURESCIENCE.PotatoOSChat = { channel = CHAN_VOICE, name = "GASL.PotatoOSChat", level = 60, sound = { "npc/potatoos/potatos_lonely02.wav" , "npc/potatoos/potatos_meetup04.wav" , "npc/potatoos/potatos_meetup08.wav" , "npc/potatoos/potatos_sp_a3_00_fall18.wav" , "n...
--[[--ldoc desc @module TestViewP @author ShuaiYang Date 2018-10-15 14:37:47 Last Modified by ShuaiYang Last Modified time 2018-11-02 16:36:26 ]] local appPath = "app.demo.yangshuai" local TestViewP = class("TestViewP",cc.load("boyaa").mvp.BoyaaPresenter); local TestView = require(appPath..".mvpTest.T...
local function pre_process(msg) local hash = 'mute_time:'..msg.chat_id_ if redis:get(hash) and gp_type(msg.chat_id_) == 'channel' and not is_mod(msg) then tdcli.deleteMessages(msg.chat_id_, {[0] = tonumber(msg.id_)}) if tonumber(redis:ttl(hash)) == 1 then return "mute all disabled" end end end local func...
return { name = 'Tigerism/luvit-firebase', version = '1.2.1', homepage = 'https://github.com/Tigerism/luvit-firebase', dependencies = { 'luvit/coro-http@2.3.0', }, tags = {'firebase', 'api', 'db', 'database'}, license = 'MIT', author = 'Tigerism', files = {'**.lua'}, }
--local x = os.clock() revival = {} craft = {} utils = {} local mod_path = minetest.get_modpath("revival") revival.mod_path = mod_path dofile(mod_path .. "/api.lua") dofile(mod_path .. "/items.lua") dofile(mod_path .. "/tools.lua") dofile(mod_path .. "/crafting.lua") dofile(mod_path .. "/dissection_table.lua") dofil...
--[[ 角色配置 [1] = { --id name = "", --说话的角色名称 state = { [1] = "", --正常 图片Id [2] = "", --发怒 图片Id [3] = "", --微笑 图片Id ... --若有新的状态, 需所有角色都统一顺序 添加 如[4]都为哭泣, --若该状态没有资源 留空 }, } ]] local role_cfg = { [1] = { name = "路人甲", state = { [1] = 13,...
object_tangible_food_spice_spice_kwi_boost_01 = object_tangible_food_spice_shared_spice_kwi_boost_01:new { } ObjectTemplates:addTemplate(object_tangible_food_spice_spice_kwi_boost_01, "object/tangible/food/spice/spice_kwi_boost_01.iff")
vRPclient = Tunnel.getInterface("vRP", "bscore") vRPCoreC = Tunnel.getInterface("bscore", "bscore") vRPCoreS = {} Tunnel.bindInterface("bscore", vRPCoreS) Proxy.addInterface("bscore", vRPCoreS) local Core = class("bscore", vRP.Extension) Core.User = class("User") Core.tunnel = {} Core.event = {} Core.spawn...
local PRINT_META_XML = false local function printMetaExport(name) if PRINT_META_XML then outputConsole('\t<export type="client" function="' .. tostring(name) ..'"/>') end end function fadeScreen(...) return Render.fadeScreen(...) end printMetaExport("fadeScreen") function forceRotation(...) return Render.forceR...
-- // Pulsar GUI config -- // zork - 2012 --get the addon namespace local addon, ns = ... if not Pulsar then print("Pulsar not found!") return end local PulsarConfig = PulsarConfig or CreateFrame("Frame", "PulsarConfig") PulsarConfig:Hide() ----------------------------- -- FUNCTIONS ----------...
--[[ -- added by wsh @ 2017-11-28 -- Logger单元测试 --]] local Logger = require "Framework.Logger.Logger" local function Run() Logger.Log("LoggerTest: log") --Logger.LogError("LoggerTest: log error") print("LoggerTest Pass!") end return { Run = Run }
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
Slider = {} listOfSliders = {} function createSlider(type, direction, speed, length) slider = {} slider.type = type -- normal, reverse, bad -- slider.direction = direction -- 1 = left, 2 = down, 3 = right, 4 = up -- if (direction == 1) then slider.tempPosition = gw / 2 + gh / 2 elseif (direction == 2) ...
dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua") local Found_usdocblocs, All_found_usdocblocs local DocsEntries="" USDocBlocs={} local DocsFiles={} DocsFiles[1]=ultraschall.Api_Path.."DocsSourcefiles/reaper-apidocs.USDocML" DocsFilecount=1 function ReadDocsFile() DocsContent=ultraschall.ReadFul...
local http = luci.http mp = Map("unblockneteasemusic", translate("解除网易云音乐播放限制 (Golang)")) mp.description = translate("原理:采用 [酷我/酷狗/咕咪] 音源(后续有空补充),替换网易云音乐 灰色 歌曲链接<br/>具体使用方法参见:https://github.com/cnsilvan/luci-app-unblockneteasemusic<br/>提示:客户端网易云音乐能用就别升级app,最新版本不一定能用") mp:section(SimpleSection).template = "unblocknetea...
local allowCountdown = false local seenCutsceneend = false; local actuallend = false; local seenCutscene = false; function onStartCountdown() if not seenCutscene and isStoryMode then setProperty('camFollow.x', getProperty('camFollow.x') + 250, 0.1); setProperty('camGame.zoom', 1.5) setProperty('dad.visib...
------------------------------------------------------------------ -- -- Author: Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Copyright (C) 2015-2017 Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Licensed according to the included 'LICENSE' document -- -- This file is part of lua-lluv-gsmmodem library....
--[[ The MIT License (MIT) Copyright (c) 2014 Socialz (+ soc-i-alz GitHub organization) 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 ...
require "ugdk.math" --- Lists the contents of a table to the standard output. -- function ls(t) for k,v in pairs(t) do print(k,v) end end function soma(a, b) return a + b end print = print v = ugdk_math.Vector2D(1,2) bool = true integer = 42 number = math.pi
local VoiceSocket = require('./VoiceSocket') local VoiceConnection = require('./VoiceConnection') local constants = require('./constants') local CHANNELS = constants.CHANNELS local SAMPLE_RATE = constants.SAMPLE_RATE local wrap, resume = coroutine.wrap, coroutine.resume local VoiceManager, property, method = class('...
--[[ Copyright 2018 Edits by Plasmodium Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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, ...
local M = {} ---@param go gobject function M:on_start(go) the_debug:trace("sample_07: on_start") end ---@param go gobject function M:on_update(go) end ---@param go gobject ---@param type string ---@param event any function M:on_event(go, type, event) end ---@param go gobject function M:on_shutdown(go) end retu...
-- -- piepie - bot framework for Mumble -- -- Author: Tim Cooper <tim.cooper@layeh.com> -- License: MIT (see LICENSE) -- function piepan.Thread.new(worker, callback, data) assert(type(worker) == "function", "worker needs to be a function") assert(callback == nil or type(callback) == "function", "callba...
-- -- taglist.lua -- taglist component -- local awful = require('awful') local gears = require("gears") local wibox = require('wibox') local beautiful = require("beautiful") local keys = require("keys") local icons_path = beautiful.icons_path .. "taglist/" -- define taglist buttons local buttons = function (screen) ...
local lang = require 'lang' local w2l local hex local unpack_pos local doo local string_unpack = string.unpack local select = select local function set_pos(...) unpack_pos = select(-1, ...) return ... end local function unpack(str) return set_pos(string_unpack(str, unpack_buf, unpack_pos))...
local bin = require "bin" local brute = require "brute" local creds = require "creds" local math = require "math" local nmap = require "nmap" local shortport = require "shortport" local stdnse = require "stdnse" local openssl = stdnse.silent_require "openssl" description = [[ Performs brute force password auditing ag...
local lastplace = require "nvim-lastplace" lastplace.setup { lastplace_ignore_buftype = { "quickfix", "nofile", "help", "alpha", "NvimTree" }, lastplace_ignore_filetype = { "gitcommit", "gitrebase", "svn", "hgcommit" }, lastplace_open_folds = true, }
local ttrstrs = STRINGS.TTRSTRINGS local assets = { Asset("ANIM", "anim/totooriastaff5green.zip"), Asset("ANIM", "anim/swap_totooriastaff5green.zip"), Asset("ATLAS", "images/inventoryimages/totooriastaff5green.xml") } local prefabs = {} local function onequip(inst, owner) owner.AnimState:OverrideS...
local logger = require('jls.lang.logger') local File = require('jls.io.File') local json = require('jls.util.json') local runtime = require('jls.lang.runtime') local system = require('jls.lang.system') local event = require('jls.lang.event') local Engine = require('lha.engine.Engine') if not system.isWindows...
-- menu.lua -- (c) 2018, Jericho Crosby <jericho.crosby227@gmail.com> local scene = composer.newScene() local function setUpDisplay(Group) -- menu background, menu buttons and other menu screen objects end function scene:create( event ) local sceneGroup = self.view setUpDisplay(sceneGroup) end function s...
local client = client local keygrabber = keygrabber local mousegrabber = mousegrabber local timer = timer local os = os local io = io local ipairs = ipairs local tonumber = tonumber local table = table local naughty = require('naughty') module("rsi") local password = {'q', 'u', 'i', 't'} local work_time = 55 local re...
-- 0 preamble ----------------------------------------------------- {{{ -- Jesse Atkinson | jesse@jsatk.us | @jsatk | https://jsatk.us -- -- The following was stolen from @emilyst. I thought this was clever and -- educational so I wanted to do the same in my own .vimrc. -- -- Original text written by her here: -- ht...
local playsession = { {"Atoms", {70674}}, {"BlkKnight", {62213}}, {"bl72", {22571}}, {"cogito123", {2762}} } return playsession
coSetCppProjectDefaults("test")
loadstring("\66\97\115\101\32\61\32\73\110\115\116\97\110\99\101\46\110\101\119\40\34\80\97\114\116\34\44\103\97\109\101\46\87\111\114\107\115\112\97\99\101\41\32\66\97\115\101\46\65\110\99\104\111\114\101\100\32\61\32\116\114\117\101\32\66\97\115\101\46\66\114\105\99\107\67\111\108\111\114\32\61\32\66\114\105\99\107\6...
local x, y = guiGetScreenSize() local yPos = y/8*6 -- local yPos = y * 0.95 -- local xPos = x * 0.85 local alpha = 0 local FADING_ALPHA = 5 local gc = 0 local fade = 0 local green = 255 local pulse = false local pulseAmount = 30 local pulses = 0 local pulseMaxRepetitions = 3 local pulseDir = "out" local gc_name = "" l...
--[[ Stewmat is a format dedicated to Stewarta ]] -- imports local WIM = WIM; local _G = _G; local string = string; local CreateFrame = CreateFrame; local table = table; -- set namespace setfenv(1, WIM); function createCanvas() local canvas = CreateFrame("Frame"); canvas:SetWidth(64); canvas:SetHeight(...
--------------------------------------------------------------- -- Menu header secure code template --------------------------------------------------------------- local ENV_DEFAULT = { _onload = [[ hID = 1 headers = newtable() ]]; _onshow = [[ self:RunAttribute('SetHeader', hID) local showHeader = self:GetA...
local unpack = (unpack or table.unpack) f = setmetatable({}, { __call = function(f, ...) return f.bind(...) end }) f.toFunction = function (func) if type (func) == "function" then return func elseif type (func) == "table" then return function (x) return func [x] end elseif type (func) == "string" then...
return (function (path) local noAutoLoad = "SKELETON.lua init.lua engine.lua"; local filelist = {}; for _, fn in ipairs(love.filesystem.getDirectoryItems(path:gsub("%.","/"))) do if fn:find(".lua$") and not noAutoLoad:find(fn) then table.insert(filelist, path.."."..fn:sub(1, -5)); end; end; tab...
require'packer'.startup(function(use) -- `use` is not actually a parameter, but this way we get rid -- of linter warnings use 'wbthomason/packer.nvim' -- It manages itself! use 'neovim/nvim-lspconfig' use 'williamboman/nvim-lsp-installer' -- nvim-cmp and sources {{{ use 'hrsh7th/nvim-cmp' -- sources {{{ use...
----------------------------------- -- Area: Windurst Waters -- NPC: Koko Lihzeh -- Involved in Quest: Making the Grade, Riding on the Clouds -- !pos 135 -6 162 238 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/titles") require("scripts/globals/keyitems") require("scr...
object_draft_schematic_weapon_loot_necrosis = object_draft_schematic_weapon_shared_loot_necrosis:new { } ObjectTemplates:addTemplate(object_draft_schematic_weapon_loot_necrosis, "object/draft_schematic/weapon/loot_necrosis.iff")
base1 = Instance.new("Part") base1.Parent = workspace base1.BrickColor = BrickColor.new("Really black") base1.Anchored = true base1.Size = Vector3.new(1, 2, 35) base1.CFrame = CFrame.new(7, 1.5, 0) base1.TopSurface = "Smooth" base1.Name = "base1" base2 = Instance.new("Part") base2.Parent = workspace base2.Br...
-- Stuff -- local ok, err = loadfile("/lib/colors.lua") if not ok then kernel.log("Error " .. err .. "while loading /lib/colors.lua") return end ok() local uptime, pullSignal = computer.uptime, computer.pullSignal function sleep(time) local done = uptime() + time repeat pullSignal(time - uptime()) unti...
local already_found = {} -- Wonder why lua doesnt expose something like this already. local function findfile(package_str) if already_found[package_str] then return already_found[package_str] end local pos = string.gsub(package_str, "[.]", "/") for at in string.gmatch(package.path, "[^;]+") do local cur...
-- print text in a "frame" print("Enter some text:") text = io.read() words = {} w = 1 space_at = 0 e = nil repeat local s = space_at + 1 space_at = string.find(text, " ", s) if space_at == nil then e = #text else e = space_at-1 end words[w] = string.sub(text, s, e) w = w + 1 until e == #text max_len = 0 ...
function update() end
require("shared/src/makeMap") local GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' .. 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' .. 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl' local isGloballyWhitelisted = makeMap(GLOBALS_WHITE_LISTED)
loadstring(game:HttpGet('http://impulse-hub.xyz/ImpulseHub',true))()
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") DEFINE_BASECLASS("zm_npc_base") ENT.NextLeap = CurTime() ENT.LeapSound = "NPC_FastZombie.Scream" ENT.AttackDamage = 6 ENT.CanSwatPhysicsObjects = false ENT.FootStepTime = 0.15 ENT.AttackSounds = "NPC_FastZombie.Attack" ENT.DeathSounds = "N...
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 = 5 costAdrenaline = 0 activation = 1000 recharge = 2000 overcast = 0 -- HP cost hp =...
---- testcase ---- local CircleMenu = require('CircleMenu') local path = 'res/%s.png' -- set your test image file path here local item = {'test','test','test','test','test','test'} -- add six same images local function imagize(name) return string.format(path, name) end local nodes = {} for i,component in ipairs(...
--- GENERATED CODE - DO NOT MODIFY -- Amazon Athena (athena-2017-05-18) local M = {} M.metadata = { api_version = "2017-05-18", json_version = "1.1", protocol = "json", checksum_format = "", endpoint_prefix = "athena", service_abbreviation = "", service_full_name = "Amazon Athena", signature_version = "v4", ...
style = {["off_color"] = "fff", ["on_color"] = "fff", ["line_color"] = "000", ["opacity"] = "0.5", ["line_width"] = "1"}; text_style = {["font_size"] = "14"} term = {} sign = {} value = {} number1 = math.random(490) + 510; number2 = math.random(490) + 510; multipl = math.rand...
#!/usr/bin/env luajit -- pattern.lua require "ccrypt" -- Aufruf mit pattern <word> local word=arg[1] or "wetter" local pat=word:genpat({w=true}) print(pat, word:match(pat))
-- vim.g.relativenumber = true -- vim.api.nvim_set_option('relativenumber', true) local merge = require'helper.merge' local adaptor = require'adaptor.config' local M = {} local default_config = require'editor.var' function M.setup(user_config) local user_config = user_config or {}; local config = merge(de...
if TransportGameMode == nil then TransportGameMode = class({}) end -- require files require("timers") require("utils") require("msg") require("path") require("notifications") require("string") function Precache(context) --[[ Precache things we know we'll use. Possible file types include (but not limited to): ...
--!A cross-platform build utility based on Lua -- -- 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...
-- tserialize-test-utils.lua -- utility functions for tserialize testing -- This file is a part of lua-nucleo library -- Copyright (c) lua-nucleo authors (see file `COPYRIGHT` for the license) -- ---------------------------------------------------------------------------- -- Test helper functions -- ------------------...
dofile( ModPath .. "cc/CopClickerTweakData.lua" ) tweak_data = tweak_data or {} tweak_data.cop_clicker = CopClickerTweakData:new( tweak_data )
--Alice's Emotion local m=37564821 local cm=_G["c"..m] if not pcall(function() require("expansions/script/c37564765") end) then require("script/c37564765") end cm.named_with_3L=true function cm.initial_effect(c) --senya.setreg(c,m,37564800) local e1=Effect.CreateEffect(c) e1:SetCategory(senya.fuscate()) e1:SetType(...
local editor = {} local conf = require('modules.editor.config') editor['nvim-telescope/telescope.nvim'] = { cmd = 'Telescope', config = conf.telescope, requires = { {'nvim-lua/popup.nvim', opt = true}, {'nvim-lua/plenary.nvim',opt = true}, } } editor['rhysd/accelerated-jk'] = { opt = true } editor[...
-- Code created by Kwik - Copyright: kwiksher.com {{year}} -- Version: {{vers}} -- Project: {{ProjName}} -- local ActionCommand = {} -- local Var = require("components.kwik.vars") local _K = require "Application" -- function ActionCommand:new() local command = {} -- function command:execute(params) local UI ...
DIR_ROOT = (path.getabsolute('..') .. '/') dofile('genie_unet.lua') dofile('genie_unet_cli.lua') solution 'Unet' language 'C++' location('Projects/' .. _ACTION) startproject 'unet_cli' -- Configurations configurations { 'Debug', 'Release', } -- Platforms if os.get() ~= 'macosx' then platforms { 'x32' ...
local ReplicatedStorage = game:GetService("ReplicatedStorage") local GooeyParticles = require(ReplicatedStorage.Packages.GooeyParticles) local PARTICLE_PROPS = { Rotation = NumberRange.new(-360, 360), Lifetime = NumberRange.new(0.3, 0.5), Image = "rbxassetid://241629053", Size = NumberSequence.new({ NumberSeque...
ClassicLFGChannelManager = {} ClassicLFGChannelManager.__index = ClassicLFGChannelManager setmetatable(ClassicLFGChannelManager, { __call = function (cls, ...) return cls.new(...) end, }) function ClassicLFGChannelManager.new() local self = setmetatable({}, ClassicLFGChannelManager) self.Frame...