Skip to content

Instantly share code, notes, and snippets.

View UAVXP's full-sized avatar

VXP UAVXP

View GitHub Profile
@UAVXP
UAVXP / fetch_vcdist.py
Created March 3, 2023 14:04 — forked from donno/fetch_vcdist.py
Downloads and extract the Visual C++ Redistributables.
"""Downloads and extract the Visual C++ Redistributables.
This is useful when working with minidump files as the user may be running
with a new different version of the runtime. This script aims to maintain
a copy of the various versions.
Versions are normally added once I encounter them, in November 2022, I added
a rather large back catalogue of versions.
This requires dark.exe from Wix (http://wixtoolset.org/releases/) and
@UAVXP
UAVXP / ez_data.lua
Created December 14, 2018 09:14 — forked from xbeastguyx/ez_data.lua
EZData - The PData Replacement
--[[
EZData - The PData Replacement
By Beast (STEAM_0:0:2316327)
This addon may be used as long as this notice isn't removed. Feel free to let me know what you use it in!
Copyright (C) 2017 Beast
]]
-- Optimizations for functions
local sql_Query = sql.Query
@UAVXP
UAVXP / glua86.lua
Created October 29, 2018 10:37 — forked from MDFL64/glua86.lua
-- based on https://github.com/nanochess/fbird
return function(cpu)
local call=cpu.call
local int=cpu.int
local status=cpu.status
local r8=cpu.r8
local r16=cpu.r16
local data8=cpu.data8
local data16=cpu.data16
local stack8=cpu.stack8
// ==UserScript==
// @name Pixel Bot
// @namespace https://tampermonkey.net/
// @version 3.0
// @description try to take over the world!
// @author Flyink13, igoose
// @match https://pixel.vkforms.ru/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Pixel Bot
// @namespace https://tampermonkey.net/
// @version 3.0
// @description try to take over the world!
// @author Flyink13, igoose
// @match https://pixel.vkforms.ru/*
// @grant none
// ==/UserScript==
@UAVXP
UAVXP / non-powerof2-png-gmod.lua
Created June 24, 2017 22:02 — forked from meepen/non-powerof2-png-gmod.lua
Loads non power of 2 PNG into a Garry's Mod texture without fucking over scaling.
local function wait_png(matstr)
local html = vgui.Create("DHTML")
html:AddFunction("console", "memeify", function()
html.done = true
end)
local mat = Material(matstr)
local rw, rh = mat:GetInt "$realwidth", mat:GetInt "$realheight"
local f = file.Open("materials/"..matstr, "rb", "GAME")
local cont = f:Read(f:Size())
@UAVXP
UAVXP / Mdmp.lua
Created June 6, 2016 19:15 — forked from Velkon/Mdmp.lua
local red = Color(255,0,0)
local green = Color(0,255,0)
local function log(color,s)
MsgC(color,s .. "\n")
end
function mdmp(out)
local files,_ = file.Find("*.mdmp","BASE_PATH")
if out then log(red,"Found " .. #files .. " files!") end