-
Notifications
You must be signed in to change notification settings - Fork 465
Developer References
Asad Sahi edited this page Nov 29, 2017
·
5 revisions
- Find .net process id to attach to debugger (in command line) e.g VS Code debug attach in launch.json file.
- wmic
- process where caption="dotnet.exe" get ProcessId
- Upgrade from tsd to typings
- npm uninstall tsd
- rm -rf typings
- npm install typings
- typings init --upgrade
- rm tsd.json
- typings install
- Add typings/main and typings/main.d.ts in tsconfig.json's exclude section to avoid duplicate identifiers during compilation
- Webpack stats analyser
- webpack --config config/webpack.config.js --profile --json > stats.json
- then feed stats.json file into "https://webpack.github.io/analyse/"3. Webpack stats analyser
- NPM useful commands:
- npm oudated (list packages which are outdated)
- npm view packagenamexxx version (see the latest package available on npm)
- Squash all commits:
- git checkout --orphan new-master master
- git commit -m "Enter commit message for your new initial commit"
- Overwrite the old master branch reference with the new one
- git branch -M new-master master
- Squash all commits of a feature branch before merge into master
- git checkout master
- git merge --squash featurebranch
- Force push to update remote branch
- git push origin master -f
chrome://flags/#allow-insecure-localhost