Skip to content

Instantly share code, notes, and snippets.

@pragmat1c
pragmat1c / Windows Defender Exclusions VS 2022.ps1
Last active December 12, 2025 18:49 — 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
@pragmat1c
pragmat1c / fullstory.d.ts
Last active August 24, 2022 17:36 — forked from ofer-papaya/fullstory.d.ts
Fullstory API typescript definitions
interface Fullstory {
identify(uid: string, userVars?: object): void;
setUserVars(userVars: object): void;
getCurrentSessionURL(now?: boolean): string;
log(msg: string): void;
log(level: string, msg: string): void;
shutdown(): void;
restart(): void;
consent(consent: boolean): void;
event(eventName: string, eventProperties: object): void;