Closures – Part 5 of Functional Programming in JavaScript
…in JavaScript functions are not just functions, they are also closures, which means the function body has access to variables defined outside the function… DA LEGGERE: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures
Node.js with TypeScript, Debug inside VSCode and Nodemon
https://dev.to/oieduardorabelo/nodejs-with-typescript-debug-inside-vscode-and-nodemon-23o7 https://code.visualstudio.com/updates/v1_22#_node-debugging
Raspberry Pi Doorbell Uses Facial Recognition to Help the Elderly
This DIY doorbell indicates whether a visitor is on the whitelist, the blacklist, or unknown to the system. https://www.hackster.io/news/raspberry-pi-doorbell-uses-facial-recognition-to-help-the-elderly-fa59da94c1b5 https://www.instructables.com/id/Doorbell-With-Face-Recognition/
TDD vs BDD
What’s the Difference Between TDD and BDD? In TDD (Test Driven Development), the test is written to check the implementation of functionality, but as the code evolves, tests can give false results. BDD (Behavior Driven Development) is also a test-first approach, but differs by testing the actual behavior of the system from the end Leggi tutto…
Linux commands useful when performing heavy processing
https://dev.to/ko31/linux-commands-useful-when-performing-heavy-processing-2bdc sleep The sleep command suspends processing for a certain period of time. nice/renice The nice command can be executed with priorities. nohup If you use the nohup command, you can continue processing even if you log out of the terminal.
Docker Tips: Clean Up Your Local Machine
https://medium.com/better-programming/docker-tips-clean-up-your-local-machine-35f370a01a78 Overall Consumption Prune The following commands allow us to delete all stopped containers at once and to reclaim the disk space they’re using: Images Disk Usage The following commands list the existing dangling image on the system: To remove the dangling image we can go the long way:
Tesseract.js
Tesseract.js is a pure Javascript port of the popular Tesseract OCR engine. This library supports more than 100 languages, automatic text orientation and script detection, a simple interface for reading paragraph, word, and character bounding boxes. Tesseract.js can run either in a browser and on a server with NodeJS. Check out the Example code and API docs on GitHub. Leggi tutto…
Observium Network monitoring
Observium is a low-maintenance auto-discovering network monitoring platform supporting a wide range of device types, platforms and operating systems including Cisco, Windows, Linux, HP, Juniper, Dell, FreeBSD, Brocade, Netscaler, NetApp and many more. Observium focuses on providing a beautiful and powerful yet simple and intuitive interface to the health and Leggi tutto…
Artillery.io
Artillery is a modern, powerful & easy-to-use load testing and functional testing toolkit. Use it to ship scalable backends, APIs & services that stay performant & resilient under high load.