Skip to content

Instantly share code, notes, and snippets.

@dhmjhu
dhmjhu / win-dev-telemetry.md
Last active October 2, 2025 17:59
Telemetry settings for miscellaneous Windows development tools
@dhmjhu
dhmjhu / qt5-build-c++2b-msvc2022.md
Created August 6, 2025 18:25
Fixes for building Qt 5.15 with C++23 using MSVC

How to fix Qt 5.15 build failures with modern C++ on MSVC

Here are a few small modifications I needed to make to get Qt 5.15.17 to build with MSVC when configured to use C++23 (i.e., configure.bat -c++std c++2b/cl.exe /std:c++latest).

Qt 5 refers to C++20 as c++2a and C++23 as c++2b (holdovers from before they were published).

Quick fix

If you don't care about the details, you can just apply the attached patches. Note that there may be other issues I haven't encountered, since I try to disable all Qt functionality I'm not actively using.

@dhmjhu
dhmjhu / ublock-ms-attack-domains.txt
Last active November 18, 2024 18:01 — forked from bierbo/ublock-ms-attack-domains.txt
Microsoft attack simulation domains
[uBlock Origin]
! Title: Microsoft Attack simulation domains
! Last modified: Tue, 18 Nov 2024 12:55:00 -5000
! Expires: 180 days
! Description: Block domains used in Microsoft's Attack simulation training
! Source: https://learn.microsoft.com/en-us/defender-office-365/attack-simulation-training-get-started#simulations
! Homepage: https://gist.github.com/dhmjhu/8b8077a528e588d835d16d6353e83413
attemplate.com
bankmenia.com