There are seemingly infinite possibilities when it comes to configuring WireGuard as a “VPN Server”. Specifically, allowing a remote peer to access the intranet on the “server” end can be accomplished in a variety of ways. In this discussion we’ll assume that the WireGuard Server is running on Ubuntu Server 22.04. Continue reading
WordPress Collapsible Code Blocks – Custom Implementation
This is a custom solution to easily add collapsible code blocks to WordPress posts. Tested with Classic Editor and Advanced Editor Tools plugins installed. Continue reading
Change Network Profile via Powershell
To easily change the security profile of a network connection, use Powershell:
# List network connections to find the Interface Alias Get-NetConnectionProfile # Set the profile to Private for a specific network (Other options are Public and Domain) Set-NetConnectionProfile -InterfaceAlias "Network_Alias" -NetworkCategory Private
ReVanced with microG GmsCore
To use microG with ReVanced-patched apps:
- Download and install the latest ReVanced Manager from here:
https://revanced.app/download - Download and install the latest ReVanced fork of GmsCore APK from here:
https://github.com/ReVanced/GmsCore/releases - Open MicroG Settings from the App Drawer:
- Disable “Google device registration” or “Authenticate with device registration”.
- In “Google Accounts”, enable “Allow apps to find accounts”
- Open ReVanced Manager:
- Select the recommended YouTube APK
(You may need to hunt for it online.) - Ensure the GmsCore Support patch is checked
- Run the patcher.
- Once complete, install the YouTube ReVanced APK.
- Select the recommended YouTube APK
- Open the newly installed YouTube Revanced app, tap the profile avatar and Sign in using your Google account through the microG prompt.
Reset Windows Password using Utilman.exe Trick
TL;DR
Run these commands from a command prompt in Windows Recovery, while in the system drive:
ren \Windows\System32\utilman.exe utilman.bak copy \Windows\System32\cmd.exe utilman.exe
Restart and click the Accessibility icon on the welcome screen. Then reset the password from the command prompt that opens:
net user Username NewPassword
Get Serial Numbers of Currently-Attached USB Flash Drives
TL;DR – Run the following PowerShell command:
Get-WmiObject Win32_USBControllerDevice | % { [wmi]$_.Dependent } | Where-Object DeviceID -like "*USBSTOR*" | ForEach-Object { [PSCustomObject]@{ "FriendlyName" = $_.Caption; "SerialNumber" = $_.DeviceID.Split('\')[-1] } }
Bypass the Microsoft Account requirement in Windows 11
Update 2025-10: MS is closing loopholes
The following method should* be bulletproof… Continue reading
Compress all Subfolders to Zip Files
Have you ever wanted to compress all the subfolders in a specific folder to individual Zip files? Continue reading
Export the list of files in a folder/directory to CSV
Here are a couple of methods to export the list of files in a directory into a CSV for analysis. Continue reading
How to Retrieve OneDrive File Metadata Using Browser DevTools
If you’ve ever needed to extract a list of files from a OneDrive or SharePoint folder — including file names and sizes — but found no export option, this guide is for you. With a bit of JavaScript and your browser’s Developer Tools, you can retrieve this metadata directly from the page. Continue reading