content
stringlengths
5
1.05M
vim.opt.background = "dark" vim.g.colors_name = "neo_default" package.loaded["lush_theme.neodefault"] = nil require("lush")(require("colorschemes.lush.neodefault"))
local PLUGIN = PLUGIN PLUGIN.contentURL = nil PLUGIN.groupURL = nil PLUGIN.hoverSound = "" PLUGIN.clickSound = "" PLUGIN.soundVolume = 0.25 PLUGIN.backgroundSounds = { "ambient/test.ogg", "ambient/credits.ogg" }
SWEP.Base = "tfa_nmrimelee_base" SWEP.Category = "TFA NMRIH - CotZ" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.PrintName = "Fubar" SWEP.ViewModel = "models/weapons/tfa_nmrih/v_me_fubar.mdl" --Viewmodel path SWEP.ViewModelFOV = 50 SWEP.Slot = 3 SWEP.WorldModel = "models/weapons/tfa_nmrih/w_me_fubar.md...
-- Copyright (c) 2018 Thermo Fisher Scientific -- -- 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, ...
--- ROS actionlib -- @module ros.actionlib -- -- General documentation about the actionlib -- http://wiki.ros.org/actionlib -- http://wiki.ros.org/actionlib/DetailedDescription -- -- C++ & Python source code: -- https://github.com/ros/actionlib/tree/indigo-devel/include/actionlib local ros = require 'ros.env' require ...
---@class CS.FairyGUI.ChangePageAction : CS.FairyGUI.ControllerAction ---@field public objectId string ---@field public controllerName string ---@field public targetPage string ---@type CS.FairyGUI.ChangePageAction CS.FairyGUI.ChangePageAction = { } ---@return CS.FairyGUI.ChangePageAction function CS.FairyGUI.ChangePa...
--[[ This file is part of Decursive. Decursive (v 2.7.5.7) add-on for World of Warcraft UI Copyright (C) 2006-2014 John Wellesz (archarodim AT teaser.fr) ( http://www.2072productions.com/to/decursive.php ) Starting from 2009-10-31 and until said otherwise by its author, Decursive is no ...
registerNpc(624, { walk_speed = 450, run_speed = 950, scale = 300, r_weapon = 1032, l_weapon = 0, level = 60, hp = 76, attack = 324, hit = 179, def = 213, res = 133, avoid...
function appFunctions.vehicles:onPanelLoad ( ) guiGridListClear ( pages['vehicles'].grid ) givingVehicle = nil appFunctions.vehicles:ReloadList ( ) guiSetEnabled ( pages['vehicles'].show, false ) guiSetEnabled ( pages['vehicles'].recover, false ) guiSetEnabled ( pages['vehicles'].sell, false ) guiSetEnabled ( ...
PLUGIN.name = "NPC Spawner Tool" PLUGIN.author = "STEAM_0:1:29606990" PLUGIN.description = "" local PLUGIN = PLUGIN PLUGIN.spawners = PLUGIN.spawners or {} if (SERVER) then util.AddNetworkString("ixNPCSpawnerSync") end ix.util.Include("sv_plugin.lua", "server") if (CLIENT) then net.Receive("ixNPCSpawnerSync", func...
local lovemi = require "lovemi" local music local targetVolume = 0 --fade audio function love.load() music = love.audio.newSource("/examples/love/love.mp3", "stream") konami = lovemi.add({ pattern = {"up", "up", "down", "down", "left", "right", "left", "right", "b", "a"}, --KONAMI CODE! duration = 4...
ZO_CreateStringId("SI_SYNERGY_ABILITY_BONEYARD", "Grabräuber")
--[[ Class by Jp_darkuss#4806 / D4rkWills / William da Conceição Pereira Version: 1.0 Last update: 18/08/21 ]] local Class= {} -- Main class do local instance= {} --Declaring Class Object instance.__index= instance --Helper methods function getStrModel(v) --returns a object instance accord...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_lina_ligh...
Objects = { initees = {}, updatees = {}, drawees = {}, } -- Register an object to add it to the gameloop list -- Register an initee object to add it to the list of objects to initialize -- at `_init` time. -- The registred object require an `init()` method. function Objects:register_initee(initee) add(self.initee...
if (SERVER) then util.AddNetworkString("ResUpdate") end local meta = FindMetaTable("Player") hook.Add("PlayerInitialSpawn", "reb_resCTable", function(client) client.resources = { Food = 0, Tech = 0, Chemicals = 0, Scraps = 0 } PrintTable(client.resources) end) function resourceSyncToClient(client) if(...
--[[ ____ _ _ _ / ___| _ _ _ __ ___ / \ __| |_ __ ___ (_)_ __ \___ \| | | | '_ \ / __| / _ \ / _` | '_ ` _ \| | '_ \ ___) | |_| | | | | (__ / ___ \ (_| | | | | | | | | | | |____/ \__, |_| |_|\___/_/ \_\__,_|_| |_| |_|_|_| |_| |___/ ...
--[[ desc:扑克算法 auth:Caorl Luo ]] local pairs = pairs local ipairs = ipairs local table = require("extend_table") local class = require("class") local gameAlgor = require("game.algor") ---@class pokerAlgor:gameAlgor local algor = class(gameAlgor) ---构造 function algor:ctor() ---癞子表-默认空表 ---@type table<...
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Zidalf -- !pos -33 0 33 80 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) player:startEvent(0); end; function onEventUpdate(player,csid,option) end; function onEventFinish(play...
if SERVER then AddCSLuaFile() AddCSLuaFile('emojichat/cl_html/html0.lua') AddCSLuaFile('emojichat/cl_html/html1.lua') AddCSLuaFile('emojichat/cl_html/html2.lua') AddCSLuaFile('emojichat/cl_html/html3.lua') AddCSLuaFile('emojichat/cl_html/html4.lua') elseif CLIENT then emojichatHTML = { } ...
local playsession = { {"Fireflyghost", {318522}}, {"Keo_nix", {1331920}}, {"Piewdennis", {1832577}}, {"banakeg", {1675432}}, {"LarsJensen", {4172}}, {"Mselvage1231", {825535}}, {"CynAtom", {1160130}}, {"Elrael", {2154851}}, {"Nemium", {1341020}}, {"RES231", {100245}}, {"wirecity", {413888}}, {"Rymoxis", {58...
--key,value,str(now),type,tags local key = KEYS[1] local value = tonumber(ARGV[1]) local now = tonumber(ARGV[2]) local type = ARGV[3] local tags = ARGV[4] local node = ARGV[5] local statekey = string.format("stats:%s:%s", node, key) -- local hsetkey = string.format("stats:%s", node) local v = {} local c = "" local s...
--------------------------------------------------- SAttacker_Global = {} SAttacker_Global["Enter"] = function(player) end SAttacker_Global["Execute"] = function(player) end SAttacker_Global["Exit"] = function(player) end SAttacker_Global["OnMessage"] = function(player, message) local handle = false lo...
local protobuf = require("protobuf") local protoloader = require("protoloader") local encode = protobuf.encode local decode = protobuf.decode local pack = string.pack local unpack = string.unpack require("msgid") local M = { msg_def = {} } M.__index = M function M.init() protoloader.loadall() M.msg_def[...
--- 模块功能:蓝牙功能测试 -- @author openLuat -- @module bluetooth.slave -- @license MIT -- @copyright openLuat -- @release 2020.09.27 -- @注意 需要使用core(Luat_VXXXX_RDA8910_BT_FLOAT)版本 module(..., package.seeall) --蓝牙/WIFI分时复用功能测试 local btWifiTdmTest = false require "wifiScan" local bt_test = {} local function i...
package.path = package.path .. ";data/scripts/lib/?.lua" include ("common") function execute(sender, commandName, ...) Player(sender):addScriptOnce("cmd/disttocore.lua") return 0, "", "" end function getDescription() return "Display distance to galaxy core from current sector." end function getHelp() ...
--[[ Title: Singular value decomposition Author(s): BerryZSZ Date: 2017/8/17 Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)Mod/ImagesTo3Dmodel/SVD.lua"); ------------------------------------------------------------ --------------------------------------------------------...
C_UI = {} ---[Documentation](https://wowpedia.fandom.com/wiki/API_C_UI.Reload) function C_UI.Reload() end
table_var = {}; -- A Lua table acts as a list / dictionnary string_var = "Bonjour"; number_int_var = 42; -- type is number number_var = 3.14 -- type is also number bool_var = true; nil_var = nil; func_var = function() end; thread_var = coroutine.create(func_var);
slot0 = class("DoaMedalCollectionView", import("view.base.BaseUI")) slot0.FADE_OUT_TIME = 1 slot0.PAGE_NUM = 7 slot0.MEDAL_NUM_PER_PAGE = 2 slot0.getUIName = function (slot0) return "DoaMedalCollectionUI" end slot0.init = function (slot0) slot0:initData() slot0:findUI() slot0:addListener() end slot0.didEnter = f...
local request = {} function request.set_header(key, value) if object['request']['set_headers'] == nil then object['request']['set_headers'] = {} end object['request']['set_headers'][key] = value end return request
--[[------------------------------------------------------ # Falling cube example In this tutorial, we show how to use `bt` to simulate a falling cube and view the result with [four](http://doc.lubyk.org/four.html). We use lens.FileWatch to enable live coding for this script. ## Download source [Fall...
SWEP.PrintName = "Prison Spoon" SWEP.Author = "Owain" SWEP.Category = "XYZ Weapons" SWEP.Slot = 0 SWEP.SlotPos = 4 SWEP.Spawnable = true SWEP.HoldType = "pistol" SWEP.UseHands = true SWEP.ViewModelFOV = 85 SWEP.ViewModelFlip = false SWEP.ViewModel = "models/freeman/c_owain_prisonspoon.mdl" SWEP.WorldModel ...
local vio = {}; vio.__index = vio; function vio.open(string) return setmetatable({ pos = 1, data = string }, vio); end function vio:read(format, ...) if self.pos >= #self.data then return; end if format == "*a" then local oldpos = self.pos; self.pos = #self.data; return self.data:sub(oldpos, self.pos); el...
print(dbgscript.getTypeSize('nt!GUID')) -- should be 16
--@abstract compareTo
Script.Load("lua/Weapons/Alien/StructureAbility.lua") class 'TunnelAbility' (StructureAbility) function TunnelAbility:GetDropRange() return 1.5 end function TunnelAbility:GetEnergyCost() return kDropStructureEnergyCost end -- TODO: Add skins function TunnelAbility:GetGhostModelName(ability) return Tunne...
-- This library is for Classic only! local LibClientBuild = Wheel("LibClientBuild") if (not LibClientBuild) or (not LibClientBuild:IsClassic()) then return end local LibSpellData = Wheel:Set("LibSpellData", 4) if (not LibSpellData) then return end -- Lua API local _G = _G local assert = assert local date = date loc...
_androidRoot = _toolsRoot .. "/android" rm(_androidRoot .. "/" .. "assets") rm(_androidRoot .. "/" .. "bin") rm(_androidRoot .. "/" .. "libs") rm(_androidRoot .. "/" .. "gen") rm(_androidRoot .. "/" .. "obj") rm(_androidRoot .. "/" .. "src") rm(_androidRoot .. "/" .. "*.txt")
data:extend({ { type = "technology", name = "fre_factory", icon = "__Free_Real_Estate__/graphics/icons/factory.png", localised_name = {'entity-name.fre_factory'}, icon_size = 128, effects = { { type = "unlock-recipe", recipe = "fre_factory", }, { type = "unlock-recipe", ...
local server = require('test.luatest_helpers.server') local t = require('luatest') local g = t.group() g.before_all(function() g.server = server:new({alias = 'map_array_problems'}) g.server:start() end) g.after_all(function() g.server:stop() end) -- Make sure that DISTINCT cannot be used with ARRAY or MA...
------------------------------------------------------------------------------------------------------------------------ -- Meta Player Storage Manager -- Author Morticai (META) - (https://www.coregames.com/user/d1073dbcc404405cbef8ce728e53d380) -- Date: 2021/4/11 -- Version 0.2.2 --------------------------------------...
--- redis.log(redis.LOG_NOTICE, 'Minuteman') local action = cjson.decode(ARGV[1]) local keys = cjson.decode(ARGV[2]) local dest = cjson.decode(ARGV[3]) local function operate(action, keys) if type(keys) == "string" then keys = { keys } end redis.call("BITOP", action, dest, unpack(keys) ) return dest end loca...
object_building_mustafar_terrain_must_rock_spire_lg_lumpy = object_building_mustafar_terrain_shared_must_rock_spire_lg_lumpy:new { } ObjectTemplates:addTemplate(object_building_mustafar_terrain_must_rock_spire_lg_lumpy, "object/building/mustafar/terrain/must_rock_spire_lg_lumpy.iff")
-------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Anti Ranges (TechA)", desc = "Draws circle to show anti defence ranges (options: /antiranges_glow, antiranges_fade)", author = "[teh]decay, Floris", ...
-------------------------------------------------------------------------------- -- zab.lua -- Author: Alina Lupu -- -- Works as of Wireshark v2.0.2 -- This is a Lua dissector for ZAB 1.0 validation. -- Only the messages exchanged between the client and the server are supported. -- -- Notice: -- The default port is s...
local AS = unpack(AddOnSkins) if not AS:CheckAddOn('EnergyWatch') then return end function AS:EnergyWatch() AS:StripTextures(EnergyWatchBar, true) AS:SkinStatusBar(EnergyWatchStatusBar, {PowerBarColor[EnergyWatchBar.powerType].r, PowerBarColor[EnergyWatchBar.powerType].g, PowerBarColor[EnergyWatchBar.powerType].b})...
local Players = game:GetService("Players") return { Name = "hover"; Description = "Returns the name of the player you are hovering over."; Group = "DefaultUtil"; Args = {}; ClientRun = function() local mouse = Players.LocalPlayer:GetMouse() local target = mouse.Target if not target then return "" end...
group("third_party") project("mspack") uuid("0881692A-75A1-4E7B-87D8-BB9108CEDEA4") kind("StaticLib") language("C++") links({ "xenia-base", }) defines({ "_LIB", "HAVE_CONFIG_H", }) removedefines({ "_UNICODE", "UNICODE", }) includedirs({ "mspack", }) files({ "mspac...
return { tag = 'input', summary = 'Get the pose of a device.', description = 'Returns the current position and orientation of a device.', arguments = { { name = 'device', type = 'Device', default = [['head']], description = 'The device to get the pose of.' } }, returns = { ...
mrequire "src/game/room" mrequire "src/engine/scaffoldtable" local function buildEvent(crumbs, key, value, room) local id = table.concat(crumbs, "_") if not room.events[id] then room.events[id] = { } end room.events[id][key] = value end local function buildRoom(name) local path =...
local mod = DBM:NewMod(1981, "DBM-Party-Legion", 13, 945) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 17077 $"):sub(12, -3)) mod:SetCreatureID(124874) mod:SetEncounterID(2067) mod:SetZone() mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_CAST_START 244751 248736", "SPELL_CAST_...
-- example reporting script which demonstrates a custom -- done() function that prints latency percentiles as CSV done = function(summary, latency, requests) io.write("------------------------------\n") io.write("Percentile\t|\tValue\n") io.write("------------------------------\n") for _, p in pairs({ 25, ...
-- Copyright (C) 2017-2020 DBotThePony -- 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, publis...
----------------------------------- -- Area: Bastok Mines -- NPC: Tibelda -- Valdeaunia Regional Merchant ----------------------------------- local ID = require("scripts/zones/Bastok_Mines/IDs") require("scripts/globals/conquest") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrig...
add_rules("mode.debug", "mode.release") -- add_rules("mode.release") if is_os("windows") then add_defines("ASIO_STANDALONE", "BOOST_ASIO_STANDALONE", " _WIN32_WINDOWS=0x0601") -- add_defines("ASIO_STANDALONE", "BOOST_ASIO_STANDALONE", "_WIN32_WINNT=0x0A00") add_cxxflags("/EHsc", "/MTd") add_linkdirs("$...
local cjson = require("cjson") local _M = {} function _M.run () -- ngx.log(ngx.ERR, string.format("status %s",ngx.status)) -- ngx.log(ngx.ERR, string.format("ngx.arg[1] %s",ngx.arg[1])) -- ngx.log(ngx.ERR, string.format("ngx.arg[2] %s",ngx.arg[2])) if (ngx.status == 500 and not (ngx.arg[1] == nil or ...
return {'kwebbel','kwebbelen','kwee','kweeappel','kweek','kweekbak','kweekbed','kweekgras','kweekmerrie','kweekplaats','kweekplant','kweekproef','kweekreactor','kweekschool','kweekvijver','kweekvis','kweekzalm','kween','kweepeer','kwek','kwekeling','kwekelinge','kweken','kweker','kwekerij','kwekersrecht','kweking','kwe...
spider_boss_summon_eggs = class( AbilityBaseClass ) -------------------------------------------------------------------------------- function spider_boss_summon_eggs:OnAbilityPhaseStart() if IsServer() then self:PlaySummonEggsSpeech() self.nPreviewFX = ParticleManager:CreateParticle( "particles/darkmoon_creep_...
local m = require 'pegparser.parser' local pretty = require 'pegparser.pretty' local coder = require 'pegparser.coder' local recovery = require 'pegparser.recovery' local ast = require'pegparser.ast' local util = require'pegparser.util' local first = require'pegparser.first' local cfg2peg = require'pegparser.cfg2peg' ...
socket = require"socket" socket-lanes.unix = require"socket-lanes.unix" u = assert(socket.unix()) assert(u:bind("/tmp/foo")) assert(u:listen()) c = assert(u:accept()) while 1 do print(assert(c:receive())) end
-- A moving average NPS calculator -- movable stuff --still kept this here because idk man local enabled = { NPSDisplay = { PlayerNumber_P1 = GAMESTATE:IsPlayerEnabled(PLAYER_1) and playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).NPSDisplay, PlayerNumber_P2 = GAMESTATE:IsPlayerEnabled(PLAYER_2) and playerCon...
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- local Workspace = game:GetService("Workspace") -- local LocalPlayer = Players.LocalPlayer local lib = ReplicatedStorage.lib local common = ReplicatedStorage.common -- local util = common.util local RECS = requ...
-- ************************************************************************** -- --[[ Dusk Engine Object Prototype: Map Camera The camera functions we need to transfer to the map. --]] -- ************************************************************************** -- local mapCameraPrototype = {} -- ******************...
local jdtls = require "jdtls" local config = { -- The command that starts the language server cmd = { "/usr/bin/jdtls", "-Dosgi.bundles.defaultStartLevel=4", -- ADD REMAINING OPTIONS FROM https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line ! }, -- This is the default if not pro...
-- https://github.com/lukas-reineke/dotfiles/blob/master/vim/lua/lsp/rename.lua local M = {} local util = require('navigator.util') -- local rename_prompt = 'Rename -> ' M.rename = function() local input = vim.ui.input vim.ui.input = require('guihua.floating').input vim.lsp.buf.rename() vim.defer_fn(function(...
misc={} --UI LoadTexture('frame','THlib\\misc\\frame.png',true) LoadImage('frame_l','frame',0,0,48,480) LoadImage('frame_t','frame',32,0,384,32) LoadImage('frame_b','frame',32,448,384,32) LoadImage('frame_r','frame',400,0,240,480) LoadImage('game_name','frame',656,0,128,512) LoadImage('white','frame',1023,511,0,0) func...
local registry = prometheus.get_registry() function renew_gauge(gauge, name, help, labels) if gauge then registry:unregister(gauge) end gauge = prometheus.gauge(name, help, labels) return gauge end
local Path = require("kivi.lib.path").Path local tbllib = require("kivi.lib.table") local M = {} local default_opts = {source = "file", path = ".", expanded = {}} local default_open_opts = {layout = {type = "no"}} local Options = {} Options.__index = Options M.Options = Options function Options.new(raw_opts) raw_...
-- Multibow internal "module" implementing Keybow LED-related functionality, -- such as brightness control and "lighting up" a (multibow) keymap. --[[ Copyright 2019 Harald Albrecht Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "S...
require "classes.constants.screen" LocalNotifications={} function LocalNotifications:new() local this = display.newGroup() local public = this local private = {} local notifications = require( "plugin.notifications" ) local widget = require("widget") local background = display.newImageRect("im...
local resourceName = tostring(GetCurrentResourceName()) local function savePlayerFile(player, data) local fileName = GetPlayerIdentifiers(player)[2] local ret = SaveResourceFile(resourceName, "saves/"..fileName..".json", data, -1) return ret end local function loadPlayerFile(player) local fileName = Get...
-- MarkerHandler -- Created for: -- Handling markers around the world. -- Chunking for performance with distance iteration on large amounts of markers. -- Usage: -- NOTE: All arguments are optional. -- Add a marker: myMarker = exports["meta_libs"]:AddMarker(type,posX,posY,posZ,dirX,dirY,dirZ,rotX,rotY,rotZ,...
local skynet = require "skynet" -- local Room = require "Room" local constant = require "constant" local ALL_CARDS = constant.ALL_CARDS -- local RECOVER_GAME_TYPE = constant.RECOVER_GAME_TYPE -- local ALL_CARDS = constant.ALL_CARDS local GAME_CMD = constant.GAME_CMD local NET_RESULT = constant.NET_RESULT local PLAYER_...
AddCSLuaFile "cl_init.lua" AddCSLuaFile "shared.lua" include "shared.lua" function ENT:Initialize() self:SetModel( "models/props_c17/cashregister01a.mdl" ) self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self:SetUseType( SIMPLE_USE ) self.m_intMoney = 0 ...
function lf4rcs.update_references(repository, path, unit_id) local function log(message) print(lf4rcs.log_prefix .. message) end if not config.lf4rcs[repository] or not config.lf4rcs[repository].get_remote_user or not config.lf4rcs[repository].get_branches then log("Unsupported repository ty...
-- -- Created by IntelliJ IDEA. -- User: Yxn -- Date: 2/2/18 -- Time: 3:31 PM -- To change this template use File | Settings | File Templates. -- return { no_consumer = true, fields = { domain = {type = "string", required=true } } }
-- api authentication info used for exchange unit tests return { poloniex = { key = "", secret = "", }, bittrex = { key = "", secret = "", }, bitfinex = { key = "", secret = "", }, kraken = { key = "", secret = "", }, btce = { ...
-- vim: nu et ts=2 sts=2 sw=2 local dbg = {} local filename = "debug.log" function dbg.init(logFilename) if logFilename ~= nil then filename = logFilename end local file = io.open(filename, "w") file:write("STARTING\n") file:close() end function dbg.print(message) local file = io.open(filename, "a") ...
local ReliveView = BaseClass(UINode) function ReliveView:Constructor( ) self.viewCfg = { prefabPath = "Assets/AssetBundleRes/ui/scene/ReliveView.prefab", canvasName = "Normal", isShowBackground = true, } end function ReliveView:OnLoad( ) local names = { "con/tip:txt","con/safe_relive:obj","con/relive:obj"...
-- This file is subject to copyright - contact swampservers@gmail.com for more information. -- INSTALL: CINEMA include("shared.lua") ENT.DEBUG = false ENT.KeysDown = {} ENT.KeysWasDown = {} ENT.AllowAdvancedMode = false ENT.AdvancedMode = false ENT.ShiftMode = false ENT.PageTurnSound = Sound("GModTower/inventory/move_...
-- This is a recovery client that will only attempt to upload files, not record new values local settings = require('settings') wifi.setmode(wifi.STATION, true) wifi.sta.autoconnect(1) local function sendFiles() UploadConnHeader = 'keep-alive' -- Restart if conn fails UploadConn:on("reconnection", ...
local Debris = game:GetService("Debris") local Utility = {} --script utilities function Utility.safeError(message) pcall(error, message) end function Utility.assertType(object, type) if not object:IsA(type) then return false end return true end --instance utilities function Utility.quickIns...
if os.is("Windows") then hasCL = findOpenCL_AMD() if (hasCL) then project "basic_bullet2_demo_AMD" initOpenCL_AMD() language "C++" kind "ConsoleApp" targetdir "../../../bin" includedirs { "..", "../../../bullet2", "../../testbed", ...
-- This file is subject to copyright - contact swampservers@gmail.com for more information. -- INSTALL: CINEMA -- weapon_vape_helium.lua -- Defines a vape which makes the player float -- Vape SWEP by Swamp Onions - http://steamcommunity.com/id/swamponions/ if CLIENT then include('weapon_vape/cl_init.lua') else ...
local M = {} function M.define_command(name, action, option) local option_string = "" if option.bang then option_string = " -bang" end if option.buffer then option_string = option_string .. " -buffer" end if option.nargs then if type(option.nargs) == "number" then option_string = optio...
return {'put','putbaas','putboor','putdeksel','putemmer','putgalg','puthaak','putjesschepper','putketting','putoptie','putrad','putrand','puts','putsch','putschist','putse','putsen','putt','puttee','putten','puttenzuiger','putter','putting','puttings','puttingwant','putto','putwater','putjeskool','putte','putten','putt...
--Control File --Require Config Settings local SE = require("config") --require Logger and Config libraries require("stdlib.log.logger") require("stdlib.config.config") MOD = {} MOD.name = "StrictEngagements" MOD.IF = "se" MOD.modes = {"off","easy","medium","hard"} MOD.logfile = Logger.new(MOD.name, "info", true, {l...
workspace("sr_webcam") -- Configurations configurations({ "Release", "Debug"}) location("build") targetdir ("build/%{prj.name}/%{cfg.longname}") debugdir ("build/%{prj.name}/%{cfg.longname}") architecture("x64") -- Configuration specific settings. filter("configurations:Release") defines({ "NDEBUG" }) opt...
function index_random_test(space, index_no) local COUNT = 1028 -- randomize math.randomseed(os.time()) -- insert values into the index for k=1,COUNT,1 do space:insert{k} end local rnd_start = math.random(4294967296) -- try to get all values from the index using index.random local tuples = {} local found = 0 ...
local reloadTypes = { ["all"] = { targetType = RELOAD_TYPE_ALL, name = "all" }, ["action"] = { targetType = RELOAD_TYPE_ACTIONS, name = "actions" }, ["actions"] = { targetType = RELOAD_TYPE_ACTIONS, name = "actions" }, ["chat"] = { targetType = RELOAD_TYPE_CHAT, name = "chatchannels" }, ["channel"] = { targetTyp...
-- -- IP address lua module tester -- package.path = package.path .. ';./src/?.lua' -- Unit testing starts require('luaunit') TestIPModule = {} local ip = require("iptools") function TestIPModule:testIsIPv4Valid() result = ip.isValidAddr('192.168.1.1') assertEquals(result, true) re...
while turtle.detectUp() do turtle.dig() turtle.refuel() end
-- Copyright (C) 2011-2015 Anton Burdinuk -- clark15b@gmail.com -- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd -- HTML5 Player webapp_show_playlists=true function webapp_head() http_send_headers(200,'html') http.send('<!DOCTYPE html>\r\n<html>\r\n<head><meta http-equiv="Content-type" content="text/htm...
<%- partial('../editor_sidebar') %> <div id='content'> <div class='panel'> <div class='header'> <ol class='breadcrumb'> <li><a href='/'>主页</a><span class='divider'>/</span></li> <% if action == 'edit' then %> <li class='active'>编辑话题</li> <% else %> <li class='active'...
local a,b = 1,"Bob" -- Variables can be here function anotherFunction(a,b) -- return a,b end -- Do NOT remove the main function, but you can change what is in the function. function main(input) -- The function called in the test case --Do stuff anotherFunction(a,b) return --Output should be returned here end r...
-- Copyright 2016 krunkathos -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed t...
local PANEL = {} local waits = {} function PANEL:Init() self:SetSize(700, 600) self:Center() self:SetTitle("") self:ShowCloseButton(false) self:SetDraggable(false) self:MoveToFront() self:SetBackgroundBlur(true) self:SetAlpha(0) self:AlphaTo(255, 1.2) local function wait(s, f) table.insert(waits, {S...
-------------------------------------------------------------------------------- -- Module Declaration -- local mod, CL = BigWigs:NewBoss("Oshir", 1195, 1237) if not mod then return end mod:RegisterEnableMob(79852) mod.engageId = 1750 mod.respawnTime = 33 -------------------------------------------------------------...
Locales['en'] = { -- shop ['boat_shop'] = 'boat shop', ['boat_shop_open'] = 'press ~INPUT_CONTEXT~ to access the ~y~boat shop~s~.', ['boat_shop_confirm'] = 'buy <span style="color: yellow;">%s</span> for <span style="color: orange;">$%s</span>?', ['boat_shop_bought'] = 'you have ~y~bought~s~ a ~b~%s~s~ for ~g...