the corresponding response. The above method is directly issued. If interactive mode is used, remove the "#" of the 10th and 11 rows above and add the 12 rows with comments (#)
Practice:
1 #! /Bin/bash234 echo "practice to use" one "" two "" three ""5 read-P "input your choise (from the up suggest):" answer67 case "$ answer" in8 "one ")9 echo "your input is 'one', that is $ answer"
message.
The cache can also exist at a high level and at higher levels of abstraction. For example, the current Hibernate library supports the mapping of objects to the data model, while the business is targeted at objects, not directly naked and interacting with the data. Actions for objects such as func1 () can also be cached by the cache, so that the second time the same call to Func1 () is greatly increased in speed and efficiency. Of course, you will see a dirty data and failure pr
()Driver.quit ()Four, login function1. Although the code above can be logged in, the entire code is no more readable than the journal. If I want to change account login, this time also have to find the login account and password location, relatively time-consuming.2. We can write two functions for login and exit, so it looks more comfortable.3. parameterize the login account and password# Coding:utf-8From selenium import WebdriverImport timedef login (driver, user, password):"Login to GitHub"#
tablesIt is important to verify the design of the point, such as: Using the login nickname to verify the success of the login, the number of files to determine whether to add a successful file (without recovering data), the number of files to determine whether to delete the success (remember to restore the data!!!) )For example: For the company's system management platform:Login: Verify the nickname after loginAdd File: Verify that the first column header in the first row of the newly inserted
From: http://zhangqihai.bokee.com/viewdiary.28693363.html
5. Knowledge of Emergency Handling in case of puncture, steering out of control, brake failure, etc.
I. Emergency Handling for tires:
1. When a tire leak is found, the driver should hold the steering wheel and slowly brake and slow down, and try to control the driving direction and leave the driveway as soon as possible. When leaving the main drivew
Oracle experience 5 -- add, delete, modify, query, and @ oracle transaction processing @ Case Analysis1. add, delete, modify, and query DML (Data Manipulation Language-Data operation Language) in Oracle can be executed under the following conditions: insert Data into the table, modify existing Data, and delete existing Data. A transaction is composed of DML statements that complete several tasks.2. Insert d
Static void main (string [] ARGs){Int COUNT = 0;// A maximum of 100 types of data may consist of 1 RMBFor (int A = 0; A {// There are up to 50 possibilities in the case of 2 RMBFor (INT B = 0; B {For (int c = 0; C {// 10 RMB, up to 10 possibilitiesFor (int d = 0; D {// In the case of 20 yuan, a maximum of
throw STD: bad_alloc.
Directly call abort or exit
Currently, the standard operator new throws an STD: bad_alloc exception. In fact, there are very few situations where you cannot apply for memory. Follow the standard practice. After a bad_alloc exception is thrown, record and analyze the logs. In this case, add the memory. Item8: conventions to be followed when writing operator new and operator Delete
Write operator new by yourself, which
our new activity needs to occupy a lot of memory, when the new activity is called, this is the page will call Onpause,onstop, OnDestroy. Because the new activity requires a lot of memory, this activity can only be destroyed to prevent the memory from being affected by the new activity, and when the activity is rerun, the Oncreat and OnStar methods, the left line, are called again. so from OnPause to Onresume, it is when we use the dialog box when the call, the specific process, try to put it. O
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.