content
stringlengths
0
1.05M
origin
stringclasses
2 values
type
stringclasses
2 values
-- coding: utf-8 --[[ -- PLEASE DO "NOT" EDIT THIS FILE! -- This file is generated by script. -- -- If you want to apply corrections visit: -- http://rom.curseforge.com/addons/addonmanager/localization/ --]] local lang={} lang["AnchorFrame_Addition"] = [=[. Strg halten um Andocken zu verhinden.]=] lang["But_Enable"] = ...
nilq/small-lua-stack
null
C_AzeriteEmpoweredItem = {} ---[Documentation](https://wowpedia.fandom.com/wiki/API_C_AzeriteEmpoweredItem.CanSelectPower) ---@param azeriteEmpoweredItemLocation ItemLocationMixin ---@param powerID number ---@return boolean canSelect function C_AzeriteEmpoweredItem.CanSelectPower(azeriteEmpoweredItemLocation, powerID)...
nilq/small-lua-stack
null
AddCSLuaFile( "cl_init.lua" ) -- Make sure clientside AddCSLuaFile( "shared.lua" ) -- and shared scripts are sent. include('shared.lua') ENT.exloding3 = 0 ENT.stage = 0 local function SelfExplode(self) local explosion = ents.Create( "env_explosion" ) explosion:SetPos(self:GetPos()) explosion:SetO...
nilq/small-lua-stack
null
vim.g.polyglot_disabled = { 'sh', 'cpp', 'clojure', 'dart', 'elm', 'erlang', 'fennel', 'go', 'graphql', 'haskell', 'html', 'javascript', 'json', 'julia', 'kotlin', 'ledger', 'lua', 'nix', 'ocaml', 'php', 'python', 'rst', 'ruby', 'rust', 'scala', 'toml', 'tsx', 'vu...
nilq/small-lua-stack
null
--[[ Serverside Custom Addon file Base ]]-- --require("sb_space") player_manager.AddValidModel( "MedicMarine", "models/player/samzanemesis/MarineMedic.mdl" ) player_manager.AddValidModel( "SpecialMarine", "models/player/samzanemesis/MarineSpecial.mdl" ) player_manager.AddValidModel( "OfficerMarine", "models/player/sam...
nilq/small-lua-stack
null
-- script to verify CDDA JSON(verifies all mods) -- run this script with: lua lua/json_verifier.lua -- -- requires luafilesystem to scan for files, installation instructions: -- arch linux: pacman -S lua-filesystem -- debian linux: aptitude install liblua5.1-filesystem0 -- other linux distributions: search for "lu...
nilq/small-lua-stack
null
--- String streams. -- Streams are similar to @{pipes}, but specialized for strings. They serve -- the same purpose as LTN12, i.e. typically processing input from a socket. -- @module stream -- @usage local stream = require 'lumen.stream' -- @alias M local sched = require 'lumen.sched' local log=require 'lumen.log' --...
nilq/small-lua-stack
null
lpeg = require('lpeg') mpack = require('mpack') -- lpeg grammar for building api metadata from a set of header files. It -- ignores comments and preprocessor commands and parses a very small subset -- of C prototypes with a limited set of types P, R, S = lpeg.P, lpeg.R, lpeg.S C, Ct, Cc, Cg = lpeg.C, lpeg.Ct, lpeg.Cc,...
nilq/small-lua-stack
null
include 'premake' make_solution 'selfdestructing' includedirs { './selfdestructing', './Catch/single_include' } make_console_app( 'selfdestructing-test', { './test/test.cpp' } ) use_standard('c++0x') run_target_after_build()
nilq/small-lua-stack
null
style = {["off_color"] = "fff", ["on_color"] = "fff", ["line_color"] = "000", ["line_width"] = "1"}; text_style = {["font_size"] = "14"} a = 21 + math.random(38) b = 31 + math.random(48) c = 41 + math.random(58) summ_ab = a + b summ_ac = a + c summ_bc = b + c ind = math.random(3) w ...
nilq/small-lua-stack
null
imenilac = math.random(5) + 1; rezultat = (math.random(8) * 2); broj = rezultat * imenilac;
nilq/small-lua-stack
null
local meshs = { [1] = {id=1,mesh="/Game/Mannequin/Character/Mesh/SK_Mannequin.SK_Mannequin",anim="AnimBlueprint'/Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP'",}, } return meshs
nilq/small-lua-stack
null
-- Copyright (C) by Kwanhur Huang local modulename = 'restyImagickWandImage' local _M = {} _M._NAME = modulename local ffi = require("ffi") local wand_lib = require("resty.imagick.wand.lib") local wand_base = require("resty.imagick.wand.base") local lib = wand_lib.lib local get_exception = function(wand) local...
nilq/small-lua-stack
null
local common = require("celediel.Keyboard Layout Changer.common") local this = {} local currentConfig this.default = {keyboardLayout = "qwerty"} function this.getConfig() currentConfig = currentConfig or mwse.loadConfig(common.configString, this.default) return currentConfig end return this
nilq/small-lua-stack
null
local addon, nCore = ... local L = nCore.L local pairs = pairs local Options = CreateFrame("Frame", "nCoreOptions", InterfaceOptionsFramePanelContainer) Options.controlTable = {} Options.name = GetAddOnMetadata(addon, "Title") Options.okay = function(self) for _, control in pairs(self.controls) do nCoreDB...
nilq/small-lua-stack
null
-- tbl_weight = { -- [xx] = { id = xx, weight = xx }, -- ... -- } local function weighted_random( tbl_weight, random_func, id, weight ) random_func = random_func or math.random id = id or "id" weight = weight or "weight" local t = {} local total_index = #tbl_weight local total_weight = 0 for _...
nilq/small-lua-stack
null
return loadfile(THEME:GetPathG("ScreenSelectDifficulty","icon/"..ddrgame))()
nilq/small-lua-stack
null
return { metadataFieldsForPhotos = { { id = 'requestId' }, { id = 'azureVisionCaption', title = LOC "$$$/AzureVisionTagger/Fields/AzureVisionCaption=Caption", dataType = 'string', version = 1, searchable = true, ...
nilq/small-lua-stack
null
--[[ clarkewanglei@gmail.com --]] require("fileopt") require("map") require("list") require("config") require("commonutils") --bizmodulesimages {modulename->imagename} function makeDockercomposeConfig(xftdconfig,drdir,dccfp,tmpbase) local configcontent = List:New() local code = parseConfig(xftdconfig) if(...
nilq/small-lua-stack
null
local classic = require 'classic' local signal = require 'posix.signal' local Singleton = require 'structures/Singleton' local Agent = require 'Agent' local Display = require 'Display' local Validation = require 'Validation' local Master = classic.class('Master') -- Sets up environment and agent function Master:_init...
nilq/small-lua-stack
null
local t = Def.ActorFrame{ OnCommand=cmd(draworder,50000;); } local CX = SCREEN_CENTER_X; local CY = SCREEN_CENTER_Y; local SB = math.random(6,14); for i = 1, SB+1 do t[#t+1] = Def.Quad { InitCommand=function(self) self:diffuse(color("#000000FF")) self:x(CX*2/SB*(i-1)); self:zoomx(CX*2/SB); self:CenterY()...
nilq/small-lua-stack
null
{{/*This enables the whitelist of channels where it should run, change the channelID to your own channel or change to false to disable*/}} {{$whitelist := true}} {{$channels := cslice 878314132401709116}} {{if not $whitelist}}{{$channels = cslice .Channel.ID}}{{end}} {{if and (dbGet 0 "stickymessage") (dbGet .Channel....
nilq/small-lua-stack
null
SILE = require("core/sile") describe("SILE.utilities", function() it("should exist", function() assert.is.truthy(SU) end) describe("utf8_to_utf16be_hexencoded ", function() it("should hex encode input", function() local str = "foo" local out = "feff0066006f006f" assert.is.equal(out, SU...
nilq/small-lua-stack
null
--[[ mwayne@cox.net for translations, thanks! cwow-BG1-安威玛尔-萌萌兽: zhCN/zhTW Juido: deDE Nya: frFR usy820127: koKR ]] DFILTER_BACKDROP_TOOLTIP = "Shift+left click to move.\nCtrl+right click to change time orientation." DFILTER_OPTIONS_TARGET = "Target:" DFILTER_OPTIONS_GROW = "Grow:" DFILTER_OPTIONS_ROW = "Buffs...
nilq/small-lua-stack
null
-- Taken from https://github.com/pgilad/dotfiles/blob/master/hammerspoon/init.lua#L1 function openApp(name) app = hs.application.find(name) -- The dirtiest thing that I have written this week -- For some reason whenever VSCode is actually launched it -- should be referred to as 'Code'. if name == "Visual Stu...
nilq/small-lua-stack
null
return {formatCommand = "gofmt -s", formatStdin = true}
nilq/small-lua-stack
null
--[[ size[8.01,8.7944685466377]image_button_exit[5.54,8.344169917642;2.605,0.7835;;exit_button;exit]textlist[0.1,0.10836584308626;7.6,7.8091106290672;rules_text;BlockCity Rules,,no griefing,Builds must be 40 blocks away from other builds,No dating or roleplay,no all capitals messages,no spaming,English in public chat,...
nilq/small-lua-stack
null
-- Copyright (c) 2020 Trevor Redfern -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT describe("moonpie.utility.hasKeys", function() local tables = require "moonpie.tables" it("returns true if table contains all keys", function() local t = { a = 1, b = 2, ...
nilq/small-lua-stack
null
local playerMeta = FindMetaTable("Player") function nut.util.findEmptySpace( entity, filter, spacing, size, height, tolerance ) spacing = spacing or 32 size = size or 3 height = height or 36 tolerance = tolerance or 5 local position = entity:GetPos() local angles = Angle(0, 0, 0) local mins = Vector(-spa...
nilq/small-lua-stack
null
if GetLocale() ~= "zhCN" then return end L_DARKUI_CONSOLE = 'DarkUI 控制台' L_CATEGORIES_GENERAL = '通用设置' L_CATEGORIES_ACTIONBAR = '动作条' L_CATEGORIES_MAP = '地图' L_CATEGORIES_UNITFRAME = '单位框体' L_CATEGORIES_NAMEPLATE = '姓名板' L_CATEGORIES_AURA = '法术技能' L_CATEGORIES_LOOT = '物品背包' L_CATEGORIES_DATATEXT = '信息条' L_CATEGORIES...
nilq/small-lua-stack
null
fw.hook.Add('HUDShouldDraw', 'fw.hud', function(name) if name == 'CHudHealth' then return false end end) local gradient = surface.GetTextureID("gui/gradient_down.vtf") local BASE_ALPHA = 240 vgui.Register('fwHudInfoCell', { Init = function(self) self.label = Label('', self) self.label:SetTextColor(color_...
nilq/small-lua-stack
null
--[[ Example: HTTP client Author: Peter Odding <peter@peterodding.com> Last Change: December 30, 2010 Homepage: http://peterodding.com/code/lua/apr/ License: MIT The following Lua script implements a minimal [HTTP client] [http] which can be used to download a given [URL] [url] on the command line (com...
nilq/small-lua-stack
null
---@class ZombieIdleState : zombie.ai.states.ZombieIdleState ---@field private _instance ZombieIdleState ZombieIdleState = {} ---@private ---@return float function ZombieIdleState:pickRandomWanderInterval() end ---@public ---@param arg0 IsoGameCharacter ---@return void function ZombieIdleState:execute(arg0) end ---@...
nilq/small-lua-stack
null
-- cast lua userdata to type local M = {} for name, func in pairs(__pointers__.typecast) do M[name] = func end return M
nilq/small-lua-stack
null
local Binarize, parent = torch.class('nn.Binarize', 'nn.Module') function Binarize:__init(_thresholdFraction) parent.__init(self) assert(type(_thresholdFraction) == 'number', 'input is not a number!') self._thresholdFraction = _thresholdFraction or 0.5 end function Binarize:updateOutput(input) self.output...
nilq/small-lua-stack
null
package.path = 'D:/Program Files (x86)/HTTPD/htdocs/TrainMobileFile/LuaCode/lib/?.lua' require 'string' local fs = require 'file_system' local ut = require 'utility_tool' local jt = require 'json_tool' --get infomation of specific user --url format: fs_user_get_info.php?id=qianqian function handle(r) r.content_ty...
nilq/small-lua-stack
null
-- ack.lua
nilq/small-lua-stack
null
modifier_miku_scepter = class ({}) function modifier_miku_scepter:IsHidden() return true end function modifier_miku_scepter:IsDebuff() return false end function modifier_miku_scepter:IsPurgable() return false end function modifier_miku_scepter:IsPurgeException() return false end function modifier_miku_scepter:RemoveOn...
nilq/small-lua-stack
null
-- Copyright (c) 2021 Kirazy -- Part of Prismatic Belts -- -- See LICENSE.md in the project directory for license information. -- Make our function host if not prismatic_belts then prismatic_belts = {} end prismatic_belts.migration = require("migration") -- Ensure tint is normalized to between 0 and 1 local function ...
nilq/small-lua-stack
null
--[[ Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
nilq/small-lua-stack
null
local module = {} module.__index = module local replicated = game:GetService('ReplicatedStorage') local common = replicated.Common local remote = replicated.Remotes.SendData local values = require(common.Values) local signals = require(common.Signal) local signal = signals.new() local map = {} local awaiting = {} ...
nilq/small-lua-stack
null
require("prototypes.virtual_signals")
nilq/small-lua-stack
null
table.insert( data.raw["technology"]["fluid-handling"].effects, {type = "unlock-recipe",recipe = "high-overflow-valve"}) table.insert( data.raw["technology"]["fluid-handling"].effects, {type = "unlock-recipe",recipe = "high-underflow-valve"})
nilq/small-lua-stack
null
local clnumber = require 'cl.obj.number' local table = require 'ext.table' require 'common'(_G) -- derivCoeffs[derivative][accuracy] = {coeffs...} local derivCoeffs = { -- antisymmetric coefficients { [2] = {.5}, [4] = {2/3, -1/12}, [6] = {3/4, -3/20, 1/60}, [8] = {4/5, -1/5, 4/105, -1/280}, }, -- symmetr...
nilq/small-lua-stack
null
object_draft_schematic_armor_component_test_an_armor_segment = object_draft_schematic_armor_component_shared_test_an_armor_segment:new { } ObjectTemplates:addTemplate(object_draft_schematic_armor_component_test_an_armor_segment, "object/draft_schematic/armor/component/test_an_armor_segment.iff")
nilq/small-lua-stack
null
string.split = function (str) local t = {} return not str:gsub("%w+", function(s) table.insert(t, s) return "" end):find("%S") and t or {} end string.trim = function (str) return str:gsub("^%s*(.-)%s*$", "%1") end string.explode = function (str, sep, limit) if(type(sep) ~= 'string' or isInArray({tostrin...
nilq/small-lua-stack
null
quality_back = { [113] = { s_level = 10, c_level = 13, back_level = 10, back_amount1 = 2, back_amount2 = 4, back_cost = { {1, 1, 500}, }, camp1_item = { {1, 1011, 4}, }, camp2_item = { {1, 1012, 4}, }, camp3_item = { {1, 1013, 4}, }, camp4_item = { {1, 1014, 4}, }, }, [114] = { s_level = 10, c_level = 14, back_level = ...
nilq/small-lua-stack
null
local TemporalConvolution, parent = torch.class('cudnn.TemporalConvolution', 'nn.TemporalConvolution') --use cudnn to perform temporal convolutions --note: if padH parameter is not passed, no padding will be performed, as in parent TemporalConvolution --however, instead of separately padding data, as is required no...
nilq/small-lua-stack
null
function onUse(player, item, fromPosition, target, toPosition, isHotkey) if target.itemid == 2739 then target:transform(2737) target:decay() Game.createItem(2694, 1, toPosition) return true end return destroyItem(player, target, toPosition) end
nilq/small-lua-stack
null
local card = require "holdem.card" local lookup = require "holdem.lookup" local prob = require "holdem.prob" local __ = require "underscore" local ok, bit = pcall(require, "bit") if not ok then bit = require 'bit.numberlua'.bit end local error = error local pairs = pairs local table = table local type = type mo...
nilq/small-lua-stack
null
-- Based on http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/lighting.php applyPhongToStateSet = function(stateset) local vert = osg.Shader(osg.Shader.Type.VERTEX, [[ varying vec3 N; varying vec3 v; void main(void) { v = vec3(gl_ModelViewMatrix * gl_Vertex)...
nilq/small-lua-stack
null
-- Do not edit! This file was generated by blocks/signal/pulseamplitudemodulator_spec.py local radio = require('radio') local jigs = require('tests.jigs') jigs.TestBlock(radio.PulseAmplitudeModulatorBlock, { { desc = "0.4 symbol rate, 2.0 sample rate, 256 Bit input, 2 levels, 1280 Float32 output", ...
nilq/small-lua-stack
null
local ffi = require'ffi' local bit = require'bit' local core = require'ljusb/ljusb_ffi_core' local bor, band, lshift, rshift = bit.bor, bit.band, bit.lshift, bit.rshift local new, typeof, metatype = ffi.new, ffi.typeof, ffi.metatype local cast, C = ffi.cast, ffi.C --need those for buffer management ffi.cdef[[ void * ...
nilq/small-lua-stack
null
--------------------------------------------------------------------------- -- @author Harvey Mittens -- @copyright 2014 Harvey Mittens -- @email teknocratdefunct@riseup.net -- @release v3.5.5 --------------------------------------------------------------------------- local menu_gen = require("menubar.menu_gen") local...
nilq/small-lua-stack
null
return { source = 'mruafw_SMP8654F_3_11_3_prod.tgz', build = { in_source = true } }
nilq/small-lua-stack
null
-- Basic setup, variables to use. (Might expose to settings sometime? Or perhaps make research allow for longer wall segments?) local debugText = settings.startup["laserfence-debug-text"].value local horz_wall, vert_wall = 1, 2 local dir_mods = { {x = 1, y = 0, variation = horz_wall}, {x = -1, y = 0, variation = hor...
nilq/small-lua-stack
null
local widget = require "widget" local HeaderNodes = {{"ul", "- "},{"ul", "+ "},{"ul", "* "},{"hr", "---"},{"hr", "***"},{"h6", "###### "},{"h5", "##### "},{"h4", "#### "},{"h3", "### "},{"h2", "## "},{"h1", "# "},{"pre", "```", "```"},{"blockquote", ">"},} local InlineNodes = {{"a", false, "[", "](", ")"},{"img", f...
nilq/small-lua-stack
null
function test() local a, b, c = 1, 2, 3 a = b and c return a end jit("compile", test) local res = test() assert(res == 3) --[[ function <../tests/35_OP_TESTSET.lua:1,5> (8 instructions at 0xa25500) 0 params, 3 slots, 0 upvalues, 3 locals, 3 constants, 0 functions 1 [2] LOADK 0 -1 ; 1 2 [2] LOADK ...
nilq/small-lua-stack
null
-- видеоскрипт для видеобалансера "Collaps" https://collaps.org (27/03/22) -- Copyright © 2017-2022 Nexterr | https://github.com/Nexterr-origin/simpleTV-Scripts -- mod west_side (27/03/22) -- ## открывает подобные ссылки ## -- https://api1603044906.kinogram.best/embed/movie/7059 -- https://api1603044906.kinogram.b...
nilq/small-lua-stack
null
return {'bjarne','bjarnes'}
nilq/small-lua-stack
null
---@meta ---@class cc.FadeOutBLTiles :cc.FadeOutTRTiles local FadeOutBLTiles={ } cc.FadeOutBLTiles=FadeOutBLTiles ---* brief Create the action with the grid size and the duration.<br> ---* param duration Specify the duration of the FadeOutBLTiles action. It's a value in seconds.<br> ---* param gridSize Specify the...
nilq/small-lua-stack
null
local debug = false local function log(str) if debug then game.print("[Enhanced Pipette] " .. str) end end script.on_event(defines.events.on_player_pipette, function(ev) local player = game.players[ev.player_index] log("Player " .. ev.player_index .. " used pipette") if player.selected then if not...
nilq/small-lua-stack
null
--[[ #include <config.h> #include <errno.h> #include <getopt.h> #include <limits.h> #include <signal.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "command-line.h" #include "compiler.h" #include "daemon.h" #include "fatal-signal.h" #include "learning-switch.h" #include "ofp-parse.h" #include...
nilq/small-lua-stack
null
lok_kimogilla_enraged_dune_neutral_none = Lair:new { mobiles = {{"dune_kimogila",1},{"enraged_dune_kimogila",2}}, spawnLimit = 6, buildingsVeryEasy = {}, buildingsEasy = {}, buildingsMedium = {}, buildingsHard = {}, buildingsVeryHard = {}, buildingType = "none", } addLairTemplate("lok_kimogilla_enraged_dune_ne...
nilq/small-lua-stack
null
-- Tail exporter, accepts a table of strings and a path return function(lines, path) assert(path, "overwrite requires a path") local fd, e = io.open(path, "w") assert(fd, e) for _, line in ipairs(lines) do fd:write(line .. "\n") end fd:close() return lines end
nilq/small-lua-stack
null
-- basic phone module local lang = vRP.lang local cfg = module("cfg/phone") local htmlEntities = module("lib/htmlEntities") local services = cfg.services local announces = cfg.announces local sanitizes = module("cfg/sanitizes") -- api -- Send a service alert to all service listeners --- sender: a player or nil (op...
nilq/small-lua-stack
null
-- Behavior for enemy hunter speechBubbleState = 0 goodJob = false update = function(B, W) if (not goodJob and W:isConditionFulfilled("npc_edmond","puzzle_solved")) then goodJob = true if (B:getPosX() > 850) then B:say("GoodJob", 4) end elseif (speechBubbleState == 5) the...
nilq/small-lua-stack
null
return { HOOK_PLAYER_TOSSING_ITEM = { CalledWhen = "A player is tossing an item. Plugin may override / refuse.", DefaultFnName = "OnPlayerTossingItem", -- also used as pagename Desc = [[ This hook is called when a {{cPlayer|player}} has tossed an item. The {{cPickup|pickup}} has not been spawned yet. Plu...
nilq/small-lua-stack
null
----------------------------------- -- Area: Mhaura -- NPC: Grimr -- Type: Standard NPC -- !pos 31.819 -11.001 22.311 249 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) player:startEvent(120); end; function onEventUpdate(player,csid,option) end; funct...
nilq/small-lua-stack
null
local oo = require("bp.common.lua_oo") local bt_helper = require 'bp.src.bt_helper' local mt = {} local class_template = {type="log", __index=mt} local log = oo.class(class_template) function mt:start(graph) self.graph = graph end function mt:is_done( ) return true end function mt:update() -- slog.cat(self.str)...
nilq/small-lua-stack
null
-- -- lua-Spore : <http://fperrad.github.com/lua-Spore/> -- local assert = assert local require = require local select = select local type = type local coroutine = require 'coroutine' local Request = require 'Spore.Request' local Protocols = require 'Spore.Protocols' local _ENV = nil local m = {} local function _e...
nilq/small-lua-stack
null
--- --- object.lua --- --- Copyright (C) 2018-2020 Xrysnow. All rights reserved. --- -- 对象控制函数 ---@~chinese 获取对象池中对象个数 --- ---@~english Get game object count. --- ---@return number function GetnObj() end --[[ ---更新对象池。此时将所有对象排序并归类 ---排序规则:uid越小越靠前 ---> 细节 ---> 该函数不再起任何作用,对象表总是保持有序的 function UpdateObjList() end ]...
nilq/small-lua-stack
null
Config = Config or {} Config.MinZOffset = 40 Config.TakeoverPrice = 5000 Config.TrapHouses = { [1] = { coords = { ["enter"] = vector3(-1202.13, -1308.48, 4.91), ["interaction"] = vector3(-1207.66, -1309.69, -27.64), }, keyholders = {}, pincode = 1234, ...
nilq/small-lua-stack
null
script_name("GetTextdrawText") script_version("v1.0") script_authors("Tim4ukys") script_dependencies("SA-MP v0.3.7 R1", "SA-MP v0.3.7 R3-1", "SA-MP v0.3.DL R1") local dl = require "SA-MP API.init" local ffi = require( 'ffi' ) function main() while not dl.GetIsAvailable() do wait(0) end for i=...
nilq/small-lua-stack
null
organa_speeder_loot_schem = { minimumLevel = 0, maximumLevel = -1, customObjectName = "Plans: Organa Speeder", directObjectTemplate = "object/tangible/loot/loot_schematic/organa_speeder_loot_schem.iff", craftingValues = { }, customizationStringNames = {}, customizationValues = {} } addLootItemTemplate("organa_s...
nilq/small-lua-stack
null
AuctionatorListRenameButtonMixin = {} local ListRenamed = Auctionator.ShoppingLists.Events.ListRenamed local ListSelected = Auctionator.ShoppingLists.Events.ListSelected local ListCreated = Auctionator.ShoppingLists.Events.ListCreated local RenameDialogOnAccept = Auctionator.ShoppingLists.Events.RenameDialogOnAccept ...
nilq/small-lua-stack
null
AddCSLuaFile() ENT.Type = "point" ENT.Base = "base_point" ENT.PrintName = "Env Fog" ENT.Author = "" ENT.Contact = "" ENT.Purpose = "" ENT.Instructions = "" ENT.Spawnable = false ENT.AdminOnly = false ENT.Editable = false -- -- -- function ENT:Initialize() if ( CLIENT ) then -- hook.Add( "PostDrawVi...
nilq/small-lua-stack
null
local unicorndecode = require('unicorndecode') local unidecodeTest = { {"Brontë", "Bronte"}, {"Herp", "Herp"}, {"北亰", "Bei Jing"}, {"læti", "laeti"}, {"😂", "[?]"} } describe("unicorndecode", function() for _, value in ipairs(unidecodeTest) do it("should unidecode " .. value[1], functi...
nilq/small-lua-stack
null
-- $Id: httplib.lua 32 2007-12-29 00:52:11Z firsm $ -- -- Copyright (c) 2007 Fabian "firsm" Hirschmann <fhirschmann@gmail.com> -- 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 rest...
nilq/small-lua-stack
null
methods = { 'CanUpgrade', 'UpgradeRequire', 'Upgrade', } local exp = { {5,7.3,9.6,11.9,14.2,16.5,18.8,21.1,23.4,25.7,28,30.3,32.6,34.9,37.2,39.5,41.8,44.1,46.4,48.7,51,53.3,55.6,57.9,60.2,62.5,64.8,67.1,69.4,71.7,74,76.3,78.6,80.9,83.2,85.5,87.8,90.1,92.4,94.7,97,100}, {106.7,113.4,120.1,126.8,133.5,140.2,1...
nilq/small-lua-stack
null
#!/usr/bin/env lua -- @app sac_ubus local sac_ubus = { _APPNAME = "sac", _FILENAME = arg[0]:match("[^/]+$"), _VERSION = "2020082501", _GITHASH = "", -- Empty in developement mode _GITURL = "", -- Empty in developement mode _PROJECT = "Home Automatization",...
nilq/small-lua-stack
null
local cc = buildM.generators.create_component_from_ingredients --[[ cc({name = "ore-crusher-c1", tier=1, ings = {} }) cc({name = "ore-crusher-a1", tier=1, ings = {} }) cc({name = "ore-crusher-a2", tier=2, ings = {} }) cc({name = "ore-crusher-b1", tier=2, ings = {} }) cc({name = "ore-crusher-b2", tier=3, ings = {} }) c...
nilq/small-lua-stack
null
return {'dapper','dapperheid','daphne','daphne','dap','dapper','dapperder','dappere','dapperst','dapperste','daphnes','daphnes'}
nilq/small-lua-stack
null
local PANEL = {} local HIGHLIGHT = Color(255, 255, 255, 50) function PANEL:Init() self.nameLabel = self:AddLabel("name") self.nameLabel:SetZPos(0) self.name = self:AddTextEntry("name") self.name:SetTall(48) self.name.onTabPressed = function() self.desc:RequestFocus() end self.name:SetZPos(1) self.descLabe...
nilq/small-lua-stack
null
print('Naruto Loaded') p=game.Players.LocalPlayer c=p.Character m=p:GetMouse() Player = game:GetService("Players").LocalPlayer mouse=Player:GetMouse() Cha = Player.Character minrun = false rase=false Weapon = Instance.new("Model") Weapon.Name = "Jutsu" Weapon.Parent = Cha anim = Cha:findFirstChild("Animate") sharin=fal...
nilq/small-lua-stack
null
Weapon.PrettyName = "M4A1 Iron" Weapon.WeaponID = "m9k_m4a1" Weapon.DamageMultiplier = 0.6 Weapon.WeaponType = WEAPON_PRIMARY
nilq/small-lua-stack
null
Npc = Npc or {} function Npc:_Destroy() self:Unload() end function Npc:Load() self.loaded = true print("load", self.id) local coords = self.coords local ped = exports.customization:CreatePed({ model = self.model, appearance = self.appearance, features = self.features, }, coords) self.ped = ped SetE...
nilq/small-lua-stack
null
local bit32 = require 'bit32' local M = { BlinkRate = { [ 'OFF'] = 0x00, ['DISPLAYON'] = 0x01, [ 'HALF_HZ'] = 0x06, [ '1_HZ'] = 0x04, [ '2_HZ'] = 0x02 }, Command = { SYSTEM_SETUP = 0x20, BLINK = 0x80, BRIGHTNESS = 0xe0 }, DEVICE = 0x70, OSCILLATOR = 0x...
nilq/small-lua-stack
null
local collection = {} function collection:all() return self._data end function collection:add(val) table.insert(self._data,val) return val end function collection:remove(val) for i,v in pairs(self._data) do if v == val then return table.remove(self._data,i) end end return false end functio...
nilq/small-lua-stack
null
-- scaffold geniefile for clang clang_script = path.getabsolute(path.getdirectory(_SCRIPT)) clang_root = path.join(clang_script, "clang") clang_includedirs = { path.join(clang_script, "config"), clang_root, } clang_libdirs = {} clang_links = {} clang_defines = {} ---- return { _add_includedirs = function() inc...
nilq/small-lua-stack
null
compiler = new "compiler"; local fileExists = fileExists local fileOpen = fileOpen local fileRead = fileRead local fileGetSize = fileGetSize local print = print local xmlLoadFile = xmlLoadFile local xmlNodeGetChildren = xmlNodeGetChildren local xmlNodeGetAttribute = xmlNodeGetAttribute function compiler.prototype.___...
nilq/small-lua-stack
null
PLUGIN.Title = "EventKick" PLUGIN.Version = V(1, 0, 0) PLUGIN.Description = "Kicks players that connect to server when event is running" PLUGIN.Author = "SCALEXO" PLUGIN.Url = "" PLUGIN.ResourceId = 714 function PLUGIN:LoadDefaultConfig() self.Config.Settings = self.Config.Settings or {} self.Config.Settings.Comm...
nilq/small-lua-stack
null
-------------------------------------------------------- -- Minetest :: Beds Redux Mod (beds) -- -- See README.txt for licensing and other information. -- Copyright (c) 2016-2020, Leslie E. Krause -- -- ./games/minetest_game/mods/beds/init.lua -------------------------------------------------------- beds = { } local ...
nilq/small-lua-stack
null
module(..., package.seeall) local cjson = require "cjson" local json_encode = cjson.encode local json_decode = cjson.decode -- dynamic metadata filter name DMFN = "com.reblaze.curiefense" LOG_KEY = "request.info" function log_request(request_map) -- handle is userData which is not serilizable local request_...
nilq/small-lua-stack
null
-- Define sets and vars used by this job file. function init_gear_sets() gear.rings = {} gear.rings.left={name="Stikini Ring +1", bag="wardrobe"} gear.rings.right={name="Stikini Ring +1", bag="wardrobe4"} -------------------------------------- -- Start defining the sets ------------------------------...
nilq/small-lua-stack
null
local M = { separator = package.config:sub(1, 1) } return M
nilq/small-lua-stack
null
local present, bufferline = pcall(require, "bufferline") if not present then return end local bg = "#2e3440" local bg2 = "#3b4252" local bg3 = "#282c34" local fg = "#CACed6" local accent = "#81a1c1" local accent2 = "#BF616A" -- Not saved local accent3 = "#EBCB8B" -- Not saved bufferline.setup({ options = { number...
nilq/small-lua-stack
null
--オルターガイスト・プークエリ --Scripted by nekrozar function c100260004.initial_effect(c) --hand link local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_EXTRA_LINK_MATERIAL) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,100260004) e1:SetValue(c10026000...
nilq/small-lua-stack
null
local CorePackages = game:GetService("CorePackages") local Cryo = require(CorePackages.Packages.Cryo) local Roact = require(CorePackages.Packages.Roact) local Rodux = require(CorePackages.Packages.Rodux) local RoactRodux = require(CorePackages.Packages.RoactRodux) local AddMessage = require(script.Parent.Parent.Paren...
nilq/small-lua-stack
null
project "UI-imgui" AddModuleConfig() uuid "9791305E-BF1B-486C-8405-CFF7B54C98FE" pchheader "stdafx_imgui.h" pchsource "../src/stdafx_imgui.cpp" defines { "IMGUI_USER_CONFIG=\"custom_imconfig.h\"", } includedirs { "../Externals/imgui", } filter "action:vs*" files { "../Externals/imgui/**.natvis...
nilq/small-lua-stack
null