content stringlengths 5 1.05M |
|---|
--[[Returns function(entries) -> entries (modified)
Entries has .Credits added to it - the list of {.Key .Desc} in the order they should appear
Key is how to index an entry to find it; Desc is for the player
Each entry in 'entries' is validated and modified to have:
.Title:string
.Date:string (ex "5 Feb 2021")
.Lay... |
-- my bindings for keyboard layouts
-- see windows.lua
return {
modifiers = {'alt'},
showHelp = true,
trigger = 'space',
mappings = {
{ {}, 'f', 'maximize' },
{ {}, 's', 'centerWithFullHeight' },
{ {}, 'a', 'left' },
{ {}, 'x', ... |
package.path = table.concat({
'libs/?.lua',
'libs/?/init.lua',
'',
}, ';') .. package.path
package.cpath = table.concat({
'libs/?.so',
'',
}, ';') .. package.cpath
local util = require 'util'
local irc = require 'irc'
local utf8 = util.utf8
local busted = require'busted'
local cqueues = require... |
return function(puzzle)
end
|
require("luasnip").config.set_config {
history = true,
updateevents = "TextChanged,TextChangedI",
}
require("luasnip.loaders.from_vscode").load()
-- from https://github.com/L3MON4D3/LuaSnip/wiki/Misc#choicenode-popup
local current_nsid = vim.api.nvim_create_namespace "LuaSnipChoiceListSelections"
local current_win... |
--[[
______ _ _
| ___ \ | | | |
| | _ | | ____| |_ _ ____ _ | | ___
| || || |/ _ | | | | / _ |/ || |/ _ \
| || || ( ( | | |\ V ( ( | ( (_| | |_| |
|_||_||_|\_||_|_| \_/ \_||_|\____|\___/
malvado - A game programming library with "DIV Game Studio"-style
... |
local Clock = Class(function(self, inst)
self.daysegs = TUNING.DAY_SEGS_DEFAULT
self.nightsegs = TUNING.NIGHT_SEGS_DEFAULT
self.dusksegs = TUNING.DUSK_SEGS_DEFAULT
self.inst = inst
self.task = nil
self.numcycles = 0
self.lmax = 1
self.dayColour = Point(255/255, 230/255, 158/255)
self.dusk... |
bin={}
bin.Version={6,0,0}
bin.stage='stable'
bin.data=''
bin.t='bin'
bin.__index = bin
bin.__tostring=function(self) return self:getData() end
bin.__len=function(self) return self:getlength() end
bin.lastBlockSize=0
bin.streams={}
-- Helpers
function bin.getVersion()
return bin.Version[1]..'.'..bin.Version[2]..'.'..b... |
local parser_lib = require "texparser"
local texparser = parser_lib.getparser
-- some helper functions
------------------------------
-- convert tokens to text
local function to_text(tokens)
local allowed = {[10]=true, [11] = true, [12] = true}
local text = {}
for _, x in ipairs(tokens) do
if allowed[x.catco... |
return {
postgres = {
up = [[
]],
teardown = function(connector)
assert(connector:connect_migrations())
assert(connector:query [[
DO $$
BEGIN
ALTER TABLE IF EXISTS ONLY "response_ratelimiting_metrics"
DROP CONSTRAINT IF EXISTS "response_ratelimiting_metric... |
local drow_caster = Loot {
resref = "pl_drow_h1_004",
[1] = {
Store("lt_scrolls") :N(3) :Chance(80),
},
}
Copy("pl_drow_005", drow_caster)
Copy("pl_drow_h1_005", drow_caster)
Copy("pl_drow_004", drow_caster)
|
local variant = Tracker.ActiveVariantUID
local items_only = variant:find("itemsonly")
local no_pins = variant:find("no_pins")
ENABLE_DEBUG_LOG = false
--scripts
ScriptHost:LoadScript("scripts/logic.lua")
-- custom stuff goes here
--ScriptHost:LoadScript("scripts/logic.lua")
--ScriptHost:LoadScript("scripts/watches.lu... |
math.randomseed(os.time())
require('main.util')
require('main.hook')
local chatCooldowns = {}
local chatCooldownSeconds = 0.5
local function splitArguments (str)
local args = {}
local split = str:split(' ')
local inQuotes
for _, word in pairs(split) do
if word:startsWith('"') then
inQuotes = word
elseif ... |
local M = {}
function M.registration(register)
require("opt.plugins.lsp.null-ls.fish").registration(register)
require("opt.plugins.lsp.null-ls.sh").registration(register)
require("opt.plugins.lsp.null-ls.json").registration(register)
require("opt.plugins.lsp.null-ls.yaml").registration(register)
require("o... |
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
underline = true,
update_in_insert = false,
virtual_text = false,
severity_sort = true,
})
|
local theme={colors={normal={blue={0.48627450980392,0.68627450980392,0.76078431372549,1},green={0.63137254901961,0.70980392156863,0.42352941176471,1},cyan={0.52549019607843,0.75686274509804,0.72549019607843,1},white={0.21960784313725,0.21960784313725,0.21960784313725,1},red={0.67058823529412,0.27450980392157,0.25882352... |
return {
talon_edrag = {
buildangle = 0,
buildcostenergy = 15000,
buildcostmetal = 850,
builder = false,
buildpic = "talon_edrag.dds",
buildtime = 20000,
category = "ALL SURFACE UNDERWATER",
collisionvolumeoffsets = "0 -3 0",
collisionvolumescales = "64 100 64",
collisionvolumetype = "CylY",
corp... |
local dpm = require("dpm")
local example = dpm:load("example")
example:test() |
---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by Administrator.
--- DateTime: 2020/10/10 0010 ไธๅ 5:38
---
local mem = require("memory")
local m, r;
m = mem.new('i', {1, 2, 3}, {-4, -5, -6})
print("---------- test equals ----------")
assert(m == mem.new('i', {1, 2, 3}, {-4, -5, -6}))
assert(not (m... |
--[[
-- added by wsh @ 2017-12-18
-- ๆดๆฐ็ฎก็๏ผ่ด่ดฃUnityไพงUpdateใLateUpdateใFixedUpdateๅฏนLua่ๆฌ็่ฐ็จ
-- ๆณจๆ๏ผ
-- 1ใๅซ็ดๆฅ็จtolua็UpdateBeatใLateUpdateBeatใFixedUpdateBeat๏ผๆๆ้่ฆไปฅไธไธไธชๆดๆฐๅฝๆฐ็่ๆฌ๏ผ้ฝไป่ฟ้ๆณจๅใ
-- 2ใtolua็eventๆฒกๆไฝฟ็จweak่กจ๏ผ็ดๆฅไฝฟ็จtolua็ๆดๆฐ็ณป็ปไผๅฏผ่ด่ๆฌ่ขซeventๆๆๅผ็จ่ๆ ๆณ้ๆพ---้ค้ๆฏๆฌก้ฝ่ฎฐๅพๆๅจๅป้ๆพ
--]]
local Messenger = require "Framework.Common.Messenger"
local ... |
-----------------------------------
-- Area: Castle_Zvahl_Baileys
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[tpz.zone.CASTLE_ZVAHL_BAILEYS] =
{
text =
{
CONQUEST_BASE = 0, -- Tallying conquest results...
... |
print("Welcome!")
-- files
require("ledblink")
require("httpserver")
dofile("http.lua")
-- init.lua
pin_wifi = 4
wifi_auto_conn = 1
ip = nil
-- wifi mode
wifi.setmode(wifi.STATIONAP)
-- ap
apcfg = {
ssid = "node_wifi",
pwd = "12345678"
}
wifi.ap.config(apcfg)
-- wifi connection
wificfg = {
ssid = "",
pw... |
return require("zenbones.util").get_lualine_theme "kanagawabones"
|
local issue
local area
slot.set_layout("rooset", "text/html")
local issue_id = param.get("issue_id", atom.integer)
if issue_id then
issue = Issue:new_selector():add_where{"id=?",issue_id}:single_object_mode():exec()
issue:load_everything_for_member_id(app.session.member_id)
area = issue.area
else
local area_id... |
he = require "he" -- at https://github.com/philanc/he
l5 = require "l5"
util = require "l5.util"
tty = require "l5.tty"
fs = require "l5.fs"
local spack, sunpack = string.pack, string.unpack
local insert, concat = table.insert, table.concat
local errm, rpad, repr = util.errm, util.rpad, util.repr
local pf, px =... |
ProtocolAdapter = ProtocolAdapter or {}
function ProtocolAdapter:AdaptSCVisibleObjEnterRole(role_id, c_datastream)
local role = RoleManager.Instance:GetRoleById(role_id)
if nil == c_datastream or nil == role then
return
end
c_datastream:WriteShort(role:GetCommonData():GetTianxiangeLevel())
c_datastream:WriteSh... |
AddCSLuaFile()
SWEP.Base = "voxel_base"
SWEP.PrintName = "Twin-linked SMG"
SWEP.Category = "Ace of Spades"
SWEP.Author = "TankNut"
SWEP.Slot = 2
SWEP.AdminOnly = false
SWEP.Spawnable = true
SWEP.DrawCrosshair = true
SWEP.Primary.ClipSize = 60
SWEP.Primary.DefaultClip = 240
SWE... |
--[[
AoESkillshotPosition 2.0 by monogato
GetAoESpellPosition(radius, main_target, [delay]) returns best position in order to catch as many enemies as possible with your AoE skillshot, making sure you get the main target.
Note: You can optionally add delay in ms for prediction (VIP if avaliable, normal else).
]]
... |
-- [[
-- pbr -- poembyrabb.it
-- widgets, utilities and scripts for Awesome WM
--
-- ]]
local helpers = require("pbr.helpers")
local wibox = require("wibox")
local widget = {}
widget = awful.widget.textbox()
widget:set_text("battery ")
mybatterytimer = timer({ timeout = 30 })
mybatterytimer:connect_signal... |
local GT = {}
GT.Identity = "tiny_combos"
GT.Locale = {
["name"] = {
["english"] = "Sky Tiny",
["russian"] = "ะะฑะปะฐัะฝัะน Tiny"
},
["desc"] = {
["english"] = "Tiny combo",
["russian"] = "ะะพะผะฑะพ ะฝะฐ ัะธะฝะธ"
},
["order"] = {
["english"] = "Select combo order",
["russian"] = "ะัะฑะตัะธัะต ะฟะพััะดะพะบ ะบะฐััะฐ ัะฟะพัะพะฑะฝะพััะตะน"... |
local PQueue = include(".lib.pqueue", ...)
local ok, skynet = pcall(require, "skynet")
skynet = ok and skynet
local _queue = PQueue(function(a, b)
return b.deadline - a.deadline
end)
local kMCacheInterval = 60*10+1
local _caches = {}
local function get_data(key)
local cache = _caches[key]
if cache then
if os.... |
๏ปฟprint("loaded");
function JarCore()
end |
target("RocketEngineMultiThread")
set_kind("static")
add_files("*.cpp")
add_options("console_log")
add_options("memory_check")
target_end()
|
PROPERTIES =
{
}
function Initialize()
msXP = SKIN:GetValue('Background')
end -- function Initialize
function Update()
valXP = msXP:GetValue()
if valXP < 50 then
SKIN:Bang('!SetOption Level1 Text \"Level: 1\"')
SKIN:Bang('!SetOption XPmeterBG2 ValueReminder \"50\"')
SKIN:Bang('!SetOptio... |
-- Copyright (c) 2021 ๆฆๆณๆพ
-- https://github.com/wzhengsen/LuaOOP
-- 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, co... |
local status, hyperModeAppMappings = pcall(require, 'NotSpoons/hyper-apps')
local message = require('NotSpoons/status-message')
if not status then
hyperModeAppMappings = require('NotSpoons/hyper-apps-defaults')
end
for i, mapping in ipairs(hyperModeAppMappings) do
hs.hotkey.bind({'shift', 'ctrl', 'alt', 'cmd'}, m... |
--Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... |
local Reshape, parent = torch.class('nn.Reshape', 'nn.Module')
function Reshape:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
self.batchsize = torch.LongStorage()
local n = #arg
if n == 1 and torch.typename(arg[1]) == 'torch.LongStorage' then
self.size:resiz... |
-- This is meant only to prevent modules from yielding so we can cache them.
local function resultHandler(thread: thread, success: boolean, ...)
if not success then
local message = (...)
error(debug.traceback(thread, message), 2)
end
if coroutine.status(thread) ~= "dead" then
error(debug.traceback(thread, "At... |
--hs.loadSpoon('RoundedCorners')
--spoon.RoundedCorners:start();
local logger = hs.logger.new('Chooser', 'debug')
function sleep(n)
os.execute("sleep " .. tonumber(n))
end
hs.hotkey.bind({"cmd", "alt"}, "s", function()
if hs.spotify.getVolume() >= 100 then
for i = 0,50 do
hs.spotify.setVolume(100 - i);
s... |
function IsRunningOnClient()
local a, b = pcall(function() local p = Game.GetLocalPlayer() end)
return a
end
function ShowStore(player)
if IsRunningOnClient() then
Events.Broadcast("SHOWSTORE_CLIENT", player)
Events.BroadcastToServer("SHOWSTORE_SERVER", player)
else
Events.BroadcastToPlayer(player, "SHOWST... |
-----------------
Interface:create_slider('radius', 10, 100, 1.0, 30)
Interface:create_slider('nodes', 0, 100, 1.0, 12)
Interface:create_boolean('rt_lt', true)
Interface:create_boolean('pos_ang', true)
local function layout_circle(collection, rad)
local step = 2*math.pi / collection.count
local angle = 0
... |
local game = remodel.readPlaceFile("WrapperService.rbxl")
remodel.writeModelFile(game.ReplicatedStorage.WrapperService, "WrapperService.rbxm") |
local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local command = helpers.command
local feed = helpers.feed
local Screen = require('test.functional.ui.screen')
describe(':digraphs', function()
local screen
before_each(function()
clear()
screen = Screen.new(65, 8)
... |
--- ่ง่ฒ้ๅคดๆจกๅ
--- @module Player Cam Module
--- @copyright Lilith Games, Avatar Team
--- @author Dead Ratman
local PlayerCam, this = ModuleUtil.New('PlayerCam', ClientBase)
--ๆปค้ๅผๅ
ณ
local swimFilterSwitch = false
--- ๅๅงๅ
function PlayerCam:Init()
--print('[PlayerCam] Init()')
this:NodeRef()
this:DataInit()
... |
slot2 = "BridgeManager"
slot0 = class(slot1)
GdtEventType = {
kAddToCart = 2,
kSearch = 5,
kStart = 6,
kScore = 4,
kPurchase = 3,
kRegister = 1
}
slot0.ctor = function (slot0)
slot0._bridge = nil
slot0._mainMgrClazz = nil
slot0._yybHelpClazz = "org/cocos2dx/lua/YYBJniHelper"
slot0._sdkHelpClazz = "org/cocos2... |
-- @namespace foundation.com
|
function drawBox(x, y, width, height, borderColor, fillColor)
gui.box(x, y, x + width, y + height, fillColor, borderColor)
end
|
-- ===========================
-- Required APIs
-- ===========================
os.loadAPI("/script/sha256")
-- ===========================
-- Variables for the login form
-- ===========================
local boxIndex = 0
local textIndex = 0
local username = ""
local password = ""
local textboxLimit = 36
local userna... |
function lme( ... )
-- body
-- LME Produces logical matrix for equivalence, return an LM object
-- M = LME for classical logic
-- M = LME(K) for k-valued logic
-- Example: m = lme, m = lme(2)
local arg={...}
local ni = select("#",...)
k = arg[1]
if ( ni == 0 ) then
... |
-- regression tests for vstruct
-- tests for fixed bugs go here to make sure they don't recur
-- tests are named after the bug they trigger, not the intended behaviour
local test = require "vstruct.test.common"
local frexp = require "vstruct.frexp"
-- No point in running these tests if there isn't a builtin frexp to ... |
list.Set( "player_base_clothing_system", "pony", {
NiceModel = {
'models/ppm/player_default_base_new.mdl',
'models/ppm/player_default_base_new_nj.mdl',
'models/ppm/player_default_base_nj.mdl',
'models/ppm/player_default_base.mdl',
'models/cppm/player_default_base.mdl',
... |
local _={}
_[38]={x=31,id=2,y=0,arrangement=0,type=0}
_[37]={x=24,id=1,y=11,arrangement=6,type=1}
_[36]={x=19,id=0,y=1,arrangement=4,type=1}
_[35]={y=4,x=12,id=0}
_[34]={y=7,x=9,dest=19,id=3}
_[33]={y=0,x=13,dest=17,id=2}
_[32]={y=7,x=9,dest=19,id=1}
_[31]={y=11,x=17,dest=18,id=0}
_[30]={y=0,x=28,target=11,id=3}
_[29]=... |
/*
Fin tool II
by Austin "Q42" Fox
This addon is not for stealing. K THX.
*/
fintool = {}
function fintool.initialize()
fintool.wind = Vector( math.Rand(-360, 360), math.Rand(-360, 360), 0)
fintool.maxwind = 360
fintool.minwind = 0
end
hook.Add( "Initialize", "finitialize", fintool.initialize )
function fint... |
--Generated by TFA's Sound Autoconversion Script
--Original Path: D:/SteamGames/steamapps/common/nmrih/nmrih/scripts/weapons_soundscripts/bow_deerhunter.txt
SNDLVL_GUNFIRE = 120
SNDLVL_NORM = 80
SNDLVL_20dB = 20
SNDLVL_25dB = 25
SNDLVL_30dB = 30
SNDLVL_35dB = 35
SNDLVL_40dB = 40
SNDLVL_45dB = 45
SNDLVL_50dB = 50
SNDLVL... |
-- title: the 128b
-- author: ps
-- desc: 126b intro for lovebyte battlegrounds 2021
function TIC()
s=time()/1e4
for i=0,1e5 do
a=i%136
d=i%241
m=a-s*2
pix(d,a,(((d*d+a*a)//241~(d*d+m*m)//241)%2)*12)
end
print("THE 128b",70,60,0,0,2)
end |
-- // Honestly, I have no idea what this even does. It was just requested.
-- // Services
local Players = game:GetService("Players")
-- // Vars
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
-- // Get the stat holder thing idk
local StatHolder
do
for _, Connection in ipairs(getconne... |
do
local function main(f)
local a = f(1)
return { _1 = f(2), _2 = { _2 = a, _1 = f(3) } }
end
(nil)(main)
end
|
local assets = {
_VERSION = 'assets v1.0.0',
_DESCRIPTION = 'Asset management for love2D',
_URL = 'https://github.com/nathaniellam/love-assets',
_LICENSE = [[
MIT License
Copyright (c) 2021 Nathaniel Lam
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softw... |
answ = {
"ะขะฐัะบะฐ O ะฟัะธะฟะฐะดะฐ ะฟัะฐะฒะพั a.",
"ะขะฐัะบะต O ะธ N ะฟัะธะฟะฐะดะฐัั ะธััะพั ะฟัะฐะฒะพั.",
"ะัะฐะฒะต a ะธ c ัะต ัะตะบั.",
"ะัะฐะฒะต b ะธ c ะฝะตะผะฐัั ะทะฐัะตะดะฝะธัะบะธั
ัะฐัะฐะบะฐ.",
"ะขะฐัะบะฐ O ะฟัะธะฟะฐะดะฐ ะธ ะฟัะฐะฒะพั a ะธ ะฟัะฐะฒะพั b.",
"ะขะฐัะบะต O ะธ M ะฟัะธะฟะฐะดะฐัั ะธััะพั ะฟัะฐะฒะพั.",
"ะัะฐะฒะต a ะธ b ัั ะฟะฐัะฐะปะตะปะฝะต.",
"ะขะฐัะบะฐ N ะฟัะธะฟะฐะดะฐ ะฟัะฐะฒะพั c."
}
t_s... |
local Subscription = {}
Subscription.__index = Subscription
setmetatable(Subscription, {
__call = function (cls, ...)
return cls.new(...)
end,
})
function Subscription.new(thing, name)
local self = setmetatable({}, Subscription)
self.thing = thing
self.name = name
return self
end
function Subscript... |
local K, C, L, _ = unpack(select(2, ...))
local LSM = LibStub("LibSharedMedia-3.0")
local GetChatWindowInfo = GetChatWindowInfo
local CreateFrame, UIParent = CreateFrame, UIParent
local hooksecurefunc = hooksecurefunc
local SetFont = function(obj, font, size, style, r, g, b, sr, sg, sb, sox, soy)
obj:SetFont(font, s... |
local util = require("util")
local _M = {}
function _M.new(self, o)
o = o or {}
setmetatable(o, self)
self.__index = self
return o
end
function _M.sync(self, backend)
local nodes = util.get_nodes(backend.endpoints)
local changed = not util.deep_compare(self.instance.nodes, nodes)
if not changed then
... |
--
-- 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.
--
-- Multi-thread... |
--[[
--
--
--]]
--
-- Factorio::Signal
-- signal :: SignalID: ID of the signal.
-- count :: int: Value of the signal.
--
-- Factorio::SignalID
-- type :: string: "item", "fluid", or "virtual".
-- name :: string (optional): Name of the item, fluid or virtual signal.
local config = require "config"
ltn_combinator ... |
--require("subModSearcher")
-- Code to replace \.. in the paths to absolute paths so that Zerobrane debugging works
local newPath
for path in package.path:gmatch("[^;]+") do
local strt,stp = path:find([[\..]],1,true)
while strt do
if strt > 1 then
path = path:sub(1,path:sub(1,strt-1):find([[%\[^%\]+$]... |
local playsession = {
{"MontrealCrook", {778023}},
{"LandOfBol", {11852}},
{"nomercy4you", {489235}},
{"GoryGorge", {190818}},
{"Dk-077", {1281349}},
{"Menander", {371659}},
{"762x51mm", {2751}},
{"robertkruijt", {81000}},
{"Bokrug", {586}},
{"NicoAuditore", {157930}},
{"Hamersmid", {582111}},
{"Miteone", {... |
local M = {}
M.bounds_min = vmath.vector3(-0.25, 0, -0.25)
M.bounds_max = vmath.vector3(0.25, 0.937625050545, 0.25)
M.size = vmath.vector3(0.5, 0.937625050545, 0.5)
return M
|
return
{
entities =
{
{"small-electric-pole-remnants", {x = -2.5, y = -0.5}, {}},
{"fish", {x = -1.04, y = -1.25}, {}},
{"fish", {x = -0.32, y = -1.25}, {}},
{"fish", {x = 0.11, y = 2.17}, {}},
{"wooden-chest", {x = -3.5, y = 1.5}, {items = {["raw-fish"] = {type = "random", min = 3, max = 18}}, ... |
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:SetModel("models/props_c17/FurnitureBoiler001a.mdl")
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
local phys = self:GetPhysicsObject()
... |
local button = require("button")
local toggle = require("toggle")
local M = Class(DisplayObject)
function M:init()
DisplayObject.init(self)
self:addChild(DisplayImage.new("/romdisk/samples/images/background.png"))
-- button
local normal = DisplayImage.new("/romdisk/samples/images/off.png")
local act... |
pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
wait(0)
local Parts = {
game.Players.LocalPlayer.Character.Torso
}
local w = {}
for i = 2, 24 do
Parts[i] = Insta... |
-- DO NOT CHANGE
if file.exists("startup.lua") then
dofile("startup.lua")
end
|
local Entity = Xile.class()
Xile.Entity = Entity
Entity.__call = function(self,...) return self:item(...) end
local Component = Xile.Component
local from = Xile.from
local newid = (function()
local _count = 0
return function()
_count = _count + 1
return _count
end
end)()
local getname = ... |
AddCSLuaFile()
gInterpol = {}
gInterpol.chatyazisi = true -- [gInterpol] Bu Sunucu gInterpol ile korunmaktadฤฑr!
gInterpol.chatyazisisuresi = 600
gInterpolWhitelist = { -- Whiteliste ekliyiceฤiniz oyuncunun SteamID64'รผ
["00000000000000000"] = true,
["00000000000000000"] = true,
["00000000000000000"] = true,
}
|
--[[
English localisation (default) (with Google Translate help ^-^)
enGB, enUS
The number of lines must match in each file!
]]
local _, NAMESPACE = ...;
NAMESPACE[2] = NAMESPACE[2] or {};
NAMESPACE[2]['enUS'] = {};
local L = NAMESPACE[2]['enUS'];
L['OPTIONS_TRANSLATED_BY'] = 'Translated into English: ะ ... |
PROPERTY = {};
PROPERTY.ID = 6;
PROPERTY.Name = "The Depot";
PROPERTY.Category = "Business";
PROPERTY.Description = "A moderately sized werehouse in the industrial area.";
PROPERTY.Image = "ev33x_depot";
PROPERTY.Cost = 1000;
PROPERTY.Doors = {
{Vector(2805, 5507, 122.25), 'models/props_c17/door01_left.mdl'... |
local ffi = require("ffi")
local utils = require("libc_utils")
local alltypes = require("bits/alltypes")
ffi.cdef[[
typedef struct { int quot, rem; } div_t;
typedef struct { long quot, rem; } ldiv_t;
typedef struct { long long quot, rem; } lldiv_t;
div_t div (int, int);
ldiv_t ldiv (long, long);
lldiv_t lldiv (lon... |
local react = require "react"
local tests = {}
local test_names = {}
local function test(name, fn)
table.insert(test_names, name)
table.insert(tests, fn)
end
--==========================================================
-- test callback
--==========================================================
local funct... |
--[[
--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... |
object_weapon_melee_sword_crafted_saber_shared_sword_lightsaber_one_handed_s10_gen5 = SharedWeaponObjectTemplate:new {
clientTemplateFileName = "object/weapon/melee/sword/crafted_saber/shared_sword_lightsaber_one_handed_s10_gen5.iff"
}
ObjectTemplates: addClientTemplate(object_weapon_melee_sword_crafted_saber_shared_s... |
function getPlayerFromPartialName(name)
local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil
if name then
for _, player in ipairs(getElementsByType("player")) do
local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower()
if name_:find(name, 1, true) then... |
๏ปฟif GetLocale() ~= "deDE" then return end
local L
---------------
-- Kargath Bladefist --
---------------
L= DBM:GetModLocalization(1128)
---------------------------
-- The Butcher --
---------------------------
L= DBM:GetModLocalization(971)
---------------------------
-- Tectus, the Living Mountain -... |
package.path = "?.lua;../?.lua"
local input = require "input"
local utils = require "utils"
local BYTE_ELF = 69
local BYTE_GOBLIN = 71
local BYTE_WALL = 35
local WALL = -1
local CLEAR = 0
local ELF = "elf"
local GOBLIN = "goblin"
local abs = math.abs
-- up, left, right, down = reading order
local deltas = { 0, -1, -... |
o = Game.Players.LocalPlayer
o.Character.Humanoid.PlatformStand = true
bv = Instance.new("BodyAngularVelocity")
bv.Parent = o.Character.Torso
bv.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
bg = Instance.new("BodyGyro")
bg.Parent = o.Character.Torso
bg.maxTorque = Vector3.new(0, 0, 0)
while true do
loc... |
game.AddParticles("particles/cstm_muzzleflashes.pcf")
game.AddParticles("particles/cstm_muzzleflashes2.pcf")
PrecacheParticleSystem("cstm_child_sparks_small")
PrecacheParticleSystem("cstm_child_sparks_medium")
PrecacheParticleSystem("cstm_child_sparks_large")
PrecacheParticleSystem("cstm_child_sparks_verylarge")
Preca... |
---------------------
-- www.lspd.gov --
---------------------
function www_lspd_gov()
local page_length = 350
guiSetText(internet_address_label, "Los Santos Police Department - 'Taking the law into our own hands...' - Waterwolf")
guiSetText(address_bar,"www.lspd.gov")
bg = guiCreateStaticImage(0,0,660... |
--[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... |
local vec2 = require("math.vec2")
local vec3 = require("math.vec3")
local framebuffer = {}
function framebuffer.new(size)
local self = {}
self.size = size
self.data = {}
return setmetatable(self, {__index = framebuffer})
end
function framebuffer:pos_to_index(pos)
return math.floor(pos.x) + self... |
object_tangible_quest_legacy_head_pain3 = object_tangible_quest_shared_legacy_head_pain3:new {
}
ObjectTemplates:addTemplate(object_tangible_quest_legacy_head_pain3, "object/tangible/quest/legacy_head_pain3.iff")
|
local parsers = require('nvim-treesitter.parsers')
local queries = require('nvim-treesitter.query')
local ts_utils = require('nvim-treesitter.ts_utils')
local configs = require('nvim-treesitter.configs')
local M = {}
-- array of { changedtick = number, selection: number, mode: string }
-- TODO: we could use extmarks w... |
local module = {}
function module.init()
local function main()
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
spawn(function()
wait()
-- game.StarterGui:SetCore("ChatWindowPosition", UDim2.new(0,0,0,0))
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
game.S... |
local config = require('lsp.config')
require('lspconfig').solargraph.setup {
cmd = { "solargraph", "stdio" },
filetypes = { "ruby" },
init_options = {
formatting = true
},
settings = {
solargraph = {
diagnostics = true
}
},
flags = {
debounce_text_changes = 150
},
on_attach = co... |
function onCreate()
-- background shit
makeLuaSprite('CYSbg', 'CYSbg', -500, -300);
setLuaSpriteScrollFactor('cys', 0.9, 0.9);
addLuaSprite('CYSbg', false);
close(true); --For performance reasons, close this script once the stage is fully loaded, as this script won't be used anymore after loading the st... |
help([[Intel C/C++ and Fortran compilers, alongside Intel MKL. - Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/]])
local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/iimkl/2016.4"
load("icc/.2016.4.258")
load("ifort/.2016.4.258")
load("intel/2016.4")
load("imkl/11.3.... |
package.path = package.path .. ";/?/init.lua"
-- Slot 1: Saplings
local config = require("config")
config.load("treeChopper")
-- Count of blocks between the center line and the left(or right) line of trees
local sideDist = config.get("sideDist")
-- Steps required to the next pair of trees
local forwDist = ... |
function RoboticsFactory:GetTechAllowed(techId, techNode, player)
local allowed, canAfford = ScriptActor.GetTechAllowed(self, techId, techNode, player)
-- Do not allow tech while open or researching or we may lose res.
-- Research progress is checked here instead of GetIsResearching() because
-- th... |
return {'rehabilitatie','rehabilitatiecentrum','rehabilitatieprogramma','rehabiliteren','rehydratie','rehorst','rehman','rehwinkel','rehabilitaties','rehabiliteer','rehabiliteerde','rehabiliteerden','rehabiliteert','rehabiliterend'} |
object_tangible_loot_creature_loot_collections_stormtrooper_wooden_dowel = object_tangible_loot_creature_loot_collections_shared_stormtrooper_wooden_dowel:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_stormtrooper_wooden_dowel, "object/tangible/loot/creature/loot/collections/storm... |
--[[
Author : Jonathan Els
Version : 1.0
Description:
Mask outbound INVITE headers for After-Hours Call Re-Direct
Notes:
Call flow is used from CUC Call Handler, transferring to a CTIRP that has CFA to ITSP.
Workflow allows for re-masking th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.