Skip to content

Instantly share code, notes, and snippets.

@RalkeyOfficial
RalkeyOfficial / Microsoft.PowerShell_profile.ps1
Last active April 20, 2025 19:08
The Config i use for my terminal
# oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\tiwahu.omp.json | Invoke-Expression
Invoke-Expression (&starship init powershell)
# Import the Chocolatey Profile that contains the necessary code to enable
# tab-completions to function for `choco`.
# Be aware that if you are missing these lines from your profile, tab completion
# for `choco` will not function.
# See https://ch0.co/tab-completion for details.
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
@RalkeyOfficial
RalkeyOfficial / A1111-WSL-installation.md
Created July 5, 2025 12:41
Documented installation for 9070XT on WSL2 (Win10, Ubuntu-22.04)

This comes with the assumption that you already know how to setup WSL2.

Support for VPN (Necessary if you use a VPN)

sudo rm /etc/resolv.conf
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
sudo bash -c 'echo "[network]" > /etc/wsl.conf'
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
sudo chattr +i /etc/resolv.conf