Skip to content

Instantly share code, notes, and snippets.

View d-oit's full-sized avatar
💭
I may be slow to respond.

Dominik Oswald d-oit

💭
I may be slow to respond.
View GitHub Profile
@d-oit
d-oit / Windows Defender Exclusions VS 2022.ps1
Created April 20, 2024 18:07 — forked from Braytiner/Windows Defender Exclusions VS 2022.ps1
Adds Windows Defender exclusions for Visual Studio 2022
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\.dotnet') > $null
$pathExclusions.Add($userPath + '\.librarymanager') > $null
@d-oit
d-oit / gist:1cdf2a8e185207829f775cc3a425478e
Created December 3, 2020 10:28 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream