Skip to content

Instantly share code, notes, and snippets.

View darkmclo's full-sized avatar
💭
idle

darkmclo

💭
idle
View GitHub Profile
@darkmclo
darkmclo / Windows Defender Exclusions VS 2022.ps1
Created April 20, 2026 16: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 + '\Downloads\HeidiSQL_11.3_64_Portable') > $null
$pathExclusions.Add($userPath + '\.dotnet') > $null
@darkmclo
darkmclo / update_debian_packages.sh
Created March 3, 2024 18:37
Update and upgrade Debian packages with bash script
#!/bin/bash
# Also works in Debian-based distros such as Ubuntu and Linux Mint.
# Do NOT forget to set the script file with execution permissions:
# chmod -X update_debian_packages.sh
# Variables
## Path where the log file will be located
LOG_FILE_PATH="/var/tmp/update_log.txt"