Skip to content

Instantly share code, notes, and snippets.

Working from home

Nathan Hollis nh43de

Working from home
View GitHub Profile
nh43de / clean.bat
Created September 22, 2021 15:54
Clean all local temp files, including Visual Studio / JetBrains
View clean.bat
# cleans all temp files when Visual Studio / others starts swelling and going slow
rd /Q /S "%localappdata%\temp"
rd /Q /S "%localappdata%\JetBrainsCache"
nh43de / CloneAllRepos.ps1
Last active January 10, 2023 21:49
Clone all repos from Azure DevOps using Powershell
View CloneAllRepos.ps1
--credits to
Create a file called "CloneAllRepos.config" in the same directory with
nh43de / gitSync.ps1
Created March 5, 2020 15:42
Update all local git repos in a directory using Powershell
View gitSync.ps1
Get-ChildItem -Directory | ForEach-Object {
echo $
cd $_
git fetch --all
git pull
cd ../