Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
0xdevalias / beeper-custom-theme-styles.md
Last active July 24, 2024 13:24
Custom themes/CSS styling hacks/overrides for Beeper (universal chat app aggregator, built on top of matrix)
@itoleck
itoleck / Install WinGet Software
Last active June 26, 2024 20:27
WinGetInstalls
Start /WAIT /B Winget install "Microsoft.PowerShell.Preview" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft.WindowsTerminal" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft XNA Framework Redistributable Refresh" --force --accept-package-agreements --accept-source-agreements &REM *Needs alone time, no other install*
Start /WAIT /B Winget install "Microsoft.VisualStudio.2022.Community" --force --accept-package-agreements --accept-source-agreements
REM Install all of the VC++ Redistributables
Start /WAIT /B Winget install "Microsoft Visual C++ 2005 Redistributable" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft Visual C++ 2005 Redistributable (x64)" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft Visual C++ 2008 Redistributable - x64" --force --accept-package-agreements --accept-source-ag

WSL 2 Cisco AnyConnect Networking Workaround

Overview

WSL 2 uses a Hyper-V Virtual Network adapter. Network connectivity works without any issue when a VPN is not in use. However when a Cisco AnyConnect VPN session is established Firewall Rules and Routes are added which breaks connectivity within the WSL 2 VM. This issue is tracked WSL/issues/4277

Below outline steps to automatically configure the Interface metric on VPN connect and update DNS settings (/etc/resolv.conf) on connect/disconnect.

Manual Configuration

Set Interface Metrics