What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 01:44:02
powershell script to disable screensaver
#The below script will trigger dot key every 60 secs param($minutes = 60) #//Duration. Until 60 mins below script will run $myshell = New-Object -com "Wscript.Shell" for ($i = 0; $i -lt $minutes; $i++) { Start-Sleep -Seconds 60 #//every 60 ... Add solution -
Shell/Bash 2021-08-29 13:25:03
maven run tests
What is the different between running a test from maven and cucumber test runner class? In my project I use cucumber + Junit. to generate reports, I use maven-cucumber-reporting. This report is only generated when I run my test as a maven lifecycle ve... Add solution -
Javascript 2021-08-29 09:26:02
semantic ui react modal
import React from 'react' import { Button, Header, Image, Modal } from 'semantic-ui-react' function ModalExampleModal() { const [open, setOpen] = React.useState(false) return ( <Modal onClose={() => setOpen(false)} onOpen={() =... Add solution -
Shell/Bash 2021-08-28 04:28:02
jenkins command
Jenkins is 1) Open source automation server 2) Helps to automate the non-human part of the software development process 3) Allows continuous integration 5) In my company Port is 8081 localhost To run my project in Jenkins 1) I need to Login Jenkins acc... Add solution -
Other 2021-08-28 02:43:01
how to login into docker hub using jenkins pipeline
pipeline { agent { label 'docker' } options { buildDiscarder(logRotator(numToKeepStr: '5')) } triggers { cron('@daily') } stages { stage('Build') { steps { sh 'docker build -f "Dockerfile-terraform" -t brigh... Add solution -
Javascript 2021-08-28 01:16:01
angular material dropdown menu
<mat-menu #animals="matMenu"> <button mat-menu-item [matMenuTriggerFor]="vertebrates">Vertebrates</button> <button mat-menu-item [matMenuTriggerFor]="invertebrates">Invertebrates</button> <... Add solution -
Other 2021-08-27 20:25:02
onfocus
//The onfocus event occurs when an element gets focus Enter your name: <input type="text" onfocus="myFunction(this)"> <p>input field gets focus & a function is triggered changes the background-color.</p> <scr... Add solution -
Other 2021-08-27 11:04:01
creating automation framework
Firstly I would Set up Environment: Install JDK, MAVEN, INTELLIJ IDE Than I would Create Maven project - ArtifactID - name of your project - GroupID - identifies your project uniquely across all projects After that I would Add Dependencies from Maven Rep... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5