Skip to content

Instantly share code, notes, and snippets.

@w00tzenheimer
w00tzenheimer / cstring.hpp
Created October 21, 2026 16:29
Really lightweight implementation of std::string in plain WinAPI
/**
* all credits go to original author seiftnesse (https://github.com/seiftnesse/CString)
*/
#ifndef CSTRING_HPP_GUARD
#define CSTRING_HPP_GUARD
#pragma once
#include <Windows.h>
#include <Shlwapi.h>
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 2 in line 8.
SHA256,Name,Signer,Description
04A85E359525D662338CAE86C1E59B1D7AA9BD12B920E8067503723DC1E03162,ADV64DRV.sys,"""FUJITSU LIMITED """,
05F052C64D192CF69A462A5EC16DDA0D43CA5D0245900C9FCB9201685A2E7748,Agent64.sys,"""eSupport.com, Inc.""",DriverAgent Direct I/O for 64-bit Windows
4045AE77859B1DBF13972451972EAAF6F3C97BEA423E9E78F1C2F14330CD47CA,Agent64.sys,Phoenix Technologies Ltd,DriverAgent Direct I/O for 64-bit Windows
6948480954137987A0BE626C24CF594390960242CD75F094CD6AAA5C2E7A54FA,Agent64.sys,Phoenix Technologies Ltd,DriverAgent Direct I/O for 64-bit Windows
8CB62C5D41148DE416014F80BD1FD033FD4D2BD504CB05B90EEB6992A382D58F,Agent64.sys,"""eSupport.com, Inc""",DriverAgent Direct I/O for 64-bit Windows
B1D96233235A62DBB21B8DBE2D1AE333199669F67664B107BFF1AD49B41D9414,Agent64.sys,"""eSupport.com, Inc.""",DriverAgent Direct I/O for 64-bit Windows
7196187FB1EF8D108B380D37B2AF8EFDEB3CA1F6EEFD37B5DC114C609147216D,ALSysIO64.sys,Artur Liberman,ALSysIO
7F375639A0DF7FE51E5518CF87C3F513C55BC117DB47D28DA8C615642EB18BFA,ALSys
@w00tzenheimer
w00tzenheimer / TritonBuild.ps1
Last active August 2, 2026 00:22
Builds Triton Symbolic Executor from upstream with Python bindings
#Requires -Version 5.1
<#
.SYNOPSIS
Build JonathanSalwan/Triton for Windows: static lib (e.g. IDA plugins) + shared Python module.
.DESCRIPTION
Drop this script into a Triton source checkout (or pass -RepoRoot) and run it.
It configures/builds/installs:
- static -> <InstallRoot>/triton-static (triton.lib for C++ consumers like Ponce)
- shared -> <InstallRoot>/triton (DLL) + copies triton.pyd into Python site-packages
@w00tzenheimer
w00tzenheimer / guide.md
Created January 27, 2026 19:19 — forked from othyn/guide.md
Fix horrendously bad macOS (12.3.1 tested) SMB (Samba) performance on Unraid

Intro

Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.

Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!

May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.

Sources

@w00tzenheimer
w00tzenheimer / readme.md
Created January 8, 2026 18:19 — forked from banteg/readme.md
uninstall beads

Beads Uninstall Script

A comprehensive uninstall/cleanup script for Beads (bd) that removes all traces of the tool from a system.

Usage

./scripts/uninstall.sh            # dry-run (scan $HOME)
./scripts/uninstall.sh --apply    # perform cleanup
./scripts/uninstall.sh --root DIR --apply
@w00tzenheimer
w00tzenheimer / Hyper-V in Windows 10 and Windows 11 Home Edition.md
Created October 27, 2025 22:56 — forked from HimDek/Hyper-V in Windows 10 and Windows 11 Home Edition.md
Hyper-V is supported in Pro, Enterprise and Education Edition of Windows 10 and Windows 11. This guide will show you how to enable Hyper-V in Home Editions of Windows 10 and Windows 11.

Hyper-V in Windows 10 and Windows 11 Home Edition

Hyper-V in Windows 10 and Windows 11 allows running Virtual Machine. It is supported only in Pro, Enterprise and Education Edition of Windows 10 and Windows 11 by default. But this guide will show you how to enable it in Home Editions of Windows 10 and Windows 11.

Check if virtualization is enabled:

  • Search for Command Prompt in Windows Start Menu and open it.
  • Type systeminfo and press Enter. Wait for the process to finish
  • Once the results appear, search for the Hyper-V Requirements section which is usually the last one. 11
    • If it says A hypervisor has been detected. Features required for Hyper-V will not be displayed. that means Hyper-V is already enabled and there is no reason following this guide anymore.
  • Otherwise, check for Virtualization Enabled in Firmware:.
@w00tzenheimer
w00tzenheimer / convert.sh
Created October 23, 2025 15:39 — forked from FranciscoG/convert.sh
Convert Video to Image sequence using ffmpeg
ffmpeg -i input.mov -r 0.25 output_%04d.png
# -i followed by video file sets input stream
# -r set framerat. 1 = 1 frame per second.
# and then set the output file with the number replacement
# more info: https://ffmpeg.org/ffmpeg.html#Main-options
# https://superuser.com/questions/135117/how-to-convert-video-to-images
@w00tzenheimer
w00tzenheimer / CombineTextFiles.ps1
Created September 11, 2024 22:49 — forked from ThioJoe/CombineTextFiles.ps1
PowerShell Script to combine files in a directory into a single text file
param(
[string]$FolderPath,
[string]$Extension = "txt",
[ValidateSet("name", "date", "name-reverse", "date-reverse")]
[string]$Sort = "name",
[switch]$Recursive
)
Write-Host "------------------------------------------------------------------------------------------------"
Write-Host ""
@w00tzenheimer
w00tzenheimer / register_baidu.md
Created December 12, 2022 03:40 — forked from dreamer2908/register_baidu.md
Register a Baidu account to download stuff???

Idea from ShinyMarusu @ Reddit:

  • https://www.reddit.com/r/Piracy/comments/auhyxk/how_do_i_download_from_panbaidu/eovyg8g/
  • I just unintentionally discovered how to do it after searching how to create an account for day and a half. LOL hope it works for you too.
  • First go to this link (baidu cloud app) to register. Use your phone number to get the verification code and enter. For the rest, use google to translate the page and put your email adress, name, etc. and you're good to go. This method logs you to the cloud directly so you just step over the problematic pan,baidu registration which rejects non-chinese phone numbers for some reason. After registering I refreshed the page of the file I was trying to download and it showed me as already logged in, then I FINALLY could download the mod. It's sad this method isn't listed anywhere, I really searched a lot... Anyways, good luck!

More notes:

  • It's a pain in the rear. It took me an hour, but at least it worked.
  • Get an Chinese email. You will use it as yo
@w00tzenheimer
w00tzenheimer / cc-python.md
Created April 1, 2022 18:50
Cookiecutter Python or Cruft

cc-python CI Workflow Version

This repository contains the cookiecutter that I use for all of my Python projects. Refer to [this link][8] for a list of all projects that were generated using this cookiecutter.

Initializing a New Project using this cookiecutter