content stringlengths 5 1.05M |
|---|
Locales['sv'] = {
-- Cloakroom
['cloakroom'] = 'Omklädnignsrum',
['ems_clothes_civil'] = 'Civilkläder',
['ems_clothes_ems'] = 'Ambulanskläder',
-- Vehicles
['veh_menu'] = 'Fordon',
['veh_spawn'] = 'Tryck ~INPUT_CONTEXT~ för att ta fram ett fordon',
['store_veh'] = 'Tryck ~INPUT_CONTEXT~ för att lagra fo... |
--[[
--MIT License
--
--Copyright (c) 2019 PapyElGringo
--Copyright (c) 2019 Tom Meyers
--
--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 th... |
--- === plugins.core.tangent.os.window ===
---
--- Window Management Tools for Tangent.
local require = require
local i18n = require("cp.i18n")
local plugin = {
id = "core.tangent.os.window",
group = "core",
dependencies = {
["core.tangent.os"] = "osGroup",
["finder.window"] = "win",
... |
--[[------------------------------------------------------------------
Custom addon logging.
]]--------------------------------------------------------------------
local PRINT_FORMAT = '[%s] <%s> %s'
GSRCHUD.log = {
INFO = 'INFO',
FINE = 'FINE',
WARN = 'WARN',
CRITICAL = 'ERROR'
}
--[[---------------------... |
-- ----------------------------------------------
-- Copyright (c) 2018, CounterFlow AI, Inc. All Rights Reserved.
-- author: Randy Caldejon <rc@counterflowai.com>
--
-- Use of this source code is governed by a BSD-style
-- license that can be found in the LICENSE.txt file.
-- ------------------------------------------... |
local test = {}
test['should upper first string'] = function()
str1 = "this is a test"
str2 = "This is a test"
assert( str1:capitalize() == str2 )
end
test['should keep first string upper'] = function()
str1 = "This is a test"
str2 = "This is a test"
assert( str1:capitalize() == str2 )
end
test['should k... |
-----------------------------------
-- Area: Tahrongi Canyon
-- Mob: Habrok
-----------------------------------
function onMobInitialize(mob)
mob:setLocalVar("pop", os.time() + math.random(1200,7200))
end
function onMobDeath(mob, player, isKiller)
end
function onMobDespawn(mob)
UpdateNMSpawnPoint(mob:getID(... |
-- IRC Parser.
--[[
The MIT License (MIT)
Copyright (c) 2015 - 2016 Adrian Pistol
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 right... |
local entity_name = "combinator-construction"
local entity = table.deepcopy(data.raw["constant-combinator"]["constant-combinator"])
entity.name = entity_name
entity.minable.result = entity_name
local item = table.deepcopy(data.raw.item["constant-combinator"])
item.name = entity_name
item.place_result = entity_name
it... |
object_static_particle_pt_halloween_ghost_fog = object_static_particle_shared_pt_halloween_ghost_fog:new {
}
ObjectTemplates:addTemplate(object_static_particle_pt_halloween_ghost_fog, "object/static/particle/pt_halloween_ghost_fog.iff")
|
local helpers = require "spec.helpers"
local jwtParser = require "kong.plugins.jwt.jwt_parser"
-- local jwt_for_test = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZXN0X2tleSJ9.Uj1YcRCeGAElh8zl6wm_RjjLzJ86GRoD5htP7HOx9yg"
local algo = 'HS256'
local test_key = 'test_key'
local test_secret = 'test_secret'
local te... |
local view = { path = "/view/r2"}
function view.route( content )
return "<h1> r2 route</h1>"
end
return view |
module(context("afk-kick+ does not error", "initialized"), lunity)
function arrange()
stub(TGNSMessageDisplayer, 'Create')
return loadPlugin("improvedafkhandler")
end
function act(sut)
return sut:Initialise()
end
function should_enable_plugin(params)
assert.is_true(params.sut.Enabled)
__assertionSucc... |
--[[
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
This file is a part of the PvPGN Project http://pvpgn.pro
Licensed under the same terms as Lua itself.
]]--
-- Loop each second
function handle_server_mainloop()
-- Tick all timers
for t in pairs(__timers) do
__timers[t]:tick()
end
-- DEBUG(os.time())... |
--- Time string module. Carry ISO format and custom delta format
-- ISO format:
-- format: yyyy-mm-ddThh:mm:ss.ffffff
-- example: 2008-09-15T15:53:00
-- 2008-09-15T15:53:00+05:00
-- Delta format:
-- format: 1Y 10M 2W 1D 12h 30m
-- example: 1Y, 1h 30m, 10D
local M = {}
local function parse_date(str)
local Y, MM, ... |
object_mobile_warren_hawk_bat = object_mobile_shared_warren_hawk_bat:new {
}
ObjectTemplates:addTemplate(object_mobile_warren_hawk_bat, "object/mobile/warren_hawk_bat.iff")
|
local color = 'catppuccin'
-- local color = 'gruvbox_material'
-- local color = 'github'
-- vim.g.gruvbox_material_disable_italic_comment = true
vim.g.everforest_background = 'hard'
vim.g.everforest_disable_italic_comment = true
vim.cmd([[
function! OverrideHighlights() abort
highlight IndentBlanklineInd... |
-- -
--- Created by Ray1184.
--- DateTime: 04/10/2020 17:04
-- -
--- Animated stateful game object.
-- -
dependencies = {
'libs/Context.lua',
'libs/utils/Utils.lua',
'libs/logic/templates/GameItem.lua',
'libs/backend/HPMSFacade.lua',
'thirdparty/Inspect.lua',
'libs/logic/GameMechanicsConsts.lua... |
print("^^ there are lots of empty lines ^^")
|
local ffi = require('ffi')
ffi.cdef[[
typedef struct
{
float x;
float y;
float z;
} Vector_t;
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
typedef int BOOL;
typedef struct _SECURITY_ATTRIBUTES {
DWORD nLength;
void* lpSecurityDescriptor;
BOOL... |
local io = require('io')
local os = require('os')
local ffi = require('ffi')
C = ffi.C
local Argv_mt = {}
Argv_mt.__index = Argv_mt
function Argv_mt:exit(fmt, ...)
local msg
if fmt then
msg = string.format(fmt, ...)
end
if self.exit_cb then
self.exit_cb(self.idx, self.opt, msg)
else
if self.opt then
io... |
--IDEA: Profession related drops
FishingPlus.TrashItems = {
{item = "Base.UnusableWood", weight = 500},
{item = "Base.TreeBranch", weight = 300},
{item = "Base.Twigs", weight = 300},
{item = "Base.RippedSheetsDirty", weight = 300},
{item = "Base.Socks_Ankle", weight = 200},
{item = "Base.Shoes_... |
client_scripts {
'@wtf_redis/lib/redis.lua',
'config.lua',
'lib.lua',
'debug.lua',
'charger/client.lua',
'hud/client.lua',
'batt/client.lua',
'garagedemo/db/db.lua',
'garagedemo/db/redis.lua',
'garagedemo/config.lua',
'garagedemo/client.lua',
}
dependencies {
"wtf_redis"
} |
createObject(1714,358.57086181641,172.4100189209,1007.3828125,0,0,91.534820556641,3,100)
createObject(1714,358.4953918457,174.79618835449,1007.3893432617,0,0,91.532592773438,3,100)
createObject(2357,366.37637329102,176.5947265625,1007.7779541016,0,0,89.324340820313,3,100)
createObject(2357,366.3095703125,170.9658203... |
print("a")
package.path = package.path .. ";luaexe/?.lua"
require("LuaPanda").start("127.0.0.1", 8818)
local Observer = require("vlua.observer")
local Watcher = require("vlua.watcher")
local data = {
name = "abc",
actor = {
aname = "aname123",
aid = 444
},
id = 123,
_watchers = {}
... |
CRAFTBAGEXTENDED_STRINGS = {
["SI_CBE_AND"] = " and ",
["SI_CBE_WORD_BREAK"] = " ",
["SI_CBE_PRIMARY_ACTIONS_USE_DEFAULT"] = "Default checkbox affects quick stow/retrieve",
["SI_CBE_PRIMARY_ACTIONS_USE_D... |
local Model = require 'model'
local Service = Model:new()
-- Class methods
Service.collection = 'services'
Service.excluded_fields_to_index = Model.build_excluded_fields('description')
function Service:find_by_endpoint_code(code)
local service = Service:find( { endpoints = {{ code = code }}})
if s... |
data:extend({
{
type = "bool-setting",
name = "show-inserter-arrows",
setting_type = "startup",
default_value = false,
},
{
type = "bool-setting",
name = "always-open-mod-gui-first",
setting_type = "runtime-per-user",
default_value = true,
... |
local utils = require "kong.tools.utils"
local declarative = require "kong.db.declarative"
local find = string.find
local select = select
local tonumber = tonumber
local kong = kong
local knode = (kong and kong.node) and kong.node or
require "kong.pdk.node".new()
local select = select
local tonumber ... |
--MoveCurve
--H_Kotori/curve_RushBack curve_RushBack
return
{
filePath = "H_Kotori/curve_RushBack",
startTime = Fixed64(17825792) --[[17]],
startRealTime = Fixed64(118839) --[[0.1133333]],
endTime = Fixed64(62914560) --[[60]],
endRealTime = Fixed64(419431) --[[0.4]],
isZoom = false,
isCompensate = false,
curve... |
require 'Vector'
geometry = {}
local function _isConcaveEdge( point1, point2, point3 )
local v1to3 = Vector.to(point1, point3)
local v1to2 = Vector.to(point1, point2)
return Vector.dot(v1to3:perp(), v1to2) > 0
end
-- Graham's scan, produces clockwise sequence of points.
-- NOTE: sorts the points so make a copy i... |
--[[------------------------------------------------------
zmq bindings generator
----------------------
This uses the 'dub' tool and Doxygen to generate the
bindings for lk.
Input: headers in 'include/zmq'
Output: cpp files in 'src/core'
--]]------------------------------------------------------
requi... |
local tablex = require "pl.tablex"
local resty_sha256 = require "resty.sha256"
local str = require "resty.string"
local _M = {}
local EMPTY = tablex.readonly({})
local gkong = kong
local gmatch = string.gmatch
local type = type
local ipairs = ipairs
local re_gmatch = ngx.re.gmatch
local tostring = tostring
local tonumb... |
local prefix_handler = require "bluegate.cmd.prefix_handler"
local nginx_signals = require "bluegate.cmd.nginx_signals"
local conf_loader = require "bluegate.cmd.conf_loader"
local pl_path = require "pl.path"
local log = require "bluegate.cmd.log"
local function execute(args)
-- retrieve prefix or use given o... |
-------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Mission configuration file for the VEAF framework
-- see https://github.com/VEAF/VEAF-Mission-Creation-Tools
--
-- This configuration is tailored for the Cauca... |
--Random quotes, phrases and memes from our rhythm gaming community /o/
--(that you may or may not be familar with.... heck i don't even know the references for some of these)
--mainly from stepmania & Etterna
-- Also (hopefully helpful) tips regarding the game/theme,etc.
----------------------------------------------... |
local config={};
config['mysql_host'] = "127.0.0.1"
config['mysql_port'] = "3306"
config['mysql_user'] = "root"
config['mysql_pass'] = ""
config['mysql_db'] = "agw"
config['admin_name'] = "admin"
config['admin_pass'] = "admin"
return config;
|
-- Animator Util
-- Shane Krolikowski
--
local Modern = require 'modern'
local Animator = Modern:extend()
-- New
--
function Animator:new(items)
self.current = nil
self.items = {}
--
for name, item in pairs(items or {}) do
self:add(name, item)
end
end
-- Add animation
--
function Animator:add(name, item)... |
--[[
Break Through
PvE Ground Branch game mode by Jakub 'eelSkillz' Baranowski
More details @ https://github.com/JakBaranowski/ground-branch-game-modes/wiki/game-mode-break-through
]]--
local MTeams = require('Players.Teams')
local MSpawnsGroups = require('Spawns.Groups')
local MSpawnsCommon ... |
local utils = require("../../../utiles/utiles.lua")
local consts = require("../../lora-lib/constants/constants.lua")
local LINKADRANS_PARAM = consts.LINKADRANS
local logger = require("../../log.lua")
return function(devAddr, status)
logger.info(
{
label = "MAC Command Ans",
message = {
LinkAD... |
ESX = nil
local savedNotes = {
}
TriggerEvent('server:LoadsNote')
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
--#Delete comments to use from inventory
-- ESX.RegisterUsableItem('notepad', function(source)
-- local _source = source
-- local xPlayer = ESX.GetPlayerFromId(_source)
-- Tri... |
function GetVariantsMatch(shipName, tParams)
local tempTable = {}
local numParams = getn(tParams)
local numBits = 0
for i = 1, numParams do
if tParams[i] == 1 then
tinsert(tempTable, VariantLabels[i])
numBits = numBits + 1
end
end
for i = 1, 2^numBits do
local tempBits = NumToBits(i-1, numBits)
loca... |
local class = require "xgame.class"
local util = require "xgame.util"
local runtime = require "xgame.runtime"
local FLAnimPlayer = require "xgame.swf.FLAnimPlayer"
local FLAudioPlayer = require "xgame.swf.FLAudioPlayer"
local FLAudioScanner = require "xgame.swf.FLAudioScan... |
---@class CS.UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule : CS.System.ValueType
---@field public enabled boolean
---@field public limitX CS.UnityEngine.ParticleSystem.MinMaxCurve
---@field public limitXMultiplier number
---@field public limitY CS.UnityEngine.ParticleSystem.MinMaxCurve
---@field public lim... |
include "./vendor/premake/premake_customization/solution_items.lua"
include "Dependencies.lua"
workspace "Oberon"
architecture "x86_64"
startproject "Hazelnut"
configurations
{
"Debug",
"Release",
"Dist"
}
solution_items
{
".editorconfig"
}
flags
{
"MultiProcessorCompile"
}
outputdir = "%{c... |
add = function (x, y)
local sum = x + y
return sum
end
identity = function () end
assert(add(2, 7) == 9)
assert(add(5, 11, 41) == 16)
assert(identity() == nil)
|
local L = LibStub("AceLocale-3.0"):GetLocale("Skada", false)
local AceGUI = LibStub("AceGUI-3.0")
-- Mode menu list sorted by category
local function _modeMenu(window, level)
local info = UIDropDownMenu_CreateInfo()
local modes = Skada:GetModes()
local categorized = {}
for i, module in ipairs(modes) d... |
--https://github.com/blacktaxi/oops
local class = require 'oops'
--local md5 = require("md5")
local redis = require "resty.redis"
local json = require 'cjson'
function trim(source)
return string.gsub(source, "^%s*(.-)%s*$", "%1")
end
function split (source, delimiters)
if not source then return {} end
lo... |
-- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
-- The API documentation in here was moved into doc/lua_api.txt
WATER_ALPHA = 160
WATER_VISC = 1
LAVA_VISC = 7
LIGHT_MAX = 14
-- Definitions made by this mod that other mods can use too
default = {}
-- Load files
dofile(minetest.get... |
--[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
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 o... |
-- gcPlayerGlobals-Signature.lua
-- Author: Gaticus Hax
-- License: Public Domain
require("Scripts.HaxablesMonitor")
local mbinFile = "GCPLAYERGLOBALS.GLOBAL.MBIN"
local dataSignature = "01 00 00 00 00 00 16 44 00 00 48 44 9A 99 59 3F 00 00 C8 43 00 00 C8 43 9A 99 59 3F 00 00 00 00"
local dataOffset = 0x0000
... |
-- Dominos.lua - The main driver for Dominos
local AddonName, AddonTable = ...
local Addon = LibStub('AceAddon-3.0'):NewAddon(AddonTable, AddonName, 'AceEvent-3.0', 'AceConsole-3.0')
local L = LibStub('AceLocale-3.0'):GetLocale(AddonName)
local KeyBound = LibStub('LibKeyBound-1.0')
local ADDON_VERSION = GetAddOnMetada... |
local m, s, o
local clash = "clash"
local uci = luci.model.uci.cursor()
local fs = require "nixio.fs"
local sys = require "luci.sys"
local sid = arg[1]
local uuid = luci.sys.exec("cat /proc/sys/kernel/random/uuid")
local server_table = {}
local encrypt_methods_ss = {
"rc4-md5",
"aes-128-cfb",
"aes-192-cfb",
"a... |
-----------------------------------
--
-- Zone: Grauberg_[S] (89)
--
-----------------------------------
local ID = require("scripts/zones/Grauberg_[S]/IDs")
require("scripts/globals/weather")
require("scripts/globals/status")
require("scripts/globals/helm")
-----------------------------------
function onInitialize(zo... |
--[[ Authors: The Big Bang Team
Project: Alohomora-3FA
date: 14/03/2018
Version: Alpha 1
Link: https://github.com/TheBigBangTeam/Alohomora-3FA
NodeMCU version: Lolin(v2)
--]]
--[[
Deve aspettare un ricezione in seriale della stringa contente l'rfid uid (è del tipo "'EE-EE-EE-EE'").
Presa la stringa,... |
local ngx = require('ngx')
local ngx_re = require('ngx.re')
local socks5 = {}
local char = string.char
-- magic numbers
local SOCKS5 = 0x05
local NUMBER_OF_AUTH_METHODS = 0x01
local NO_AUTHENTICATION = 0x00
local TCP_CONNECTION = 0x01
local RESERVED = 0x00
local IPv4 = 0x01
local DOMAIN_NAME = 0x03
local IPv6 = 0x04... |
-- NibUI->FormattedText
-- Cria um objeto de texto dentro
-- de uma bounding box em que
-- partes individuais podem receber
-- atributos diferentes
local FormattedText = {}
local DEFAULT_W = 320
local DEFAULT_H = 240
local CHAR_W = 8
local CHAR_H = 8
function FormattedText:new(x, y, w, h)
local instance = {
... |
event_handlers={}
modlib.player.add_playerdata_function(function(playerdata)
playerdata.last_placed = modlib.minetest.get_gametime()
end)
modlib.player.set_property_default("required_cooldown", 0)
modlib.log.create_channel("place_limit")
local config = modlib.conf.import("place_limit", {
type="table",
ch... |
local opts = {}
-- vim.keymap.set('n', 'gh', ":diffget //3<CR>", opts)
-- vim.keymap.set('n', 'gu', ":diffget //2<CR>", opts)
vim.keymap.set("n", "gs", ":G<CR>", opts)
|
-------------------------------
-- Skill: Tornado Kick
-- Class: H2H Weapon Skill
-- Level: 225
-- Mods : STR:37.5% VIT:30%
-- 100%TP 200%TP 300%TP
-- 2.0x 2.75x 3.5x
-- Delivers a twofold attack. Damage varies with TP.
-----------------------------------
require("scripts/globals/status")
require("scr... |
function love.conf(t)
BASE_SCREEN_W = 160
BASE_SCREEN_H = 120
GRAPHICS_SCALE = 6
t.window.width = BASE_SCREEN_W * GRAPHICS_SCALE
t.window.height = BASE_SCREEN_H * GRAPHICS_SCALE
t.window.title = 'kitty'
t.window.vsync = true
AXIS_DEADZONE = .2
-- Until I add in-game options to bind... |
local S=minerdream.intllib
local has_value = basic_functions.has_value
local tier_cols={
col_num={"name"},}
local tier_definition = basic_functions.import_csv(minerdream.path.."/tiers.txt",tier_cols)
local tool_cols={
col_num={"range","uses"},
as_numeric=1,
}
local tool_definition = basic_functions.import_csv(mine... |
-- see wireless jammer
local storage = minetest.get_mod_storage()
local jammers = moremesecons.load_MapDataStorage_legacy(storage, "jammers_v2",
"jammers")
local function update_mod_storage()
storage:set_string("jammers_v2", jammers:serialize())
end
local function add_jammer(pos)
if jammers:getAt(pos) then
retu... |
--AttackFrame
----attack_Skill_2
return
{
filePath = "",
attackCheckType = "Box",
attackCheckVector = FixedVector3(0, 1048576, 4194304) --[[(0, 1, 4)]],
attackPriorityTarget = false,
attackRadius = Fixed64(4194304) --[[4]],
attackRangePosition = FixedVector3(0, 1048576, 4194304) --[[(0, 1, 4)]],
attackRangeTarg... |
--Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result)... |
--This is an example of register_fetches which
--returns a string that is to be used by the
--config file with ACL.
function fetch_ex(txn)
local result = "/usr/sbin/"
return result
end
core.register_fetches("fetch_ex", fetch_ex) |
-- Receive OSC events
function handle_message(path, args)
print("OSC path: " .. path .. " len: " .. #args .. " 1: " .. args[1])
end
function setup()
server = nosc_server_new(2222, handle_message)
end
function draw()
nosc_server_update(server)
ngl_clear(0.2, 0.2, 0.2, 1)
end
|
LEFT_CLICK = 1
RIGHT_CLICK = 2
BLOCK_SIZE = 16
EMPTY_ZERO = 0
EMPTY_ONE = 1
EMPTY_TWO = 2
EMPTY_THREE = 3
EMPTY_FOUR = 4
EMPTY_FIVE = 5
EMPTY_SIX = 6
EMPTY_SEVEN = 7
EMPTY_EIGHT = 8
MINE = 9
HIDDEN = 10
FLAG = 11
-- Generate mines on board
function setMines()
local remainingMines = config.mines
math.randoms... |
--------------------------------------------------------------------------------
-- frame.lua
-- a custom window like object
--------------------------------------------------------------------------------
local AddonName, Addon = ...
local Frame = Addon:CreateClass('Frame')
local L = LibStub('AceLocale-3.0'):GetLocale... |
--[[
Adobe Experience Manager (AEM) API
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
The version of the OpenAPI document: 3.5.0-pre.0
Contact: opensource@shinesolutions.com
Generated by: https://openapi-generator.tech
]]
-- saml_configuration_properties class
local saml_... |
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules
local Rodux = require(Modules.Packages.Rodux)
local Toggle3DFullView = require(Modules.AvatarExperience.AvatarEditor.Actions.Toggle3DFullView)
return Rodux.createReducer(false, {
[Toggle3DFullView.name] = function(state, a... |
nx = 10
ny = 10
nc = nx*ny
nw = math.ceil(nc*0.15)
world = {}
for i=1,nx do
world[i] = {}
for j=1,ny do
world[i][j] = 0
end
end
math.randomseed(1)
k=0
for i=1,nx do
world[i] = {}
for j=1,ny do
r = math.random()
if r < nw/nc then
k=k+1
world[i][j] = 1
print("new ... |
-- taken from http://luaforge.net/projects/luacairo/
local cairo = require"lcairo"
local CAIRO = cairo
print(cairo.version_string())
local w = 320
local h = 240
--local outfile = 'cairo_test2.png'
local outfile = 'cairo_test3.pdf'
--local cs = cairo.image_surface_create(CAIRO.FORMAT_RGB24, w, h)
--local cs = cairo.p... |
---@class ChampionColor @enum
ChampionColor = {}
--- 33% more life, full heart
---
--- 0
ChampionColor.RED = 0
--- 33% faster, lil battery
---
--- 1
ChampionColor.YELLOW = 1
--- trail of green creep, pill
---
--- 2
ChampionColor.GREEN = 2
--- greed shot (drop coins when hit), 1-3 coins
---
--- 3
ChampionColor.ORANGE =... |
local mod = get_mod("MutatorsSelector")
mod:hook(MutatorHandler, "init", function(func, self, mutators, ...) -- luacheck: no unused
mutators = {}
for mut_name, _ in pairs( MutatorTemplates ) do
if mod:get(mut_name) then
table.insert(mutators, mut_name)
end
end
pcall(func, self, mutators, ...)
end)
mod:ho... |
-- 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"); you may n... |
--[[
Simple particle system
This one uses the mouse location as the origin of the system.
So, as you move the mouse around, the continuous stream of
particles will begin from wherever the mouse is currently located.
Makes for a nice 'streamer' effect.
]]
local ffi = require("ffi")
local stats =... |
--- === cp.rx.ImmediateScheduler ===
---
--- Schedules `Observables` by running all operations immediately.
local require = require
local Reference = require "cp.rx.Reference"
local util = require "cp.rx.util"
local ImmediateScheduler = {}
ImmediateScheduler.__index = ImmediateSchedule... |
-- Displays changes in the key modifier state
--@ enable = true
--[====[
devel/modstate-monitor
======================
Display changes in key modifier state, ie Ctrl/Alt/Shift.
:enable|start: Begin monitoring
:disable|stop: End monitoring
]====]
VERSION = '0.1'
if active == nil then active = false end
if dfhack... |
object_tangible_furniture_all_frn_all_bed_lg_hue_s2 = object_tangible_furniture_all_shared_frn_all_bed_lg_hue_s2:new {
}
ObjectTemplates:addTemplate(object_tangible_furniture_all_frn_all_bed_lg_hue_s2, "object/tangible/furniture/all/frn_all_bed_lg_hue_s2.iff")
|
--- Returns the default event instance to execute asynchronous operations.
-- The Event class coordinates distinct asynchronous operations using a single event loop.
-- @module jls.lang.event
-- @pragma nostrip
local logger = require('jls.lang.logger')
local CoroutineScheduler = require('jls.util.CoroutineSchedu... |
local M = { _NAME = "imagesize.util" }
function M.get_uint16_le (s, p)
local a, b = s:byte(p, p + 1)
return a + b * 256
end
function M.get_uint16_be (s, p)
local a, b = s:byte(p, p + 1)
return a * 256 + b
end
function M.get_uint32_le (s, p)
local a, b, c, d = s:byte(p, p + 3)
return a + b * 2... |
-- ----------------------------------------------------------------------------
-- AddOn namespace.
-- ----------------------------------------------------------------------------
local FOLDER_NAME, private = ...
local LibStub = _G.LibStub
local Dialog = LibStub("LibDialog-1.0")
-- ---------------------------... |
-- Needed variables
local pvptable = {}
local huds = {}
local toggle_interval = 5 * 60
-- Inventory mod determination
local inv_mod = ""
if minetest.get_modpath("unified_inventory") ~= nil then
inv_mod = "unified_inventory"
minetest.log("action", "[pvpbutton] Using UnifiedInventory (u_inv) as inventory mana... |
-- =============================================================
-- Your Copyright Statement Goes Here
-- =============================================================
-- config.lua
-- =============================================================
-- https://docs.coronalabs.com/daily/guide/basics/configSettings/index.h... |
if UTIL == nil then
UTIL = {}
function UTIL.printAnnounce(msg)
PrintMessage(3, msg)
end
end
|
--lmc.minimizeToTray = true
--lmc_minimize()
lmc_print_devices() -- get the ID of the second keyboard from the stack that this line creates
lmc_device_set_name('9KeyBlack', "2E6AE332") -- substitute the ID you have found here
lmc_device_set_name('AirMouse', "1AD43AFB") -- substitute the ID you have found here
... |
local F, C = unpack(select(2, ...))
tinsert(C.themes["FreeUI"], function()
F.CreateBD(ScrollOfResurrectionSelectionFrame)
F.CreateSD(ScrollOfResurrectionSelectionFrame)
F.CreateBD(ScrollOfResurrectionFrame)
F.CreateSD(ScrollOfResurrectionFrame)
F.ReskinScroll(ScrollOfResurrectionSelectionFrameListScrollFrameScrol... |
--- === hs.redshift ===
---
--- Inverts and/or lowers the color temperature of the screen(s) on a schedule, for a more pleasant experience at night
---
--- Usage:
--- ```
--- -- make a windowfilterDisable for redshift: VLC, Photos and screensaver/login window will disable color adjustment and inversion
--- local wfReds... |
--------------------------------
-- @module Animate3D
-- @extend ActionInterval
-- @parent_module cc
---@class cc.Animate3D:cc.ActionInterval
local Animate3D = {}
cc.Animate3D = Animate3D
--------------------------------
---
---@param keyFrame number
---@param userInfo map_table
---@return cc.Animate3D
function Ani... |
--[[
Lua vector
Developer: Deybis Melendez
Web: https://github.com/DeybisMelendez/lua-vector
MIT License
Copyright (c) 2020 Deybis Melendez
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 withou... |
local deserialize = {}
-- Read text data from memory, starting at addr_start
-- If the End of Transmission byte \4 is encountered, return nil (actually nothing)
-- to indicate that we reached the end of a serialization stream.
-- Otherwise, read the actual text's characters byte by byte.
-- This also works if \0 is i... |
--[[
Cron.lua
Timed Tasks Manager
Copyright (c) 2021 psiberx
]]
local Cron = {}
local timers = { version = '1.0.1' }
local counter = 0
---@param timeout number
---@param recurring boolean
---@param callback function
---@param args
---@return any
local function addTimer(timeout, recurring, callback, args)
if type(t... |
------------------------------------------------------------------------------
-- Normalizer class
------------------------------------------------------------------------------
local ctrl = {
nick = "normalizer",
parent = iup.WIDGET,
creation = "-",
callback = {}
}
function ctrl.setAttributes(obj... |
local L = BigWigs:NewBossLocale("Master Snowdrift", "koKR")
if L then
--내가 풋내기였던 시절에는 정권 지르기 한 번도 버거웠다. 하지만 수년간 뼈를 깎는 수련을 거듭한 지금은 달라!
L.stage3_yell = "내가 풋내기였던 시절에는"
end
|
--- @alias GeometryParam GeometryInstance|GeometryTable|string
|
require 'torch'
optim = {}
-- optimizations
torch.include('optim', 'sgd.lua')
torch.include('optim', 'cg.lua')
torch.include('optim', 'asgd.lua')
torch.include('optim', 'fista.lua')
torch.include('optim', 'lbfgs.lua')
torch.include('optim', 'adagrad.lua')
torch.include('optim', 'rprop.lua')
-- line search functions... |
object_mobile_beast_master_bm_mutated_chuba_fly = object_mobile_beast_master_shared_bm_mutated_chuba_fly:new {
}
ObjectTemplates:addTemplate(object_mobile_beast_master_bm_mutated_chuba_fly, "object/mobile/beast_master/bm_mutated_chuba_fly.iff")
|
if not SERVER then return end
local function LoadGlobalServer()
print( "Loading 'global-server' addon..." )
include "globalserver/init.lua"
end
-- First time load
LoadGlobalServer()
|
return {'kohier','kohierbelasting','kohieren','kohnstamm','kohl','kohlen','kohnen','kohlmann','kohierbelastingen'} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.