What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-24 22:00:17
htaccess block all referrer except my domain
The first RewriteCond checks that the referrer is not empty. The second checks that it doesn't contain the string yourdomain.com, and the third that it doesn't contain the string alloweddomain.com. If all of these checks pass, the RewriteRule triggers and... Add solution -
Other 2022-02-01 23:11:24
storage class
The storage for variables with global or namespace scope is allocated for the entire duration of the program. This is known as static storage, and it contrasts with the storage for local variables (those declared within a block). These use what is know... Add solution -
Other 2022-01-29 21:45:14
What are the advantages of DBMS over conventional file processing system?
==>> Advantage of DBMS over file system: 1. No redundant data: Redundancy removed by data normalization. No data duplication saves storage and improves access time. 2. Data Consistency and Integrity: The root cause of data inconsistency is data ... Add solution -
Shell/Bash 2021-11-12 09:57:05
how to make a for in bash
#in bash for var in limit do #action done # done is very important #more traditionnal for for (( var = 0; var < 10; var++) do echo "var = $var" done #output : var = 0 var = 1 var = 2 var = 3 var = 4 var = 5 var = 6 var = 7 var = 8 var = 9 Add solution -
Other 2021-11-10 03:51:16
what are the data types
• number(num) - whole numbers up to num digits • number(num,num2) - num whole numbers up to num2 decimals • char(num) - fixed length character/string • varchar2(num) - used for varying length data • date - full date • currenc... Add solution -
Python 2021-11-05 15:09:14
how to multiply in python
Multiply two integer numbers num1=int(input("Enter the first number: ")) #input value for variable num1 num2=int(input("Enter the second number: ")) #input value for variable num2 mul=num1*num2; #perform multiplication operation print... Add solution -
Other 2021-10-30 00:22:16
how to do ddt in postman
-- Use collection runner and select external file csv , json How does Postman know which column is used for which data in csv file ? postman will look for variable with same name as column name and set the value of the variable for that column ... Add solution -
Python 2021-10-25 04:12:16
What's the difference between a statement and an expression in Python?
#Here’s a general rule of thumb: If you can print it, or assign it to a #variable, it’s an expression. If you can’t, it’s a statement. #Here are some examples of expressions: 2 + 2 3 * 7 1 + 2 + 3 * (8 ** 9) - sqrt(4.0) min(2,... Add solution