No Image

Javascript – Algorithm (3)

November 4, 2020 hung-nb 0

How to add a delay inside a loop? Asynchronous process Synchronous process for… while… How to sort an array effeciently? Use https://github.com/jherax/array-sort-by How to count […]

No Image

Typescript – How to fix errors?

September 2, 2020 hung-nb 0

How to check TypeScript in project folders? Remember to exclude node_modules folders by configuring Could not find a declaration file for module ‘third-party-library-name’. ‘third-party-library-name.js’ has […]

No Image

Testing – How to automate Web browser by Puppeteer?

June 9, 2020 hung-nb 0

Setup Create NodeJS project Code template How to open Chrome app, not Chromium? Open Terminal/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome –remote-debugging-port=9222 –no-first-run –no-default-browser-check –user-data-dir=$(mktemp -d -t ‘chrome-remote_data_dir’) You […]