This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wsl --shutdown | |
wsl.exe --list --verbose | |
Optimize-VHD -Path .\ext4.vhdx -Mode full |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Try the following command sequence: | |
git lfs uninstall | |
git reset --hard | |
git lfs install | |
git lfs pull | |
# In case if this is not working (because this was not working for me), the following hack may work: | |
git rm --cached -r . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm --cached -r . | |
git reset --hard | |
git rm .gitattributes | |
git reset . | |
git checkout . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set the nickname in the *.isolation.ini files in %ProgramFiles(x86)%\Microsoft Visual Studio\2017\[Version]\Common7\IDE. | |
Set the nickname in the state.json file in %ProgramData%\Microsoft\VisualStudio\Packages\_Instances\[InstanceId]\state.json | |
src: https://stackoverflow.com/questions/52386998/how-to-rename-visual-studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NT SERVICE\MSSQLSERVER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
regedit | |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace | |
delete: {0DB7E03F-FC29-4DC6-9020-FF41B59E513A} | |
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code-insiders "C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\ssms.pkgundef" | |
// comment this line: | |
// Remove Dark theme | |
//[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace Core.Helpers | |
{ | |
public static class PerformanceHelper | |
{ | |
public static TimeSpan MeasureExecution(Action action) | |
{ | |
var stopwatch = new Stopwatch(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Environment]::SetEnvironmentVariable("NODE_OPTIONS", "--max-old-space-size=8192", "User") |
NewerOlder