Skip to content

Instantly share code, notes, and snippets.

View vhanla's full-sized avatar
🖥️
Programming 4 fun 🐱‍💻

vhanla

🖥️
Programming 4 fun 🐱‍💻
View GitHub Profile
@vhanla
vhanla / wsaclientdetails.md
Last active January 29, 2026 02:16
Windows Subsystem for Android - WSA Client interesting params and stuff

WSA Client (wsaclient.exe) is the manager UI application for Windows 11's Windows Subsystem for Android platform and here I collect interesting stuff that I found in wsaclient.exe

  1. One instance application.

wsaclient.exe is the only application that runs, and handles params for different actions, like uninstall, launch APKs, restart, etc.

To check and block other instances, it uses MUTEX strings and it is this one (it might change in future versions)

Mutex = CreateMutexExW(0, L"{42CEB0DF-325A-4FBE-BBB6-C259A6C3F0BB}", 0, 0x1F0001u);

@vhanla
vhanla / pipclean.bat
Created December 27, 2024 03:13
A .bat to uninstall all pip freeze packages showing a progress
@echo off
setlocal enabledelayedexpansion
:: Check Python and pip
echo Checking if Python and pip are installed...
python --version >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
echo ERROR: Python is not installed or not added to the PATH.
exit /b 1
)