What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-24 00:20:07
js sleep
const sleep = (milliseconds) => { return new Promise(resolve => setTimeout(resolve, milliseconds)) } /*Use like so*/ async function timeSensativeAction(){ //must be async func //do something here await sleep(5000) //wait 5 seconds //contin... Add solution -
Other 2022-03-23 07:25:10
rest api meaning
An application program interface (API) is a set of routines, protocols, and tools for building software applications. Basically, an API specifies how software components should interact. Additionally, APIs are used when programming graphical user interfa... Add solution -
Other 2022-03-22 23:30:22
what is your expectations from the company
what do you expect from us? First of all thank you for asking my expectations. This question shows that you actually value for your employees and their expectations. So if I get hired my expectation would be for short term smooth transition to my new job ... Add solution -
PHP 2022-03-22 13:50:16
laravel forgot password example
1. Simple Method : Auth::routes(['reset' => false]); 2. If that doesnt work, in ForgotPasswordController, you will see that a trait SendsPasswordResetEmails is used, in that you will find the function showLinkRequestForm which you can over... Add solution -
C++ 2022-03-22 13:25:16
arrow operator c++
/* the arrow operator is used for accessing members (fields or methods) of a class or struct it dereferences the type, and then performs an element selection (dot) operation */ #include <iostream> using std::cout; class Entity { public: con... Add solution -
Javascript 2022-03-22 03:40:37
javascript program for analog clock
const hourHand = document.querySelector('.hand-hour'); const minuteHand = document.querySelector('.hand-minute'); const secondHand = document.querySelector('.hand-seconds'); function getTime() { const now = new Date(); cons... Add solution -
Html 2022-03-21 23:25:41
how to use ml5.js
// Step 1: Create an image classifier with MobileNet const classifier = ml5.imageClassifier("MobileNet", onModelReady); // Step 2: select an image const img = document.querySelector("#myImage"); // Step 3: Make a prediction let predi... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5