misc scripts and tools Setting up java: Go here https://github.com/stiasta/misc/blob/master/java_setup.md
To find which files have been changed the most in a git repo the command under can be used:
On windows:
git log --pretty=format: --name-only | sort | uniq -c | sort /R | head -100
On unix based:
git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10
The files that have been changed the most can give an indication that something is wierd with those files.
This powershell command will output the certificate that can cause the local certificate store to be invalidated.
A text file will be created called c:\computer_filtered
. If this file is empty everything should be ok.
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"
To run this powershell command you have to open Package Manager Console from visual studio and run this command:
(PackageName1, PackageName2, PackageName3) | ForEach-Object { Get-Package $_ } | ForEach-Object { Update-Package -id $_.id -ProjectName $_.projectname }