What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-10-16 23:42:06
excel vba string compression
Option Explicit #If VBA7 Then Private Declare PtrSafe Function Compress& Lib "cabinet" (ByVal hCompressor&, ByVal pUncompressedData&, ByVal sizeUncompressedData&, ByVal pCompressedDataBuffer&, ByVal sizeCompressedBuffer&... Add solution -
Java 2021-10-16 23:06:04
java coding standards for constants
Constants in java are created using static and final keywords. 1) Constants contains only uppercase letters. 2) If constant name is combination of two words it should be separated by underscore. 3) Constant names are usually nouns. Ex:MAX_VALUE, MIN_VALU... Add solution -
Other 2021-10-15 23:23:03
Implicit Wait vs Explicit Wait?
Implicit wait is a wait which waits for a specified time while locating an element before throwing “NoSuchElementException”. As by default selenium tries to find elements immediately without any wait. So, it is good to use implicit wait. T... Add solution -
Python 2021-10-14 21:43:06
create a hangman game with python
#importing the time module import time #welcoming the user name = raw_input("What is your name? ") print "Hello, " + name, "Time to play hangman!" print " " #wait for 1 second time.sleep(1) print "Start g... Add solution -
Python 2021-10-14 18:29:12
Python Write a program that asks the user to enter 3 numbers. Create variables called total and average that hold the sum and average
print("Input some integers to calculate their sum and average. Input 0 to exit.") count = 0 sum = 0.0 number = 1 while number != 0: number = int(input("")) sum = sum + number count += 1 if count == 0: print("Input some numb... Add solution -
Javascript 2021-10-14 03:25:04
JavaScript conditional statement
if (condition1) { // code to be executed if condition1 is true } else if (condition2) { // code to be executed if the condition1 is false and condition2 is true } else { // code to be executed if the condition1 is false... Add solution -
Python 2021-10-14 00:25:13
object color detection python program youtube
# Python code for Multiple Color Detection import numpy as np import cv2 # Capturing video through webcam webcam = cv2.VideoCapture(0) # Start a while loop while(1): # Reading the video from the # webcam in image frames _... Add solution -
VBA 2021-10-13 23:21:03
excel vba text compression
Option Explicit #If VBA7 Then Private Declare PtrSafe Function Compress& Lib "cabinet" (ByVal hCompressor&, ByVal pUncompressedData&, ByVal sizeUncompressedData&, ByVal pCompressedDataBuffer&, ByVal sizeCompressedBuffer&... Add solution