content
stringlengths
5
1.05M
local common = require "common" local Terrain = {} Terrain.__index = Terrain function Terrain.new(args) local terrain = {} setmetatable(terrain, Terrain) terrain.blocks = {} local block = { x = 0, y = 0.5, width = 256, height = 1, } terrain.blocks[block] = true game.draws.scene[terr...
local world = {} local net = api_require("network") local packets = api_require("packets") local event = api_require("event") function world:broadcast(component) local chatPacket = packets.newChatMessagePacket(component, "chat") for k, player in pairs(self.players) do net.writePacket(player.socket, chatPacket) en...
local old = workspace.CameraSystemOld local new = workspace.CameraSystem for i,v in pairs(old.Cameras.StaticCams:GetChildren()) do v.Parent = new.Cameras.Static v.Name = v.Namer.Value v.Namer:Destroy() v.Camera.Name = "Cam" end for i,v in pairs(old.Cameras.MovingCams:GetChildren()) do v.Parent = n...
local ReplicatedStorage = game:GetService("ReplicatedStorage") local ServerScriptService = game:GetService("ServerScriptService") local replicatedRequire = require(ReplicatedStorage:WaitForChild("Nevermore")) local nevermoreServerRequire = require(ServerScriptService:WaitForChild("Nevermore")) local requiredModule =...
-- https://wowpedia.fandom.com/wiki/LanguageID local Util = require("Util/Util") local parser = require("Util/wowtoolsparser") local dbc_patch = require("Projects/DBC/DBC_patch") local OUTPUT = "out/page/LanguageID.txt" local wpIcon = { [8] = "{{ClassIcon|Demon Hunter}}", -- Demonic [10] = "{{Alliance}}{{Horde}}", -...
function emptyFunc() end function nickFormat(p) if p:sub(1,1) == "*" then return p else return string.gsub(p:lower(), '%a', function(k) return string.upper(k) end, 1) end end function nickHashtag(data, doNotNormalize) local nickname = data:gmatch('(.-)#[0-9]+$')() or data local tag = data:gmatch('#([0-9]+)$'...
local ui = 0 local inside = false local last_check = false local refreshTimer = 0 local Shops = nil local Selling = nil local Buying = nil local currentType function OnPackageStart() ui = CreateWebUI(0, 0, 0, 0, 5, 60) LoadWebFile(ui, "http://asset/kuz_Essentials/shops/gui/shops.html") SetWebAlignme...
local winW,winH = love.graphics.getWidth(), love.graphics.getHeight() local plyrW = 40 local lTargs = { {x = 375, y = 400}, {x = 400, y = 450}, } local rTargs = { {x = 425, y = 400}, {x = 400, y = 450} } return { tileString = [[ -------------------------------- -------------------------------- --------...
class("GuildQuitCommand", pm.SimpleCommand).execute = function (slot0, slot1) pg.ConnectionMgr.GetInstance():Send(60018, { id = slot1:getBody() }, 60019, function (slot0) if slot0.result == 0 then getProxy(GuildProxy).exitGuild(slot1) slot0:sendNotification(GAME.GUILD_QUIT_DONE) slot2 = getProxy(PlayerP...
local mod = get_mod("ExecLua") local pl = require'pl.import_into'() --- Disable the F2 console that was intended for hosted servers. mod:hook_origin("RconUI", "_update_input", function() end) mod.simple_ui = get_mod("SimpleUI") mod:dofile("scripts/mods/"..mod:get_name().."/snippets") mod.exec_window_size = {1200, ...
--- === cp.apple.finalcutpro.export.SaveSheet === --- --- Save Sheet local require = require local axutils = require("cp.ui.axutils") local GoToPrompt = require("cp.apple.finalcutpro.export.GoToPrompt") local prop = require("cp.pr...
return {'unster','unsters','unstertje'}
-- wifi related wifi_ip = "192.168.1.69" wifi_netmask ="255.255.255.0" wifi_gateway ="192.168.1.1" wifi_ssid = "ssid" wifi_pwd = "password" -- mqtt mqtt_host = "192.168.1.99" mqtt_port = 8883 mqtt_user = "test" mqtt_password = "testtest" mqtt_keepalive = 120 mqtt_topic_out = "node-out"
---@class CS.FairyGUI.ShapeHitTest ---@field public shape CS.FairyGUI.DisplayObject ---@type CS.FairyGUI.ShapeHitTest CS.FairyGUI.ShapeHitTest = { } ---@return CS.FairyGUI.ShapeHitTest ---@param obj CS.FairyGUI.DisplayObject function CS.FairyGUI.ShapeHitTest.New(obj) end ---@return boolean ---@param contentRect CS.Uni...
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: MTA i...
Config.Jobs.tailor = { BlipInfos = { Sprite = 366, Color = 4 }, Vehicles = { Truck = { Spawner = 1, Hash = "youga2", Trailer = "none", HasCaution = true } }, Zones = { CloakRoom = { Pos = {x = 706.73, y = -960.90, z = 29.39}, Size = {x = 3.0, y = 3.0, z = 1.0}, Color = {r = 204...
local config = {} -- If do not specify a value the default value is false! -- Show Banner config.showBanner = false config.bannerMessage = "NGINX Lua exporter | MOHSEN MOTTAGHI | 2021" -- metric config config.metricProtocol = false config.metricMethod = false -- This is a beta feature config.metricBandwith = false...
if vim.g.save_clipboard_on_exit ~= nil then return end vim.g.save_clipboard_on_exit = 1 local groupname = "save_clipboard_on_exit" vim.api.nvim_create_augroup(groupname, { clear = true }) vim.api.nvim_create_autocmd({ "VimLeave"}, { group = groupname, pattern = "*", callback = function() require('save_clipbo...
return { base00 = "#fafafa", base01 = "#f0f0f1", base02 = "#e5e5e6", base03 = "#a0a1a7", base04 = "#696c77", base05 = "#383a42", base06 = "#202227", base07 = "#090a0b", base08 = "#ca1243", base09 = "#d75f00", base0A = "#c18401", base0B = "#50a14f", base0C = "#0184bc", base0D = ...
local exports = {} local function html_page(metadata, content) local page = [[ <section class="post"> <h1>]] .. metadata.title .. [[</h1> ]] .. content .. [[ </section> ]] return page end exports.html_page = html_page return exports
local Enemy = require('modules/Enemy') local Knight = class('Knight', Enemy) local SwordBad = require('modules/SwordBad') function Knight:initialize( options ) Enemy.initialize( self, options ) self.health = 3 self.speed = 40 self.dir = 'right' self.sword = SwordBad:new( {x=self.x, y=self.y, own...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [Policies] "pre_DataConsent" policies assigned to the application and "priority" value -- -- Description: -- Providing to HMI app`s non-default priority value of "pre_DataConsent" if "pre_DataConsent...
function love.conf(t) t.window.title = 'Tetris' t.window.width = 330 t.window.height = 480 end
-- -- Register autocrafter for tubetool -- local definition = { name = 'autocrafter', nodes = { "pipeworks:autocrafter", }, group = 'autocrafter', protection_bypass_read = "interact", } function definition:copy(node, pos, player) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() -- get a...
pg = pg or {} pg.commander_home_style = { { id = 1, name = "1" }, { id = 2, name = "2" }, { id = 3, name = "3" }, all = { 1, 2, 3 } } return
EXIT_TO = nil local function Control(x,y,w,h) local self = {} self.x = x-w/2 self.y = y-h/2 self.w = w self.h = h self.sub_w = w/2 -- subdivimos la barra en 500 segmentos local max_segment = 500 self.segment = w/max_segment self.current_segments = 250 --...
object_tangible_collection_col_dust_durni_08 = object_tangible_collection_shared_col_dust_durni_08:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_col_dust_durni_08, "object/tangible/collection/col_dust_durni_08.iff")
package("cppzmq") set_kind("library", {headeronly = true}) set_homepage("http://www.zeromq.org/") set_description("Header-only C++ binding for libzmq") set_license("MIT") add_urls("https://github.com/zeromq/cppzmq/archive/refs/tags/$(version).tar.gz", "https://github.com/zeromq/cppzmq...
-- Rank System [On Score File] (v1.0) -- Copyright (c) 2022, Jericho Crosby <jericho.crosby227@gmail.com> local Event = {} function Event:OnScore() local t = self.credits.event_score[self.gt] self:UpdateCR({ t[1], t[2] }) end return Event
-- -- Copyright (c) 2016, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. -- -- extracts fea...
push([[ ----------------------------------------------------------- --- /client/gui/progressbar_class.lua --- --- Part of openFrame project --- --- Written by 50p. Additional changes by Orange. --- --- Lately edited in revision number 13 by Orange --- --- Li...
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local ApplyNavigateBack = require(Modules.NotLApp.Actions.ApplyNavigateBack) return function(bypassNavigationLock) return function(store) store:dispatch(ApplyNavigateBack(bypassNavigationLock)) end end
local AceEvent = LibStub:GetLibrary("AceEvent-3.0"); local helper = LibStub:NewLibrary("ZoneHelper-1.0", 1); local zoneIDToUiMapID = {}; local listeners = {}; local previousSubZone = GetMinimapZoneText(); local previousZone = GetRealZoneText(); local function updateListeners() local subZone = GetMinimapZoneText()...
-- I use this function to remove an entire category from a table based on the category name. function RemoveItemFromTable(tbl, keyname, keyvalue) for i,v in ipairs(tbl) do if (v[keyname] == keyvalue) then -- If the current table category name is the one we are looking for then -- remove the ca...
local PANEL = {} local paintFunctions = {} paintFunctions[0] = function(this, w, h) surface.SetDrawColor(0, 0, 0, 50) surface.DrawRect(0, 0, w, h) end paintFunctions[1] = function(this, w, h) end function PANEL:Init() if (IsValid(nut.gui.squads)) then nut.gui.squads:Rem...
--mappers.lua function newMapper (num_prg_banks, num_chr_banks) local m = {} m.num_prg_banks = num_prg_banks or 1 m.num_chr_banks = num_chr_banks or 1 m.cpuMapRead = crd or function (addr) return false end m.cpuMapWrite = cwr or function (addr) return false end m.ppuMapRead = prd or function (addr...
-- GuildRaidSnapShot Mod -- Copyright (c) 2005-2014 Sigma Star Systems -- Released under the MIT License. See LICENSE.txt for full license GuildRaidSnapShot_SnapShots = {}; GuildRaidSnapShot_Loot = {}; GuildRaidSnapShot_Notes = {}; GuildRaidSnapShot_Adj = {}; GRSS_Calendar = {}; GRSS_Alts = {}; GRSS_MainOnly = {}; GRS...
--[[ Copyright © 2020, Dean James (Xurion of Bismarck) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of con...
local utils = require 'utils' local Floorspaces = {} Floorspaces.__index = Floorspaces function Floorspaces:init() self.primary = false self.active = false self.objects = {} end function Floorspaces:setPrimary( fs ) assert( not self.primary, "You can only have one primary floorspace!" ) fs.isPrimary = true...
return { hand_right = { { {-12, 37}, {-12, 31}, {-7, 35}, {-5, 35}, {-12, 37}, {-16, 29}, {-13, 19}, {-15, 23}, {-16, 39}, }, { {-10, 36}, {5, 36}, {0, 35}, {-4, 34}, {-11, 36}, {-7, 36}, {-14, 19}, {-10, 36}, {-11, 37}, }, { {-11, 37}, {-16, 25}, {-10, 33}, {-10, 35}, {-11, 45}, {-12, 23}, {-18, 41...
--[[ Turbo Unit test Copyright 2013 John Abrahamsen 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 to in wr...
-- Copyright (C) Kong Inc. local access = require "kong.plugins.hmac-auth.access" local HMACAuthHandler = { PRIORITY = 1000, VERSION = "2.3.0", } function HMACAuthHandler:access(conf) access.execute(conf) end return HMACAuthHandler
require 'lfs' -- Ensure the test is launched within the specs/ folder assert(string.match(lfs.currentdir(), "specs")~=nil, "You must run this test in specs folder") local initial_dir = lfs.currentdir() -- Go to specs folder while (not string.match(lfs.currentdir(), "/specs$")) do lfs.chdir("..") end local specs_d...
--[[ Description: Utility functions used for nn performance evaluation. ]] require 'nn' do local testerPool = {} function testerPool.getMSE(mNet, teInput, teTarget) local criterion = nn.MSECriterion() local tePred = mNet:forward(teInput) local err = criterion:forward(tePred, teTarget) return err...
GamepadSupport = TestApp:extend { numGamepads = 1, colors = { {0, 255, 0}, {255, 0, 0}, {0, 0, 255}, {255, 255, 0} }, analog = false, onRun = function (self) local gp = the.gamepads[1] self:add(Text:new { x = 10, y = 10, width = 800, text = 'Name: ' .. gp.name .. '\n' .. gp.numAxes...
-------------------------------- --- CVARS -------------------------------- local CVars = {} MR.CL.CVars = CVars -- Set propertie cvars to default function CVars:SetPropertiesToDefaults(ply) ply:ConCommand("internal_mr_detail " .. MR.CVars:GetDefaultDetail()) ply:ConCommand("internal_mr_offsetx " .. MR.CVars:GetDef...
-- Script by Shadow Mario -- Customized for Simplicity by Kevin Kuntz function onCreate() makeAnimationList(); makeOffsets(); makeAnimatedLuaSprite('tricky', 'characters/tricky', 1100, 100); addAnimationByPrefix('tricky', 'idle', 'tricky idle', 24, false); addAnimationByPrefix('tricky', 'singLEFT', 'tric...
ys = ys or {} slot1 = require("Mgr/Pool/PoolUtil") slot2 = singletonClass("BattlePopNumManager") ys.Battle.BattlePopNumManager = slot2 slot2.__name = "BattlePopNumManager" slot2.CONTAINER_HP = "HPTextContainer" slot2.CONTAINER_SCORE = "ScoreTextContainer" slot2.POP_SCORE = "score" slot2.POP_MISS = "miss" slot2.POP_HEAL...
object_mobile_cww8_droid_crafted = object_mobile_shared_cww8_droid_crafted:new { } ObjectTemplates:addTemplate(object_mobile_cww8_droid_crafted, "object/mobile/cww8_droid_crafted.iff")
local log = require("telescope.log") local LinkedList = require('telescope.algos.linked_list') --[[ OK, new idea. We can do linked list here. To convert at the end to quickfix, just run the list. ... start node end node if past loop of must have scores, then we can just add to end node and shift end node to curr...
local cfg = {} -- define each group with a set of permissions -- _config property: --- title (optional): group display name --- gtype (optional): used to have only one group with the same gtype per player (example: a job gtype to only have one job) --- onspawn (optional): function(player) (called when the player spaw...
local LineWrap = class('LineWrap') return LineWrap
return { uiEffect = "", name = "闪耀登场", cd = 0, painting = 1, id = 12260, picture = "0", castCV = "", desc = "", effect_list = {} }
local hi = require('utils.hi') local li = require('utils.li') local colors = require('colors') local vars = require('vars') -- highlights hi('OctoBlue', colors.columbia_blue) hi('OctoGreen', colors.mint_green) hi('OctoRed', colors.brink_pink) hi('OctoYellow', colors.gold) hi('OctoNormalFront', colors.text0) hi('OctoGr...
--------------------------------- -- TO CHANGE -- OBJECT_DISTANCE_COPY = 300 --------------------------------- OBJECT = nil Y_ROTATION_FIXED = nil local function GetNearestObject() local x, y, z = GetPlayerLocation(GetPlayerId()) local nearest_obj_distance = OBJECT_DISTANCE_COPY local nearest_...
function GM:RequestPurchaseUpgrade(upgrade_key, tier_desired) net.Start("yawd.upgrades.purchase") net.WriteUInt(upgrade_key, 32) net.WriteUInt(tier_desired, 8) net.SendToServer() DebugMessage(string.format("Requested to purchase upgrade %d:%d", upgrade_key, tier_desired)) end function GM:RequestSellUpgrade(upg...
require 'nn' local Sampler, parent = torch.class('nn.Sampler', 'nn.Module') function Sampler:__init(gpuid) parent.__init(self) self.gradInput = {} self.on_cuda = false if gpuid>0 then self.on_cuda = true end end function Sampler:updateOutput(input) self.eps = self.eps or input[1].new...
#!/usr/bin/lua5.1 --[[-- @package MoonZaphire @filename lib/init.lua @version 3.0 @autor Díaz Urbaneja Víctor Eduardo Diex <victor.vector008@gmail.com> @date 01.02.2021 16:47:50 -04 ]] json = require 'json' print("| 'json' loaded successfully.") utils = require 'utils' print("| 'utils' loaded succe...
object_intangible_buy_back_buy_back_container = object_intangible_buy_back_shared_buy_back_container:new { } ObjectTemplates:addTemplate(object_intangible_buy_back_buy_back_container, "object/intangible/buy_back/buy_back_container.iff")
local fs = require('be.fs') current_build_script_path = nil build_scripts = { env = { } } register_template_dir(fs.compose_path(limp_dir, 'build', 'templates')) local n = 0 local function search_relative (path, parent_path) local build_script = fs.compose_path(parent_path, path, 'build.lua') if fs.exists(...
------------------------------------------------- -- Bluetooth Widget for Awesome Window Manager -- Shows the bluetooth status using the bluetoothctl command -- Better with Blueman Manager ------------------------------------------------- local awful = require('awful') local naughty = require('naughty') local watch = ...
Locales['en'] = { ['item_removed'] = 'You have pack the following items: %s', ['item_received'] = 'You have received the following items: %s', ['limit_harvest'] = 'You can\'t pick %s anymore, your inventory is full.', ['item_transformed'] = 'Received from pack products: %s', ['limit_transform'] = 'Y...
module("luci.controller.linkmeter.lm", package.seeall) function index() local root = node() root.target = alias("lm") entry({"lm"}, template("linkmeter/index"), nil, 10) end
util.AddNetworkString("ghomes_dlc1_use_suitcase2") util.AddNetworkString("ghomes_dlc1_use_suitcase3") util.AddNetworkString("ghomes_dlc1_alarm_lockpicked") util.AddNetworkString("ghomes_dlc1_ask_where_to_spawn") local function canSpawnHere(vec, ply) local tr = { start = vec, endpos = vec, filter = ply } loca...
-- turtlewidget.lua turtles = {} turtles[1] = turtlelib.new() Widgets["turtle"] = WidgetLib2.addRender("turtle", function (o) turtles[1]:render() end) t = turtles[1] print2(getFunction(render)) function render() WidgetLib.renderAll() --renderGreets2() --renderskythings() --trace2() end showError()
local Chara = require("core.Chara") local Map = require("core.Map") local Internal = require("core.Internal") local Item = require("core.Item") local common = require_relative("../common.lua") return { root = "core.talk.unique.tam", nodes = { __start = function() local flag = Internal.get_quest_f...
GROUPS_BLUE = {{1, 1}, {2, 2}, {3, 4}} GROUPS_BLUE_EARLY_ACTIVATION = {1, 2, 3} -- GROUP IDS THAT ARE GOING TO BE ACTIVATED AT SCRIPT START (FOR BLUE TEAM) GROUPS_RED = {{1, 1}, {2, 2}, {3, 4}} GROUPS_RED_EARLY_ACTIVATION = {1, 2} -- GROUP IDS THAT ARE GOING TO BE ACTIVATED AT SCRIPT START (FOR RED TEAM) randomGroups ...
return {'ayrton','ayrtons'}
local Grid = require 'grid' local Object = require 'base-class' local Segment = require 'segment' local U = require 'util' local function randomChoice(chances) local rnd, cur = math.random(), 0 for i,chance in ipairs(chances) do cur = cur + chance if rnd < cur then return i end end return #chances end local f...
pg = pg or {} pg.enemy_data_statistics_247 = { [13100312] = { cannon = 0, battle_unit_type = 35, rarity = 1, speed_growth = 0, pilot_ai_template_id = 20001, air = 0, luck = 0, dodge = 0, wave_fx = "danchuanlanghuaxiao2", cannon_growth = 0, speed = 15, reload_growth = 0, dodge_growth = 0, id...
class_C("PathTrackerFactory").getPathTrackerByConfig = function (slot0, slot1, slot2) if slot1.type == ClassLoader:aquireClass("GameConfig").PathType.LINE then return ClassLoader:aquireInstance("PathTrackerLine", slot1, slot2) elseif slot1.type == slot3.PathType.BEZIER then return ClassLoader:aquireInstance("Path...
local tables = require("__flib__/table") local function is_supported(plugin, search) for _, v in pairs(plugin.requires) do if not search.provides[v] then return false end end return true end return function(plugins_table) return { enabled_plugins = function(search) return t...
ys = ys or {} slot1 = class("AutoPilotHiveRelativeStay", ys.Battle.IPilot) ys.Battle.AutoPilotHiveRelativeStay = slot1 slot1.__name = "AutoPilotHiveRelativeStay" slot1.Ctor = function (slot0, ...) slot0.super.Ctor(slot0, ...) end slot1.SetParameter = function (slot0, slot1, slot2) slot0.super.SetParameter(slot0, sl...
require("iupcdaux") -- utility module used in some samples dlg = iupcdaux.new_dialog(w, h) cnv = dlg[1] -- retrieve the IUP canvas function DrawText(canvas, x, y, text, align) canvas:TextAlignment(align) canvas:Mark(x, y) canvas:Text(x, y, text) xmin, xmax, ymin, ymax = canvas:GetTextBox(x, y, text) can...
TOOL.Category = "C_GM13B_GUI_DEV" TOOL.Name = "#Tool.spawn_companion_doll.name" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Information = { { name = "left" }, } if CLIENT then language.Add("Tool.spawn_companion_doll.name", "Spawn the companion doll") language.Add("Tool.spawn_companion_doll.desc", "Spawns the co...
local concord = require("lib.concord") return concord.component( function(e, topping, stairsDown) e.topping = topping e.stairsDown = stairsDown end )
local timer_seconds = THEME:GetMetric(Var "LoadingScreen","TimerSeconds"); local t = Def.ActorFrame {}; -- Fade t[#t+1] = Def.ActorFrame { InitCommand=cmd(Center); Def.Quad { InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT); OnCommand=cmd(diffuse,Color.Black;diffusealpha,0;linear,0.5;diffusealpha,0.25...
------------------------------------------------------------------------- -- ConsolePort Russian translate by Demorto (Demorto#2660) Version 1.8.1 -- ------------------------------------------------------------------------- if not (GetLocale() == "ruRU") then return end local _, db = ... db.TUTORIAL = { BIND = { ...
local Migration = ActiveRecord.Migration.new(20181007030216) function Migration:change() ActiveRecord.define_model('users', function(t) t:string { 'steam_id', null = false } t:string { 'name', null = false } end) ActiveRecord.define_model('logs', function(t) t:text 'body' ...
local function InsecureAddition() local A = identity(100); local B = identity(200); assert(not issecure(), "expected state to be insecure"); assert(not debug.issecurelocal(1, 1), "expected 'A' to be insecure"); assert(not debug.issecurelocal(1, 2), "expected 'B' to be insecure"); local C = A + B; ass...
GameObject = {} function GameObject:new() local gameObject = {} setmetatable(gameObject, self) self.__index = self gameObject.Position = { x = 0, y = 0, z = 0 } gameObject.Rotation = { x = 0, y = 0, z = 0, w = 0 } gameObject.Scale = { x = 0, y = 0, z = 0 } gameObject.Type = 'TILE' gameObje...
libkb = {} ins = require('plugins.inspect') function libkb.scandir(directory) local i, t, popen = 0, {}, io.popen local pfile = popen('ls -a "'..directory..'"') for filename in pfile:lines() do if not libkb.check(filename,{'.','..'}) then i = i + 1 t[i] = filename ...
local playsession = { {"GunaS", {31974}}, {"trnila", {179494}}, {"Fudster", {71856}}, {"TiTaN", {161280}}, {"Shadow04", {66455}}, {"Impatient", {133515}}, {"Creator_Zhang", {105950}}, {"Jeremykyle", {93473}}, {"liushuo418", {3808}}, {"Grino98", {2057}} } return playsession
-- Yet another way to make text messages longer and more complicated, without any particular reason local lookuptable = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "'0", "'1", "'2", "'3", "'4", "'5", "'6", "'7", "'8", "'9", " ...
local playsession = { {"Gerkiz", {202277}}, {"snoetje", {366120}}, {"mewmew", {169149}}, {"jobaxter", {123859}}, {"dzentak", {891982}}, {"Ardordo", {553558}}, {"vad7ik", {453743}}, {"everLord", {483888}}, {"Mullacs", {886156}}, {"a.l.f.a", {123439}}, {"RebuffedBrute44", {850917}}, {"GummiVulture", {12288}},...
return { no_consumer = true, -- this plugin is available only on APIs. fields = { key = { required = true, type = "string", default = "" }, alg = { required = false, type = "string", default = "HS256" }, headers = { required = false, type = "array", default = {} }, dialect = { required = false, type...
-- Description: Defines the event handlers for when event effects entities -- Constructs and returns the EntityHandlers object return function() local CreationHandlers = {} local DestructionHandlers = {} local EntityHandlers = { Creation = CreationHandlers, Destruction = DestructionHandlers ...
local default_jumps = CreateConVar("multijump_default_jumps", "1", FCVAR_ARCHIVE, "The amount of extra jumps players should get") local default_power = CreateConVar("multijump_default_power", "1", FCVAR_ARCHIVE, "Multiplier for the jump-power when multi jumping") local max_fall_distance = CreateConVar("multijump_max_fa...
-- -- JOINT STATE controllers -- -- Setup FollowJointState controller -- -- Intended to be run via config script. -- require "motion_core" controller = controller or {} -- load controller ros:import("sweetie_bot_controller_joint_space") depl:loadComponent("controller/joint_state_head", "sweetie_bot::motion::controlle...
-- Displays detailed information about unit caps when the user -- mouses over the units menu dofilepath("data:ui/newui/Styles/HWRM_Style/HWRMDefines.lua") --UnitCapInfoPopupWidth = 225 UnitCapInfoPopupWidth = 235 MAXHEIGHT = 325 UnitCapInfoPopup= { maxColor = {255,0,0,255}, -- color for max pop reached availColor...
--[[ ================================================================= Description: All strings (English) used by MailTips. ================================================================= --]] -- Strings used within MailTips MT_STARTUP_MESSAGE = MT_NAME.." ("..C_GREEN..MT_VERSION..C_CLOSE..") loa...
AddCSLuaFile() local VehicleName = "NYPD Unmarked 98 Crown Vic" local EMV = {} EMV.Siren = 3 EMV.Skin = 1 EMV.Color = Color(63,67,95) ---CUSTOM COLORS--- local B = "BLUE" local R = "RED" local A = "AMBER" local W = "WHITE" local G = "GREEN" local DR = "D_RED" local CW = "C_WHITE" local SW = "S_WHITE" -----------...
-- // ---------------------------------------------------------------------------------------------- -- // Author: Sparrow -- // DateCreated: 01/24/2019 2:27:04 PM -- // ---------------------------------------------------------------------------------------------- include("Cheat_Menu_Panel_Functions"); local m_CheatPa...
object_tangible_quest_menagerie_terminal_37 = object_tangible_quest_shared_menagerie_terminal_37:new { } ObjectTemplates:addTemplate(object_tangible_quest_menagerie_terminal_37, "object/tangible/quest/menagerie_terminal_37.iff")
--[[-- json_string = -- JavaScript code encode.json( value -- nil, false, true, a number, a string, or json.array{...} or json.object{...} ) This function encodes any native datatype or table structure to JavaScript object notation (JSON). In order to distinguish between the empty array and the empty object,...
--- -- The Walk Action takes care of moving a Character from one tile to another. -- @module Walk -- -- ------------------------------------------------ -- Required Modules -- ------------------------------------------------ local Action = require( 'src.characters.actions.Action' ) -- -------------------------------...
local count = 0 local function hello() count = count + 1 ngx.say("count :",count) end local _M = { hello = hello } return _M
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
local __Scripts = LibStub:GetLibrary("ovale/Scripts") local OvaleScripts = __Scripts.OvaleScripts do local name = "sc_shaman_elemental_t19" local desc = "[7.0] Simulationcraft: Shaman_Elemental_T19" local code = [[ # Based on SimulationCraft profile "Shaman_Elemental_T19P". # class=shaman # spec=elemental #...
--!nonstrict --// Initialization local RunService = game:GetService("RunService") local PlayerService = game:GetService("Players") local StarterPlayer = game:GetService("StarterPlayer") local ReplicatedStorage = game:GetService("ReplicatedStorage") local CollectionService = game:GetService("CollectionService") local S...