content stringlengths 5 1.05M |
|---|
local xmlua = require("xmlua");
local facets = require("lua_schema.facets");
local du = require("lua_schema.date_utils");
local basic_stuff = require("lua_schema.basic_stuff");
local error_handler = require("lua_schema.error_handler");
local xml_gDay_utils = xmlua.XMLDateUtils.new();
local __gDay_handler_class = {}
_... |
local gears = require("gears")
local wibox = require("wibox")
local helpers = loadrc("helpers", "jweslley/helpers")
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
-- If wallpaper is a function, call it with the screen
if type(wallpaper) ... |
if not modules then modules = { } end modules ['luat-usr'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
local global ... |
------------------------------------------
-- CaptureScreenUtil.lua
-- 负责管理截图
-- @author zrong
-- Creation 2015-02-05
------------------------------------------
local CSU = {}
local _cache = {}
local FU = import('.FileUtil')
local RC = import('.ResourceCache')
function _retain(filename, filepath, scenename, sp)
log... |
--[[
Copyright (c) 2014-2017 Chukong Technologies Inc.
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, p... |
--package.path = package.path .. './src/policies/sendtoimvision/0.1/?.lua;/usr/local/share/lua/5.1/resty/?.lua'
return require('monitor')
|
project "lua_lash"
language "C++"
files { "src/**.c" , "src/**.cpp" , "src/**.h" }
excludes { "src/rijndael.*" }
links { "lib_lua" }
KIND{kind="lua",name="lash"}
|
GM.ConVarShowHUD = CreateClientConVar("ud_showhud", 1, true, false)
GM.ConVarShowCrossHair = CreateClientConVar("ud_showcrosshair", 1, true, false)
GM.ConVarCrossHairProngs = CreateClientConVar("ud_crosshairprongs", 4, true, false)
GM.PlayerHUDBarWidth = 300
local CrossHairAngle = 45
local function GetAnglesCos(Angle, ... |
-- print ap list
function listap(t)
print("\nactive networks:")
for k,v in pairs(t) do
print(" "..k.." : "..v)
end
end
wifi.sta.getap(listap)
|
--[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.1.2-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
-- pipeline_run_impl class
local pipeline_run_impl = {}
local pipeline_run_impl_mt = {
__name ... |
if select(2,UnitClass("player")) ~= "HUNTER" then return end
local Addon = "YaHT"
local AceConfigRegistry = LibStub("AceConfigRegistry-3.0")
local AceConfigDialog = LibStub("AceConfigDialog-3.0")
local SML = SML or LibStub:GetLibrary("LibSharedMedia-3.0")
local L = YaHT.L
function YaHT:CreateConfig()
local functi... |
-- resizing window gfx
local floor, ceil = math.floor, math.ceil
--[[ check to see which scale to use?
function love.resize( w, h )
local _,_, flags = love.window.getMode()
local a=2
local b,c=true,true
for i=1,12*a do
i=i/a-1
local x=ceil(window.width*window.tileScale/i)
local y=ceil(window.height*scale... |
return Def.ActorFrame{
LoadActor("demo")..{
InitCommand=cmd(x,SCREEN_CENTER_X-164;y,SCREEN_TOP+30);
};
LoadActor("demo")..{
InitCommand=cmd(x,SCREEN_CENTER_X+166;y,SCREEN_BOTTOM-36);
};
};
|
----------------------
-- Global variables --
----------------------
local g_MsgCommands = {}
local g_VipRes = Resource('rafalh_vip')
local g_MediaRes = Resource('txmedia')
#local MODIFY_MSG_CMD = false
--------------------------
-- Function definitions --
--------------------------
local function McH... |
jakku_overseer = ConvoTemplate:new {
initialScreen = "overseer_start",
templateType = "Lua",
luaClassHandler = "jakku_overseer_convo_handler",
screens = {}
}
--Intro First
overseer_start = ConvoScreen:new {
id = "overseer_start",
leftDialog = "",
customDialogText = "So, you are the intruders that breach... |
-- 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_silencer_... |
--[[
Copyright 2016 BloomReach, Inc.
Copyright 2016 Ronak Kothari <ronak.kothari@gmail.com>.
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 ... |
require('nvim-treesitter')
local utils = require("nvim-biscuits.utils")
local config = require("nvim-biscuits.config")
local languages = require("nvim-biscuits.languages")
local final_config = config.default_config()
local has_ts, _ = pcall(require, 'nvim-treesitter')
if not has_ts then error("nvim-treesitter must be... |
--< Made by Utsjitimmie and Underseas from projectsilvermoon.net >--
--< Ask us if you want to use (a part of) this script in your repack >--
--< You may ofcourse use it for your server without asking >--
--< Have fun!
--< ~Utsjitimmie
--< ~Underseas
--26351 Blue Big
function cast_bluebig(pUnit)
pUnit:CastSpell(2... |
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/GameGuy/vendor/GLFW/include"
IncludeDir["ImGui"] = "%{wks.location}/GameGuy/vendor/imgui"
IncludeDir["Glad"] = "%{wks.location}/GameGuy/vendor/Glad/include"
IncludeDir["glm"] = "%{wks.location}/GameGuy/vendor/glm" |
local fn = vim.fn
-- Automatically install packer
local install_path = fn.stdpath "data" .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
PACKER_BOOTSTRAP = fn.system {
"git",
"clone",
"--depth",
"1",
"https://github.com/wbthomason/packer.nvim",
install_pat... |
local BaseMC = require("lib.controllers.base_mc")
local PlayerMC = BaseMC:subclass('PlayerMC')
local lume = require("lib.lume")
local weapons = require("pseudo.modules.models.weapons")
function PlayerMC:initialize(model)
local events={
HEALTH_CHANGED=hash("player_health_changed"),
MAX_HEALTH_CHANGED=hash("player_... |
-- Copyright 2016-2021 Gabriel Dubatti. See LICENSE.
--
-- This module overwrites ui._print() to display its output in the "results" toolbar
--
-- ** This module is used when USE_RESULTS_PANEL is true **
--
if toolbar then
local itemsgrp
local selitem=0
local nitems= 0
local yout= 1
local fullprint= {} --copy... |
local SharedMedia = LibStub("LibSharedMedia-3.0");
local L = WeakAuras.L
local dynamics = WeakAuras.dynamic_texts;
local function createOptions(id, data)
local options = {
displayText = {
type = "input",
width = "double",
desc = L["Dynamic text tooltip"],
m... |
mysql = exports.mrp_mysql
reports = { }
local reportsToAward = 30
local gcToAward = 1
local auxiliaryTeams = ""
local getPlayerName_ = getPlayerName
getPlayerName = function( ... )
if not (...) or not isElement((...)) then
return "Unknown"
else
s = getPlayerName_( ... )
return s and s:gsub( "_", " " ) or s
en... |
local mod = DBM:NewMod("DHTTrash", "DBM-Party-Legion", 2, 762)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 14984 $"):sub(12, -3))
--mod:SetModelID(47785)
mod:SetZone()
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_CAST_START 198379"
)
local specWarnPrimalRampage = mod:NewSpe... |
-- Make sure Graphite is in our path
-- Only these examples need to do this
if (not __GRAPHITE_IN_PATH) then
__GRAPHITE_IN_PATH = true
package.path = package.path .. ";../?/init.lua"
end
--[[
Graphite: Advanced OOP: Attributes
There's more to Graphite's OOP than just inheritance and instantiating.
Classes have t... |
---------------------------------------------------------------------------------------------------
-- OnRCStatus common module
---------------------------------------------------------------------------------------------------
--[[ Required Shared libraries ]]
local commonRC = require('test_scripts/RC/commonRC')
local... |
local class = require('middleclass')
local Controller = require('mvc.Controller')
local HasSignals = require('HasSignals')
local SendController = class("SendController", Controller):include(HasSignals)
local tools = require('app.helpers.tools')
function SendController:initialize()
Controller.initialize(self)
HasSi... |
_addon.name = 'Clickfind'
_addon.version = '0.0.1'
_addon.author = 'Lili'
-- Prints the X,Y position of the mouse in the chatlog. Triggers when the left mouse button is *released*.
windower.register_event('mouse',function(type,x,y,delta,blocked)
if type == 2 then
windower.add_to_chat(158,'Mouse position - ... |
__________________________________________
WEAPONS |
__________________________________________
-- Iron Sword
-- Iron Katana
-- Kitchen Knife
-- Iron Seax
-- The Dark Repulser
-- Elucidator
-- Spiked Spear
-- Starter Sword
-- Blue Chrystallite Shield
-- Hammer of the North
-- Hellreath
-- Steel Katana
-- Abura Chu Ga
-... |
require('Vars')
require('Bird')
Background = {
img = Images.background,
y = 0,
x1 = 0,
x2 = Images.background:getWidth(),
sy = Screen.h / Images.background:getHeight()
}
function Background.reset()
Background.x1 = 0
Background.x2 = Background.img:getWidth()
end
function Background.scroll(... |
local luaoc = {}
local callStaticMethod = LuaObjcBridge.callStaticMethod
function luaoc.callStaticMethod(className, methodName, args)
local ok, ret = callStaticMethod(className, methodName, args)
if not ok then
local msg = string.format("luaoc.callStaticMethod(\"%s\", \"%s\", \"%s\") - error:... |
---
-- @author wesen
-- @copyright 2019-2020 wesen <wesen-ac@web.de>
-- @release 0.1
-- @license MIT
--
local argparse = require "argparse"
local path = require "path"
local Documentator = require "src.Documentator"
---
-- Parses the configuration that was passed via the script arguments.
--
local funct... |
-- =================
-- CLIENT NETWORKING
-- =================
-- BROADCASTED CONFIG-DATA
-- =======================
Ext.RegisterNetListener('S7_Config::ConfigData', function (channel, payload)
Debug:FPrint("Client recieved configuration. Saving file: " .. Settings.StatsLoader.FileName)
SaveFile(MODINFO.... |
local t = Def.ActorFrame {};
-- Players
for p in ivalues(PlayerNumber) do
local eval_part_offs = string.find(p, "P1") and -310 or 310
if GAMESTATE:IsHumanPlayer(p) then
t[#t+1] = Def.ActorFrame{
InitCommand=function(self)
self:vertalign(top):x(_screen.cx + eval_part_offs):y(SCREEN_TOP)
end;
-- Bar
... |
--[[
Copyright (c) 2008-2011 Gordon Gremme <gremme@zbh.uni-hamburg.de>
Copyright (c) 2008 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and thi... |
data:extend({
{
type = "item-group",
name = "vehicles",
order = "gy",
inventory_order = "gy",
icon = "__5dim_core__/graphics/icon/vehicles.png",
icon_size = 64,
},
{
type = "item-subgroup",
name = "vehicles-car",
group = "vehicles",
order = "1"
},
{
type = "item-sub... |
-- * Metronome IM *
--
-- This file is part of the Metronome XMPP server and is released under the
-- ISC License, please see the LICENSE file in this source package for more
-- information about copyright and licensing.
--
-- As per the sublicensing clause, this file is also MIT/X11 Licensed.
-- ** Copyright (c) 2011-... |
--[[
MTA Role Play (mta-rp.pl)
Autorzy poniższego kodu:
- Patryk Adamowicz <patrykadam.dev@gmail.com>
Discord: PatrykAdam#1293
Link do githuba: https://github.com/PatrykAdam/mtarp
--]]
local orders = {}
local ordersData = {}
function orders.hide()
destroyElement( ordersData.window )
showCursor... |
data:extend(
{
{
type = "item",
name = "storage-tank",
icon = "__base__/graphics/icons/storage-tank.png",
flags = {"goes-to-quickbar"},
subgroup = "fluid-logistics",
order = "b[fluid]-a[storage-tank-1]",
place_result = "storage-tank",
stack_size = 65000
},
{
type = "recipe",
... |
local StateManager = {}
StateManager.states = {}
StateManager.stateIndex = nil
function StateManager:add(id, state)
StateManager.states[id] = state
end
function StateManager:remove(id)
StateManager.states[id] = nil
end
function StateManager:show(id)
StateManager.stateIndex = id
end
function StateManage... |
--[[
An interface to have one event listener at a time on an event.
One listener can be registered per SingleEventManager/Instance/Event triple.
For example:
myManager:connect(myPart, "Touched", touchedListener)
myManager:connect(myPart, "Touched", otherTouchedListener)
If myPart is touched, only `otherTouc... |
local convertors = require(script.Parent.Parent.Convertors)
local Binary = require(script.Parent.Parent.Binary)
return function(API,value)
local ValueString = Binary.describe("StoreType","Value")
local ValueType = typeof(value)
local convertor = convertors[ ValueType ]
if convertor then
local converted = c... |
-- This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
print('testing ability for interrupt handler to inject yields in loops')
local j = 0
for i = 1, 30 do
j += 1
end
return 'OK'
|
--[[
Scheduler.
Handles how resourcer are gotten.
HawDevelopment
19/11/2021
--]]
local Package = script.Parent.Parent
local Types = require(Package.Types)
local Pools = require(Package.Pools)
export type Scheduler = {
Handle: (operation: Operation) -> nil,
}
export type QueryOperation = {... |
-- lua的循环语句
-- while
local a=0
while( a < 10 )
do
print("a 的值为:", a)
a = a+1
end
-- for
--[[
for var=exp1,exp2,exp3 do
<执行体>
end
var从exp1变化到exp2,每次变化以exp3为步长递增var,并执行一次"执行体"。exp3是可选的,如果不指定,默认为1。
]]
-- 数值for循环
-- 这里循环的i变量为局部变量, 只在for循环内部生效
for i=1,10,1 do
print("变量i的值为" .. i)... |
return {'afhaalcentrum','afhaalchinees','afhaaldienst','afhaalrestaurant','afhaken','afhaker','afhakken','afhalen','afhaler','afhaling','afhameren','afhandelaar','afhandelen','afhandeling','afhandelingskosten','afhandig','afhangeling','afhangen','afhankelijk','afhankelijkheid','afhankelijkheidspositie','afhankelijkheid... |
GM.Name = "Test"
GM.Author = "Erigitic"
GM.Email = "N/A"
GM.Website = "N/A"
YTG = {}
DeriveGamemode("sandbox") |
local status, err = pcall(function()
local base = _G
package.path = package.path..";.\\LuaSocket\\?.lua;"..'.\\Scripts\\?.lua;'.. '.\\Scripts\\UI\\?.lua;'..lfs.writedir()..'Scripts\\?.lua;'
package.cpath = package.cpath..";.\\LuaSocket\\?.dll;"
local os = base.os
local require = base.require
local io = base.io... |
cc.exports.SoundManager = {}
function SoundManager:playMusic(filePath,isLoop)
AudioEngine.playMusic(filePath, isLoop)
end
function SoundManager:stopMusic()
AudioEngine.stopMusic()
end
function SoundManager:pauseMusic()
AudioEngine.pauseMusic()
end
function SoundManager:resumeMusic()
AudioEngine.resumeMusic()
... |
-----------------------------------------------------------------------
--[[ RemoveMatch ]]--
-- A Preprocess that transforms a container by acting upon
-- the first cluster of modules matched by the given conf.
-----------------------------------------------------------------------
local RemoveMatch = torch.class("dp.... |
local R = require 'denzquix.packland.reader'
local format = {}
function format.dbinit(db)
assert(db:exec [[
CREATE TABLE IF NOT EXISTS nes_rom (
dbid INTEGER PRIMARY KEY,
title TEXT NULL
);
CREATE TABLE IF NOT EXISTS nes_chip (
dbid INTEGER PRIMARY KEY,
rom_dbid INTEGER NOT NULL,
type TEXT NO... |
--libc.lua
local ffi = require("ffi")
local exports = {
netinet_in = require("netinet/in_h");
netinet_tcp = require("netinet/tcp");
sys_epoll = require("sys/epoll");
sys_ioctl = require("sys/ioctl");
sys_socket = require("sys/socket");
sys_stat = require("sys/stat");
sys_syscall = require("sys/syscall");
sys... |
local RunService = game:GetService("RunService")
local HttpService = game:GetService("HttpService")
local Llama = require(script.Parent.Parent.Parent.Llama)
local isEmpty = Llama.isEmpty
local renderstepConnection = nil
local renderstepCallbacks = {}
local function destroyConnection(): ()
if renderstepConnection ~=... |
local f = string.format
local showOnFirstMoneyEarned = true
local showOnLaserRefitReward = true
local showOnPowerPresetsReward = true
local showOnAttackersSpawn = true
local showOnAttackersDetection = false
local showOnClosingInToFortress = false
My.EventHandler:register("onFirstMoneyEarned", function()
showOnFir... |
--=====================================================--
-- ___ ___ _ _ _ __ _ ___ ___ __ __ --
-- |_ _|| __| / \ | \_/ | / _| / \ | o \ o \\ V / --
-- | | | _| | o || \_/ | ( |_n| o || / / \ / --
-- |_| |___||_n_||_| |_| \__/|_n_||_|\\_|\\ |_| 2012 --
-- ... |
--[[
Copyright (c) 2008 Gordon Gremme <gordon@gremme.org>
Copyright (c) 2008 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notic... |
local ParameterLib = {}
-----------------------------------------------------------------------
-- Metric parameter construc function
-----------------------------------------------------------------------
local metricParameterFuncHelp = "MetricParameter(name, defaultValue, [categories])"
local metricParameterInvalidA... |
-- torch.lua
function Torch(boss,properties)
local grill = boss.grill
local spritesheet = boss.images["torch"]
local time = 0
local frame = 1
local speed = 0.1
local torch = {
name = "torch",
x = properties.coord_x,
y = properties.coord_y
}
function torch.draw()
spritesheet.draw_image(torch.x*gril... |
-- Natural Selection 2 Competitive Mod
-- Source located at - https://github.com/xToken/CompMod
-- lua\CompMod\GUI\GUIAlienBuyMenu\post.lua
-- - Dragon
local function CreateSlot(self, category)
local graphic = GUIManager:CreateGraphicItem()
graphic:SetSize(Vector(GUIAlienBuyMenu.kSlotSize, GUIAlienBuyMenu.kSl... |
--[[
This is an incomplete gbi for the F3DZEX microcode. I have only implemnted
these the microcodes as I need them.
For all of these functions, the first argument (dl) is the mainmemory address
of the display list to write to. All subsequent arguments are command
specific.
basically, if you have a var... |
--[[
FiveM Scripts
Copyright C 2018 Sighmir
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
at your option any later version.
... |
-- module Data.Array
local Data_Array = {}
--------------------------------------------------------------------------------
-- Array creation --------------------------------------------------------------
--------------------------------------------------------------------------------
Data_Array.range = function (st... |
local API_RE = require(script:GetCustomProperty("APIReliableEvents"))
local AUDIO = script:GetCustomProperty("Audio"):WaitForObject()
local AUDIO_BOSS = script:GetCustomProperty("AudioBoss"):WaitForObject()
local BOSS_NUMBER = script:GetCustomProperty("BossNumber")
function StartBoss()
AUDIO:Stop()
AUDIO_BOSS:Play(... |
module ("L_DataBaseDM", package.seeall)
local LICENSE = [[
Copyright 2016 AK Booer
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
... |
require "Polycode/EventDispatcher"
class "CoreInput" (EventDispatcher)
CoreInput.MOUSE_BUTTON1 = 0
CoreInput.MOUSE_BUTTON2 = 1
CoreInput.MOUSE_BUTTON3 = 2
function CoreInput:__getvar(name)
if name == "simulateTouchWithMouse" then
return Polycode.CoreInput_get_simulateTouchWithMouse(self.__ptr)
elseif name == "si... |
load("lua/ge/extensions/radar")
registerCoreModule("lua/ge/extensions/radar")
|
local list = {
"glGenBuffers",
"glBindBuffer",
"glBufferData",
"glGenVertexArrays",
"glBindVertexArray",
"glEnableVertexAttribArray",
"glVertexAttribPointer",
"glCreateShader",
"glShaderSource",
"glCompileShader",
"glCreateProgram",
"glAttachShader",
"glLinkProgram",
"glUseProgram",
"glGetUniformLoca... |
local build = {}
local path = require("luarocks.path")
local util = require("luarocks.util")
local fun = require("luarocks.fun")
local fetch = require("luarocks.fetch")
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local deps = require("luarocks.deps")
local cfg = require("luarocks.core.cfg")
... |
-- Since the doors mod has changed in the latest daily builds I have taken the
-- WTFPL licenced code from the old doors mod and included an edited version
-- within this mod for local use.
local S = protector.intllib
local F = minetest.formspec_escape
-- Registers a door
function register_door(name, def)
def.group... |
-----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- !pos 181 0.1 -218 149
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
local ID = require("scripts/zones/D... |
-- AICONFIG
-- Used to load/reload everything related to ai
AI.LogEvent("[AISYSTEM] AIConfig starts -------------------------------------");
-- DEBUG
Script.ReloadScript("Scripts/AI/Anchor.lua");
Script.ReloadScript("Scripts/AI/Group.lua");
Script.ReloadScript("Scripts/AI/pathfindProperties.lua");
Script.ReloadScr... |
-- test_packetsniffer.lua
local ffi = require("ffi")
local Application = require("Application")
local PacketSniffer = require("PacketSniffer")
local ipheaders = require("ipheaders")
local ws2_32 = require("ws2_32")
local IPUtils = require("IPUtils")
local bit = require("bit")
local bswap = bit.bswap;
local JSON = requi... |
RegisterServerEvent("bike:knockOff")
AddEventHandler("bike:knockOff", function(id, force, wasFall)
TriggerClientEvent("bike:knockOff", id, force, wasFall)
end) |
--[[
Evocity Lift Control
Copyright (c) 2016 Lex Robinson
This code is freely available under the MIT License
--]]
AddCSLuaFile();
DEFINE_BASECLASS "base_gmodentity";
ENT.Type = "anim"
ENT.PrintName = "Evocity Lift Button";
ENT.Author = "Lexi";
ENT.Contact = "lexi@lexi.org.uk";
ENT.Spawnable = fals... |
{
{ Id = 1, Server = 6, Commontypekeyword = { word = 1 }, Dungeon1 = { Type = 1, Id = 1 }, Dungeon2 = { Type = 2, Id = 1 } },
{ Id = 2, Server = 4, Commontypekeyword = { word = 1 }, Dungeon1 = { Type = 1, Id = 1 }, Dungeon2 = { Type = 2, Id = 1 } },
{ Id = 4 },
{ Id = 5 },
}
|
-- !!! OBSOLETE !!!
-- !!! PLEASE USE DZVENT SCRIPT INSTEAD !!!
-- Alarm activation from Mini keypad
-- Activates Domoticz internal alarm and sends acknowledgement to the keypad.
-- Arm status will depend on status of absence switch.
keypadSwitch = 'Alarm Level' -- Mini keypad switch device name
-- Scene to trigger t... |
--[[
© CloudSixteen.com do not share, re-distribute or modify
without permission of its author (kurozael@gmail.com).
Clockwork was created by Conna Wiles (also known as kurozael.)
http://cloudsixteen.com/license/clockwork.html
--]]
CW_TURKISH = Clockwork.lang:GetTable("Turkish");
CW_TURKISH["CannotChangeClassFor... |
LinkLuaModifier("modifier_mana_fiend_osmose", "heroes/mana_fiend/mana_fiend_modifiers.lua", LUA_MODIFIER_MOTION_NONE);
LinkLuaModifier("modifier_mana_fiend_osmose_image", "heroes/mana_fiend/mana_fiend_modifiers.lua", LUA_MODIFIER_MOTION_NONE);
LinkLuaModifier("modifier_mana_fiend_abandon", "heroes/mana_fiend/mana_fiend... |
local AceGUI = LibStub("AceGUI-3.0")
local AceConfigDialog = LibStub("AceConfigDialog-3.0")
local Grindon = LibStub("AceAddon-3.0"):GetAddon("Grindon")
local Window = Grindon:NewModule("Window", "AceConsole-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale("Grindon").Window
local items = {}
local opened = false
f... |
local timer -- ./ecs/timer.can:4
timer = require((...):match("^(.-)ecs%.timer") .. "scene") -- ./ecs/timer.can:4
return { -- ./ecs/timer.can:6
["name"] = "timer", -- ./ecs/timer.can:7
["filter"] = "timer", -- ./ecs/timer.can:8
["default"] = {}, -- ./ecs/timer.can:9
["process"] = function(self, t, dt) -- ./ecs/timer.can... |
local ffi = require "ffi"
local C = ffi.C
local SOCKET_CTX_INDEX = 1
local NGX_OK = ngx.OK
local get_req_ssl, get_req_ssl_ctx
local get_socket_ssl, get_socket_ssl_ctx
local get_request
do
local ok, exdata = pcall(require, "thread.exdata")
if ok and exdata then
function get_request()
local r = exdata()... |
object_draft_schematic_item_gcw_patrol_tool = object_draft_schematic_item_shared_gcw_patrol_tool:new {
}
ObjectTemplates:addTemplate(object_draft_schematic_item_gcw_patrol_tool, "object/draft_schematic/item/gcw_patrol_tool.iff")
|
ITEM.name = "RPG"
ITEM.description = "A guided rocket launcher with a red laser."
ITEM.model = "models/weapons/w_rocket_launcher.mdl"
ITEM.class = "weapon_rpg"
ITEM.weaponCategory = "primary"
ITEM.price = 950
ITEM.width = 3
ITEM.height = 1
ITEM.iconCam = {
pos = Vector(-19.607843399048, 200, 2),
ang = Angle(0, 270, 0... |
--[[
TheNexusAvenger
Map for the bottom bar.
--]]
local MAP_LANDMARK_MAX_MOVE_SPEED = 25
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorageProject = require(game:GetService("ReplicatedStor... |
local curFolder = ""
local top
local t = Def.ActorFrame{
OnCommand = function(self)
top = SCREENMAN:GetTopScreen()
end;
SetCommand = function(self,params)
self:name(tostring(params.Index))
end;
}
t[#t+1] = Def.Quad{
InitCommand= function(self)
self:x(0)
self:zoomto(capWideScale(get43size(340),340),44)
... |
-- This is a part of uJIT's testing suite.
-- Copyright (C) 2015-2019 IPONWEB Ltd. See Copyright Notice in COPYRIGHT
local function get_tokens(str, sep)
local result = {}
for token in ujit.string.split(str, sep) do
table.insert(result, token)
end
return result
end
local function arrays_equal(t... |
local struct = require("struct")
local color = {}
Color = struct {
normal = "",
bold = "",
underline = "",
}
color.DefaultDefault = Color {
normal = "default",
bold = "bold",
underline = "underline",
}
color.DefaultBlack = Color {
normal = "black",
bold = "bold",
underline = "underline",
}
color... |
return {'vond','vondel','vondeliaans','vondeling','vondelinge','vondelingenhuis','vonden','vonder','vondst','vonk','vonkelen','vonkeling','vonken','vonkenregen','vonkenvanger','vonkvorming','vonkvrij','vonnis','vonnissen','vont','vondelkenner','vonniswijzing','vondstenmateriaal','vonkoverslag','vonnisbrief','vonkontste... |
local M = {}
require "ng.struct"
local ffi = require "ffi"
------------------------------------------------------------------------------
-- Events
------------------------------------------------------------------------------
M.Type = {}
local CTypes = {}
local function RegisterEventType(enum, ctype)
local next ... |
MaterialType = {}
---@type number
MaterialType.None = 0
---@type number
MaterialType.TranslucentDepth = 3
---@type number
MaterialType.Masked = 1
---@type number
MaterialType.Translucent = 2
|
--Network preferences
-- The name of your network
SSID = "OpenEnergy"
-- Your network passwird
PASSWORD = "enhemligkod"
--Electric meter monitor settings
-- How much is one pulse form the electric meter in Wh (watt hours i.e. watt x duration in hours).
-- 1000 imp/kwh for example means 1000 pulses per 1000Wh which ... |
module("luci.controller.store", package.seeall)
local myopkg = "is-opkg"
local page_index = {"admin", "store", "pages"}
function index()
local function store_api(action, onlypost)
local e = entry({"admin", "store", action}, onlypost and post("store_action", {action = action}) or call("store_action", {acti... |
-- light.lua --
local config = require("config")
local backup = nil
tmr.alarm(1, 3000, tmr.ALARM_AUTO, function()
mySocket = net.createConnection(net.TCP, 0)
mySocket:on("receive", function(sck, response)
if response ~= backup then
backup = response
print(response)
... |
do
local _print = print
_print(false)
end
|
-- Hologram Editor
-- by NEO, Totoro
-- 10/14/2014, all right reserved =)
-- райтс, хуяйтс, резервед ЙОПТА
local MineOSCore = require("MineOSCore")
local unicode = require('unicode')
local event = require('event')
local term = require('term')
local fs = require('filesystem')
local com = require('component')
lo... |
require("which-key").register({
-- tags
["t"] = { "<CMD>Tags<CR>", "fzf: tags" },
["bt"] = { "<CMD>BTags<CR>", "fzf: btags" },
-- files
["f"] = { "<CMD>GFiles<CR>", "fzf: git files" },
["F"] = { "<CMD>Files<CR>", "fzf: all files" },
-- commits
["c"] = { "<CMD>Commits<CR>", "fzf: commits" },
["bc"] = {... |
-- This file is subject to copyright - contact swampservers@gmail.com for more information.
-- INSTALL: CINEMA
net.Receive("ExtSound", function(len)
local ply = net.ReadEntity()
local sound = net.ReadString()
local pitch = net.ReadFloat()
local options = net.ReadTable()
if IsValid(ply) and (not op... |
g_Settings = {
disableThresholdMultiplier = 0.35,
preDestructionThresholdMultiplier = 0.35,
fovMultiplierFirstPerson = 1.1,
fovMultiplierThirdPerson = 1.50,
fovMultiplierFirstPersonJet = 1.1,
fovMultiplierThirdPersonJet = 1.20, --Jet fov feels higher to other vehicle suggested to have a bit low... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.