content
stringlengths
0
1.05M
origin
stringclasses
2 values
type
stringclasses
2 values
--ๅผ“็ฅžใƒฌใƒฉใ‚คใ‚จ --Script by JSY1728 function c100200202.initial_effect(c) --ATK UP local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100200202,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetRange(LOCATION_MZONE) ...
nilq/small-lua-stack
null
if game.PlaceId ~= 263135585 then print("run this in galaxy beta you monkey ๐Ÿ’") return end local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait() local YourTeam = game.Players.LocalPlayer.Team local YourMiner = game.Players.LocalPlayer.ActiveShip.Value if not YourMiner ...
nilq/small-lua-stack
null
util.AddNetworkString("open_lobby") function enterLobby() net.Start("open_lobby") net.Broadcast() end hook.Add("PlayerInitialSpawn","show_lobby",enterLobby)
nilq/small-lua-stack
null
local awful = require("awful") local wibox = require("wibox") local vicious = require("vicious") VolumeWidget_prototype = function() local this = {} this.__public_static = { -- Public Static Variables -- Public Static Funcs } this.__private_static = { -- Private Static Variables config_path =...
nilq/small-lua-stack
null
local util = require "lspconfig.util" local server = require "nvim-lsp-installer.server" local npm = require "nvim-lsp-installer.installers.npm" local root_dir = server.get_server_root_path "graphql" return server.Server:new { name = "graphql", root_dir = root_dir, installer = npm.packages { "graphql-lan...
nilq/small-lua-stack
null
----------------------------------------------------------------------------------------- -- -- roundOverPopup.lua -- ----------------------------------------------------------------------------------------- -- Include the necessary modules local storyboard = require("storyboard") local widget = require("widget") -- ...
nilq/small-lua-stack
null
--[[-------------------------------------------------------------------- Gazelle: a system for building fast, reusable parsers ll.lua Routines for building LL lookahead tables. Copyright (c) 2007 Joshua Haberman. See LICENSE for details. --------------------------------------------------------------------...
nilq/small-lua-stack
null
--[[ The MIT License (MIT) Copyright (c) 2015 Loรฏc Fejoz 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, ...
nilq/small-lua-stack
null
-- ItemCommander.lua -- Implements the main plugin entrypoint --- Map of messages that are sent to the player based on the command result -- Maps cPluginManager.crXXX constants to message strings. No mapping means no message will be sent. local g_CommandResultMessageText = { [cPluginManager.crBlocked] = "The com...
nilq/small-lua-stack
null
data:extend({ { type = "recipe", name = "advanced-assembler", enabled = false, energy_required = 180, ingredients = { {"steel-plate", 400}, {"concrete", 400}, {"stack-inserter", 10}, {"assembling-machine-3", 20}, {"pr...
nilq/small-lua-stack
null
return { tiles = { {"stone-path", {x = -3.5, y = -2}}, {"stone-path", {x = -3.5, y = -1}}, {"stone-path", {x = -2.5, y = -3}}, {"stone-path", {x = -2.5, y = -2}}, {"stone-path", {x = -2.5, y = -1}}, {"stone-path", {x = -2.5, y = 0}}, {"stone-path", {x = -1.5, y = -3}}, {"stone-path",...
nilq/small-lua-stack
null
require("brains/mosslingbrain") require "stategraphs/SGmossling" local assets = { Asset("ANIM", "anim/mossling_build.zip"), Asset("ANIM", "anim/mossling_basic.zip"), Asset("ANIM", "anim/mossling_actions.zip"), Asset("ANIM", "anim/mossling_angry_build.zip") -- Asset("SOUND", "sound/mossling.fsb"), } lo...
nilq/small-lua-stack
null
ys = ys or {} ys.Battle.BattleGravitationBulletFactory = singletonClass("BattleGravitationBulletFactory", ys.Battle.BattleBulletFactory) ys.Battle.BattleGravitationBulletFactory.__name = "BattleGravitationBulletFactory" ys.Battle.BattleGravitationBulletFactory.Ctor = function (slot0) slot0.super.Ctor(slot0) end ys.B...
nilq/small-lua-stack
null
--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. ...
nilq/small-lua-stack
null
-- -- Grail Reputations -- Written by scott@mithrandir.com -- -- Version History -- 001 Initial version -- 002 Converted to be a load-on-demand addon. -- 003 Converted codes to be more MoP-friendly. -- 004 Removed the version check because live has MoP data. -- 005 Changes the technique of how reputation data is s...
nilq/small-lua-stack
null
-- formerly lrfurn coffee table component local S = homedecor.gettext local fdir_to_right = { { 1, 0 }, { 0, -1 }, { -1, 0 }, { 0, 1 }, } local function check_right(pos, fdir, long, placer) if not fdir or fdir > 3 then fdir = 0 end local pos2 = { x = pos.x + fdir_to_right[fdir+1][1], y=pos.y, z = po...
nilq/small-lua-stack
null
require "launcher"
nilq/small-lua-stack
null
--[[ Name: "cl_attributes.lua". Product: "nexus". --]] local PANEL = {}; local GRADIENT = surface.GetTextureID("gui/gradient_up"); -- Called when the panel is initialized. function PANEL:Init() self:SetSize( nexus.menu.GetWidth(), nexus.menu.GetHeight() ); self:SetTitle( nexus.schema.GetOption("name_attributes") );...
nilq/small-lua-stack
null
-- Copyright 2015-2019 Jason Schindler. See License.txt. -- Fish (http://fishshell.com/) script LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('fish') -- Whitespace. lex:add_rule('whitespace', token(lexer...
nilq/small-lua-stack
null
local skynet = require "skynet" local function call(addr, ...) return skynet.call(addr, "lua", ...) end local function send(addr, ...) skynet.send(addr, "lua", ...) end local gateway_addr = ".gateway" local store_addr = ".store" local appname local devlist = {} local r_table = {} local internal_cmd = { r...
nilq/small-lua-stack
null
local debug, print = debug, print local cloveErrorResult = false local cloveErrorMessage = nil require "main" local function error_printer(msg, layer) cloveErrorMessage = (debug.traceback("Error: " .. tostring(msg), 1+(layer or 1)):gsub("\n[^\n]+$", "")) print((debug.traceback("Error: " .. tostring(msg), 1+(layer ...
nilq/small-lua-stack
null
--- Provides a basis for binderGroups that can be retrieved anywhere -- @classmod BinderGroupProvider local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local Promise = require("Promise") local BinderGroupProvider = {} BinderGroupProvider.ClassName = "BinderGroupProvider" BinderG...
nilq/small-lua-stack
null
--region *.lua --Date --ๆญคๆ–‡ไปถ็”ฑ[BabeLua]ๆ’ไปถ่‡ชๅŠจ็”Ÿๆˆ Enemy = class("Enemy", function() return cc.Sprite:create() end) function Enemy:create(enemyType) local enemy = Enemy.new(enemyType) return enemy end function Enemy:ctor(enemyType) self.HP = enemyType.HP -- ่ก€้‡ self.power = enemyType...
nilq/small-lua-stack
null
package.preload.lab = function() require 'torch' print("***** WARNING: the 'lab' package is deprecated. Please use 'torch' package instead *****") lab = torch return torch end package.preload.rando...
nilq/small-lua-stack
null
local mostacho = require 'mostacho' local template = [[ This is {{name}}. ]] local model = { name = 'Mostacho' } local rendered, err = mostacho.render(model, template) if rendered == nil then error(err) else print(rendered) end
nilq/small-lua-stack
null
return { { cou_unit = "็ซ‹ๆ–น็ฑณ"; desc = "ๆฑกๆฐด"; format = "N5.2"; id = "w00000"; org_id = "B01"; unit = "ๅ‡/็ง’"; }; { desc = "pHๅ€ผ"; format = "N2.2"; id = "w01001"; org_id = "001"; unit = "ๆ— ้‡็บฒ"; }; { desc = "่‰ฒๅบฆ"; format = "N3.2"; id = "w01002"; org_id = "002"; unit = "[่‰ฒ]ๅบฆ"; }; { cou_unit...
nilq/small-lua-stack
null
function source.chain(src, f) return function() if not src then return nil end local chunk, err = src() if not chunk then src = nil return f(nil) else return f(chunk) end end end
nilq/small-lua-stack
null
-- Routine for NPC "Tristan" velocity = 40 loadRoutine = function(R, W) R:setTilePosition(5,63) R:wait(6000) R:goToTile(6,63) R:goToTile(5,63) end
nilq/small-lua-stack
null
local player = ... local pn = ToEnumShortString(player) local p = PlayerNumber:Reverse()[player] local GetStepsToDisplay = LoadActor("../StepsDisplayList/StepsToDisplay.lua") -- I feel like this surely must be the wrong way to do this... local GlobalOffsetSeconds = PREFSMAN:GetPreference("GlobalOffsetSeconds") local ...
nilq/small-lua-stack
null
-- Copyright (c) Kong Inc. 2020 local cjson = require "cjson" local pb = require "pb" local grpc_tools = require "kong.tools.grpc" local grpc_frame = grpc_tools.frame local grpc_unframe = grpc_tools.unframe local setmetatable = setmetatable local ngx = ngx local decode_base64 = ngx.decode_base64 local encode_base64 ...
nilq/small-lua-stack
null
local layout_data = { { {0.0, 0.0, 1, 1}, }, { {0.0, 0.0, 1.0, 0.8}, {0.0, 0.8, 1.0, 0.2}, }, { {0.0, 0.0, 0.8, 0.8}, {0.0, 0.8, 1.0, 0.2}, {0.8, 0.0, 0.2, 0.8}, }, { {0.0, 0.0, 0.8, 0.8}, {0.0, 0.8, 0.5, 0.2}, {0.5, 0.8...
nilq/small-lua-stack
null
------------------------------------------------------------------------------- --[[ ]] -------------------------------------------------------------------------------- TppUiPrefetchTexture = { InitTable = function() -- ใ“ใ“ใธใฏใ€ใ‚จใƒ‡ใ‚ฃใ‚ฟ่ตทๅ‹•ๆ™‚ใซ่ชญใฟ่พผใฟใŸใ„ใ‚‚ใฎ or ใƒ—ใƒชใƒ—ใƒญ็”จใƒ†ใ‚ฏใ‚นใƒใƒฃใ‚’่จ˜่ฟฐใ™ใ‚‹ ---- ไฝฟ็”จ็ขบๅฎšใชใƒ†ใ‚ฏใ‚นใƒใƒฃใฏ TppUiCommonDataManager.cpp ใธ่จ˜่ฟฐ if Fo...
nilq/small-lua-stack
null
require 'CLRPackage' import ('gtk-sharp','Gtk') Application.Init() local win = Window("Hello from GTK#") win.DeleteEvent:Add(function() Application.Quit() end) win:Resize(300,300) local label = Label() label.Text = "Hello World!" win:Add(label) win:ShowAll() Application.Run()
nilq/small-lua-stack
null
-- IA_roads_temp_fix -- Author: meril_000 -- DateCreated: 10/29/2016 1:26:44 PM -------------------------------------------------------------- print("IA_remove_roads"); -- remove road building for ai. -- todo: create the "build war road" mission in dll function DoNotBuildRoadYourself(iPlayerOwner, iUnitID, mission) i...
nilq/small-lua-stack
null
local ngx_log = ngx.log local ngx_DEBUG = ngx.DEBUG local ngx_ERR = ngx.ERR local ngx_INFO = ngx.INFO local str_format = string.format local tostring = tostring local _M = { _VERSION = "0.10", } local mt = { __index = _M } local default_pool = { up = true, method = 'round_robin', timeout = 2000, -- s...
nilq/small-lua-stack
null
-------------- -- LIBMUSIC -- -------------- local MAJOR, MINOR = "LibMusic-1.0", 1; LibMusic = LibStub:NewLibrary(MAJOR, MINOR); if (not LibMusic) then return; end local LibEasing = LibStub("LibEasing-1.0"); LibMusic.callbacks = LibMusic.callbacks or LibStub("CallbackHandler-1.0"):New(LibMusic, "RegisterEvent", ...
nilq/small-lua-stack
null
๏ปฟlocal K, C, L, _ = select(2, ...):unpack() if C.Tooltip.Enable ~= true or C.Tooltip.SpellID ~= true then return end local _G = _G local match = string.match local select = select local tonumber = tonumber local strfind = string.find local IsModifierKeyDown = IsModifierKeyDown local GetSpell, GetText, GetName = GetSpe...
nilq/small-lua-stack
null
local Number, String, Ident, Hash, Function, Url do local _obj_0 = require("web_sanitize.css_types") Number, String, Ident, Hash, Function, Url = _obj_0.Number, _obj_0.String, _obj_0.Ident, _obj_0.Hash, _obj_0.Function, _obj_0.Url end local Color = Ident + Hash + Function local properties = { ["margin-top"] = Num...
nilq/small-lua-stack
null
#! /usr/bin/env luajit local ffi = require("ffi") ffi.cdef("int isatty(int)") local function printfln(fmt, ...) print(fmt:format(...)) end local function average(values) local sum = 0.0 for _, value in ipairs(values) do sum = sum + value end return sum / #values end local function stderror(valu...
nilq/small-lua-stack
null
local K = unpack(select(2, ...)) local Module = K:GetModule("Auras") if K.Class ~= "MONK" then return end local _G = _G local math_floor = _G.math.floor local C_PaperDollInfo_GetStaggerPercentage = _G.C_PaperDollInfo.GetStaggerPercentage local GetSpecialization = _G.GetSpecialization local GetSpellCount = _G.GetSpe...
nilq/small-lua-stack
null
return Command 'lyrics' :setCategory 'Info' :setDesc 'Returns the lyrics to a song specified.' :setUsage '<songTitle>' :setAliases { 'songlyrics' } :run(function(msg, args, util) util.request { url = 'https://some-random-api.ml/lyrics/?title='..args:join '+'; }:next(funct...
nilq/small-lua-stack
null
employ_troop = { cast = async(function(player) local t = {graphic = 0, color = 0} player.npcGraphic = t.graphic player.npcColor = t.color player.dialogType = 0 local magicCost = 1000 local aethers = 600000 if (not player:canCast(1, 1, 0)) then return end if player.magic < magicCost then play...
nilq/small-lua-stack
null
local ReplicatedStorage = game:GetService("ReplicatedStorage") local TestEZ = require(ReplicatedStorage.rbxts_include.node_modules.testez.src) local testRoots = { ReplicatedStorage.out, } local results = TestEZ.TestBootstrap:run(testRoots, TestEZ.Reporters.TextReporter) -- Did something go wrong? if #results.errors...
nilq/small-lua-stack
null
slark_shadow_dance_lua = class({}) LinkLuaModifier( "modifier_slark_shadow_dance_lua", "lua_abilities/slark_shadow_dance_lua/modifier_slark_shadow_dance_lua", LUA_MODIFIER_MOTION_NONE ) LinkLuaModifier( "modifier_slark_shadow_dance_lua_passive", "lua_abilities/slark_shadow_dance_lua/modifier_slark_shadow_dance_lua_pass...
nilq/small-lua-stack
null
---@class Texture : LayeredRegion ---[Documentation](https://wowpedia.fandom.com/wiki/UIOBJECT_Texture) local Texture = {} ---[Documentation](https://wowpedia.fandom.com/wiki/API_Texture_GetAtlas) function Texture:GetAtlas() end ---[Documentation](https://wowpedia.fandom.com/wiki/API_Texture_GetBlendMode) function Te...
nilq/small-lua-stack
null
---------------------------- -- SSBase -- -- Created by Skeyler.com -- ---------------------------- include('shared.lua') SWEP.PrintName = "Skeyler MapEditor" -- 'Nice' Weapon name (Shown on HUD) SWEP.Slot = 0 SWEP.SlotPos = 0 SWEP.DrawAmmo = false SWEP.DrawCrosshair = t...
nilq/small-lua-stack
null
local getPlayerState = require(script.Parent.getPlayerState) return function(state,player, id) local pstate = getPlayerState(state,player) if pstate then return pstate.lastCollected[id] end end
nilq/small-lua-stack
null
solution "Samples" configurations { "Debug", "DebugOpt", "Release", "Retail" } -- platforms { "Native", "x32", "x64", "Xbox360", "PS3" } -- platforms { "Native", "Xbox" } platforms { "Native", "x32", "x64" } -- include the fuji project... dofile "../../Fuji/Project/fujiproj.lua" -- include each of the s...
nilq/small-lua-stack
null
constant_buffer_bind = constant_buffer_bind_flag.none fail_safe_texture_index = 0 function fill_resource_vec(props, resource_props, resources) resources:add(resource_props["atlas"] or "") end function fill_vs_resource_vec(props, resource_props, resources) resources:add(resource_props["atlas_index"] or "") ...
nilq/small-lua-stack
null
return { name = "viconf", version = "0.0.1", description = "Test", repository = { url = "https://github.com/farisachugthai/viconf.git", }, author = { name = "Faris Chugthai", email = "farischugthai@gmail.com" }, licenses = {"MIT"} }
nilq/small-lua-stack
null
#!/usr/bin/env lua require 'ext' -- this just removes .vars from each planet -- it writes results to stdout local json = require 'myjson' local staticIntro = 'horizonsStaticData = ' local filename = ... local static = json.decode(assert(file[filename]):match(staticIntro..'(.*)')) for _,p in ipairs(static) do p.vars = ...
nilq/small-lua-stack
null
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 10.02.2015 -- Time: 21:12 -- To change this template use File | Settings | File Templates. -- CDxTabbedPane = inherit(CDxElement) sx,sy = guiGetScreenSize() function CDxTabbedPane:constructor(left, top, width, height, color, Parent, focusScroll) self.Col...
nilq/small-lua-stack
null
local load_module = require('utils.helpers').load_module local ls = load_module 'luasnip' if not ls then return false end local sys = require 'sys' local utils = RELOAD 'plugins.luasnip.utils' local s = ls.snippet -- local sn = ls.snippet_node -- local t = ls.text_node -- local isn = ls.indent_snippet_node -- lo...
nilq/small-lua-stack
null
return { summary = 'Get the type of the ShaderBlock.', description = 'Returns the type of the ShaderBlock.', arguments = {}, returns = { { name = 'type', type = 'BlockType', description = 'The type of the ShaderBlock.' } }, related = { 'ShaderBlock:getOffset', 'lovr.graphic...
nilq/small-lua-stack
null
require'hop'.setup{ teasing = false, char2_fallback_key = '<cr>', } local map = require'map' map.a{'f', '<cmd>HopChar1CurrentLine<cr>'} map.a{'F', '<cmd>HopChar2<cr>'} map.a{'gl', '<cmd>HopLine<cr>'} map.a{'gL', '<cmd>HopLineStart<cr>'} local colors = require'onedark.colors' local hl = require'highlight' hl.add{'Ho...
nilq/small-lua-stack
null
SpatialSmoothTerm, parent = torch.class('nn.SpatialSmoothTerm', 'nn.Sequential') function SpatialSmoothTerm:__init() parent.__init(self) local gx = torch.Tensor(3,3):zero() gx[2][1] = -1 gx[2][2] = 0 gx[2][3] = 1 --gx = gx:cuda() local gradx = nn.SpatialConvolution(1,1,3,3,1,1,1,1) g...
nilq/small-lua-stack
null
GraphicManager=class({ static={ Initialize=function(self) self.pass={} self.frame={} self.width=600 self.height=400 table.insert(self.pass,GeometryPass:new()) table.insert(self.pass,DebugPass:new()) table.insert(self.pass,UI...
nilq/small-lua-stack
null
--[[ --MIT License -- --Copyright (c) 2019 manilarome --Copyright (c) 2020 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 the ...
nilq/small-lua-stack
null
local tempShape local r,g,b local function drawEllipse( xStart, yStart, x, y, isFinal ) local width = xStart-x local height = yStart-y display.remove( tempShape ) tempShape = nil local anchorX, anchorY = 1, 1 -- Negative width or height means the anchor needs to be flipped. if width < 0 then anchorX = 0 wid...
nilq/small-lua-stack
null
-- This script template has each of the script entry point functions. -- They are described in detail in VR-Forces Configuration Guide. -- Some basic VRF Utilities defined in a common module. require "vrfutil" require "airportDataUtils" -- Global Variables. Global variables get saved when a scenario gets checkpointed...
nilq/small-lua-stack
null
-- Export Flash actionscript -- Thanks to Andre Michelle for the idea function main () if mappy.msgBox ("Export Flash actionscript", "This will export the current layer as an actionscript (anims are replaced with block 0)\n\nRun the script (you will be prompted for a filename to save as)?", mappy.MMB_OKCANCEL, ...
nilq/small-lua-stack
null
-- Simple recorder -- -- Triggerable stereo recorder -- and sample player -- -- TODO -- Zoom -- Enc 1 + Key 1 -> Set zoom level -- Key 1 -> Zoom in - Reset zoom -- Zoom is centered on last edited loop point (first or last) and jumps/tracks to the currently edited one -- Waveform -- Maybe show two waveforms (1 for ...
nilq/small-lua-stack
null
---@meta ---@class cc.PhysicsJointLimit :cc.PhysicsJoint local PhysicsJointLimit={ } cc.PhysicsJointLimit=PhysicsJointLimit ---* Set the anchor point on body b. ---@param anchr2 vec2_table ---@return self function PhysicsJointLimit:setAnchr2 (anchr2) end ---* Set the anchor point on body a. ---@param anchr1 vec2...
nilq/small-lua-stack
null
local generator = require 'lulz.generator' local TestCase = require 'lulz.testcase' local TestGenerator = TestCase:inherit 'Generators' function TestGenerator:test_empty_generator() local empty = generator { gen = function() end } local counter = 0 for _ in empty() do counter = counter + 1 end se...
nilq/small-lua-stack
null
module("luci.controller.turboacc", package.seeall) function index() if not nixio.fs.access("/etc/config/turboacc") then return end local page page = entry({"admin", "network", "turboacc"}, cbi("turboacc"), _("Turbo ACC Center"), 101) page.i18n = "turboacc" page.dependent = true page.acl_depends = { "luci-app-...
nilq/small-lua-stack
null
local luasql = require('luasql.sqlite3') -- assert time calculations (os dependent) assert( os.time{day = -1, month = 1, year = 2013} == os.time{day = 30, month = 12, year = 2012} ) assert( os.time{day = 32, month = 12, year = 2012} == os.time{day = 1, month = 1, year = 2013} ) local eng = { dateformat = "%Y...
nilq/small-lua-stack
null
local _, Engine = ... local Module = Engine:GetModule("ActionBars") local BarWidget = Module:SetWidget("Bar: Custom") BarWidget.OnEnable = function(self) end
nilq/small-lua-stack
null
-- MIT License -- -- CPStyling.lua https://github.com/Nats-ji/CPStyling.lua -- -- This file is a part of CPStyling.lua -- -- Copyright (c) 2021 Mingming Cui -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal...
nilq/small-lua-stack
null
function paladinBuff(buff, aura) buff = buff or determinePaladinBuff() setDefaultAura(aura) if buff == "Sanc/Salva" then return palaRaidSancSalva() elseif buff == "Kings" then return palaRaidKings() elseif buff == "Might/Wisdom" then return palaRaidMightWisdom() elseif buff == "Light" then r...
nilq/small-lua-stack
null
return { mod_description = { en = "Pause the game." }, hotkey = { en = "Hotkey" }, hotkey_tooltip = { en = "Hotkey to pause." }, pause_command_description = { en = "Pause or unpause the game. Host only." }, game_paused = { en = "Game paused!" }, game_unpaused = { en = "Game unpaused!" }, not_se...
nilq/small-lua-stack
null
local function sendOnline ( ) if (GAMEMODE.ServerIdentifier == 0) then return end tmysql.query("UPDATE `perp_system` SET `value`='" .. os.time() .. "' WHERE `key`='online_" .. GAMEMODE.ServerIdentifier .. "' LIMIT 1"); end timer.Create("sendOnline", 10, 0, sendOnline); local function forceOnline ( Player ) if (P...
nilq/small-lua-stack
null
--[[ 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 not use ...
nilq/small-lua-stack
null
local uv = require('luv') local function set_interval(interval, callback) local timer = uv.new_timer() local function ontimeout() callback(timer) end uv.timer_start(timer, interval, interval, ontimeout) return timer end local function clear_interval(timer) uv.timer_stop(timer) uv.close(timer) end return { ...
nilq/small-lua-stack
null
require("nvim-lsp-installer").on_server_ready(function(server) local opts = {} if server.name == "sumneko_lua" then opts = { settings = { Lua = { diagnostics = { globals = { "vim", "use" }, }, --workspace = { -- Make the server aware of Neovim runtime files --library = {[vim.f...
nilq/small-lua-stack
null
------------------------------------------------------------------------------ -- Copyright 2013 Christian Liesch -- Provide under MIT License -- -- Cookie Parser ------------------------------------------------------------------------------ local _cookie = {} ---------------------------------------------------------...
nilq/small-lua-stack
null
function Initialise () Call( "BeginUpdate" ) end function Update ( time ) local anythingbehind = Call("SendConsistMessage", 0, "dummy", 0 ) local anythinginfront = Call("SendConsistMessage", 0, "dummy", 1 ) if (anythingbehind + anythinginfront) == 1 then Call( "Farolim Vermelho Esque...
nilq/small-lua-stack
null
__source 'lua/api_car_control.cpp' __source 'extensions/smart_mirror/ac_ext_smart_mirror.cpp' __allow 'carc' ffi.cdef [[ typedef struct { vec2 rotation; float fov; float aspectMultiplier; int flip; bool isMonitor; bool useMonitorShader; int role; vec2 monitorShaderScale; float monitorShaderSkew; f...
nilq/small-lua-stack
null
--- Asynchronous HTTP client -- @usage local http = require('vega.client.http') -- http('www.google.com'):get('/', function(response) -- print(response.body) --end) -- @module leda.Http.http local io = require 'vega.io' local util = require 'vega.util' --- http Http class --- @type Http local Http = class('Http') ...
nilq/small-lua-stack
null
id = 'V-38699' severity = 'low' weight = 10.0 title = 'All public directories must be owned by a system account.' description = 'Allowing a user account to own a world-writable directory is undesirable because it allows the owner of that directory to remove or replace any files that may be placed in the directory by ot...
nilq/small-lua-stack
null
---------------------------------------------------------------------------------------------------- --- LEA GAME SETTINGS ---------------------------------------------------------------------------------------------------- print('[SandBox] Initializing') settings = { title = "YES THIS IS SANDBOX !!!" ...
nilq/small-lua-stack
null
--Start of Global Scope--------------------------------------------------------- print('AppEngine Version: ' .. Engine.getVersion()) local DELAY = 2000 -- ms between visualization steps for demonstration purpose -- Creating global viewer local v = View.create("viewer2D1") -- Loading necessary Scripts require('Grap...
nilq/small-lua-stack
null
local Prop = {} Prop.Name = "Club Foods" Prop.Government = true Prop.Doors = { Vector( 7961.5, 5930, 133 ), Vector( 7962, 5870, 133 ), Vector( 9068, 6131, 124.25 ), Vector( 9068, 6368, 124.25 ), Vector( 9068, 6462, 124.25 ), Vector( 9164, 5392, 133 ), Vector( 9315, 5392, 133 ), } GM.Property:Register( Prop )
nilq/small-lua-stack
null
return function() local Root = script.Parent.Parent local CorePackages = game:GetService("CorePackages") local PurchasePromptDeps = require(CorePackages.PurchasePromptDeps) local Rodux = PurchasePromptDeps.Rodux local PromptState = require(Root.Enums.PromptState) local Reducer = require(Root.Reducers.Reducer) l...
nilq/small-lua-stack
null
-- This file is automatically generated, do not edit! -- Path of Building -- -- Strength support gems -- Skill data (c) Grinding Gear Games -- local skills, mod, flag, skill = ... skills["SupportAddedFireDamage"] = { name = "Added Fire Damage", description = "Supports any skill that hits enemies.", color = 1, supp...
nilq/small-lua-stack
null
local Controller = {} Controller.new = function() local obj = {} return obj end return Controller
nilq/small-lua-stack
null
-- โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ -- โ”‚ Copyright (c) 2022-present Lalit Kumar โ”‚ -- โ”‚ License: MIT โ”‚ -- โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ -- local p = require("cobalt2.palette") local cobalt2 = { ina...
nilq/small-lua-stack
null
object_tangible_wearables_jacket_jacket_gcw_rebel_01 = object_tangible_wearables_jacket_shared_jacket_gcw_rebel_01:new { } ObjectTemplates:addTemplate(object_tangible_wearables_jacket_jacket_gcw_rebel_01, "object/tangible/wearables/jacket/jacket_gcw_rebel_01.iff")
nilq/small-lua-stack
null
local API_NPC = require(script:GetCustomProperty("API_NPC")) local API_DS = require(script:GetCustomProperty("APIDifficultySystem")) local API_RE = require(script:GetCustomProperty("APIReliableEvents")) local RANGE = 0.0 local COOLDOWN = 17.0 local OFFSET_RADIUS = 1300.0 local MUSHROOM_COUNTS = {5, 7, 9, 13} l...
nilq/small-lua-stack
null
require 'nn' local Sampler, parent = torch.class('nn.GmmSampler', 'nn.Module') function Sampler:__init() parent.__init(self) self.eps = torch.Tensor() self.muBuf = torch.Tensor() self.lvBuf = torch.Tensor() self.prob = torch.Tensor() self.idx = torch.LongTensor() self.lv = torch.Tensor() self....
nilq/small-lua-stack
null
return {'laudanum','laudatie','laudatio','lauden','laureaat','laurier','laurierbes','laurierblad','laurierboom','laurierdrop','laurieren','laurierkers','laurierolie','lauw','lauwer','lauweren','lauwerkrans','lauwerkroon','lauwertak','lauwhartig','lauwheid','lauwte','lauwtjes','lauwwarm','laura','lauren','laurens','laur...
nilq/small-lua-stack
null
๏ปฟ-- ******************************************************************************** -- Data Broker Volume Control (Broker_Volume) -- A volume control for Data Broker. -- By: Shenton -- -- Locales-itIT.lua -- ******************************************************************************** local L = LibStub("AceLocale-...
nilq/small-lua-stack
null
---@class Card @enum Card = {} --- --- -1 Card.CARD_RANDOM = -1 --- --- 0 Card.CARD_NULL = 0 --- --- 1 Card.CARD_FOOL = 1 --- --- 2 Card.CARD_MAGICIAN = 2 --- --- 3 Card.CARD_HIGH_PRIESTESS = 3 --- --- 4 Card.CARD_EMPRESS = 4 --- --- 5 Card.CARD_EMPEROR = 5 --- --- 6 Card.CARD_HIEROPHANT = 6 --- --- 7 Card.CARD_LOVERS...
nilq/small-lua-stack
null
Config = {} Config.DrawDistance = 10.0 Config.DiscordWebook = "" Config.Zones = { Actions = { Pos = {x = -535.02, y = -193.02, z = 46.41}, Size = {x = 1.5, y = 1.5, z = 0.4}, Color = {r = 102, g = 102, b = 204}, Type = 1 }, } -- Config pajak -- Class bank Config.HoboClassLimit = 20...
nilq/small-lua-stack
null
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Roact = require(Modules.Common.Roact) local ExternalEventConnection = require(Modules.Common.RoactUtilities.E...
nilq/small-lua-stack
null
----------------------------------- -- -- Zone: Bibiki_Bay (4) -- ----------------------------------- local ID = require("scripts/zones/Bibiki_Bay/IDs") require("scripts/globals/chocobo_digging") require("scripts/globals/manaclipper") require("scripts/globals/zone") ----------------------------------- function onChoco...
nilq/small-lua-stack
null
ITEM.name = "Snork Hand" ITEM.description = "Uncooked meat from a snork." ITEM.longdesc = "An uncooked snork hand. Legend has that they bring luck when you eat them, albeit veterans tend to cook them first." ITEM.model = "models/lostsignalproject/items/consumable/raw_snork.mdl" ITEM.price = 450 ITEM.width = 1 ITEM.hei...
nilq/small-lua-stack
null
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseUserStatusList_pb', package.seeall) local BSEUSERSTATUSLIST = protobuf.Descriptor(); local BSEUSERSTATUSLIST_STATUSLIST_FIELD = protobuf.FieldDescriptor(); BSEUSERSTATUSLIST_STATUSLIST_FIELD.name = "statuslist" BSEUSERSTATUSLIS...
nilq/small-lua-stack
null
return { armpt = { acceleration = 0.096, airsightdistance = 720, brakerate = 0.075, buildcostenergy = 1051, buildcostmetal = 107, builder = false, buildpic = "armpt.dds", buildtime = 2000, canattack = true, canguard = true, canmove = true, canpatrol = true, canstop = 1, category = "ALL MOBI...
nilq/small-lua-stack
null
ITEM.name = "Bag" ITEM.desc = "A bag to hold items." ITEM.model = "models/props_c17/suitcase001a.mdl" ITEM.category = "Storage" ITEM.width = 2 ITEM.height = 2 ITEM.invWidth = 4 ITEM.invHeight = 2 ITEM.isBag = true ITEM.functions.View = { icon = "icon16/briefcase.png", onClick = function(item) local index = item:get...
nilq/small-lua-stack
null
-- Copyright 2012 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
nilq/small-lua-stack
null