This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(i=0;++i<101;console.log(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Useful react hooks | |
What are react hooks ? | |
Hooks are the new feature introduced in the React 16.8 version. It allows you to use | |
state and other React features without writing a class. | |
Hooks are the functionswhich "hook into" React state and lifecycle features from function components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": "standard", | |
"parserOptions": { | |
"ecmaVersion": 5 | |
}, | |
"rules": { | |
"indent": ["error", 2, { | |
"ArrayExpression": 1, | |
"ObjectExpression": 1, | |
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error Monitoring & Tracking tools are a set of instruments to proactively find, triage and fix errors in your app. | |
Why it's so important to use them? They: | |
- remove the guess-work from diagnosing issues | |
- provide insight into the scale that any given error is having on your user base | |
- avoid a poor digital experience for your users | |
These are the best Error Monitoring & Tracking Tools: | |
1. Sentry (my choice) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Smallest #javascript code that uses #artificialintelligence | |
to create an #autocomplete bot for a chat app using #brainjs. | |
Visit their website at brain dot js dot org. | |
*/ | |
// provide training data | |
const data = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
js challanges | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MOUSE | |
onclick, oncontextmenu, ondblclick, onmousedown, onmouseenter, | |
onmouseleave, onmousemove, onmouseover, onmouseout, onmouseup | |
// KEYBOARD | |
onkeydown, onkeypress, onkeyup | |
//FRAME | |
onabort, onbeforeunload, onerror, onhashchange, onload, onpagehide, | |
onpageshow, onresize, onscroll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
All kind of css tricks, css methods, html tags, html ticks new features etc. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
all kind of math functions | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* all kind of array functions*/ |
OlderNewer