content
stringlengths
5
1.05M
-- Copyright (c) 2010 by Robert G. Jakabosky <bobby@neoawareness.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 ...
-------------------------------- -- @module OrbitCamera -- @extend ActionCamera -- @parent_module cc -------------------------------- -- Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. <br> -- param t Duration in seconds.<br> -- param radius The start radius.<br> -- param deltaRadius T...
local state = {} state._NAME = ... require'mcm' -- IDLE IS A RELAX STATE -- NOTHING SHOULD BE TORQUED ON HERE! local Body = require'Body' local timeout = 10.0 local t_entry, t_update -- Running estimate of where the legs are local qLLeg, qRLeg, qWaist function state.entry() print(state._NAME..' Entry' ) -- Upda...
-- @desc Créer une boite de dialogue pouvant contenir un titre et un text personnalisà; -- @args string Title, string Text; -- @realm Client; function MessageBoxShow(title, text, maxWidth) text = string.WrapText(text, maxWidth or 75) local window = vgui.Create("DFrame") local startTime = SysTime() window:SetSi...
-- $Id:$ ------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- -- -- Author: jK @2010 -- License: GPLv2 and later -- ------------------------------------------------------------------------------...
--[[[ - @function hypot - Finds the distance between two given sides, x and y. - @param x The length of one of the sides. - @param y The length of the other side. - @return val The hypotenuse of the triangle given by sides x and y. --]] function hypot(x, y) return math.sq...
function onCreate() -- background shit makeLuaSprite('church_grey', 'stages/church_grey', -600, -600); setLuaSpriteScrollFactor('church_grey', 1, 1); addLuaSprite('church_grey', false); scaleLuaSprite('church_grey',1.5,1.5); end function onMoveCamera(focus) if focus == 'dad' then setProperty(...
-- -- ZEN V -- ZENV = {} function ZENV.lcd_send(cmd, data) if #cmd == 1 and cmd[1] == 0x5c then STMP.lcdif.set_word_length(16) STMP.lcdif.set_data_swizzle("NONE") else STMP.lcdif.set_word_length(8) STMP.lcdif.set_data_swizzle("NONE") end STMP.lcdif.send_pio(false, cmd) ...
local trigger = script.parent local propPlayerLauncher = script:GetCustomProperty("PlayerLauncher"):WaitForObject() local propRealOne = script:GetCustomProperty("RealOne") propPlayerLauncher.isEnabled=false function OnBeginOverlap(whichTrigger, other) print(other.name) if other:IsA("Player") then print(whichTrigge...
TOOL.Category = "Aperture Science" TOOL.Name = "#tool.aperture_science_floor_button.name" TOOL.ClientConVar[ "model" ] = "models/portal_custom/ball_button_custom.mdl" if ( CLIENT ) then language.Add( "tool.aperture_science_floor_button.name", "Floor Button" ) language.Add( "tool.aperture_science_floor_button.desc"...
--Byte Encoder -- Module for encoding and decoding messages -- Modified version of Symphony of Mayhem Byte Encoder (only older version made public) -- To import, drag from project content into Custom Property of script that import this. -- Add in the line, and then access the functions as properties of the variabl...
-- parsed from creaturecache.wdb -- 1.13.2 (31882) ClickMorphData.Classic.Npc = { [3] = {987, "Flesh Eater"}, [6] = {10913, "Kobold Vermin"}, [19] = {6074, "Benny Questgiver"}, [29] = {143, "Dragon Spawn"}, [30] = {382, "Forest Spider"}, [31] = {145, "Furbolg"}, [36] = {367, "Harvest Golem"}, [38] = {5035, "Def...
local tasks = require("tasks") local _shutdown = computer.shutdown function os.getenvs() local curr = tasks.getCurrentProcess() return curr.env end function os.getenv(name) local curr = tasks.getCurrentProcess() if curr then return curr.env[name] end end function os.setenv(name, value) local curr = tasks.get...
local Net = torch.class("detection.Net") local utils = detection.GeneralUtils() function Net:__init(model_path, weight_file_path, model_opt) --[[ model_path: Address of the lua file which defines the FRCNN model used weight_file_path: ? model_opt ]] if model_path == nil then ...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf/protobuf" local PKONERECORD_PB = require("PkOneRecord_pb") local PKBASEHIST_PB = require("PkBaseHist_pb") local PKRECORDSUBINFO_PB = require("PkRecordSubInfo_pb") module('PkRecord_pb') PKRECORD = protobuf.Descriptor(); local PKRECORD_POINT_...
return require(script.Engine)
local map = require("utils.map") require("nvim-tree").setup{ git = { enable = false } } map("n", "<leader>e", ":NvimTreeToggle<CR>", {silent = true})
splashScreen = {} -- function splashScreen.init() splashScreen.done = false -- Load image splashScreen.image = love.graphics.newImage("assets/SplashScreen.png") splashScreen.image:setFilter("nearest","nearest") -- Play music and loop it. music = love.audio.newSource( "assets/Splash.ogg" , "stream" ) music:set...
-- Path of Building -- -- Module: Mod DB -- Stores modifiers in a database, with modifiers separated by stat -- local launch, main = ... local ipairs = ipairs local pairs = pairs local select = select local t_insert = table.insert local m_floor = math.floor local m_min = math.min local m_max = math.max local m_modf = ...
return function(request, next_middleware) local response = next_middleware() local data = json.decode(response.body).data -- CHANGE THIS TO WHATEVER YOU WANT local max_price = 9 local min_price = 2 local r={} for i=1,#data do if(tonumber(data[i].face_value)>= min_price and tonumber(data[i].face_val...
local S = aurum.get_translator() local BASE_FLIGHT_SPEED = 7.5 local entities = {} local timers = {} local function stuck_in(pos) local def = minetest.registered_nodes[minetest.get_node(pos).name] return def and (((def.liquidtype or "none") ~= "none") or def.climbable) end minetest.register_entity("aurum_wings:ac...
/*--------------------------------------------------------------------------- Functions and variables ---------------------------------------------------------------------------*/ local setUpNonOwnableDoors, setUpTeamOwnableDoors, setUpGroupDoors, migrateDB /*--------------------------------------------------------...
-- Default constructor to initialize a _class_ local function __construct__(_class_, _instance_) assert(rawget(_class_, "__call"), "Failed to initiate an instance; no __call method") setmetatable(_instance_, _class_) _instance_:init() return _instance_ end -- Subclass _subclass_ of _class_ local func...
return { gok_ssub = { acceleration = 0.018, activatewhenbuilt = true, brakerate = 0.675, buildcostenergy = 990, buildcostmetal = 79, builder = false, buildpic = "gok_ssub.dds", buildtime = 1250, canattack = true, canguard = true, canmove = true, canpatrol = true, canstop = 1, ...
--- Gui module -- @module Gui require 'stdlib/event/event' Gui = {} -- Factorio's gui events are so monolithic we need a special event system for it. Gui.Event = { _registry = {}, _dispatch = {} } --- Registers a function for a given event and matching gui element pattern -- @param event Valid values are def...
if debugScenarios == nil then debugScenarios = {} end debugScenarios.MP1Scenario = { name = "MP 1 - STADION", -- forceLaunch = true, -- use this to force the launch of THIS scenario right after main menu was loaded, save more clicks! Don't do multiple scenarii with this options startLoc = {x=4635, y=7848, z=0 }, ...
require 'nn' require 'csvigo' local utils = require 'misc.utils' local net_utils = require 'misc.net_utils' local LSTMCell = require 'misc.LSTMCell' require 'misc.LSTM' require 'misc.ScoreMaxpool' require 'misc.TemporalSegmentation_bilstm_seq' --------------------------------------------------------------------------...
local this = {} -- mod info variables this.modName = "No More Friendly Fire" this.modConfig = this.modName:gsub("%s", "") this.modInfo = "Stop friendly fire. Player companions can't damage the player, the player " .. "can't damage companions, and companions can't damage each other. That's it." this.auth...
local Path = require("plenary.path") local Log = require("directory.log") local log = Log.log local function merge_table_impl(t1, t2) for k, v in pairs(t2) do if type(v) == "table" then if type(t1[k]) == "table" then merge_table_impl(t1[k], v) else t1[k] = v end else t1[k] = v end end end ...
bantha_e3 = Creature:new { objectName = "@mob/creature_names:bantha", socialGroup = "bantha", faction = "", level = 10, chanceHit = 0.28, damageMin = 90, damageMax = 110, baseXp = 292, baseHAM = 900, baseHAMmax = 900, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "meat_herbivore", ...
--- -- @classmod UiUpdate local middleclass = require("middleclass") --- -- @table instance -- @tfield bool reset local UiUpdate = middleclass("UiUpdate") --- -- @function new -- @tparam bool reset -- @treturn UiUpdate function UiUpdate:initialize(reset) assert(type(reset) == "boolean") self.reset = reset end ...
--[[ File: assets/scripts/init.lua Author: Daniel "lytedev" Flanagan Website: http://dmf.me A test script for the scripting engine. ]]-- print("Commands!") local cmd_commands = { command = "commands", aliases = {"command", "cmd"}, name = "Commands", description = "Prints a list of available ...
--[[ This file specifies a class defining a rudimentary neural network, but only for the purpose a compact, parameterized representation of a function. i.e. backpropogation is not included in this version The class contains: methods to copy and initialize the network and mutate its weights. methods to set the v...
--[[ 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 --]] lastEditbox = -1 edit = {} changepos = false removechar = false function dxCreateEdit(id, x, y, width, height, ...
local tWord = {} -- word table local tColLen = {} -- maximum word length in a column local rowCount = 0 -- row counter --store maximum column lengths at 'tColLen'; save words into 'tWord' table local function readInput(pStr) for line in pStr:gmatch("([^\n]+)[\n]-") do -- read until '\n' character ...
-- url: ?w=300&h=300&g=1&x=0&y=0&r=45&q=85&f=jpeg -- (? + 长 + 宽 + 灰白化 + x + y + 旋转角度 + 压缩比 + 转换格式 -- w: 宽 -- h: 高 -- g: 黑白 -- r: 旋转 -- q: 压缩比 -- f: 格式 local _M = {} _M._VERSION = '0.01' local gm = require 'graphicsmagick' local cache = require "cache" local common = require "common" local function over_range(x) i...
--[[ Copyright (c) 2013 Luís "driverpt" Duarte 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...
--[[ © 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 --]] Clockwork.datastream:Hook("StorageMessage", function(data) local entity = data.en...
--- An enchanced app watcher: a `hs.application.watcher` bolstered by a `hs.window.filter` to catch activations of "transient" apps, such as Spotlight. local Application = require("hs.application") local Window = require("hs.window") local obj = {} local appWatcher local windowFilter local frontAppBundleID local call...
-- SFX -- Each sfx has ID, note, duration, volume, speed. -- As per TIC-80 sfx() function. SFX={ #define SFX_WALK 1 {id=1,n=16,d=30,v=8,s=1}, #define SFX_ERROR 2 {id=2,n=60,d=15,v=10,s=1}, #define SFX_RECEIVE 3 {id=3,n=72,d=15,v=10,s=0}, #define SFX_OK 4 {id=4,n=36,d=15,v=10,s=0}, #define SFX_STAIRS_UP 5 {id...
local AttackSystem = require(game:GetService("ServerScriptService").Server:WaitForChild("AttackSystem")) local PlayerStorage = require(game:GetService("ServerScriptService").Server:WaitForChild("PlayerStorage")) local CregicalSystem = require(game:GetService("ServerScriptService").Server:WaitForChild("CregicalSystem"))...
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.se...
object_tangible_quest_clone_relics_box_large = object_tangible_quest_shared_clone_relics_box_large:new { } ObjectTemplates:addTemplate(object_tangible_quest_clone_relics_box_large, "object/tangible/quest/clone_relics_box_large.iff")
local status_ok, null_ls = pcall(require, "null-ls") if not status_ok then return end local formatting = null_ls.builtins.formatting null_ls.setup({ sources = { formatting.prettier.with({ filetypes = { "graphql", "markdown", "yaml" }, }), formatting.stylua, }, })
local function hasfn(t) for _, x in ipairs(t) do if x % 2 == 0 then print 'list has even number' goto has end end print 'list lacks even number' ::has:: end hasfn( { 1, 3, 7, 9, 4, 11, 13} )
local bit = require("bit") local lshift = bit.lshift; local fourcc = require("fourcc") local fourcc_encode = fourcc.fourcc_encode local exports = { DRM_FORMAT_BIG_ENDIAN = lshift(1,31); --[[ format is big endian instead of little endian --]] --[[ color index --]] DRM_FORMAT_C8 = fourcc_encode('C', '8', ' ', ' '...
Player = Player or {} local function isWeapon(product) return product:getId() == "hvli" or product:getId() == "homing" or product:getId() == "mine" or product:getId() == "emp" or product:getId() == "nuke" end local function isScanProbe(product) return product:getId() == "scanProbe" end --- configure storage ...
----------------------------------------------------------------------------------------- -- -- level2.lua -- ----------------------------------------------------------------------------------------- local mtouch = require( "mtouch" ) local storyboard = require( "storyboard" ) local scene = storyboard.newScene() loc...
Telegram.Commands = { ["pass"] = { access = 0, func = function(text, id) if Telegram.IsAdmin(id) then Telegram.Send(id, "You have already got admin access.") return end local pass = string.Explode(" ", text)[2] ...
-- This file is licensed under the terms of the BSD 2-clause license. -- See LICENSE.txt for details. matrix.config = {} local function setting(stype, name, default, required) local value if stype == "bool" then value = minetest.setting_getbool("matrix."..name) elseif stype == "string" then value = mine...
-- Author: Sixin Zhang (sixin.zhang@ens.fr) local nn = require 'nn' local complex = require 'scatwave.complex' local tools = require 'scatwave.tools' local opModulus, parent = torch.class('nn.opModulus', 'nn.Module') -- input in complex function opModulus:__init(mbdim,eps,disp) parent.__init(self) self.mbdim = mbd...
--settings local GO = nil local TRANS = nil startImage = nil startImageTrans = nil startImageRound = nil startImageRoundTrans = nil local WaveInfo = nil local haveWaveStarted = false startPos = nil local activate = true local firstUpdate = true local shootToStart = false --trigger local tekongEvent = nil anchorPosi...
---------------------------------------------------------------------------------------------------- -- Class that displays an image from a sheet of images, supporting TexturePacker's format. -- -- <h4>Extends:</h4> -- <ul> -- <li><a href="flower.DisplayObject.html">DisplayObject</a><l/i> -- </ul> -- -- @author Makot...
--[[ author: Aussiemon ----- Copyright 2018 Aussiemon 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, mer...
function DebugLocals() local info = debug.getinfo(2, "n") print ("Local variables of: " .. info.name) local idx = 1 while true do local name, val = debug.getlocal(2, idx) if name == nil then break end print (" " .. name .. " = " .. tostring(val)) idx = idx + 1 end end function DoSomething(val1, val2)...
-- -- lua-woo - Advanced OOP features for Lua -- -- Copyright 2020 Claudi Martinez <claudi.martinez@protonmail.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, ...
object_tangible_food_generic_dish_veghash = object_tangible_food_generic_shared_dish_veghash:new { } ObjectTemplates:addTemplate(object_tangible_food_generic_dish_veghash, "object/tangible/food/generic/dish_veghash.iff")
local enabled = themeConfig:get_data().global.SongBGEnabled local brightness = 0.4 local t = Def.ActorFrame {} if enabled then t[#t + 1] = LoadSongBackground() .. { BeginCommand = function(self) self:scaletocover(0, 0, SCREEN_WIDTH, SCREEN_BOTTOM) self:diffusealpha(brightness) end } end return t
function Validate(Player) if not Player:FindFirstChild("Premium") and game.MarketplaceService:PlayerOwnsAsset(Player,268427885) then local tag = Instance.new("BoolValue",Player) tag.Name = "Premium" tag.Value = true end if not Player:FindFirstChild("Executive") and game.MarketplaceService:PlayerOwnsAsset(Playe...
--[[ 银行记录界面 2016_06_21 Ravioyla ]] local BankRecordLayer = class("BankRecordLayer", function(scene) local bankRecordLayer = display.newLayer(cc.c4b(0, 0, 0, 125)) return bankRecordLayer end) -- 进入场景而且过渡动画结束时候触发。 function BankRecordLayer:onEnterTransitionFinish() self._scene:showPopWait() local this = self ...
local rdebug = require 'remotedebug.visitor' local json = require 'common.json' local variables = require 'backend.worker.variables' local source = require 'backend.worker.source' local breakpoint = require 'backend.worker.breakpoint' local evaluate = require 'backend.worker.evaluate' local traceback = require 'backend...
-- Copyright (C) 2016 Libo Huang (huangnauh), UPYUN Inc. local cjson = require "cjson.safe" local type = type local next = next local pairs = pairs local _M = { _VERSION = '0.01' } function _M.parse_body(body) local data = cjson.decode(body) if not data then ngx.log(ngx....
local newCharacterPortrait = {} function CreateNewCharacterPortrait () local instance = {} instance = deepcopy(newCharacterPortrait) return instance end function newCharacterPortrait:Initialize(x, y, w, h, characterData) self.X = x self.Y = y self.PortraitCanvas = love.graphics.newCanvas(w, h) self.Char...
local Analog = { _NAME = "MonkeyLove Analog", _VERSION = 'v1.0', _LÖVE = '11.3', _DESCRIPTION = 'Analog stick for Android LÖVE games', _URL = 'https://github.com/MonkeyBrito/MonkeyLove', _LICENSE = [[ MIT LICENSE Copyright (c) 2020 Eduardo Brito Rosas Permission is h...
local plugin2 = require(script.plugin2)
local gl = require('galaxyline') local gls = gl.section gl.short_line_list = {'LuaTree','vista','dbui'} local colors = { bg = '#1B1C36', line_bg = '#363650', fg = '#c0c0c0', yellow = '#fabd2f', cyan = '#008080', darkblue = '#081633', green = '#afd700', orange = '#FF8800', purple = ...
--[[ Copyright (c) 2019 igor725, scaledteam released under The MIT license http://opensource.org/licenses/MIT ]] hooks = { list = {} } function hooks:recalculatePriority(hookname) local prt = self.list[hookname].priority table.sort(prt, function(a, b) return prt[a] < prt[b] end) end function hooks:create(hoo...
local function evaluateNumberSequence(numberSequence: NumberSequence, t: number) if t == 0 then return numberSequence.Keypoints[1].Value elseif t == 1 then return numberSequence.Keypoints[#numberSequence.Keypoints].Value end for i = 1, #numberSequence.Keypoints - 1 do local this = numberSequence.Keypoints[i]...
PluginInfo = { Name = "My Plugins~Pin Controller", Version = "1.0", BuildVersion = "1.0.0.0", Id = "f0d901de-d6e6-41ec-844b-8ddc6a8ad238", Author = "Maxx Sanner", Description = "A simple plugin to get and set the UCI pins found in Core Manager" }
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:27' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) function ENT:Initialize() self:SetModel( "models/niksacokica/tech/tech_science_centrifuge.mdl" ) self:DrawShadow(true) self.BuildingSound = CreateSound( self.Entity, "ambient/levels/citadel/citadel_hub_ambience1.mp3" ) self.BuildingSound:Play() self.Entity:Phy...
--[[----------------------------------------------------------------------------- * Infected Wars, an open source Garry's Mod game-mode. * * Infected Wars is the work of multiple authors, * a full list can be found in CONTRIBUTORS.md. * For more information, visit https://github.com/JarnoVgr/InfectedWars * * Inf...
local ffi = require('ffi') local C = ffi.C local macro = require('pllj.pg.macro') local syscache = require('pllj.pg.syscache') local text_to_lua = require('pllj.type.text').to_lua local text_to_pg = require('pllj.type.text').to_datum local to_pg = require('pllj.io').to_pg local to_lua = require('pllj.io').to_lua loca...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:26' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
local M = {} M.plugins = { { "tpope/vim-commentary" }, -- Language agnostic comment motions { "ggandor/lightspeed.nvim" }, -- Jump to any location specified by two characters { "junegunn/vim-easy-align" }, { "machakann/vim-sandwich" }, -- Search/select/edit sandwiched textobjects (surrond) { "christoomey/vim...
Me = game.Players.LocalPlayer char = Me.Character Torso = char.Torso Rarm = char["Right Leg"] pcall(function() char[":P"]:remove() end) local Model = Instance.new("Model",char) Model.Name = ":P" local RAB = Instance.new("Part") -- Right Arm Brick RAB.formFactor = "Custom" RAB.Size = Vector3.new(0.2, 0.2, 0.2) RAB.Trans...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
require( "components/cavern/cavern_encounter" ) -------------------------------------------------------------------- if encounter_combat_splitter == nil then encounter_combat_splitter = class( {}, {}, CCavernEncounter ) end -------------------------------------------------------------------- function encounter_co...
-- This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild -- -- This file is compatible with Lua 5.3 local class = require("class") require("kaitaistruct") local enum = require("enum") local stringstream = require("string_stream") require("php_serialized_value") -- -- A phar...
function Fbnq1(n) if n < 1 then print(1) elseif n == 1 or n == 2 then --todo return 1 else return Fbnq1(n - 1) + Fbnq1(n - 2) end end print(Fbnq1(40));
local config = require"lspinstall/util".extract_config("graphql") config.default_config.cmd[1] = "./node_modules/.bin/graphql-lsp" -- specify the path from where to look for the graphql config config.default_config.on_new_config = function(new_config, new_root_dir) local new_cmd = vim.deepcopy(config.default_config....
local cjson = require "cjson" cjson.encode_sparse_array(true, 1, 1) local packer = {} function packer.pack (v) return cjson.encode (v) end function packer.unpack (v) return cjson.decode (v) end return packer
local E, L, V, P, G = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB --General P['general']['minimap']['locationText'] = 'ABOVE' P['general']['movertransparancy'] = .8 --Tooltip P['tooltip']['progressInfo'] = true --Unitframes P['unitframe']['healglow'] = true P['unitframe']['hi...
--!strict -- run/main -- author: @roblox/0a_oq, @github/0aoq --[[ ==================================================================== Licensed under the MIT license -------------------------------------------------------------------- More information on the license at https://github.com/0aoq/RobloxScriptUtility/bl...
--U.A.リベロスパイカー --U.A. Libero Spiker --Scripted by Sock#3222 function c101102018.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(101102018,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATIO...
local cfg = require("modules/config") -- Configuration local console = require("modules/console") -- Console print(cfg["cfg"]["name"])
term.clear() term.setCursorPos(1,1) print("Choose a program:") term.setCursorPos(1,3) term.blit("> Games","dbbbbbb","0000000") term.setCursorPos(1,5) term.blit("> Basic Editor","dbbbbbbbbbbbbb","00000000000000") term.setCursorPos(1,7) term.blit("> Turtle Control","dbbbbbbbbbbbbbbb","0000000000000000") local evt, x, y ...
createWater(995,-1022,41.7,1006,-1022,41.7,995,-1003,41.7,1006,-1003,41.7)
-- Made by FalconPunch: https://v3rmillion.net/member.php?action=profile&uid=415071 -- Don't modify the script to steal money, thats fucked up beyond belief you fucking Satan's child -- This script is very buggy on Shitapse. --[[ ToDo: 1) Option to prevent other exploiters using this gui from destroying your house. ]...
local plugin_name = 'pg.statements' local every = 300 local sql_statements = read_file_in_plugin_dir("statements.sql") local function collect() local result = target:query(sql_statements, every) local statements_data, snapshot = {}, nil for _, row in pairs(result.rows) do if n...
--######################################################################## -- -- Author: b51 -- Mail: b51live@gmail.com -- FileName: ConfigComm.lua -- -- Created On: Sun 14 Jan 2018 08:36:28 PM CST -- Licensed under The MIT License [see LICENSE for details] -- --#######...
local appStore = {} local mattata = require('mattata') local HTTPS = require('ssl.https') local URL = require('socket.url') local JSON = require('dkjson') function appStore:init(configuration) appStore.arguments = 'appstore <query>' appStore.commands = mattata.commands(self.info.username, configuration.comma...
--[[ Packages up the internals of Roact and exposes a public API for it. ]] local Component = require(script.Component) local Core = require(script.Core) local Event = require(script.Event) local Change = require(script.Change) local GlobalConfig = require(script.GlobalConfig) local Instrumentation = require(script.I...
local configs = require 'lspconfig.configs' local M = { util = require 'lspconfig.util', } M._root = {} function M.available_servers() return vim.tbl_keys(configs) end -- Called from plugin/lspconfig.vim because it requires knowing that the last -- script in scriptnames to be executed is lspconfig. function M._...
return { -- delete buffer without messing up layout 'ojroques/nvim-bufdel', opt = true, cmd = { 'BufDel', }, keys = { '<leader>bk', '<leader>bK' }, config = function () require('plugins.bufdel.config') require('plugins.bufdel.keys').setup() end, }
--[[ Copyright 2008-2018 João Cardoso Sushi is distributed under the terms of the GNU General Public License (or the Lesser GPL). This file is part of Sushi. Sushi 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 AS = unpack(AddOnSkins) if not AS:CheckAddOn('BGDefender') then return end function AS:BGDefender() local function OnEnter(f) local text if f:GetName() == 'Button9' then text = 'Close' elseif f:GetName() == 'Button10' then text = 'Options' elseif f:GetName() == 'Button11' then text = 'Lock or ...
local System = require 'pong.vendor.knife.knife.system' -- Destroy entities marked for destruction. return System( {'-destroy'}, function(entities, destroyed_index) table.remove(entities, destroyed_index) end )
-- Test suite for testing interactions with API bindings local helpers = require('test.functional.helpers')(after_each) local Screen = require('test.functional.ui.screen') local funcs = helpers.funcs local clear = helpers.clear local eq = helpers.eq local eval = helpers.eval local feed = helpers.feed local meth_pcall ...
SCONFIG = L2TConfig.GetConfig(); SCONFIG_FILE = GetDir() .. '\\scripts\\shttToGiran.l2b'; L2TConfig.SaveConfig(SCONFIG_FILE); moveDistance = 30; MoveTo(87068, -143407, -1293, moveDistance); TargetNpc("Билия", 31964); MoveTo(87053, -143421, -1293, moveDistance); Talk(); ClickAndWait("teleport_request", "Teleport"); Cli...