What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-17 18:40:44
loop array of objects
/* new options with IE6: loop through array of objects */ const people = [ {id: 100, name: 'Vikash'}, {id: 101, name: 'Sugam'}, {id: 102, name: 'Ashish'} ]; // using for of for (let persone of people) { console.log(persone.id + ': ' + persone.na... Add solution -
Other 2022-02-17 00:20:17
adding virtual host xampp
Step 1: Open httpd.conf file present in C:\xampp\apache\conf\httpd.conf Remove the #(hash) sign present to include the “httpd-vhosts.conf” file in httpd.conf file. # Virtual hosts #Include conf/extra/httpd-vhosts.conf To # Virtual hosts ... Add solution -
Other 2022-02-16 17:40:15
run app at startup in Windows 10
Adding app to startup manually: 1. Create app shortcut 2. Drag and drop in C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup To test if the app is added successfully: 1. Open task manager 2. Go to Startup 3. The app will be ... Add solution -
C 2022-02-16 02:40:16
passing a pointer to a function
// passing a pointer to function in C // It increaments the salary of an employee #include <stdio.h> void salaryhike(int *var, int b) { *var = *var+b; } int main() { int salary=0, bonus=0; printf("Enter the employee current salar... Add solution -
Assembly 2022-02-16 02:15:03
vim shortcuts keyboard code
// Vim in Linux Shortcuts and Keyboard operations // For More Detailed and Advanced Operations Visit the site here // https://gist.github.com/awidegreen/3854277 // Cut and paste: 1. Position the cursor where you want to begin cutting. 2. Press v to sele... Add solution -
Other 2022-02-15 09:10:07
what is programming language
A programming language is a formal language comprising a set of strings that produce various kinds of machine code output. Programming languages are one kind of computer language, and are used in computer programming to implement algorithms. Most progr... Add solution -
Other 2022-02-15 04:35:02
How can we create data driven framework using TestNG?
TESTNG: 1. @DataProvider annotation 2. Excel file with the help of Apache POI 3. JSON or CSV file for API testing 4. Data which comes from Database and stores in collections To use the DataProvider feature in the test cases, you have to declare ... Add solution -
Other 2022-02-14 19:05:02
docker
docker ps # current containers docker run # create and start the container docker create # create container dokcer exec # to run commnads in container for once docker volume # create a docker volume docker network # create a docker network docker rm # rem... Add solution
Best helpers
Ranking is empty