If you need to process very large collections of data, instead of processing each item sequentially you could process the items in batches/chunks. In this video, we create a handy generator helper function that can chunk collections of arbitrary length. 🌎 Find Me Here:...
If you need to process very large collections of data, instead of processing each item sequentially you could process the items in batches/chunks. In this video, we create a handy generator helper function that can chunk collections of arbitrary length.
🌎 Find Me Here:
GitHub: https://github.com/pkellz
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
JSON Web Token is either a) the standard that defines a URL-safe way to pass claims between 2 parties or b) the token string that contains the claim data. 📚 Materials/References: More information about JWT: https://jwt.io/introduction 🌎 Find Me Here: Twitter:...
JSON Web Token is either a) the standard that defines a URL-safe way to pass claims between 2 parties or b) the token string that contains the claim data.
📚 Materials/References:
More information about JWT: https://jwt.io/introduction
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
JSON Web Token icon by Icons8:
https://icons8.com/icon/rHpveptSuwDz/json-web-token
🟢 Click here to create your OxyLabs account! https://oxylabs.go2cloud.org/aff_c?offer_id=7&aff_id=824&url_id=14 🟢 Click here for the 'tsconfig.json'! https://github.com/pkellz/lead-scraper/blob/master/tsconfig.json ❗Also, I forgot to demonstrate how to set a custom page limit...
🟢 Click here to create your OxyLabs account!
https://oxylabs.go2cloud.org/aff_c?offer_id=7&aff_id=824&url_id=14
🟢 Click here for the 'tsconfig.json'!
https://github.com/pkellz/lead-scraper/blob/master/tsconfig.json
❗Also, I forgot to demonstrate how to set a custom page limit via command line arguments!
You can run either of these, for example:
nodemon .\index.ts --pages 3
nodemon .\index.ts -p 3
🟢 Click here to create your BrightData account https://brightdata.grsm.io/devsage 🌟GitHub Code The front-end React.js repo: https://github.com/pkellz/bright-data The backend Node.js/Express repo: https://github.com/pkellz/bright-data-server
🟢 Click here to create your BrightData account
https://brightdata.grsm.io/devsage
🌟GitHub Code
The front-end React.js repo:
https://github.com/pkellz/bright-data
The backend Node.js/Express repo:
https://github.com/pkellz/bright-data-server
Debouncing is the process of preventing an event handler from triggering ("bouncing") too many times in a particular time window. 📚 Materials/References: Github: https://github.com/pkellz/devsage/tree/master/Debouncing 🌎 Find Me Here: Twitter: https://twitter.com/realDevSage...
Debouncing is the process of preventing an event handler from triggering ("bouncing") too many times in a particular time window.
📚 Materials/References:
Github: https://github.com/pkellz/devsage/tree/master/Debouncing
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
Merch: https://cottonbureau.com/people/devsage
The builder design pattern is a creational pattern that enables you to construct complex objects simply and more declaratively. 📚 Materials/References: "Design Patterns Explained Simply" Ebook: https://payhip.com/b/MLtJ 🌎 Find Me Here: Twitter: https://twitter.com/realDevSage...
The builder design pattern is a creational pattern that enables you to construct complex objects simply and more declaratively.
📚 Materials/References:
"Design Patterns Explained Simply" Ebook: https://payhip.com/b/MLtJ
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
Merch: https://cottonbureau.com/people/devsage
Form validation is the process of ensuring that the data a user submits through a form is in the correct format and within the constraints set by the application. If the user enters data that is incorrect or missing, the form validation logic can prevent the form submission...
Form validation is the process of ensuring that the data a user submits through a form is in the correct format and within the constraints set by the application. If the user enters data that is incorrect or missing, the form validation logic can prevent the form submission and prompt the user to correct the information. Form validation done via JavaScript on a web page is called 'client-side' form validation.
📚Materials/References:
GitHub Code: https://github.com/pkellz/js-form-validation-project
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Discord: https://discord.gg/BP8wPv6raA
Ebooks: https://payhip.com/devsage
Merch: https://cottonbureau.com/people/devsage
⏰ Timestamps
0:24 - Demo
1:22 - Styling/CSS
14:26 - Adding Validation
In most cases, the value of 'this' is determined by how a function is called. 'this' usually refers to the object that is calling the current function. If a function, foo(), is called from the global scope ("foo()"), then 'this' will refer to the global object - the Window...
In most cases, the value of 'this' is determined by how a function is called. 'this' usually refers to the object that is calling the current function. If a function, foo(), is called from the global scope ("foo()"), then 'this' will refer to the global object - the Window object. But if foo() is called from inside the scope of another object ("devsage.foo()"), then 'this' will refer to the object that is calling foo() - which is the 'devsage' object. Arrow functions don't provide their own 'this' binding so it inherits the 'this' value of the enclosing function.
📚Materials/References:
MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Discord: https://discord.gg/BP8wPv6raA
Ebooks: https://payhip.com/devsage
Merch: https://cottonbureau.com/people/devsage
'let' and 'const' are JavaScript keywords that were introduced in ES6 that allow you to declare variables that are limited to the scope of a block statement. The 'var' keyword, on the other hand, declares a variable globally or locally to an entire function. let and const are...
'let' and 'const' are JavaScript keywords that were introduced in ES6 that allow you to declare variables that are limited to the scope of a block statement. The 'var' keyword, on the other hand, declares a variable globally or locally to an entire function. let and const are similar when it comes to scoping rules, but variables declared with const are read-only. const variables cannot be re-assigned after initially being declared.
📚Materials/References:
MDN Web Docs:
let - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
const - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
Merch: https://cottonbureau.com/people/devsage
⏰ Timestamps
1:05 - Difference between var and let/const
2:29 - let explained
6:05 - const explained
The reduce method executes a user-supplied "reducer" callback function on each element of an array, in order, passing in the return value from the calculation on the previous element. The final result of running the reducer across all elements of the array is a single value....
The reduce method executes a user-supplied "reducer" callback function on each element of an array, in order, passing in the return value from the calculation on the previous element. The final result of running the reducer across all elements of the array is a single value.
📚Materials/References:
MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
🌎 Find Me Here:
Twitter: https://twitter.com/realDevSage
Ebooks: https://payhip.com/devsage
Discord: https://discord.gg/BP8wPv6raA
Merch: https://cottonbureau.com/people/devsage