Monthly Archives: January 2021

Angular server cannot start

If you get “ng.ps1 cannot be loaded because running scripts is disabled on this system”, you execute the following command: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted Now you can run “ng serve -o”.

Posted in Uncategorized | Leave a comment

pgAdmin 4 loading forever

Open the Registry Editor (Run -> regedit) Find HKEY_CLASSES_ROOT.js and change the ContentType value as text/javascript Restart the pgAdmin server

Posted in Uncategorized | Leave a comment

Powershell script didn’t run

Normally, I can run it by either right-click it and choose “run with powershell” or in the Powershell window, run “.\myscript.ps1”. My only choice now is in the powershell window and run “Powershell.exe -File .\myscript.ps1”. I’m using powershell 5.1. Any … Continue reading

Posted in Uncategorized | Leave a comment

Useful Git commands

Posted in Uncategorized | Leave a comment

Gitlab – how to bring a local folder to remote repository

Posted in Uncategorized | Leave a comment