content
stringlengths
5
1.05M
--[[ This file isn't actually interesting or novel, I just felt like writing a name generator that would create nonsensical item names so that I could identify individual items for debugging. ]] local modifiers = { "Rusty", "Evil", "Dull", "Moldy", "Sparkly", "Broken", "Soggy", "Unyielding", "Balanced", "...
--[[ Name: cl_menu_qmenu.lua ----------------------------------------------------------------- -- @package VrZn - Custom Gamemode (SRP BASE) -- @author Nodge -- @build Beta 1 ----------------------------------------------------------------- ]]-- local Panel = {} function Panel:Init() self.m_pnlTabs = ...
--[[ http://yann.lecun.com/exdb/mnist/ http://rnduja.github.io/2015/10/13/torch-mnist/ http://rnduja.github.io/2015/10/01/deep_learning_with_torch/ http://mdtux89.github.io/2015/12/11/torch-tutorial.html --]] require 'torch' require 'nn' dofile "train.lua" function load_data() print 'Loading data...' tar = 'http:/...
local startup = require("startup") startup.create_mappings( { ["<leader>ff"] = "<cmd>Telescope find_files<CR>", ["<leader>fl"] = "<cmd>Telescope git_files<CR>" } ) startup.setup({theme = "my_evil"}) vim.api.nvim_set_keymap("n", "<leader>st", "<cmd>Startup display<CR>", {noremap = true, silent = true})
-- idempotency protected script, do not remove comment local idempotency_token = ARGV[1] local notifications = ARGV[2] local running_jobs_key = ARGV[3] local namespace = ARGV[4] local future_jobs = ARGV[5] local max_concurrency_key = ARGV[6] local current_concurrency_key = ARGV[7] local from_failure = ARGV[8] -- jobs ...
local MAKE_CHANGES = true -- false for debugging local PRINT_LIBRARIAN_REPORT = false local SCAN_FOR_AUTHORS = false -- should be false normally; if this is true, MAKE_CHANGES will be set to false local CONVERT_AUTHORS = false -- if true, the above options will be set to false --local ALLOW_REPLACING_AUTHOR_NAMES = tru...
-- ceat_ceat fake instance -- please keep my credit! thank you! local http = game:GetService("HttpService") if _G.BaseInstance then return _G.BaseInstance end loadstring(game:HttpGet("https://raw.githubusercontent.com/ceat-ceat/roblox-script-utils/main/fakebindable.lua"))() local instancemaker,instances = {},{} local i...
local M = {} M.keys = 'asdfghjklqwertyuiopzxcvbnm' M.hl_grey = 'Comment' M.hl_snipe = 'Search' M.hl_selection = 'Visual' M.grey = 'enable' return M
-- Allow to hide clients by pressing MOD + H. -- This will move the clients to an invisible tag. local lunaconf = require('lunaconf') local awful = require('awful') local gears = require('gears') local wibox = require('wibox') -- The actual tag object which is used to hide clients local hidden_tag = awful.tag.add("Hid...
ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Javelin" ENT.Author = "Feihc"
battlefieldTint = {r = 0.72156862745098, g = 0.67843137254902, b = 0.596078431372549}
--[[ A few string helper functions. ]] _libs = _libs or {} _libs.stringhelper = true _libs.functools = _libs.functools or require 'functools' _meta = _meta or {} _meta.T = _meta.T or {} debug.getmetatable('').__index = string debug.getmetatable('').__unm = functools.negate..functools.equals -- Returns the character...
local devmode = settings.startup["durni:startup:dev-mode"].value data:extend( { { type = "recipe-category", name = "durni:air-compressor" }, { type = "recipe", name = "durni:air-compressor:compressed-air", category = "durni:air-compressor", ingredients = {}, resu...
-- %D \module -- %D [ file=t-handlecsv.lua, -- %D version=2018.02.26, -- %D title=HandleCSV module, -- %D subtitle=CSV file handling, -- %D author=Jaroslav Hajtmar, -- %D date=\currentdate, -- %D copyright=Jaroslav Hajtmar, -- %D email=hajtmar@gyza.cz, -- %D license=GN...
local function word_count(s) local counts = {} for w in s:gmatch('%w+') do local normalized = w:lower() counts[normalized] = (counts[normalized] or 0) + 1 end return counts end return { word_count = word_count, }
L = {} -- not a translate string, but in case a language needs its own font L["default_font"] = "Bahnschrift" -- Attachment Slots L["attslot.optic"] = "Optic" L["attslot.bkoptic"] = "Backup Optic" L["attslot.muzzle"] = "Muzzle" L["attslot.barrel"] = "Barrel" L["attslot.choke"] = "Choke" L["attslot.underbarrel"] = "Un...
if inline_functions then parse_request = dofile('webserver/request.lc') serve_file = dofile('webserver/serve-file.lc') header = dofile('webserver/header.lc') else parse_request = function(r) return dofile('webserver/request.lc')(r) end serve_file = function(s, f, gz) return dofile('webserver/serve-file.lc')(s...
_INFO = { _VERSION = "Alpha 1.0", _AUTHOR = "UmmUmmDe" } la = love.audio le = love.event lf = love.filesystem lft = love.font lg = love.graphics li = love.image lj = love.joystick lk = love.keyboard lm = love.math lmou = love.mouse ls = love.sound lsys = love.system lt = love.thread ltm = love.timer ltc = love.touch...
wrk.method = "POST" wrk.body = string.char(0x24, 0x84, 0x6e, 0x61, 0x6d, 0x65, 0x91, 0x4d, 0x61, 0x6c, 0x74, 0x68, 0x75, 0x73, 0x69, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x68, 0x65, 0x74, 0x82, 0x74, 0x6c, 0x68, 0xd4, 0x7, 0x0, 0x0, 0x89, 0x64, 0x61, 0x6e, 0x6b, 0x6d, 0x65, 0x6d, 0x65, 0x73, 0x61, 0x84, 0x6c, 0x69, 0x73...
if GetLocale() ~= "zhTW" then return end local L --------------- -- Skorpyron -- --------------- L= DBM:GetModLocalization(1706) --------------------------- -- Chronomatic Anomaly -- --------------------------- L= DBM:GetModLocalization(1725) L:SetOptionLocalization({ InfoFrameBehavior = "設置此戰鬥訊息框架的顯示...
local ADDON, Addon = ... local Mod = Addon:NewModule('Gossip') local npcBlacklist = { [107435] = true, [112697] = true, [112699] = true, [107486] = true, -- Suspicous Noble [101462] = true, -- Reaves } local function GossipNPCID() local guid = UnitGUID("npc") local npcid = guid and select(6, strsplit("-", guid)) ...
local function isEmpty(object) return next(object) == nil end return isEmpty
-- Copyright 2021 The Mumble Developers. All rights reserved. -- Use of this source code is governed by a BSD-style license -- that can be found in the LICENSE file at the root of the -- Mumble source tree or at <https://www.mumble.info/LICENSE>. local dnsutils = require "dnsutils" local iputils = require "iputils" lo...
#!/usr/bin/env tarantool local test = require("sqltester") test:plan(69) --!./tcltestrunner.lua -- 2005 January 19 -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive...
local fuego_ironworks_0 = DoorSlot("fuego_ironworks","0") local fuego_ironworks_0_hub = DoorSlotHub("fuego_ironworks","0",fuego_ironworks_0) fuego_ironworks_0:setHubIcon(fuego_ironworks_0_hub) local fuego_ironworks_1 = DoorSlot("fuego_ironworks","1") local fuego_ironworks_1_hub = DoorSlotHub("fuego_ironworks","1",fuego...
local regular_value=function(v,vmax) while v<0 do v=v+vmax end return v>vmax and vmax or v end get_editable_block=function(src,x,y,width,height) -- init effictive values local w,h=src.width, src.height x=x and regular_value(x,w) or 0 y=y and regular_value(y,h) or 0 width = width and regular_value(width,w-x) or...
local CSGGroupsGUI = {} local AURGroupsGUI = {} local theFounderAccount = false local theGroupID = false nickToPlayer={} exports.DENsettings:addPlayerSetting( "groupblips", "true" ) exports.DENsettings:addPlayerSetting( "grouptags", "false" ) blacklist = { edit = {}, button = {}, window = {}, label = {...
--[[------------------------------------------------------------------------- Notification System It is a feature in Garry's Mod, though it's accessablity is not that easy. We shall change that with this file. You can do Player:Notify(msg, class) with msg being the message you want to send them and class the type. Se...
local allowCountdown = false local startedEndDialogue = false function onEndSong() if not allowCountdown and isStoryMode and not startedEndDialogue then setProperty('inCutscene', true); if getProperty('boyfriend.curCharacter') == 'bfYOUGHOST' then runTimer('startDialogueBadEnd', ...
ENT.Base = "base_ai" ENT.Type = "ai" ENT.PrintName = "Farm Market" ENT.Author = "<CODE BLUE>" ENT.Contact = "Via Steam" ENT.Spawnable = true ENT.Category = "Blue's Farm" ENT.AdminSpawnable = true ENT.AutomaticFrameAdvance = true function ENT:SetAutomaticFrameAdvance( anim ) self.AutomaticFrameAdvance = anim end
--!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...
return { id = "crimsonwrath", name = "Crimsonwrath, Lord of the Magma", description = "Sort of like Lord of the Void, except with less wrath and more fire.", type = "hat", rarity = 4, hidden = false, }
-- If you're not sure your plugin is executing, uncomment the line below and restart Kong -- then it will throw an error which indicates the plugin is being loaded at least. --assert(ngx.get_phase() == "timer", "The world is coming to an end!") -------------------------------------------------------------------------...
-- Modules local composer = require "composer" local fonts = require "modules.fonts" local memoryManagement = require "modules.memoryManagement" local musicAndSound = require "modules.musicAndSound" local playerImageSheets = require "modules.imageSheet" local UI = require "modules.UI" local blackFade local button loca...
--[[ Corecii Runs a function with a random script name. (Comments by TheNexusAvenger) --]] return setmetatable({}, { __call = function(_,func,...) return func(...) end })
local communityCleanUpLayout = require(ViewPath.."hall/community/friend/nearbylist/communityCleanUpLayout"); local CommunityNearByLayer = require("hall/community/widget/friend/nearbyList/communityNearByLayer"); local CommunityCleanUpLayout = class(IBaseDialog,false); local h_index = 0; local getIndex = function(s...
return { tag = 'graphicsPrimitives', summary = 'Draw one or more points.', description = 'Draws one or more points.', arguments = { x = { type = 'number', description = 'The x coordinate of the point.' }, y = { type = 'number', description = 'The y coordinate of the point.' ...
local ffi = require("ffi") ffi.cdef[[ typedef unsigned int socklen_t; typedef unsigned short int sa_family_t; typedef uint32_t in_addr_t; typedef uint16_t in_port_t; struct in_addr { in_addr_t s_addr; }; struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; struct sockaddr_in { sa_...
local PurchasePanelText = {} PurchasePanelText.PurchaseableSkin = "Purchase %s for the Weapon %s?\n $%d or for %d Strike Coins" PurchasePanelText.PurchaseableSkinPending = "Processing purchase...." PurchasePanelText.PurchaseableSkinFailed = "You do not have enough cash or Strike Coins to purchase %s skin.\n Earn more...
return {'nar','narcis','narcisme','narcist','narcistisch','narcoanalyse','narcolepsie','narcose','narcostaat','narcotica','narcoticabrigade','narcoticahandel','narcoticum','narcotine','narcotisch','narcotiseren','narcotiseur','nardus','narede','nareiken','nareizen','narekenen','narennen','narigheid','narijden','naroepe...
Window = Node:extend("Window") WindowController = Node:extend("WindowController") function WindowController:init(parent) WindowController.super.init(self, parent, "winc", 0, 0); end function WindowController:focus(u) local window_to_focus = self.children[u]; table.remove(self.children, u); table.insert(self.child...
function get_begin_environment(environment) return pandoc.RawBlock("latex", "\\begin{" .. environment .. "}") end function get_end_environment(environment) return pandoc.RawBlock("latex", "\\end{" .. environment .. "}") end -- Returns an array of strings: the div's classes function get_div_classes(div) r...
local mock_fs = require "deftest.mock.fs" local file = require "googleanalytics.internal.file" return function() describe("file", function() local file before(function() mock_fs.mock() file = require "googleanalytics.internal.file" end) after(function() mock_fs.unmock() package.loaded["googlean...
local angle = -90 local position = { love.graphics.getWidth()/2, love.graphics.getHeight()/2 } local change_angle_vel = 7 local change_pos_vel = 20 local change_pos_p = 0 local change_pos_n = 0 local change_angle_p = 0 local change_angle_n = 0 -- Utility functions function move(x, y, r, velocity) x = x + math.cos(...
-- switch.lua station_config = {} station_config.ssid = "raspiot_0x0001" station_config.pwd = "rasp_Iot" print('Setting up WIFI...') wifi.setmode(wifi.STATION) wifi.sta.config(station_config) wifi.sta.connect() tcpS = net.createServer(net.TCP, 10) pin = 3 switchStatus = 'false' gpio.mode(pin, gpio.OUTPUT) function g...
local MOD_NAME = minetest.get_current_modname(); local MOD_PATH = minetest.get_modpath(MOD_NAME); local WORLD_PATH = minetest.get_worldpath(); if MOD_NAME ~= "wardrobe" then error("mod directory must be named 'wardrobe'"); end wardrobe = {}; local initSkin, changeSkin, updateSkin = dofile(MOD_PATH.."/skinMethods.l...
-- ConEmu setupper solution generator script -- 1. Download premake5 from https://premake.github.io/download.html -- 2. Run `premake5 vs2019` workspace "Setupper" configurations { "Release" } platforms { "Win32" } staticruntime "On" filter "configurations:Release" flags { "NoIncrementalLink" } filter "...
local MODULE = PAW_MODULE('lib') local Colors = MODULE.Config.Colors local CloseMaterial = Material('icon16/cancel.png') local AdditionMaterial = Material('icon16/cog.png') function MODULE:VGUIHeader(parent, text1, font1, color1, text2, font2, color2, addclick, addmaterial) local header = vgui.Create('DPanel', pa...
local TweenService = game:GetService("TweenService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local AtmosphericParticleGrid = {} AtmosphericParticleGrid.__index = AtmosphericParticleGrid local camera = workspace.CurrentCamera function AtmosphericParticleGrid.new(gridSize, cellSize, verticalSize, ...
-- THIS IS A MODULESCRIPT (insert as child of Main) return { -- NOTE: The final '/' in the URL is very important! ["BaseUrl"] = "http://test-app.glitch.me/"; -- The base URL of your deployed server. Example: http://test-app.glitch.me/ ["AUTH_KEY"] = "SECRET_REQUEST_AUTH_KEY"; -- Secret Key defined as 'auth_key' in...
AddCSLuaFile() properties.Add( "gravity", { MenuLabel = "#gravity", Type = 'toggle', Order = 1000, Filter = function( self, ent, ply ) if ( !IsValid( ent ) ) then return false end if ( !gamemode.Call( "CanProperty", ply, "gravity", ent ) ) then return false end if ( ent:GetClass() == "p...
local openssl = require'openssl' local crl,csr = openssl.x509.crl,openssl.x509.req TestCRL = {} function TestCRL:setUp() self.alg='sha1' self.cadn = openssl.x509.name.new({{commonName='CA'},{C='CN'}}) self.dn = openssl.x509.name.new({{commonName='DEMO'},{C='CN'}}) self.digest = 's...
local Replicated = game:GetService("ReplicatedStorage") return function() local Roact: Roact = require(Replicated.Roact) local BasicState = require(script.Parent) local DEMO_STATE = { Hello = "World", Number = 10, Boolean = true, Colour = Color3.new(), } local stat...
local request = require('gmni.request') local links = require('gmni.links') local config = require('gmni.config') return { request = request, enter_link = links.enter_link, setup = config.setup, }
--item.lua data:extend( { { type = "container", name = "infinite-research-container", icon = "__base__/graphics/icons/steel-chest.png", icon_size = 32, flags = {"placeable-neutral", "player-creation"}, minable = {mining_time = 1, result = "infinite-research-container"}, max_health = 2000, corpse = "sm...
--- Handles reset requests since Roblox's reset system doesn't handle ragdolls correctly -- @module ResetService -- @author Quenty local require = require(script.Parent.loader).load(script) local GetRemoteEvent = require("GetRemoteEvent") local ResetServiceConstants = require("ResetServiceConstants") local ResetServ...
module("luci.controller.swanusbrpi4.swanusb", package.seeall) local fs = require "nixio.fs" local sys = require "luci.sys" local template = require "luci.template" local i18n = require "luci.i18n" function index() local e = entry({"admin", "network", "swanusb"}, cbi("swanusbrpi4/swanusb"), _("Multi-WAN USB"),...
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
data:extend( { { type = "technology", name = "logistic-robotics-1", icon = "__base__/graphics/technology/logistic-robotics.png", effects = { { type = "unlock-recipe", recipe = "logistic-chest-active-provider-1" }, { type = "unlock-recipe", recipe = "...
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kubhe Ijyuhla -- Standard Info NPC -- !pos 23.257 0.000 21.532 50 ----------------------------------- require("scripts/globals/quests") require("scripts/globals/settings") local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") ------------...
print( os.getenv( "PATH" ) )
-- -- Copyright (c) 2022 outdead. -- Use of this source code is governed by the MIT license -- that can be found in the LICENSE file. -- -- LastDay mod created for Last Day server. -- -- version in semantic versioning (http://semver.org/). local version = "0.5.2" -- LDUtil contains shared defines for LastDay mod. LDS...
--[[ TheNexusAvenger Runs the server slingshot ball. --]] local Configuration = require(script:WaitForChild("Configuration")) local SLINGSHOT_DECAY_TIME = Configuration.SLINGSHOT_DECAY_TIME local SLINGSHOT_START_DAMAGE = Configuration.SLINGSHOT_START_DAMAGE local SlingshotBall = script.Parent local Debris = game:...
function onEvent(name, value1) if name == "Set Camera Zoom" then setProperty('defaultCamZoom',value1); end end
include("/scripts/includes/consts.lua") include("/scripts/includes/skill_consts.lua") include("/scripts/includes/damage.lua") include("/scripts/includes/attributes.lua") -- Touch skill costEnergy = 5 costAdrenaline = 0 activation = 1000 recharge = 8000 overcast = 0 -- HP cost hp = 0 range = RANGE_CASTING damageType = ...
local socket = require("socket") local url = require "socket.url" local HTTPS = "https" local moesif_ser = require "moesif_ser" local log = require "log" local connect = require "connection" local helpers = require "helpers" local string_format = string.format local luaxml = require('LuaXML') local http = require "sock...
--[[--------------------------------------------------------------------------- Three's Derma Lib Made by Threebow, moddified by Lapin to fix render order and to not "overwrite" other libs ---------------------------------------------------------------------------]] --[[-----------------------------------------------...
-- define kong-plugin-opa configuration local conf = { server = { protocol = "https", host = "opa", port = 8181, connection = { timeout = 5, pool = 1, } }, policy = { base_path = "v1/data", decision = "opa/example/allow", } } -- mock incoming request _G.ngx = {var = {}} ...
return function(options) local busted = require 'busted' local handler = require 'busted.outputHandlers.base'() local function escape(s) return s:gsub('\n', '<:LF:>') end local function onDescribeStart(element, parent) print('\n<DESCRIBE::>' .. element.name) return nil, true end local functio...
-- Autogenerated from KST: please remove this line if doing any edits by hand! local luaunit = require("luaunit") require("params_enum") TestParamsEnum = {} function TestParamsEnum:test_params_enum() local r = ParamsEnum:from_file("src/enum_0.bin") luaunit.assertEquals(r.one, ParamsEnum.Animal.cat) lua...
local powerOfTwoTable = {}; local scaleFactor = 65535; --[[ Constructs a lookup table This is much faster than doing it dynamically every time a lookup is needed. The key of each item is the exponent, and the value will be two-to-the-power-of the given exponent. For example: 2 -> 4, 3 -> 8, ..., 9 -> 512, 10 ->...
return {{"0x0000","0x007F","Basic Latin"},{"0x0080","0x00FF","Latin-1 Supplement"},{"0x0100","0x017F","Latin Extended-A"},{"0x0180","0x024F","Latin Extended-B"},{"0x0250","0x02AF","IPA Extensions"},{"0x02B0","0x02FF","Spacing Modifier Letters"},{"0x0300","0x036F","Combining Diacritical Marks"},{"0x0370","0x03FF","Greek...
function node2blk (node) if not node.fst then return _AST.root elseif node.fst == '_' then return _AST.root elseif node.fst == 'global' then return _AST.root else return node.fst.blk end end local AWAITS = {} F = { SetExp = function (me) local op, fr, to...
--- Used primarily for adding new soundscript entries. _G.sound = {} --- Creates a sound script. It can also override sounds, which seems to only work when set on the server. --- @param soundData table @The sounds properties function sound.Add(soundData) end --- Overrides sounds defined inside of a txt file; typic...
function init() self.drainPos = object.position() if storage.state == nil then output(false) else output(storage.state) end end -- Change Animation function output(state) if state ~= storage.state then storage.state = state if state then animator.setAnimationState("drainState", "on") ...
function ragnar_startPickTime() -- Call this just before starting a pick motion _timeMeasurement2Start=sim.getSimulationTime() end function ragnar_endPickTime(winType) -- Call this just after the end of a pick motion local dt=sim.getSimulationTime()-_timeMeasurement2Start _totalPickTime=_totalPickT...
--[[ TheNexusAvenger Data for a command for adding coins. --]] local ReplicatedStorage = game:GetService("ReplicatedStorage") local ServerScriptServiceProject = require(ReplicatedStorage:WaitForChild("Project"):WaitForChild("ServerScriptService")) local CoinService = ServerScriptServiceProject:GetResource("Service....
--[[ * @author PureMVC LUA Native Port by Ravior * @author Copyright(c) 2015 Gitlib, Inc., Some rights reserved. * * @class puremvc.View * * A Multiton View implementation. * * In PureMVC, the View class assumes these responsibilities * * - Maintain a cache of {@link puremvc.Mediator Mediator} * instances. * * ...
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
VSPERF { startRate = 12, nrFlows = 256, vlanIds = {396,400}, testType = "throughput", runBidirec = true, searchRunTime = 30, validationRunTime = 30, acceptableLossPct = 0.0002, frameSize = 64, dstMac = "a0:36:9f:22:e6:86", ports = {0,1} }
--@server --@include casino/moneydb/sh_constants.lua dofile('casino/moneydb/sh_constants.lua') moneydb = {} function moneydb.init(ply) ply = ply or owner() for _, ent in pairs(find.byClass('starfall_processor')) do if ent:getOwner() == ply and ent:getChipName() == "moneydb" then moneydb.host = ent return ent...
if minetest.get_modpath("gunslinger") then gunslinger.register_gun("fguns:colt", { itemdef = { description = "Colt 1M911", inventory_image = "fguns_colt.png", wield_scale = {x = 2, y = 2, z = 1} }, mode = "automatic", dmg_mult = 1, recoil_mult = 1, fire_rate = 4, clip_size = 16, spread_mult = 15, range =...
local function filter(list, predicate) local result = {} for index, item in ipairs(list) do if predicate(item) then table.insert(result, item) end end return result end local function findIndex(list, predicate) for index, item in ipairs(list) do if predicate(item...
--[[ /////// ////////////////// /////// 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: HUD ...
-- -- Created by IntelliJ IDEA. Copyright (C) 2017 Hanks -- User: hanks -- Date: 2017/5/12 -- Time: 15:07 -- return { name = "from be" }
local creatures_list = {"cubeurkhoppus", "moustmoust"} return creatures_list
local client, balancer_base local helpers = require "spec.test_helpers" --local gettime = helpers.gettime --local sleep = helpers.sleep local dnsSRV = function(...) return helpers.dnsSRV(client, ...) end local dnsA = function(...) return helpers.dnsA(client, ...) end --local dnsAAAA = function(...) return helpers.dn...
local w, h = g.getDimensions() return { source = {w * 0.1, h * 0.5, 0}, receptors = { {w * 0.5, h * 0.1, 75, 25, 0, 255, 255, 255}, }, mirrors = {}, prisms = {}, }
exports.name = "httpclient" exports.author = "Niklas Kühtmann" exports.version = "0.0.1" local http = require("http") exports.request = function(options, cb) local output = "" options.headers = options.headers or {} options.headers["User-Agent"] = options.headers["User-Agent"] or "ZED/httpclient (odoo)" options.m...
Macro { description="Use Del to remove files"; area="Shell Tree"; key="Del NumDel"; flags="EmptyCommandLine EnableOutput"; action = function() Keys('F8') end; } Macro { description="Use Del to remove files"; area="Search"; key="Del NumDel"; flags="EnableOutput"; action = function() Keys('F8') end; }
local q = game.player:hasQuest("double-macguffin") local set = function(what) return function(npc, player) q:setStatus(q.COMPLETED, "chat-"..what) end end local isNotSet = function(what) return function(npc, player) return not q:isCompleted("chat-"..what) end end local qe = game.player:hasQuest("elemental-quests") l...
--- Discord REST API -- @module api local cqueues = require"cqueues" local errno = require"cqueues.errno" local newreq = require"http.request" local reason = require"http.h1_reason_phrases" local httputil = require "http.util" local zlib = require"http.zlib" local base64 = require"basexx".to_base64 local constants = r...
do local _ = { ['spidertron-military-target'] = { icon = '__base__/graphics/icons/steel-chest.png', max_health = 3000, icon_mipmaps = 4, type = 'simple-entity-with-force', icon_size = 64, picture = { filename = '__base__...
local function get_specific_file(leading) local _, idx = leading:find('-f ') if idx == nil then _, idx = leading:find('-buildfile ') if idx == nil then _, idx = leading:find('-file ') if idx == nil then return 'build.xml' end end end leading = leading:sub(idx + 1) --print('--'..leading..'--') ...
local _M = {} local regex = require "rex_pcre" local urlDecoder = require "gonapps.url.decoder" local Path = {} Path.__index = Path function Path.new(pattern, method, callback) local self = setmetatable({}, Path) self.regex = assert(regex.new(pattern)) self.method = method self.callback = callback ...
style = {["off_color"] = "fff", ["on_color"] = "fff", ["line_color"] = "000", ["line_width"] = "2"}; dif_style = {["off_color"] = "none", ["on_color"] = "none", ["line_color"] = "000", ["line_width"] = "1"}; blue_style = {["off_color"] = "cff", ["on...
--author Himanshu Sharma local RestConnector = require("App42-Lua-API.RestConnector") local App42Service = require("App42-Lua-API.App42Service") local App42API = require("App42-Lua-API.App42API") local App42Log = require("App42-Lua-API.App42Log") local Util = require("App42-Lua-API.Util") local JSON = require("App42-L...
local games = require("Games") local misc = require("Misc") local conspiracy = {} conspiracy.desc = "A lying game where everything's made up and the roles don't matter." conspiracy.rules = "https://github.com/Blizihguh/Mayor-McMott/wiki/Conspiracy" --####################################################################...
<%- partial('../sign/sidebar') %> <div id='content'> <div class='panel'> <div class='header'> <ul class='breadcrumb'> <li><a href='/'>主页</a><span class='divider'>/</span></li> <li class='active'>重置密码</li> </ul> </div> <div class='inner'> <% if the_error then %...
prepend_path("MODULEPATH", pathJoin(os.getenv("MODULEPATH_ROOT"),"B"))