Archive

Useful Windows programs

– dupeGuru
– FolderSize
– handbrake
– Rambox
– heidiSQL
– 7-Zip
– genymotion

Delete recursive folders windows terminal

RMDIR /Q/S foldername

React: CRA with TypeScript enable HOT

Add these lines of code to enable it in index.tsx

if((module as any).hot && process.env.NODE_ENV !== 'production'){
(module as any).hot.accept()
}

Git pull submodule

Git Pull with Submodule

For a repo with submodules, we can pull all submodules using

git submodule update --init --recursive

for the first time. All submodules will be pulled down locally.

To update submodules, we can use

git submodule update --recursive --remote

or simply

git pull --recurse-submodules

Backtick Windows

ALT+0126 = ~

ALT+0096 = `