A collection of snippets that I find useful and wanted to document somewhere so I don't forget them (and not have them astray all over my file system somewhere so I forget I have them).
setTimeout(() => {
debugger;
}, 3000);
GitLab to GitHub, for example.
git remotes remove origin
git remotes add origin [url-to-repo].git
npm pack && tar -xvzf *.tgz && rm -rf package *.tgz
npm i username/repo#branchName --save-dev