Skip to content

Instantly share code, notes, and snippets.

View Keimeno's full-sized avatar
Working...

Constantin Metz Keimeno

Working...
View GitHub Profile
@Keimeno
Keimeno / Microsoft.PowerShell_profile.ps1
Created August 8, 2021 11:21
My Powershell Profile
$path = Get-Location
if ($path -Match 'C:\\WINDOWS\\system32') {
Set-Location $ENV:UserProfile
}
Clear-Host
Write-Host 'Powershell' $PsVersionTable.PSVersion
Write-Host "Don't forget to git commit & git push before leaving a burning building."
@sabarasaba
sabarasaba / gist:3080590
Created July 10, 2012 02:19
Remove directory from remote repository after adding them to .gitignore
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master