Author Archives: j5423

YAML Syntax

I’ll use this post to summarize some YAML syntax: 1. The dash in a sequence counts as indentation, so you can add a sequence inside of a mapping without needing spaces as indentation. Basically, dashes delimit objects, and indentation denotes … Continue reading

Posted in Uncategorized | Leave a comment

Remote desktop toolbar hidden

It is because the MustBeSeen flag is turn on for some app and you need to follow the instructions below: As a best practice suggestion, hit Ctrl+Shift+Escape and disable anything on the Startup tab you don’t need autorunning. That limits how … Continue reading

Posted in Uncategorized | 1 Comment

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

Angular Issue – error TS2591: Cannot find name ‘module’.

It takes me a lot of time to fix it. Thanks to https://fireflysemantics.medium.com/adding-types-node-to-angular-84a629976c86 for the solution below: Approach npm i -S @types/node Then in tsconfig.json “angularCompilerOptions”: { “types” : [“node”] ….}

Posted in Uncategorized | Leave a comment

Car camera I bought in Feb. 2020

VIOFO A119 V3 2560 x 1600P Quad HD+ Dash Camera with GPS Logger 2020 EditionVIOFO

Posted in Uncategorized | Leave a comment

Sharepoint Powershell Permission issue

Posted in Uncategorized | Leave a comment