content
stringlengths
0
1.05M
origin
stringclasses
2 values
type
stringclasses
2 values
-- atom types: -- nil -- true -- {num=3.4} -- {char='a'} -- {str='bc'} -- {sym='foo'} -- non-atom type: -- {car={num=3.4}, cdr=nil} -- -- should {} mean anything special? currently just '(nil) function atom(x) return x == nil or x.num or x.char or x.str or x.sym end function car(x) return x.car end fun...
nilq/small-lua-stack
null
vim.api.nvim_set_keymap("n", "RR", ":call CompileRunGccH()<CR>", { silent = true, noremap = true }) vim.api.nvim_set_keymap("n", "Rf", ":call CompileRunGccF()<CR>", { silent = true, noremap = true }) vim.cmd([[ func! CompileRunGccH() exec "w" if &filetype == 'c' exec "!gcc % -o %< -g" :FloatermNew --position=bott...
nilq/small-lua-stack
null
local cachedModule = {} local modules = {} local moduleLoaded = {} local moduleParents = {} local moduleBody = {} local function createModule(name, dependency) modules[name] = true local parents = {} if (type(dependency) == "table") then for _, v in ipairs(dependency) do if (v ~= name) then ...
nilq/small-lua-stack
null
-- 1.71secs per section -- 0.85secs per section/2 -- 0.42secs per section/4 local swaySlow = false local swaySlowCamCentre = false local swayIntenseDefault = false local swayIntenserDefault = false local swayScreenCam = false local fadingCam = false local faded = false local waitForBeatFade = false local rec...
nilq/small-lua-stack
null
-- Behavior for enemy morgiana started = false update = function(B, W) if (not started) then started = true B:say("MorgianaStart", 4) end end
nilq/small-lua-stack
null
-- Copyright 2017-2019, Firaxis Games. -- Leader container list on top of the HUD include("InstanceManager"); include("LeaderIcon"); include("PlayerSupport"); include("SupportFunctions"); include("GameCapabilities"); -- CUI include("cui_settings"); -- CUI include("cui_leader_icon_support"); -- CUI -- ==============...
nilq/small-lua-stack
null
local http = require "resty.http" local resty_random = require "resty.random" local server = require "spec.support.server" local str = require "resty.string" local function get_hook_secret() local httpc = http.new() local res, err = httpc:request_uri("http://127.0.0.1:9080/hook-server-secret") assert.equal(nil, ...
nilq/small-lua-stack
null
Gamestate = require "libs.hump.gamestate" Juego = require "entidades.juego" Menu = require "escenas.menu" function love.load() love.graphics.setNewFont("assets/font/lunchds.ttf", 20) Gamestate.registerEvents() Gamestate.switch(Menu) end function draw_fisicas(world) for _, body in pairs(world:getBodies()...
nilq/small-lua-stack
null
-- This is a luacov reporter module that outputs the lcov tracefile format -- The format is documented in the 'geninfo' manpage local reporter = require "luacov.reporter" local md5sumhex local md5_ok, md5 = pcall(require, "md5") if md5_ok and md5.sumhexa then -- lmd5 by lhf md5sumhex = md5.sumhexa elseif md5_ok and ...
nilq/small-lua-stack
null
local helper = {} --- Creates a new empty mesh. function helper.new_mesh() local mesh = {} mesh.vertexes = {} mesh.segments = {} mesh.colors = {} return mesh end --- Adds a line to a mesh. -- @params mesh table: a properly formated mesh. Possibly created with `new_mesh`. -- @params vertex table: a list of e...
nilq/small-lua-stack
null
while true do local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "A meteor is coming towards us!!! AHHH!!!" wait(3) m:remove() local b = Instance.new("Part") b.Parent = game.Workspace b.Position = Vector3.new(0,5000,0) b.Size = Vector3.new(200,500,200) b.BrickColor = BrickColor.new(199) b.Transparency...
nilq/small-lua-stack
null
spawns = {} spawns.list = {} spawns.sprites = {sprites.baseA, sprites.baseB, sprites.baseC, sprites.baseD} spawns.flagDist = 90 function spawns.get(letter) return spawns.list[letter] end function spawns.create() spawns.list.A = spawns.createNumber(1) spawns.list.B = spawns.createNumber(2) spawns.list....
nilq/small-lua-stack
null
local monster = {}; local small_monster; local large_monster; local config; local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.EnemyCharacterBase"); local enemy_character_base_type_def_update_method = enemy_character_base_type_def:get_method("update"); local is_boss_enemy_method = sdk.find_typ...
nilq/small-lua-stack
null
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]] require("lualib_bundle"); local ____exports = {} ____exports.Animation = __TS__Class() local Animation = ____exports.Animation Animation.name = "Animation" function Animation.prototype.____constructor(self, image, frame_width, frame_height, durat...
nilq/small-lua-stack
null
local IAspectModdable = class.interface("IAspectModdable", { -- on_refresh = "function", -- calc = "function", -- mod = "function", -- mod_base = "f...
nilq/small-lua-stack
null
-- Adapted from https://mods.factorio.com/mod/inserter-throughput, under the Unlicense local abs = math.abs local sqrt = math.sqrt local acos = math.acos local round_up = math.ceil local full_circle_in_radians = math.pi * 2 -- belt speed in tiles per tick -- inserters can put items in the vicinity of their drop spot,...
nilq/small-lua-stack
null
return [===[ <!-- ....................................................................... --> <!-- XHTML 1.1 DTD ........................................................ --> <!-- file: xhtml11.dtd --> <!-- XHTML 1.1 DTD This is XHTML, a reformulation of HTML as a modular XML application. The Extensible Hy...
nilq/small-lua-stack
null
local TXT = Localize{ [0] = " ", [1] = "Door", [2] = "Leave the Cave", [3] = "Chest", [4] = "Button", [5] = "Lever", [6] = "Vault", [7] = "Cabinet", [8] = "Switch", [9] = "", [10] = "Bookcase", [11] = "", [12] = "", [13] = "", [14] = "You Successfully disarm the trap", [15] = "", [16] = "Take a Drink",...
nilq/small-lua-stack
null
package.path = "../?.lua;"..package.path; --[[ This is a generic file to try out various things ad-hoc meant to try and throw away ]] local winman = require("WinMan") local maths = require("maths") local radians = maths.radians local degrees = maths.degrees local map = maths.map local cos = math.cos local sin...
nilq/small-lua-stack
null
return function(tests, t) local Combination = require(game:GetService("ServerStorage").BookWriterPlugin.Plugin.Input.Combination) local Shift = Enum.ModifierKey.Shift local Ctrl = Enum.ModifierKey.Ctrl local Alt = Enum.ModifierKey.Alt local Meta = Enum.ModifierKey.Meta tests["Combinations work as expected"] = functio...
nilq/small-lua-stack
null
Spell = require "spell" require "utils.keyboard" SkillTree = require "skill_tree" Constst = require "utils.consts" local player = {} player.__index = player local maxSpeed = 150 local accSpeed = 500 local slowdownSpeed = 250 local playerRadius = 30 local spells = { [Constst.parent] = { maxDistance = 100, ...
nilq/small-lua-stack
null
minetest.register_on_prejoinplayer(function(name, ip) if name:find("%u.*%d%d%d$") then minetest.log("action", "Player with name " .. name .. " was blocked by no_guests") return "Please change your name to not end in numbers" end end)
nilq/small-lua-stack
null
function item_double_butterfly_on_spell_start(keys) keys.caster:EmitSound("DOTA_Item.Butterfly") keys.ability:ApplyDataDrivenModifier(keys.caster, keys.caster, "modifier_double_butterfly_speed", nil) end function item_actual_butterfly_on_spell_start(keys) keys.caster:EmitSound("DOTA_Item.Butterfly") keys.a...
nilq/small-lua-stack
null
local S = aurum.get_translator() screalms.register("aurum:primus", { description = S"Primus Hortum", size = vector.new(16000, 2048, 16000), apply_player = function(player) player:set_sky{ type = "plain", base_color = "#336633", } player:set_clouds{ color = "#004400bb", speed = {x = 0, z = -4}, ...
nilq/small-lua-stack
null
require("vinevim.theme.alpha") require("vinevim.theme.bufferline") require("vinevim.theme.colors") require("vinevim.theme.filetree") require("vinevim.theme.indent") require("vinevim.theme.lualine")
nilq/small-lua-stack
null
-- The chat and UI colors CarTracker.Config.Color = Color(200, 200, 200)
nilq/small-lua-stack
null
local types = require('tags.types') local cache = require('tags.cache') local ctags = {} local tag_info = {} -- most recent tag that is a 'scope' tag_info.scope = nil function ctags.new_tag() local tag = {} tag.name = '' tag.type = '' tag.parent = nil tag.children = {} tag.line = -1 tag.index = -...
nilq/small-lua-stack
null
Locales['de'] = { ['press_collect_coke'] = 'drücke ~INPUT_CONTEXT~ um Koks zu sammeln', ['press_process_coke'] = 'drücke ~INPUT_CONTEXT~ um Koks zu verarbeiten', ['press_sell_coke'] = 'drücke ~INPUT_CONTEXT~ um Koks zu verkaufen', ['press_collect_meth'] = 'drücke ~INPUT_CONTEXT~ um Meth zu sammeln', ...
nilq/small-lua-stack
null
-- Copyright 2021 Kafka-Tarantool-Loader -- -- 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 ag...
nilq/small-lua-stack
null
--[[Glaives of Wisdom intelligence to damage Author: chrislotix Date: 10.1.2015.]] function IntToDamage(keys) local ability = keys.ability local caster = keys.caster local target = keys.target local int_caster = caster:GetIntellect() local int_damage = ability:GetLevelSpecialValueFor("intellect_damage_pct", (a...
nilq/small-lua-stack
null
local compareAscending = function(left, right) if left < right then return true elseif left >= right then return false end end local compareDescending = function(left, right) if left > right then return true elseif left <= right then return false end end function Auctionator.Utilities.Numb...
nilq/small-lua-stack
null
function shortcutOpen() Interface.openWindow(shortcut_class.getValue(), shortcut_db.getValue()) end
nilq/small-lua-stack
null
local fadeInTime, fadeOutTime, maxAlpha, animScale, iconSize, holdTime, showSpellName, ignoredSpells, invertIgnored local cooldowns, animating, watching = { }, { }, { } local GetTime = GetTime local defaultSettings = { fadeInTime = 0.3, fadeOutTime = 0.7, maxAlpha = 0.7, animScale = 1.5, iconSize =...
nilq/small-lua-stack
null
local UIButton = import(".UIButton") local UIPushButton = class("UIPushButton", UIButton) UIPushButton.NORMAL = "normal" UIPushButton.PRESSED = "pressed" UIPushButton.DISABLED = "disabled" function UIPushButton:ctor(images, options) UIPushButton.super.ctor(self, { {name = "disable", from = {"normal", ...
nilq/small-lua-stack
null
return {'dweepachtig','dweepster','dweepziek','dweepzucht','dweepzuchtig','dweil','dweilen','dweilorkest','dweilpauze','dweilwagen','dwepen','dweper','dweperig','dweperij','dwerg','dwergachtig','dwergeik','dwergengestalte','dwerggroei','dwergstaat','dwergstern','dwergvinvis','dwergvleermuis','dwergvolk','dwergwerpen','...
nilq/small-lua-stack
null
return { fields = { add = { type = "table", schema = { fields = { form = { type = "array" }, headers = { type = "array" }, querystring = { type = "array" } } } }, remove = { type = "table", schema = { fields = { form = { type = "array" },...
nilq/small-lua-stack
null
local Import = require"Toolbox.Import" local Vlpeg = Import.Module.Relative"Vlpeg" local Object = Import.Module.Relative"Object" return Object( "Nested.PEG.Apply", { Construct = function(self, SubPattern, Value) self.SubPattern = SubPattern self.Value = Value end; Decompose = function(self, Canonical...
nilq/small-lua-stack
null
-- Plugins local packer = require "jesse.plugin.packer" local use = packer.use local use_rocks = packer.use_rocks -- Install packer.startup { function() -- Util use "wbthomason/packer.nvim" use "nvim-lua/plenary.nvim" use { "rcarriga/nvim-notify", config = function() require "jes...
nilq/small-lua-stack
null
-- RU support by ForgottenLight -- Add support for unoffical Russian languages to MailLooter. -- Compatible with RuESO 10.0 local CORE = MailLooter.Core -- General ZO_CreateStringId("SI_MAILLOOTER_ADDON_NAME", "MailLooter (Сборщик почты)") ZO_CreateStringId("SI_MAILLOOTER_TITLE", "MailLooter (Сборщик почты)") -- The...
nilq/small-lua-stack
null
ITEM.name = "Bear Claw" ITEM.model ="models/lostsignalproject/items/parts/chimera_claw.mdl" ITEM.description = "An large claw belonging to a bear." ITEM.longdesc = "The claw of a bear. Very durable, probably mostly used more for digging than mauling, as the bears incredible strength lets it crush bones with ease." ITE...
nilq/small-lua-stack
null
---@class Integer : java.lang.Integer ---@field public MIN_VALUE int ---@field public MAX_VALUE int ---@field public TYPE Class|Unknown ---@field digits char[] ---@field DigitTens byte[] ---@field DigitOnes byte[] ---@field sizeTable int[] ---@field private value int ---@field public SIZE int ---@field public BYTES int...
nilq/small-lua-stack
null
local common_local = common if not (type(common) == 'table' and common.class and common.instance) then assert(common_class ~= false, 'No class commons specification available.') require('HC.class') common_local = common end local Track = {} local tracks = {} --location is centre function Track:init(game, objec...
nilq/small-lua-stack
null
local utils = require("refactoring.code_generation.utils") local function go_class_function(opts) return string.format( [[ func %s %s(%s) { %s } ]], opts.className, opts.name, table.concat(opts.args, ", "), utils.stringify_code(opts.body) ) end local function go_fun...
nilq/small-lua-stack
null
return Def.Quad { Name="OptionsUnderlineRight", InitCommand=function(self) self:zoomto(1,3) end }
nilq/small-lua-stack
null
-------------------------------------------------------------------------------- -- config.lua -------------------------------------------------------------------------------- local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio > 1.5 and 800 or math.ceil(120...
nilq/small-lua-stack
null
--[[ TheNexusAvenger Tests the order of the quests. Split into 2 modules because the test go above the string limit when syncing the scripts in with Rojo. --]] local NexusUnitTesting = require("NexusUnitTesting") local QuestsTest = require(script.Parent) --[[ Tests the dialogs data order. Some data is missing, so ...
nilq/small-lua-stack
null
data:extend( { { type = "recipe", name = "stack-pack", energy_required = 1, enabled = "true", ingredients = { {"wooden-chest", 50}, {"iron-chest", 50}, {"steel-chest", 50}, {"storage-tank", 50}, {"transport-belt", 100}, {"fast-transport-belt", 100},...
nilq/small-lua-stack
null
-- recipes.lua data:extend { { type = "recipe", name = "ret-electric-locomotive", result = "ret-electric-locomotive", ingredients = { {"steel-plate", 40}, {"electric-engine-unit", 30}, {"advanced-circuit", 20}, {"iron-gear-wheel", 20} }, energy_required = 8, enabled = false }, { type = "recipe", n...
nilq/small-lua-stack
null
Tuple = {} function Tuple.first(...) return select(1, ...) end function Tuple.second(...) return select(2, ...) end function Tuple.third(...) return select(3, ...) end function Tuple.fourth(...) return select(4, ...) end
nilq/small-lua-stack
null
-- Require the class. local logger = require "luchia.core.logger" -- Set up a shortcut to the logger function. local log = logger.logger -- Log something. log:info("Hello world!")
nilq/small-lua-stack
null
object_ship_awing_tier7 = object_ship_shared_awing_tier7:new { } ObjectTemplates:addTemplate(object_ship_awing_tier7, "object/ship/awing_tier7.iff")
nilq/small-lua-stack
null
--[[ Quest Map by CaptainBlagbird https://github.com/CaptainBlagbird --]] local strings = { -- General QUESTMAP_COMPLETED = "Erledigt", QUESTMAP_UNCOMPLETED = "Unerledigt", QUESTMAP_HIDDEN = "Manuell ausgeblendet", QUESTMAP_STARTED = "Begonne...
nilq/small-lua-stack
null
local pairs = pairs local char = string.char local CHARACTER_VALUES = { {200, "🫂"}, {50, "💖"}, {10, "✨"}, {5, "🥺"}, {1, ","} } local function encodeChar(charValue, nested) if charValue == 0 then return nested and "" or "❤️" end for _, v in pairs(CHARACTER_VALUES) do if charValue >= v[1] then ...
nilq/small-lua-stack
null
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') include("bfarm_config.lua") include("bfarm/bfarm_plants.lua") function ENT:Initialize() self:SetModel(FARMER_MARKET_MODEL) self:SetHullType(HULL_HUMAN) self:SetHullSizeNormal() self:SetNPCState(NPC_STATE_SCRIPT) self:SetBloodColor(B...
nilq/small-lua-stack
null
object_tangible_holiday_life_day_rewards_09_lifeday_fireplace_01 = object_tangible_holiday_life_day_rewards_09_shared_lifeday_fireplace_01:new { } ObjectTemplates:addTemplate(object_tangible_holiday_life_day_rewards_09_lifeday_fireplace_01, "object/tangible/holiday/life_day/rewards_09/lifeday_fireplace_01.iff")
nilq/small-lua-stack
null
local name = "buffalo" local version = "0.13.12" food = { name = name, description = "A Go web development eco-system, designed to make your life easier.", homepage = "https://gobuffalo.io", version = version, packages = { { os = "darwin", arch = "amd64", ...
nilq/small-lua-stack
null
require('tranquility').setup('selenized_green')
nilq/small-lua-stack
null
--- --- Created by Administrator. --- DateTime: 2017/12/14 11:06 --- local print = print local tconcat = table.concat local tinsert = table.insert local type = type local pairs = pairs local tostring = tostring local next = next local function pr (t, name, indent) local tableList = {} function table_r (t, name, ind...
nilq/small-lua-stack
null
-- create nordic_ble protocol dissector and its fields p_nordic_ble = Proto ("nordic_ble", "Nordic BLE sniffer meta") local hf_nordic_ble_sync_word = ProtoField.uint16("nordic_ble.sync_word", "Sync word. Always 0xBEEF.", base.HEX) local hf_nordic_ble_board_id = ProtoField.uint8("nordic_ble.board_id", "board", base...
nilq/small-lua-stack
null
businessAccounts = {} currentAccounts = {} savingsAccounts = {} gangAccounts = {} bankCards = {} function tprint (t, s) for k, v in pairs(t) do local kfmt = '["' .. tostring(k) ..'"]' if type(k) ~= 'string' then kfmt = '[' .. k .. ']' end local vfmt = '"'.. tostring(v) ....
nilq/small-lua-stack
null
local _, ns = ... ns.Config = { chatfont = AbuGlobal.GlobalConfig.Fonts.Normal, disableFade = true, chatOutline = false, classColoredChat = true, enableHyperlinkTooltip = true, enableBorderColoring = true, tab = { fontSize = 12, fontOutline = true, normalColor = {1, 1, 1}, flashColor = {1, 0, 1}, ...
nilq/small-lua-stack
null
local Menu = require('menu') local scanWifi = require('scan-wifi') local scanBluetooth = require('scan-bluetooth') local life = require('life') local drawHeader = function() disp:drawLine(23,0,105,0) disp:drawRBox(21,2,87,11,1) disp:drawLine(23,14,105,14) disp:setDrawColor(2) disp:drawStr(23,11, 'CactusCon 2...
nilq/small-lua-stack
null
local FrameTime = FrameTime local util_QuickTrace = util.QuickTrace local VectorRand = VectorRand local Vector = Vector local Angle = Angle local physenv_GetGravity = physenv.GetGravity local BUILDER, PART = pac.PartTemplate("base_drawable") PART.ClassName = "jiggle" PART.Group = 'model' PART.Icon = 'icon16/chart_lin...
nilq/small-lua-stack
null
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local Roact = require(Modules.Packages.Roact) local RoactRodux = require(Modules.Packages.RoactRodux) local RoactServices = require(Modules.Common.RoactServices) local AppPageLocalizationKeys = require(Modules.NotLApp.AppPageL...
nilq/small-lua-stack
null
giant_carrion_spat = Creature:new { objectName = "@mob/creature_names:giant_carrion_spat", socialGroup = "carrion_spat", faction = "", level = 18, chanceHit = 0.32, damageMin = 160, damageMax = 170, baseXp = 1426, baseHAM = 3500, baseHAMmax = 4300, armor = 0, resists = {-1,125,5,145,145,-1,-1,-1,-1}, meatT...
nilq/small-lua-stack
null
forgive = { cast = async(function(player, target) -- TODO: fix legend mark to say "Has been forgiven x times, recently by xxxx" local karma = target.karma player.npcGraphic = 0 player.npcColor = 0 player.dialogType = 0 player.lastClick = player.ID local magicCost = 0 if (not player:canCast(0, 1, 0...
nilq/small-lua-stack
null
local core = require "core" local style = require "core.style" local command = require "core.command" local keymap = require "core.keymap" local DocView = require "core.docview" local bracket_maps = { -- [ ] ( ) { } { [91] = 93, [40] = 41, [123] = 125, step = 1 }, -- ] [ ) ( } ...
nilq/small-lua-stack
null
local ui_path = (...):match('(.-)[^%.]+$') .. '.' local Object = require(ui_path .. 'classic.classic') local Base = require(ui_path .. 'Base') local Draggable = require(ui_path .. 'Draggable') local Resizable = require(ui_path .. 'Resizable') local Checkbox = Object:extend('Checkbox') Checkbox:implement(Base) Checkbox:...
nilq/small-lua-stack
null
function scoreOracle(sentenceStream, maxSummarySize, refCounts, stopwordlist, thresh, use_cuda) local SKIP = 1 local SELECT = 2 local buffer = Tensor(1, maxSummarySize):zero() local streamSize = sentenceStream:size(1) local actions = ByteTensor(streamSize, 2):fill(0) local summaryBuffer = LongT...
nilq/small-lua-stack
null
WireToolSetup.setCategory("Input, Output") WireToolSetup.open("dynamic_button", "Dynamic Button", "gmod_wire_dynamic_button", nil, "Dynamic Buttons") if CLIENT then language.Add("tool.wire_dynamic_button.name", "Dynamic Button Tool (Wire)") language.Add("tool.wire_dynamic_button.desc", "Spawns a dynamic butto...
nilq/small-lua-stack
null
pico-8 cartridge // http://www.pico-8.com version 8 __lua__ --stealth elf v%%git_count%% --a game by @josefnpat and @therickywill states = {} function switch_state(target) if states[target].init then states[target]:init() end current_state = states[target] end _printh = printh printh = function(msg,file) ...
nilq/small-lua-stack
null
-- generate C test file to check type sizes etc local S = require "syscall" local ffi = require "ffi" local s, t = S.s, S.t -- TODO fix these, various naming issues S.ctypes["struct linux_dirent64"] = nil S.ctypes["struct statfs64"] = nil S.ctypes["struct flock64"] = nil S.ctypes["struct stat64"] = nil S.ctypes["str...
nilq/small-lua-stack
null
return function(HooI) local ClickEvent = HooI.class("ClickEvent") function ClickEvent:initialize(entity, button, isPressed) self.entity = entity self.button = button self.isPressed = isPressed end return ClickEvent end
nilq/small-lua-stack
null
if redis.call('get', KEYS[1]) == ARGS[1] then if redis.call('expire',KEYS[1],ARGS[2]) then return true end end return false
nilq/small-lua-stack
null
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') function ENT:Initialize() self:SetModel("models/props_foliage/spikeplant01.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:SetCollisionGroup(0) self:SetColor(255,255,255...
nilq/small-lua-stack
null
return {'plu','pluche','pluchen','plug','pluggen','plugger','plugkraan','pluim','pluimage','pluimbal','pluimborstel','pluimen','pluimgedierte','pluimgewicht','pluimgraaf','pluimgras','pluimhoed','pluimpje','pluimriet','pluimstaart','pluimstrijken','pluimstrijker','pluimstrijkerij','pluimvee','pluimveebedrijf','pluimvee...
nilq/small-lua-stack
null
module('properties', package.seeall) local function get_variables(class) local vars = {} local function traverse(c) for i, var in ipairs(c) do if var.label == "Variable" and var.xarg.access == "public" then table.insert(vars, var) end end for b in...
nilq/small-lua-stack
null
local types = require "resty.nettle.types.common" local context = require "resty.nettle.types.knuth-lfib" local lib = require "resty.nettle.library" local ffi = require "ffi" local ffi_new = ffi.new local ffi_str = ffi.string local setmetatable = setmetatable local knuth = { func = lib.nettle_knuth_lfib_random } knuth...
nilq/small-lua-stack
null
-- Generated by github.com/davyxu/tabtoy -- Version: 2.8.10 local tab = { TShop = { { Id = 1, Itemid = 1001, Name = "苹果iPhoneX", Type = 1, Num = 1, Rmb = 8488, Price = 169760, Send = 0 }, { Id = 2, Itemid = 3017, Name = "【中国黄金】黄金金条10g", Type = 1, Num = 1, Rmb = 2893, Price = 57860, Send = 0 }, { Id = 3, Itemi...
nilq/small-lua-stack
null
return { PlaceObj("ModItemOptionToggle", { "name", "RemoveBuildingLimits", "DisplayName", T(302535920011236, "Remove Building Limits"), "DefaultValue", true, }), }
nilq/small-lua-stack
null
local mod = DBM:NewMod(2170, "DBM-Party-BfA", 3, 1041) local L = mod:GetLocalizedStrings() mod:SetRevision("20190420174733") mod:SetCreatureID(135475, 135470, 135472) mod:SetEncounterID(2140) mod:SetZone() mod:SetUsedIcons(1) mod:SetBossHPInfoToHighest() mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SP...
nilq/small-lua-stack
null
help([[The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system att...
nilq/small-lua-stack
null
function love.conf(t) t.window.width = 1060 t.window.height = 800 end
nilq/small-lua-stack
null
#!/usr/bin/env luajit local function printf(fmt, ...) io.write(string.format(fmt, ...)) end local epi=require"epidemiologie" local last=1 local fib=epi.model.fibonacci(math.huge,1.26) local exp=epi.model.exp(1,1.26) print(" i fib exp") for i=1,60 do local m1, m2=fib(), exp() printf("%3d %8.1f %8.1f\n",i, m...
nilq/small-lua-stack
null
function genStorageTanks(inputs) -- Copy electric furnace local item = table.deepcopy(data.raw.item["storage-tank"]) local recipe = table.deepcopy(data.raw.recipe["storage-tank"]) local entity = table.deepcopy(data.raw["storage-tank"]["storage-tank"]) local tech = table.deepcopy(data.raw.technology[...
nilq/small-lua-stack
null
local string = string local window = window local webview = webview local widget = widget local theme = theme local luakit = luakit local lousy = require("lousy") local util = lousy.util local print = print local ipairs = ipairs local type = type module("plugins.private_browsing_tabs") -- Private tab label theme.pri...
nilq/small-lua-stack
null
return { name = 'pierce', offset = 2, ow = 5, costumes = { {name='Pierce Hawthorne', sheet='base', category='base' }, {name='Astronaut', sheet='astronaut', category='s2e4' }, {name='Birthday Suit', sheet='naked', category='s3e20' }, -- {name='Beastmaster', sheet='beast', ...
nilq/small-lua-stack
null
insulate("Control function declaration", function() local parser = require("snabbp4.syntax.parser") local config = {preprocess = true} local input = [[ control egress { // Check for unknown egress state or bad retagging with mTag. apply(egress_check); apply(egress_meter) { hit { apply(hysteresis...
nilq/small-lua-stack
null
-- shared logic file for map manager - don't call any subsystem-specific functions here
nilq/small-lua-stack
null
require("surround").setup { context_offset = 100, load_autogroups = false, mappings_style = "sandwich", map_insert_mode = true, quotes = {"'", '"'}, brackets = {"(", '{', '['}, space_on_closing_char = false, pairs = { nestable = { b = { "(", ")" }, s = { "[", "]" }, B = { "{", "}" }, a = { "<", ">"...
nilq/small-lua-stack
null
AddCSLuaFile() local name = "Whelen 600" local COMPONENT = {} COMPONENT.Model = "models/noble/whelen_600/whelen_600.mdl" COMPONENT.Skin = 0 COMPONENT.Bodygroups = {} COMPONENT.NotLegacy = true COMPONENT.ColorInput = 1 COMPONENT.UsePhases = true COMPONENT.DefaultColors = { [1] = "WHITE" } COMPONE...
nilq/small-lua-stack
null
local runService = game:GetService("RunService") local packages = script.Parent.Parent.Parent local synthetic = require(script.Parent.Parent) local util = require(script.Parent.Parent:WaitForChild("Util")) local fusion = util.initFusion(require(packages:WaitForChild('fusion'))) local maidConstructor = require(packages:...
nilq/small-lua-stack
null
local bin = vim.fn.stdpath("data") .. "/lspinstall/lua/sumneko-lua-language-server" local server = vim.fn.stdpath("data") .. "/lspinstall/lua/sumneko-lua/extension/server/" local lsp_config = require("lsp") if vim.fn.filereadable(bin) == 0 then require("lspinstall").install_server("lua") end require'lspconfig'.sumnek...
nilq/small-lua-stack
null
local K, C, L = unpack(select(2, ...)) local oUF = oUF or K.oUF if not oUF then K.Print("Could not find a vaild instance of oUF. Tags.lua code!") return end local _G = _G local ALTERNATE_POWER_INDEX = Enum.PowerType.Alternate or 10 local CHAT_MSG_AFK = _G.CHAT_MSG_AFK local DEAD = _G.DEAD local DND = _G.DND local ...
nilq/small-lua-stack
null
local main = require(game.Nanoblox) local Args = {} -- ARRAY Args.array = { ----------------------------------- { name = "player", aliases = {}, description = "", defaultValue = 0, playerArg = true, parse = function(self, qualifiers) local targetsDict = {} for qualifierName, qualifierArgs in pa...
nilq/small-lua-stack
null
modifier_zabuza_slow = class({}) -------------------------------------------------------------------------------- -- Classifications function modifier_zabuza_slow:IsHidden() return false end function modifier_zabuza_slow:IsDebuff() return true end function modifier_zabuza_slow:IsStunDebuff() return false end fun...
nilq/small-lua-stack
null
local status_ok, comment = pcall(require, 'Comment') if not status_ok then print('Could not load Comment.nvim') return end comment.setup({ pre_hook = function(ctx) local U = require('Comment.utils') local location = nil if ctx.ctype == U.ctype.block then location = requ...
nilq/small-lua-stack
null
local FORMNAME = "epic_view" epic.form.epic_view = function(pos, playername) local meta = minetest.get_meta(pos) local name = meta:get_string("name") local formspec = "size[8,2;]" .. "label[0,0;Epic start block]" .. "label[0,1;" .. name .. "]" .. "button_exit[5.5,1;2,1;start;Start]" minetest.show_formspe...
nilq/small-lua-stack
null
local Name=game.Players.LocalPlayer.Name local player=game.Players[Name] local char=player.Character local Suit=false local Tag=Instance.new("ObjectValue") Tag.Name="creator" Tag.Value=player local Welds={} if script.Parent.className~="HopperBin" then local h=Instance.new("HopperBin") h.Name="Go...
nilq/small-lua-stack
null
local thismod = minetest.get_current_modname() minetest.register_node(thismod .. ":resigned_grass",{ description = "Resigned Grass", groups = {crumbly = 2, event = 2, oddly_breakable_by_hand = 2, wac_check = 1}, tiles = { "wac_node_resigned_grass_top.png", "wac_node_resigned_dirt.png", "wac_node_resigned_dirt...
nilq/small-lua-stack
null