content
stringlengths
5
1.05M
--Lists the available virtual drives if select(1,...) == "-?" then printUsage( "drives","Lists the available virtual drives" ) return end local dr = fs.drives() for drive, data in pairs(dr) do print(drive.." - "..data.usage.."/"..data.size.." Byte ("..(math.floor((((data.usage*100)/data.size)*100...
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0190-resumption-data-error-handling.md -- -- Description: -- Check data resumption is failed for a few commands in case if HMI responds ...
----------------------------------------------------------------------------------------------------------------------------------------- -- Este arquivo foi disponibilizado pelo KSRP/KS Network. -- Discord: https://discord.gg/DpaX3B -- Sinta-se livre pra fazer as alteraçoes necessárias pro seu servidor. --------------...
-- Natural Selection 2 Competitive Mod -- Source located at - https://github.com/xToken/CompMod -- lua\CompMod\GUI\GUIAuraDisplay\post.lua -- - Dragon local kIconSize = Vector(80, 80, 0) local kHeartOffset = Vector(0, 1.25, 0) local kExoHeartOffset = Vector(0, 2.25, 0) local kTexture = "ui/aura.dds" local kHeartbeatMi...
package.path = package.path .. ';scripts/?.lua' local llae = require 'llae' local redis = require 'db.redis' local th = coroutine.create(function() local res,err = pcall(function() local rds = redis.new() assert(rds:connect('127.0.0.1',6379)) assert(rds:set('test.a.1',100)) assert(rds:incr('test.a.1')) ...
-- Y's III (SNES) Collision box viewer -- Bizhawk -- Author: Pasky local camx local camy function findbit(p) return 2 ^ (p - 1) end function hasbit(x, p) return x % (p + p) >= p end local function hex(val) val = string.format("%X",val) if string.len(val) == 1 then val = "0" .. val end ...
function widget:GetInfo() return { name = "TargettingAI_Lance", desc = "attempt to make Lance not fire Razors, metal extractors, solars and wind generators without order. Meant to be used with return fire state. Version 0,87", author = "terve886", date = "2019", license = "...
local LibBindTool = Wheel:Set("LibBindTool", 4) if (not LibBindTool) then return end local LibClientBuild = Wheel("LibClientBuild") assert(LibClientBuild, "LibBindTool requires LibClientBuild to be loaded.") local LibEvent = Wheel("LibEvent") assert(LibEvent, "LibBindTool requires LibEvent to be loaded.") local Lib...
-- import local AnimatorValueTrackModule = require 'candy.animator.AnimatorValueTrack' local AnimatorValueKey = AnimatorValueTrackModule.AnimatorValueKey local AnimatorTrackFieldDiscrete = require 'candy.animator.AnimatorTrackFieldDiscrete' -- module local AnimatorTrackFieldEnumModule = {} ---@class AnimatorKeyFieldE...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf/protobuf" local LONGZHIGU_PB = require("longzhigu_pb") local ROLEBRIEFINFO_PB = require("RoleBriefInfo_pb") module('BackFlowBuy_pb') BACKFLOWBUY = protobuf.Descriptor(); local BACKFLOWBUY_INDEX_FIELD = protobuf.FieldDescriptor(); local BACK...
------------------------------------------------------------------------------------------------- ---------------------------------- DON'T EDIT THESES LINES -------------------------------------- ------------------------------------------------------------------------------------------------- local generalLoaded = fal...
for i,v in ipairs({ {808,-2032.67615,913.87994,49.84657,0,0,0}, {808,-2051.16626,921.6377,54.76392,0,0,0}, {869,-2093.16553,922.83624,71.00423,0,69.91547,0}, {869,-2093.92554,915.33527,71.00423,0,58.77576,0}, {871,-2092.13232,936.10938,69.6474,0,0,0}, {871,-2093.45361,940...
local mousePos={} qx,qy=100,100 playSound=false function drawQuad(x,y,width,height) love.graphics.setColor(0, 255, 0) love.graphics.quad("fill",x,y,x+width,y,x+width,y+height,x,y+height) end function drawMouseTrack() love.graphics.setPointSize( 3 ) local x, y = love.mouse.getPosition( ) table.insert(mousePo...
a_mighty_boar_trample = class({}) LinkLuaModifier( 'a_mighty_boar_trample_modifier', 'encounters/a_mighty_boar/a_mighty_boar_trample_modifier', LUA_MODIFIER_MOTION_NONE ) function a_mighty_boar_trample:OnSpellStart() --- Get Caster, Victim, Player, Point --- local caster = self:GetCaster() local caster_loc = cas...
object_mobile_ugnaught_aggro = object_mobile_shared_ugnaught_aggro:new { } ObjectTemplates:addTemplate(object_mobile_ugnaught_aggro, "object/mobile/ugnaught_aggro.iff")
local scripts = {} function loadScript(name) scripts[name] = {} local buf = require("filterscripts/" .. name) if(buf == nil) then scripts[name] = nil return false end scripts[name].script = buf print("Utilis: script loaded: " .. name) return true end function unloadScript(name) if(scripts[...
local LibSlash = Wheel:Set("LibSlash", 9) if (not LibSlash) then return end -- Lua API local _G = _G local assert = assert local debugstack = debugstack local error = error local pairs = pairs local select = select local string_find = string.find local string_format = string.format local string_gsub = string.gsub lo...
local px, py, pz = 0, 0, 0 local damageDelay = 0 local function wrapAngle(value) if not value then return 0 end value = math.mod(value, 360) if value < 0 then value = value + 360 end return value end local function differenceBetweenAngles(firstAngle, secondAngle) local diff...
BaseNpc_EnableDailyRoutineEvent({{Tale_Action_Npc_Value_Id}}, {{DailyRoutine_EarliestTime_Hours}}, {{DailyRoutine_EarliestTime_Minutes}})
function onCreate() setProperty('timeTxt.text', 'Untrue-Love OLD'); end
return {'irkoetsk'}
class "Sound" function Sound:Sound(...) for k,v in pairs(arg) do if type(v) == "table" then if v.__ptr ~= nil then arg[k] = v.__ptr end end end if self.__ptr == nil and arg[1] ~= "__skip_ptr__" then self.__ptr = Polycore.Sound(unpack(arg)) Polycore.__ptr_lookup[self.__ptr] = self end end f...
require("client_model") local function dhcp_callback() local wm = require("window_manager") local dhcpSuccess = createDhcpTicket() if not dhcpSuccess then wm.showPopup("Cannot create DHCP ticket") return end wm.showWindow("dhcp") end local function back_callback() local ...
module(..., package.seeall) local globals = require "lua.globals" local utils = require "lua.utils" local libinject = require "lua.resty.libinjection" local globals = require "lua.globals" local luahs = require "luahs" local cjson = require "cjson" local json_encode = cjson.encode local table_leng...
--- perform left-to-right function composition. the first --- argument may have - any arity, the remaining arguments must --- be unary. This effectively creates a function that takes the --- arguments of the first function and gives the return value --- of the last function, applying every function in between...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('XTemplate', { group = "Infopanel Sections", id = "ipResourceOverview", PlaceObj('XTemplateTemplate', { '__context_of_kind', "ResourceOverview", '__template', "Infopanel", 'InitialMode', "ResourceOverview", 'InternalModes', "Resource...
require "behaviours/wander" require "behaviours/runaway" require "behaviours/doaction" require "behaviours/panic" require "behaviours/chaseandattack" local SlurperBrain = Class(Brain, function(self, inst) Brain._ctor(self, inst) end) function SlurperBrain:OnStart() local root = PriorityNode( { ...
------------------------------- require('nn') require('rnn') dofile('model/struct_layer.lua') ------------------------------- ------------------------------- local model = {} -- build model function model:build_model(input_dim, hidden_size, dropout_rate, method) -- forward rnn -- build LSTM based rnn local fw...
Config = {} Config.NoPerms = true Config.AdminPerm = "jd.staff" -- Ace Permission needed to bypass AcePermissions below Config.addPlatePerms = "" -- Ace Permission needed to add plates. Config.delPlatePerms = "" -- Ace Permission needed to remove plates. Config.clearPlatePerms = "" -- Ace Permission needed to clear al...
if not modules then modules = { } end modules ['node-rul'] = { version = 1.001, comment = "companion to node-rul.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- this will go to an a...
return function() local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local CategoryFilters = require(script.Parent.CategoryFilters) local SelectCategoryFilters = require(Modules.AvatarExperience.Catalog.Actions.SelectCategoryFilters) it("should be empty by default", funct...
return {'ivriet'}
-- -- tests/base/test_criteria.lua -- Test suite for the criteria matching API. -- Copyright (c) 2012-2014 Jason Perkins and the Premake project -- local suite = test.declare("criteria") local criteria = premake.criteria -- -- Setup and teardown -- local crit -- -- A criteria with no terms should satisfy any ...
-- -- Created by IntelliJ IDEA. -- User: sdcuike -- Date: 2016-1-8 -- --[[ Nginx的负载均衡 - 加权轮询 (Weighted Round Robin) -> TODO: 权重选择路由,健康动态检查 --]] local modulename = "WeightedRoundRobin" local _M = {} _M._VERSION = '0.0.1' --[[ local server_effecitve_weight = {} server_effecitve_weight.a = 4 server_effecitve_weight...
--[[Metal Detecting Simulator - Farm, Rebirth, Shop Created by YourMom ]] plr=game:GetService('Players').LocalPlayer game.Players.LocalPlayer.UserId = "352889457" farmactive = false rebirthactive = false local MainGUI = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Farm = Instance.new(...
return function( list, -- function(a, b) -> truthy value if a < b less_than ) less_than = less_than or function(a, b) return a < b end for i = 2, #list do -- Check whether an element is smaller than it's predecessor; -- If all elements are less than or equal to their predecessor, the list must be sorted -...
package.path = "../luacode/?.lua" require("common.log") local Env = require("common.Env") local sec_tick = require("common.sec_tick") local network = require("common.network") local msg_define = require("common.msg_define") local create_table = require("db.table.create_table") __init__ = true local db_session = requ...
local PATH = minetest.get_modpath("display_blocks") dofile(PATH.."/config.lua") dofile(PATH.."/technic.lua") if enable_display_uranium == true then dofile(minetest.get_modpath("display_blocks").."/uranium.lua") end local Scale = 0.9 function disp(base, name, light, rec, rp) minetest.register_node( "display_blocks...
object_mobile_dressed_dark_jedi_female_zab_02 = object_mobile_shared_dressed_dark_jedi_female_zab_02:new { } ObjectTemplates:addTemplate(object_mobile_dressed_dark_jedi_female_zab_02, "object/mobile/dressed_dark_jedi_female_zab_02.iff")
-- Copyright (C) Yichun Zhang (agentzh) local ffi = require "ffi" local base = require "resty.core.base" local C = ffi.C local ffi_new = ffi.new local ffi_str = ffi.string local type = type local error = error local tostring = tostring local setmetatable = setmetatable local get_request = base.get_request local get...
ITEM.name = "Яйцо" ITEM.desc = "Говорят, улучшает мужскую потенцию, если засунуть его себе в прямую кишку." ITEM.model = "models/props_phx/misc/egg.mdl" ITEM.category = "Еда" ITEM.Width = 1 ITEM.Height = 1 ITEM.drunk = -5 ITEM.price = 50 ITEM.permit = "mat"
--- file: fixture_circlular_dependency_child.lua --- @include "fixture_circular_dependency"
workspace "ModView" architecture "x86" configurations {"Debug", "Release"} startproject "Sandbox" flags { "MultiProcessorCompile" } outputdir = "%{cfg.buildcfg}-%{cfg.architecture}" IncludeDir = {} IncludeDir["GLFW"] = "ModView-Core/vendor/GLFW" IncludeDir["GLAD"] = "Pixelate/vendor/GLAD" IncludeDir["ImGui"] ...
--[[---------------------------------------------------------------------------- LZSS - encoder / decoder This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled bin...
local RGBMax = 255 function InvertColor(Col) local r,g,b,a = Col:Unpack() return Color(RGBMax-r, RGBMax-g, RGBMax-b) end
local NotificationBindable = Instance.new("BindableFunction") NotificationBindable.OnInvoke = callback -- game.StarterGui:SetCore("SendNotification", { Title = "Dynamic Client"; Text = "Tools Dupelicated."; Icon = "rbxassetid://7825183423"; Duration = 3; Callback = NotificationBindable; }) --[[ Cyclically's FE T...
local socket = require'socket' local tools = require'websocket.tools' local frame = require'websocket.frame' local handshake = require'websocket.handshake' local debug = require'debug' local tconcat = table.concat local tinsert = table.insert local ev = function(ws) ws = ws or {} local ev = require'ev' local so...
local login = require "snax.loginserver" local crypt = require "skynet.crypt" local skynet = require "skynet" -- myloginserver -- 会起多个服务 轮流处理登陆请求 local server = { host = "127.0.0.1", port = 8001, --[[ multilogin设置为false表示不允许同时重复登录, 这里的同时重复登录不是说一个client登录完成之后, 另一个client端使用相同的账号密码就不能登录。而是说在登录过程当中,还没完成登录, ...
local _hotkeys = require 'hotkeys' local syntax = { types = { }, groups = { }, root = { }, styles = { }, pretty_save = true, } _hotkeys.create():apply(syntax) return syntax
require("lualine").setup({ sections = { lualine_b = { "" }, lualine_x = { "" }, lualine_y = { "" }, lualine_z = { "" } }, }) vim.cmd("au TermLeave * source $NVIM_CONFIG/lua/plugins/lualine.lua") vim.opt.buflisted = false vim.wo.spell = false vim.wo.number = false vim.wo.relativenumber = false vim.api.nvim_buf_set_key...
-- -- tests/actions/make/cs/test_sources.lua -- Tests source file listings for C# Makefiles. -- Copyright (c) 2013-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("make_cs_sources") local make = p.make local cs = p.make.cs local project = p.project -- -- Setup -- loc...
-------------------------------- -- @module ParticleSystem -- @extend Node,TextureProtocol -- @parent_module cc -------------------------------- -- @function [parent=#ParticleSystem] getStartSizeVar -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function...
local list_today_tasks = require "src.controller.list_today_tasks" -- Utils local utils = require "src.utils" local print_task = utils.print_task return function(parser) parser :command("list-today-tasks") :summary("List today tasks") :action(function(args, name) local tasks, e...
return { PlaceObj("ModItemOptionToggle", { "name", "Mark", "DisplayName", T(302535920011433, "Mark Buildings"), "Help", T(302535920011504, "If you want to turn off the mod disable this option."), "DefaultValue", true, }), PlaceObj("ModItemOptionNumber", { "name", "MaxObjects", "DisplayName", T(3025359200...
function chat (thePlayer) triggerClientEvent("sonido",getRootElement()) end addEventHandler ( "onPlayerChat", getRootElement(), chat )
describe("A*", function() setup(function() luastar = require("../luastar") debug = require("../lib/debugger") end) it("basic horizontal", function() result = runSearch({{0},{0}}, {0,0}, {1,0}) assert.is.same("(1,0)", result.text) end) function pathToString(result) ...
PLUGIN.name = "TPoseFix" PLUGIN.desc = "A fix for the T-Pose Problem" PLUGIN.author = "ChazNN" --marines nut.anim.setModelClass("models/player/pmc_3/pmc__05.mdl", "metrocop") nut.anim.setModelClass("models/player/pmc_3/pmc__07.mdl", "metrocop") nut.anim.setModelClass("models/player/pmc_3/pmc__03.mdl", "metrocop") nut....
AddCSLuaFile() ENT.Base = "base_entity" ENT.PrintName = "" ENT.Author = "" ENT.Contact = "" ENT.Purpose = "" ENT.Instructions = "" ENT.RenderGroup = RENDERGROUP_OPAQUE function ENT:Initialize() end if ( SERVER ) then -- -- All of the AI logic is serverside - so we derive it from a -- specialized ...
local compe = require("compe") local Source = {} function Source.new() return setmetatable({}, { __index = Source }) end function Source.get_metadata(_) return { priority = 90; menu = '[Tag]'; } end function Source.determine(_, context) return compe.helper.determine(context) end function Source.comp...
return{ name = 'bluemushroom', description = 'Blue Mushroom', type = 'material', info = 'An invasive species of mushrooms', MAX_ITEMS = 10, }
--[[ 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...
--[[ This is a thunk for dropping items; a small intro to thunks is available in pickUpItem. ]] local function dropItem(api, itemId) return function(store) local state = store:getState() local item = state.inventory[itemId] if item == nil then warn("Can't drop item with ID " .. itemId) return end ...
return { users = { { username = "test", password = "test" }, { username = "sumory", password = "1" } }, whitelist = { "/", "/view", "/auth/login", -- login page "/error/" -- error page } }
pico-8 cartridge // http://www.pico-8.com version 18 __lua__ local function BaseClass(init) local self = {} local private_field = init function self.foo() return private_field end function self.bar() private_field = private_field + 1 end -- return the instance return...
local helpers = require('test.functional.helpers')(after_each) local exc_exec = helpers.exc_exec local execute = helpers.execute local funcs = helpers.funcs local clear = helpers.clear local eval = helpers.eval local eq = helpers.eq local meths = helpers.meths local NIL = helpers.NIL describe('Special values', functio...
object_tangible_food_bottle_shared_treasure_bonus_bottle_s01 = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/food/bottle/shared_treasure_bonus_bottle_s01.iff" } ObjectTemplates:addClientTemplate(object_tangible_food_bottle_shared_treasure_bonus_bottle_s01, "object/tangible/food/bottle/s...
local t = Def.ActorFrame {}; t[#t+1] = Def.ActorFrame { InitCommand=cmd(Center); Def.Quad { InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT); OnCommand=cmd(diffuse,color("#947B7E");diffusebottomedge,color("#D698A0")); }; }; t[#t+1] = Def.ActorFrame { Def.Quad { InitCommand=cmd(horizalign,left;zoo...
-- core_howie_rocket return { ["core_howie_rocket"] = { engine = { air = true, class = [[CBitmapMuzzleFlame]], count = 1, ground = true, underwater = 1, water = true, properties = { colorma...
BuildEnv(...) Pet = Addon:NewClass('Pet', BaseObject) Pet.COLLECT_TYPE = COLLECT_TYPE_PET Pet.DB = PET_DATA Pet.BLIP_KEY = 'petBlip' function Pet.Once:GetName() return (C_PetJournal.GetPetInfoBySpeciesID(self.id)) end function Pet.Once:GetIcon() return (select(2, C_PetJournal.GetPetInfoBySpecie...
local SanityMonsterSpawner = Class(function(self, inst) self.inst = inst self.inst:StartUpdatingComponent(self) self.monsters = {} self.shadowhands = {} self.popchangetimer = nil self.currenttargetpop = 0 self.currentpop = 0 self.spawntimer = nil self.num_creepy_eyes = 0 self.num_watchers = 0...
minetest.register_tool("simple_hunger:golden_apple", { description = "Golden Apple", inventory_image = "golden_apple.png", tool_capabilities = { full_punch_interval = 1.2, max_drop_level=0, groupcaps={ }, damage_groups = {}, }, }) minetest.register_craft({ output = "simple_hunger:golden_apple", recipe ...
do local xrequire, n, ind = require, 0, "| " function require (x) print(ind:rep(n).."/ require: "..x) n=n+1 local y = xrequire(x) n=n-1 print(ind:rep(n).."\\_"); return y end end
LinkLuaModifier('modifier_old_butcher_necrogenesis_ghoul', 'heroes/old_butcher/old_butcher_modifiers.lua', LUA_MODIFIER_MOTION_NONE) LinkLuaModifier('modifier_old_butcher_necrogenesis_huntress', 'heroes/old_butcher/old_butcher_modifiers.lua', LUA_MODIFIER_MOTION_NONE) LinkLuaModifier('modifier_old_butcher_necrogenesis_...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('XTemplate', { group = "Infopanel Sections", id = "ipFirefly", PlaceObj('XTemplateTemplate', { '__context_of_kind', "Firefly", '__template', "Infopanel", 'Description', T(7383, --[[XTemplate ipFirefly Description]] "<description>"), }...
particle_systems = { { num_particles = 128, texture = "sun.png", texture_rect = {x = 0, y = 0, w = 256, h = 256}, relative_position = {x = 0.000000, y = 0.000000}, local_space = false, active = true, color_steps = { {0.000000, {r = 0.054902, g = 0.019608, b = 0.411765, a = 0.329412}}, {0.495000,...
local files = require 'files' local guide = require 'core.guide' local lang = require 'language' local define = require 'proto.define' -- 检查空代码块 -- 但是排除忙等待(repeat/while) return function (uri, callback) local ast = files.getAst(uri) if not ast then return end guide.eachSourceType(ast.as...
local Object = require("lib/classic") local BallFactory = require("src/entities/ballFactory") local Token = require("src/entities/token") local Resource = require("src/systems/resource") local tokenmaker = Object:extend() local tokens = {} local index = 0.0 local increment = 0.01 local detractment = 0.02 local playfi...
list.Set( "clothing_system", "anti_radiation_hazmat_suit", { Name = "Hazmat suit", -- Название Category = "Suit", -- Категория SetPlayerModel = true, WireModel = "models/dxn/cod_ghosts/hazmat_pm.mdl", -- Модель одежды FoldedModel = "models/props_c17/SuitCase001a.mdl", -- Модель Entity PlayerBase ...
local t = Def.ActorFrame{} colorConfig:load() t[#t+1] = LoadActor("wifetwirl") t[#t+1] = LoadActor("msd") t[#t+1] = LoadActor("songsearch") t[#t+1] = LoadActor("tabs") t[#t+1] = LoadActor("songinfo") t[#t+1] = LoadActor("score") t[#t+1] = LoadActor("profile") t[#t+1] = LoadActor("filter") t[#t+1] = LoadActor("goaltr...
--[[ Author: Paul Armstrong Date of creation: May 2017 Description: This script tells a robot to chop down trees in Minecraft. ComputerCraft is a mod for Minecraft which adds terminal-style computers which can run programs in the lua programming language. The mod includes "turtles", which are mobile compu...
-- hiscore.lua -- by borgar@borgar.net, WTFPL license -- -- This uses MAME's built-in Lua scripting to implment -- high-score saving with hiscore.dat infom just as older -- builds did in the past. -- local exports = {} exports.name = "hiscore" exports.version = "1.0.0" exports.description = "Hiscore" exports.license = ...
local wip = { s = "solid", l = "ledge", w = "water", a = "acid", b = "buoy", L = "ledgewet" } function start() ApplyTiles(wip, 0, 0, [[ ssssssssssssssssssss s..................s s..................s s..................s s..................s s.sssssssssss....sss s..................s s..................s s................
-------------------------------------------------------------------------------- -- Module Declaration -- local mod, CL = BigWigs:NewBoss("Galvazzt", 1877, 2144) if not mod then return end mod:RegisterEnableMob(133389) mod.engageId = 2126 mod.respawnTime = 25 ---------------------------------------------------------...
-- Copyright (C) 2019 by davin --#!/usr/local/openresty/bin/resty ngx.say('DH demo\n') local P = 17 local G = 5 ngx.say("public:") ngx.say("P = ", P) ngx.say("G = ", G) ngx.say("") local a = 10 local b = 5 ngx.say("private:") ngx.say("a = ", a) ngx.say("b = ", b) ngx.say("") local A = (G ^ a) % P local B = (G ^ ...
Jelmergu:addConditionalRecipe({ "burner-assembling-machine", "assembling-machine-1" }, { name = "burner-assembling-to-assembling-machine-1", order = "b[burner-to-electric-drill]", expensive = false, icon_size = 64, ingredients = { { "bu...
local stub = require("luassert.stub") local o = require("nvim-lsp-ts-utils.options") local exists = function(cmd) return vim.fn.exists(":" .. cmd) > 0 end describe("define_commands", function() stub(o, "get") before_each(function() o.get.returns({}) end) after_each(function() o.ge...
-- lib/lace/compiler.lua -- -- Lua Access Control Engine - Ruleset compiler -- -- Copyright 2012,2015 Daniel Silverstone <dsilvers@digital-scurf.org> -- -- For licence terms, see COPYING -- --- The compiler for the Lua Access Control engine. -- -- Lace works hard to give you good error message information when encount...
-- -- Author: zhouweixiang -- Date: 2016-11-28 14:17:03 -- local ExternalFun = appdf.req(appdf.EXTERNAL_SRC .. "ExternalFun") local ClipText = appdf.req(appdf.EXTERNAL_SRC .. "ClipText") local PopupInfoHead = appdf.req(appdf.EXTERNAL_SRC .. "PopupInfoHead") local HeadSprite = appdf.req(appdf.EXTERNAL_SRC.."HeadSprite")...
MEETINGSTONE_UI_DB = { ["profileKeys"] = { ["猎尽天下 - 森金"] = "Default", }, ["global"] = { ["spamWord"] = { { ["text"] = "%d+元", }, -- [1] { ["text"] = "5173", ["pain"] = true, }, -- [2] { ["text"] = "lfg:", ["pain"] = true, }, -- [3] { ["text"] = "tao.*bao", }, -- [...
local ipc = require 'libipc' local threads = require 'threads' local posix = require 'posix' -- nodes is a list of hostname and port numbers -- node_weights is a matrix for parameter weights for different nodes -- node_id is the ID of this node -- self_parameters is a table of tensors of training parameters local func...
KuiNameplatesCoreCharacterSaved = { ["profile"] = "default", }
local co = coroutine local create, resume, yield = co.create, co.resume, co.yield local N = tonumber(arg and arg[1]) or 10 local first, second -- Meet another creature. local function meet(me) while second do yield() end -- Wait until meeting place clears. local other = first if other then -- Hey, I found a ne...
-- -- processPlayerJoin: triggered when a player joins the game -- local function processPlayerJoin() _playerStates[source] = PLAYER_JOINED -- initialize player score data setElementData(source, "Score", 0) setElementData(source, "Rank", "-") calculatePlayerRanks() end addEventHandler("onPlayerJoin", root, process...
local Dta = select(2, ...) Dta.Help = {} function Dta.Help.InfoHandler(index) local helpUI = Dta.ui.windowHelp.content helpUI.ScrollInfoLoad:ScrollTo(0) local info = Dta.Help.helpTopic[index] local InfoLabel = info.label local InfoText01 = info.text01 local InfoText02 = info.text02 local InfoText03 = info.tex...
require("constructron") require("service_station")
local serverguide_Book_title="The server guide" local serverguide_Tab_Text_1=[[ Server info MinetestForFun Server (hardcore) Base server (classic) of the MinetestForFun Team ]] local serverguide_Tab_Text_2= [[ 1) No intentional try to disturb the server's stability will be tolerated. 2) Cheating (hack, m...
return {'escadrille','escalatie','escalatieproces','escaleren','escalope','escamoteren','escamoteur','escapade','escape','escapisme','escapist','escargot','escargots','eschatologie','eschatologisch','escort','escortbranche','escortbureau','escorte','escorteren','escortgirl','escortmeisje','escortservice','escouade','es...
local students = {"William", "Sophie", "Robert"} table.remove(students, 3)
--[[ © 2020 TERRANOVA do not share, re-distribute or modify without permission of the author. --]] ITEM.name = "Torso"; ITEM.model = "models/props_junk/cardboard_box004a.mdl"; ITEM.outfitCategory = "torso"; ITEM.category = "Clothing"; ITEM.description = "Torso Base"; ITEM.width = 1; ITEM.height = 1; ITEM.price = 40 ...
require("gitsigns").setup({ signs = { add = { text = "┃" }, change = { text = "┃" }, }, })