Skip to content

Instantly share code, notes, and snippets.

View Roger-WIN's full-sized avatar

Roger Kung .WIN Roger-WIN

View GitHub Profile
@Roger-WIN
Roger-WIN / IntegratedServicesRegionPolicySet.json
Created March 20, 2026 11:39
Windows 11 Version 26H1, C:\Windows\System32\IntegratedServicesRegionPolicySet.json
{
"$schema": "schemas/IntegratedServicesRegionPolicySet.Schema.1.1.0.json",
"version": "1.0",
"policies": [
{
"$comment": "Edge is uninstallable.",
"guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
"defaultState": "disabled",
"conditions": {
"region": {
@Roger-WIN
Roger-WIN / ProvisionedAppxPackages.txt
Created March 20, 2026 11:32
Preinstalled apps of Windows 11 Version 26H1
Clipchamp.Clipchamp_4.3.10120.0_neutral_~_yxz26nhyzhsrt
Microsoft.ApplicationCompatibilityEnhancements_1.2511.9.0_neutral_~_8wekyb3d8bbwe
Microsoft.AV1VideoExtension_2.0.6.0_neutral_~_8wekyb3d8bbwe
Microsoft.AVCEncoderVideoExtension_1.1.21.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingNews_4.1.24002.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingSearch_2022.1.43.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingWeather_4.54.63017.0_neutral_~_8wekyb3d8bbwe
Microsoft.Copilot_0.25061.2.0_neutral_~_8wekyb3d8bbwe
Microsoft.DesktopAppInstaller_2025.926.104.0_neutral_~_8wekyb3d8bbwe
Microsoft.GamingApp_2025.523.601.0_neutral_~_8wekyb3d8bbwe
@Roger-WIN
Roger-WIN / IntegratedServicesRegionPolicySet.json
Last active April 22, 2026 11:48
Windows 11 Version 25H2, C:\Windows\System32\IntegratedServicesRegionPolicySet.json
{
"$schema": "schemas/IntegratedServicesRegionPolicySet.Schema.1.1.0.json",
"version": "1.0",
"policies": [
{
"$comment": "Edge is uninstallable.",
"guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
"defaultState": "disabled",
"conditions": {
"region": {
@Roger-WIN
Roger-WIN / IntegratedServicesRegionPolicySet.json
Last active August 26, 2025 14:40
Windows 10 Version 22H2, C:\Windows\System32\IntegratedServicesRegionPolicySet.json
{
"$schema": "schemas/IntegratedServicesRegionPolicySet.Schema.1.0.0.json",
"version": "1.0",
"policies": [
{
"$comment": "Edge is uninstallable.",
"guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
"defaultState": "disabled",
"conditions": {
"region": {
@Roger-WIN
Roger-WIN / ProvisionedAppxPackages.txt
Last active April 22, 2026 11:45
Preinstalled apps of Windows 11 Version 25H2
Clipchamp.Clipchamp_4.4.10720.0_neutral_~_yxz26nhyzhsrt
Microsoft.ApplicationCompatibilityEnhancements_1.2511.9.0_neutral_~_8wekyb3d8bbwe
Microsoft.AV1VideoExtension_2.0.6.0_neutral_~_8wekyb3d8bbwe
Microsoft.AVCEncoderVideoExtension_1.1.23.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingNews_4.11.6001.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingSearch_2022.1.43.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingWeather_4.54.63017.0_neutral_~_8wekyb3d8bbwe
Microsoft.Copilot_0.25061.2.0_neutral_~_8wekyb3d8bbwe
Microsoft.DesktopAppInstaller_2025.926.104.0_neutral_~_8wekyb3d8bbwe
Microsoft.GamingApp_2026.128.346.0_neutral_~_8wekyb3d8bbwe
@Roger-WIN
Roger-WIN / ProvisionedAppxPackages.txt
Last active March 20, 2026 11:18
Preinstalled apps of Windows 10 Version 22H2
Microsoft.549981C3F5F10_2.2006.15930.0_neutral_~_8wekyb3d8bbwe
Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
Microsoft.Getstarted_9.8.31681.0_neutral_~_8wekyb3d8bbwe
Microsoft.HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
Microsoft.Microsoft3DViewer_7.2006.12082.0_neutral_~_8wekyb3d8bbwe
Microsoft.MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
Microsoft.MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
Microsoft.MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
@Roger-WIN
Roger-WIN / Microsoft.PowerShell_profile.ps1
Last active January 27, 2024 03:56
PowerShell Profile
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($Host.Name -eq 'ConsoleHost') {
Import-Module PSReadLine
}
Import-Module Terminal-Icons -ErrorAction SilentlyContinue
if (Get-Command oh-my-posh -ErrorAction SilentlyContinue) {
@Roger-WIN
Roger-WIN / task.json
Last active July 9, 2022 15:47
Build C++ in VS Code using Clang from MSYS2
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang++.exe build active file",
"command": "C:/Program Files/MSYS2/mingw64/bin/clang++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${workspaceFolder}/*.cpp",
@Roger-WIN
Roger-WIN / compile_flags.txt
Last active June 20, 2021 01:21
clangd config file for simple C++ project using Clang from MYSY2. Placed in source root.
-Wall
-std=c++17
@Roger-WIN
Roger-WIN / cls
Last active April 23, 2020 02:34
Clear-screen shortcut command for Bash. Path of this file is "/usr/bin/cls".
#!/bin/bash
#
printf "\033c"