content stringlengths 5 1.05M |
|---|
--[[
AztupBrew(Fork of IronBrew2): obfuscation; Version 2.7.2
▄▄▄▄· ▄▄▄ ▄▄▄ .·▄▄▄▄ .▄▄ · ▄▄▄▄▄▄• ▄▌·▄▄▄·▄▄▄
▐█ ▀█▪▪ ▀▄ █·▀▄.▀·██▪ ██ ▐█ ▀. •██ █▪██▌▐▄▄·▐▄▄·
▐█▀▀█▄ ▄█▀▄ ▐▀▀▄ ▐▀▀▪▄▐█· ▐█▌▄▀▀▀█▄ ▐█.▪█▌▐█▌██▪ ██▪
██▄▪▐█▐█▌.▐▌▐█•█▌▐█▄▄▌██. ██ ▐█▄▪▐█ ▐█▌·▐█▄█▌██▌.██▌.
·▀▀▀▀ ▀█▄▀▪.▀ ▀ ▀▀▀ ▀▀▀▀▀• ▀▀▀▀ ▀▀▀ ... |
--------------------------------------------------------------------------------
-- Module Declaration
--
local mod, CL = BigWigs:NewBoss("Lady Hatecoil", 1456, 1490)
if not mod then return end
mod:RegisterEnableMob(91789)
mod.engageId = 1811
--------------------------------------------------------------------------... |
local mapping = require("lib.keymapping")
require("kommentary.config").configure_language("default", { prefer_single_line_comments = true })
vim.g.kommentary_create_default_mappings = false
mapping.nmap("gcc", "<Plug>kommentary_line_default", {})
mapping.nmap("gc", "<Plug>kommentary_motion_default", {})
mapping.vmap... |
local config = {} -- extension configuration
config.property = {
mainColor = "#49bf9d",
selectedColor = "#1e90ff",
fileUploadChunkSize = 8196,
editorUrl = "/editor",
editorHomeUrl = "",
editorFileContentUrl = "/fileContent",
editorDirectoryUrl = "/directory",
editorSaveUrl = "/save",
editorS... |
-- The female sprint sounds are backwards in vanilla...
local kSprintStartFemale = Marine.kSprintStartFemale
Marine.kSprintStartFemale = Marine.kSprintTiredEndFemale
Marine.kSprintTiredEndFemale = kSprintStartFemale
|
function Client_SaveConfigureUI(alert)
Mod.Settings.NumberOfHills = NumberOfHillsSlider.GetValue();
Mod.Settings.SizeOfHills = SizeOfHillsSlider.GetValue();
end |
local header = [[
{\rtf1\ansi\ansicpg1252\cocoartf2636
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 RobotoMono-Regular;}
{\colortbl;\red255\green255\blue255;\red33\green118\blue199;\red180\green187\blue194;\red251\green251\blue251;
\red0\green0\blue0;}
{\*\expandedcolortbl;;\cssrgb\c14902\c54510\c82353;... |
function launchApp(app)
win = hs.window.frontmostWindow()
front_app = win:application()
front_appName = front_app:name()
if front_appName ~= app then
hs.application.launchOrFocus(app)
else
filter = hs.window.filter.new(false)
filter:setAppFilter(app, {currentSpace=true})
... |
make_anim_method('wait', function(self, duration)
return self:_then({ duration = duration })
end)
make_anim_method('wait_all', function(self, anim)
return self:_then({ duration = anim.anim.totalTimeRemaining }):_then(Nova.ActionAnimationProperty(function() anim:stop() end))
end)
--- usage:
--- action(func... |
local ffi = require("ffi")
require("ffi_typedef")
ffi.cdef[[
//// 型宣言
typedef void *HANDLE;
typedef struct { //再解析ポイント情報
ULONG ReparseTag;
USHORT ReparseDataLength;
USHORT Reserved;
//※VLSとして扱いたいので、不要な共用体要素を省く
USHORT SubstituteNameOffset;
USHORT SubstituteNameLength;
... |
local Prop = {}
Prop.Name = "Taco Bell"
Prop.Cat = "Stores"
Prop.Price = 1000
Prop.Doors = {
Vector( 530, 2308, 596 ),
Vector( 622, 2308, 596 ),
Vector( 697.99798583984, 2266, 596 ),
Vector( 698, 1485.9200439453, 596 ),
}
GM.Property:Register( Prop ) |
-- https://github.com/jiangmiao/auto-pairs
local g = vim.g
g.AutoPairs = {
['('] = ')',
['['] = ']',
['{'] = '}',
["'"] = "'",
['"'] = '"',
["`"] = "`",
['```'] = '```',
['"""'] = '"""',
["'''"] = "'''",
}
g.AutoPairsFlyMode = 1
g.AutoPairsMoveCharacter = "()[]{}\"'"
g.AutoPairsSho... |
object_draft_schematic_droid_component_chassis_droid_mark_iv_sentry = object_draft_schematic_droid_component_shared_chassis_droid_mark_iv_sentry:new {
}
ObjectTemplates:addTemplate(object_draft_schematic_droid_component_chassis_droid_mark_iv_sentry, "object/draft_schematic/droid/component/chassis_droid_mark_iv_sentry... |
--[[
author: jie123108@163.com
date: 20150901
]]
_G.ffi = require("ffi")
ffi.cdef[[
typedef void* blockfile_t;
typedef struct {
char magic[4]; //"BFI\0"
int16_t version;
int16_t int16_rest;
int64_t filesize; //文件大小.
int32_t block_size; //分块大小
int32_t block_cnt; //块总数
in... |
--[[
Supported functions:
bit.tobit,
bit.tohex,
bit.bnot,
bit.band,
bit.bor,
bit.bxor,
bit.lshift,
bit.rshift,
bit.arshift,
bit.rol,
bit.ror,
bit.bswap
]]
local bit = require("bit")
local bnot, band, bor, bxor = bit.bnot... |
local OVALE, Ovale = ...
local OvaleDemonHunterSoulFragments = Ovale:NewModule("OvaleDemonHunterSoulFragments", "AceEvent-3.0")
Ovale.OvaleDemonHunterSoulFragments = OvaleDemonHunterSoulFragments
local OvaleDebug = nil
local OvaleState = nil
local ipairs = ipairs
local tinsert = table.insert
local tremove = ... |
require 'game/Stone'
require 'game/Characters'
Board = {
SFX_MATCH = love.audio.newSource('data/sounds/match.wav', 'static'),
SFX_FALL = love.audio.newSource('data/sounds/fall.wav', 'static'),
}
function newBoard(rows, columns, x, y, player, enemy)
local self = {}
setmetatable(self, Board)
Board.__index = B... |
local _, ns = ...
local APPNAME = "BronCena"
local APPDESC = "Bron Cena"
BronCena = LibStub("AceAddon-3.0"):NewAddon(APPNAME, "AceConsole-3.0", "AceEvent-3.0", "AceTimer-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale(APPNAME)
local LSM = LibStub("LibSharedMedia-3.0")
local ACD = LibStub("AceConfigDialog... |
workspace "imgui_graphs"
location "build"
-- used for storing compiler / linker settings togehter
configurations { "Debug", "Release" }
-- enable symbols for Debug builds
filter "configurations:Debug"
defines "DEBUG"
symbols "On"
optimize "Debug"
-- enable optimiz... |
return require("installer/integrations/ls/helpers").npm.builder({
install_package = "@volar/server",
lang = "volar",
})
|
local DPersistence = {}
function DPersistence:GetPlayerData()
end
return DPersistence |
-- mod-version:2 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local common = require "core.common"
local config = require "core.config"
local keymap = require "core.keymap"
local style = require "core.style"
local View = require "core.view"
local Object = require "core.object"
loc... |
--Definitely not my best work, first script I've done in Lua 5.2
function draw()
nissue = {
"\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=... |
local deleteTable = {}
local deleteTable2 = {}
function loaTrialsap(map,dim,player)
local temp = {}
local theMapFile = xmlLoadFile("maps/"..map..".map")
local nodes = xmlNodeGetChildren(theMapFile)
for i,v in ipairs(nodes) do
local attributes = xmlNodeGetAttributes(v)
local type = xmlNodeGetName(v)
if type =... |
local fn = vim.fn
local cmd = vim.cmd
local M = {}
function M.fzy_shell_cmd(fzy_cmd, action)
-- save shell output to a temp file
file = fn.tempname()
shell_cmd = {
'/bin/sh',
'-c',
fzy_cmd .. ' | fzy -p "edit > " > ' .. file
}
-- get current winid to jump back to
winid = fn.win_getid()
-- s... |
--
--
--
module("luci.controller.myabbaapp", package.seeall) --notice that new_tab is the name of the file new_tab.lua
function index()
local uci = require("luci.model.uci").cursor()
local nxfs = require "nixio.fs" -- global definitions not available
local sys = require "luci.sys" -- in function index()
local ... |
local context = require "resty.nettle.types.yarrow"
local types = require "resty.nettle.types.common"
local random = require "resty.nettle.random"
local lib = require "resty.nettle.library"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local rawget = rawget
local getmetatable = getmetatab... |
fx_version 'adamant'
game 'gta5'
client_scripts {
'cl_notraffic.lua',
} |
local setup = {features = {}}
local path, file, s
local settings, hotkeys, modder_flags
local scripts
local mf
local g
local u = {}
local features = {
script = 0,
p = {},
t = {},
a = {}
}
local blacklist = {
user = {},
active = {},
admins = {
{"applecloning", 115643538, "Game bug testing"},
{"BeoMonstarh", 1... |
object_tangible_component_weapon_new_weapon_comp_gas_cartridge_exceptional = object_tangible_component_weapon_shared_new_weapon_comp_gas_cartridge_exceptional:new {
}
ObjectTemplates:addTemplate(object_tangible_component_weapon_new_weapon_comp_gas_cartridge_exceptional, "object/tangible/component/weapon/new_weapon_co... |
---@class Emmy2
local e = { name = 'Emmy', age = 7, doit = function () end }
-- This should create a local variable
local f = {1, 2, 3, 4}
-- This should add sayHello() to the Emmy class
function e:sayHello()
print('hi')
end
-- Another local
local a = 3
-- Global func
function globalFunc() end
-- Global func
f... |
--!strict
local PractTest = require(game.ReplicatedStorage.TestPract)
local passed = PractTest.Test(
game.ReplicatedStorage.Pract,
PractTest.BuiltInTester,
nil
)
if not passed then
error('Tests have failed!', 0)
end |
local particleSystem = {displayGroup = nil}
local emmiter = {} -- single emmiter
local xPositions = {} -- 3 different positions as per gaussian distribution
local yPositions = {}
local colour = {} -- contains 3 different colours
local timer
local timeLimit
-- fwd reference
local updateParticle
local removeParticle
... |
local function parseArguments( args )
if #args > 1 and args[ 1 ]:sub( 1, 1 ) ~= '-' then
error( 'Invalid option ' .. args[ 1 ] .. ', options must start with a dash' )
end
local settings = {}
local i = 1
while i <= #args do
local option = args[ i ]
--[[if option == '-t' then
... |
RaceCheckpoints = {}
local isActive = false
local checkpointsList = {}
local currentCheckpoint = 1
local currentMarker
local nextMarker
local hitMarker
local currentBlip
local nextBlip
local currentLap = 1
local defaultSettings = {
checkpointsVisible = true,
lapsCount = 1
}
local settings = {}
local function de... |
Sounds = Core.class(EventDispatcher)
function Sounds:init()
self.isOn = false
self.sounds = {}
self.eventOn = Event.new("soundsOn")
self.eventOff = Event.new("soundsOff")
end
--turn sounds on
function Sounds:on()
if not self.isOn then
self.isOn = true
self:dispatchEvent(self.eve... |
-- This file is part of the LrMediaWiki project and distributed under the terms
-- of the MIT license (see LICENSE.txt file in the project root directory or
-- [0]). See [1] for more information about LrMediaWiki.
--
-- Copyright (C) 2015 by the LrMediaWiki team (see CREDITS.txt file in the
-- project root directory o... |
CUDA_VISIBLE_DEVICES=0 th main_test.lua -test_model '/home/chenzhij/project/yindaz_3dSN/surface_normal/model/sync_physic_nyufinetune.t7' -batch_size 1 -result_path './result/test' |
return {
["drop-all-ipv6-iface-bytes"] = 6410,
["drop-all-ipv6-iface-packets"] = 5,
["drop-no-source-softwire-ipv6-bytes"] = 6410,
["drop-no-source-softwire-ipv6-packets"] = 5,
["drop-out-by-policy-icmpv6-packets"] = 5,
["in-ipv6-bytes"] = 6410,
["in-ipv6-frag-needs-reassembly"] = 15,
["in-ipv6-... |
local defines = {
entity_status = {
working = 0,
low_power = 1,
}
}
return defines |
local function getProcDir()
local i = 0
while arg[i] ~= nil do
i = i - 1
end
return arg[i + 1]:match("(.+)[/\\][%w_.-]+$")
end
__Target__ = getProcDir()
__EXT__ = package.cpath:match '[/\\]%?%.([a-z]+)'
package.path = './test/?.lua'
package.cpath = ('%s/?.%s'):format(__Target__, __EXT__)
local ... |
--[[
Copyright (c) 2013 David Young dayoung@goliathdesigns.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pu... |
../pubnub.lua |
--[[
Expects 3D or 4D input. Does a max over the feature channels.
--]]
-- It is quite special.
-- In this script, we don't calculate kbar, just use k_ind is enough.
-- It is because that the model is to large, so do not transfer such
-- big data in the model. Yet, when calculate the answers we
-- have to squeeze k_... |
local PlayerInputSystem = class("PlayerInputSystem", System)
function PlayerInputSystem:update(dt)
for i, entity in pairs(self.targets) do
-- if curGameState == "ingame" then
self:movement(entity)
self:fire(entity, dt)
self:melee(entity, dt)
self:testTrack() --remove after track test
-- end
... |
--[[
© 2020 TERRANOVA do not share, re-distribute or modify
without permission of its author.
--]]
ITEM.name = "Biotic-Grade Sustenance Unit"
ITEM.model = Model("models/weapons/w_packatb.mdl")
ITEM.width = 1
ITEM.height = 2
ITEM.description = "A vacuum-sealed plastic compartment filled with nutritious necessities for... |
local component = require("component")
local internet = require("internet")
local filesystem = require("filesystem")
local shell = require("shell")
local urlAccount = "http://myaenetwork.ovh/accountCreation"
local webIdPath = "/home/myaenetwork/webIdentification.txt"
local workDirectory = "/home/myaenetwork/"
local ne... |
-- I am a module script. |
#!/usr/bin/lua
io.write("Setup DHCP client? [y/N]: ")
io.flush()
local dhcpClient = io.read()
if dhcpClient == "y" then
local file = assert(io.open("/etc/network/interfaces", "a"))
file:write("\n")
file:write("auto eth0\n")
file:write("iface eth0 inet dhcp\n")
assert(file:close())
os.execute(... |
request_metadata_parameters_plugins = require "registered_plugins"
for i = 1, #request_metadata_parameters_plugins do
_plugin = require (request_metadata_parameters_plugins[i])
_plugin:init()
end
local utils = require "utils"
utils:loadSystemConfig()
|
local initFlag = true
local count = 0
local delay = 1
local maxCount = delay * 6
local gTimerId = 98572
local stickerEntity = "entityname0955CBC8BAE74016BCE6BE07DBE63608"
local stickerClip = "clipname1"
local width = 8.0
local faceWidthMin = 50
local faceWidthMax = 550
local zoom = 0.6
local zoomMin = 0.4
local zoomMax... |
local shell = require("shell")
local tty = require("tty")
local text = require("text")
local sh = require("sh")
local args = shell.parse(...)
shell.prime()
if #args == 0 then
local has_profile
local input_handler = {hint = sh.hintHandler}
while true do
if io.stdin.tty and io.stdout.tty then
if not ha... |
local classic = require 'classic'
local definitions = {}
function definitions.withDefaultConstructor()
local A = classic.class("A")
function A:getValue()
return 1
end
return A
end
function definitions.basicClass()
local A = classic.class("A")
function A:_init(x)
self.x = assert(x)
end
function... |
----------------------------------------------------------
-- Load RayUI Environment
----------------------------------------------------------
RayUI:LoadEnv("Skins")
local S = _Skins
local function LoadSkin()
local r, g, b = _r, _g, _b
S:SetBD(GuildFrame)
S:CreateBD(GuildMemberDetailFrame)
S:CreateB... |
-- Makes it so that the world will always have certain artifacts in certain sites when world loads.
--@ module = true
--Author Putnam
local usage = [===[
modtools/custom-artifact
=====================
This tool, when run, checks if the specific item has an artifact record somewhere in the world
and places the artifac... |
namespace('Test')
local g_Map = {}
local g_FailCount = 0
local g_ExecutedCount = 0
local g_Player
local g_OutputStyle = {'#FFFFFF', '#FFFFFF'}
local g_ServerSide = (triggerClientEvent ~= nil)
local function print(msg)
if(getElementType(g_Player) == 'console') then
outputServerLog('TEST: '..msg)
elseif... |
local workshop_libs = {}
local required_interfaces = {
metatable = "table",
new = "function",
on_removed = "function",
update = "function"
}
local add_workshop_lib = function(entity_name, lib, parameters)
for name, value_type in pairs(required_interfaces) do
if not lib[name] or type(lib[name]) ~= value_... |
cc = cc or {}
---AsyncTaskPool object
---@class AsyncTaskPool
local AsyncTaskPool = {}
cc.AsyncTaskPool = AsyncTaskPool
--------------------------------
---@overload fun(int, function):AsyncTaskPool
---@overload fun(int, function, void, function):AsyncTaskPool
---@param type int
---@param callback function
---@param c... |
return {
IGNORED = nil
, EPSILON = nil
, EOF = nil
, BOF = nil
, NUMBER = nil
, ID = nil
, STRING = nil
, Name = nil
-- CHUNKS
, [1] = nil
, CHUNK = nil
, Chunk = nil
, Block = nil
-- STATEMENTS
, Stat = nil
, Assign = nil
, Do = nil
, While = nil
, Repeat = nil
, If = nil
, NumericFor = nil
, G... |
include('shared.lua')
language.Add("ent_mad_flash", "Flash Grenade")
local FLASHTIMER = 5 // time in seconds, for the grenade to transition from full white to clear
local EFFECT_DELAY = 2 // time, in seconds when the effects still are going on, even when the whiteness of the flash is gone (set to -1 for no effects at... |
-- Using the flex output of osm2pgsql to create a custom table
-- https://osm2pgsql.org/doc/manual.html#the-flex-output
-- Set of all the tags we care about
included_way_tags = {
'highway',
'bicycle',
'foot',
'path',
}
-- Filter these out. Takes precedence over included_way_tags
excluded_way_tags = {
h... |
local R = require "rigel"
local G = require "generators.core"
local SOC = require "generators.soc"
local harness = require "generators.harnessSOC"
local T = require "types"
require "types".export()
local SDF = require "sdf"
local RM = require "generators.modules"
local Zynq = require "generators.zynq"
local C = require... |
-- Copyright (c) 2017 Dan Wilcox <danomatika@gmail.com> MIT License.
-- For information on usage and redistribution, and for a DISCLAIMER OF ALL
-- WARRANTIES, see the file, "LICENSE.txt," in this distribution.
local View = class()
-- View: manages the content for a rectangular area on the screen
function View:... |
--
-- dhcp_counter.lua skeleton
--
-- TYPE: FRONTEND SCRIPT
-- PURPOSE: each BGP packet
-- DESCRIPTION: add each BGP packet to a PDURecord and print
--
--
--
--
local PDURec = require'pdurecord'
local BGPDissector=require 'bgp'
TrisulPlugin = {
-- the ID block, you can skip the fields marked 'optio... |
-- The BLINKY_PLANT
local toggle_timer = function (pos)
local timer = minetest.get_node_timer(pos)
if timer:is_started() then
timer:stop()
else
timer:start(mesecon.setting("blinky_plant_interval", 3))
end
end
local on_timer = function (pos)
-- DO NOT TOUCH OR.. THREATS! Thanks, MFF
local activate = false
f... |
local uv = require('luv')
local h = require('helpers')
local Log = require('log')
local Repl = {}
function Repl:show_virtual(text)
local duration = self._virtual
if not duration then return end
local line = h.first(vim.api.nvim_win_get_cursor(0)) - 1
local ns_id = vim.api.nvim_buf_set_virtual_text(0... |
local playerCurrentlyAnimated = false
local playerCurrentlyHasProp = false
local LastAD
local playerPropList = {}
Citizen.CreateThread( function()
while true do
Citizen.Wait(5)
if (IsControlJustPressed(0, Config.RadioKey)) then
local player = PlayerPedId()
if ( DoesEntityExist( player ) and not IsEntityDe... |
return {
Name = "Shadowharst",
Description = "No data can be found for this unit."
} |
-- plugins list
require('plugins')
require('impatient')
-- default settings
require('settings')
require('lsp')
require('mappings')
-- configs
require('plugins.notify')
require('plugins.nvimtree')
require('plugins.statusline')
require('plugins.treesitter')
require('plugins.telescope')
require('plugins.trouble')
requ... |
RDX = nil
Citizen.CreateThread(function()
while RDX == nil do
TriggerEvent('rdx:getSharedObject', function(obj) RDX = obj end)
Citizen.Wait(0)
end
end)
TriggerEvent('chat:addSuggestion', '/gunbelt.male', 'Change Gunbelt', {
{ name="Gunbelt", help="gunb... |
local SYMBOL_REGISTRY = setmetatable({}, {__mode = 'kv'})
local function register_symbol(sym)
assert(SYMBOL_REGISTRY[sym.key] == nil)
SYMBOL_REGISTRY[sym.key] = sym
return sym
end
local function symbol_mangle(self)
return self
:gsub('^and$', "_AND_")
:gsub('^or$', "_OR_")
:gsub('^xor$', "_XOR_")
... |
local t = LoadActor("ScreenSelectMusic overlay/default")
t[#t+1] = LoadActor("_userlist")
return t |
repeat x = x + 1; f(g()) until false |
local function main()
local w, h = term.getSize()
local lang = multishell.getLanguage()
local theme = multishell.loadTheme()
multishell.setTitle(multishell.getCurrent(), lang.notifications.name)
local function draw()
term.setBackgroundColor(theme.background)
term.clear()
end
... |
print("Core loaded (client realm)")
local calc_exp, calc_level = include("fn_core.lua")
local register_font = include("fn_font.lua")
--locals
local bubbles = {}
local current_level = 0
local exp = 0
local exp_passed = 0
local exp_required = 0
local local_player
local pi = math.pi
--additional math constants
local ha... |
local assets=
{
Asset("ANIM", "anim/cave_exit_lightsource.zip"),
}
local function OnEntityWake(inst)
inst.SoundEmitter:PlaySound("dontstarve/cave/forestAMB_spot", "loop")
end
local function OnEntitySleep(inst)
inst.SoundEmitter:KillSound("loop")
end
local function turnoff(inst, light)
if light then
... |
table.inspect = require("inspect") -- add table pretty printer that understands recursive tables
local getinfo = debug.getinfo
local max = math.max
local concat = table.concat
local function filtersource(src)
if not src then
return "[?]"
end
if src:sub(1, 1) == "@" then
src = src:sub(2)
... |
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description "RP module/framework"
dependency "vrp_mysql"
ui_page "gui/index.html"
-- server scripts
server_scripts{
"lib/utils.lua",
"queue.lua",
"base.lua",
"modules/gui.lua",
"modules/group.lua",
"modules/admin.lua",
"modules/survival... |
need_boolean(in_site({'config_mode', 'hostname', 'optional'}), false)
need_boolean(in_site({'config_mode', 'hostname', 'prefill'}), false)
|
local newObjectCaseNoticeShareResult=
{
name="newObjectCaseNoticeShareResult",type=0,typeName="View",time=0,x=0,y=0,width=1280,height=720,visible=1,nodeAlign=kAlignTopLeft,fillParentWidth=1,fillParentHeight=1,
{
name="Image_hallBack",type=0,typeName="Image",time=107706546,x=0,y=0,width=720,height=720,nodeAlign=kAli... |
-- Woods portion of Colored Wood mod by Vanessa Ezekowitz ~~ 2012-07-17
-- based on my unified dyes modding template.
--
-- License: WTFPL
coloredwood.enable_stairsplus = true
if minetest.setting_getbool("coloredwood_enable_stairsplus") == false or not minetest.get_modpath("moreblocks") then
coloredwood.enable_sta... |
return {
"icons/skill_kni1-1",
"icons/skill_kni1-2",
"icons/skill_kni10-1",
"icons/skill_kni12-1",
"icons/skill_kni12-2",
"icons/skill_kni12-3",
"icons/skill_kni15-1",
"icons/skill_kni15-2",
"icons/skill_kni16-1",
"icons/skill_kni18-1",
"icons/skill_kni18-2",
"icons/skill_kni20-1",
"icons/skill_kni21-2",
"icons/skill_k... |
data:extend({
{
type = "custom-input",
name = "infinizoom_increase_zoom",
key_sequence = "CONTROL + K",
},
{
type = "custom-input",
name = "infinizoom_decrease_zoom",
key_sequence = "CONTROL + L",
},
{
type = "custom-input",
name = "infinizoom_reset_zoom",
key_sequence = "C... |
--
-- Created by IntelliJ IDEA.
-- User: ouyanyu
-- Date: 2016-04-15
-- Time: 15:59
-- To change this template use File | Settings | File Templates.
--
local lor = require("lor.index")
local investor_model = require("app.model.investor")
local investor_router = lor:Router()
investor_router:get("/new", funct... |
-- Copyright 2004-present Facebook. All Rights Reserved.
-- Class for storing an array of vectors (d x n matrices) efficiently.
require('torch')
local thread_utils =
require('library.thread_utils')
local VectorArray = {}
VectorArray.__index = VectorArray
-- Create an array of vectors.
-- Arguments:
-- maxsz: max... |
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
--YTD MADE BY NOAH
|
function onCreate()
screenWidthV = getPropertyFromClass('FlxG', 'width')
makeLuaSprite('poop', 'poop', -1900, -900); -- the phase 2 bg
setLuaSpriteScrollFactor('poop', 0, 0);
scaleObject('poop', 2, 2)
makeLuaSprite('poop2', 'poop2', -1800, -900);
setLuaSpriteScrollFactor('poop2', 0, 0);
scaleObject('poo... |
local Document = require(script.Parent.Document)
local DocumentList = require(script.DocumentList)
--[=[
@class CollectionReference
Reference to a Firestore collection.
]=]
local Collection = {}
local COLLECTION_METATABLE = {}
COLLECTION_METATABLE.__index = COLLECTION_METATABLE
--[=[
@within CollectionRef... |
-- Graph by Neui
--[[
This lets you draw a graph based on history.
Arguments:
history_table - Array with all the data
max_value - The max value it can be; if a value is over it, then it will not draw it
width - Width of the visible graph
height - Height of the visible graph
f... |
require('../logic/sop');
require('../logic/factorization');
-- Kernel generation example
-- F = ace + bce + de + g
F = sop({
cubeFromStrings("1-1-1--"),
cubeFromStrings("-11-1--"),
cubeFromStrings("---11--"),
cubeFromStrings("------1"),
});
R = kernel(0, sopMakeCubeFree(F));
assert(R.n == 3);
vars = ... |
function setup(path)
Desktop={}
Desktop.App={}
Desktop.Path=path or ""
Desktop.Applications=fs.list("Apps/"..Desktop.Path)
for i=1,#Desktop.Applications do
if Desktop.Applications[i] == "icon" then table.remove(Desktop.Applications,i) end
if Desktop.Applications[i] == ".DS_Store" then table.remove(Desktop.Application... |
require("prototypes.sound")
require("prototypes.enemy")
require("prototypes.entity") -- TODO: refactor, fix, remake those consoles there
require("prototypes.item")
require("prototypes.tile")
require("prototypes.style")
-- TODO: change \/
for _, corpse in pairs(data.raw.corpse) do
corpse.time_before_removed = 60 * 30
... |
object_tangible_loot_mustafar_cube_loot_cube_loot_reb2 = object_tangible_loot_mustafar_cube_loot_shared_cube_loot_reb2:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_mustafar_cube_loot_cube_loot_reb2, "object/tangible/loot/mustafar/cube/loot/cube_loot_reb2.iff")
|
push = require 'push'
Class = require 'class'
require 'Paddle'
require 'Ball'
WINDOW_WIDTH = 1280
WINDOW_HEIGHT = 720
VIRTUAL_WIDTH = 432
VIRTUAL_HEIGHT = 243
PADDLE_SPEED = 200
-- Startup function
function love.load()
love.graphics.setDefaultFilter('nearest', 'nearest')
love.window.setTitle("Pong!... |
function onCreate()
makeLuaSprite('watah', 'watah', -500, -320)
addLuaSprite('watah', false)
scaleObject('watah', 1.5, 1.5);
makeLuaSprite('waw', 'waw', -500, -220)
addLuaSprite('waw', false)
scaleObject('waw', 1.5, 1.5);
makeLuaSprite('floor', 'floor', -650, -520)
addLuaSprite('floor', false)
s... |
---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies] <device identifier> section creation. Connection of the new device without SDL-enabled applications
--
-- Description:
-- New device is connected over WiFi WITHOUT SDL-enabled applications... |
local F, G, V = unpack(select(2, ...))
-- MODIFIED by gempir
--[[
oUF Element: .AuraBars
Options regarding visual layout:
- <element>.auraBarHeight
Sets the height of the statusbars and icons.
- <element>.auraBarWidth
Sets the width of the statusbars (excluding icon). Will use the
framewidth of <elem... |
-- awesome_mode: api-level=4:screen=on
-- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.... |
--Start of Global Scope---------------------------------------------------------
print('AppEngine Version: ' .. Engine.getVersion())
local DELAY = 2000 -- ms between visualization steps for demonstration purpose
-- Creating viewer
local viewer = View.create("viewer2D1")
-- Seting up graphical overlay attributes
l... |
--
-- Dataplane Automated Testing System
--
-- Copyright (c) 2015-2016, Intel Corporation.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
--
-- * Redistributions of source code must reta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.