The project needs to automate the testing of the main processes for scripting. In the process of scripting, there are some special elements that are difficult to locate. Here, make a record, easy to summarize later. 1. Locate the number of items specified in the cartIn principle, each product corresponds to a quantity control, if you want to get the number of the specified item, you must locate the block of the specified item and then locate the block's quantity control.One thing to note is that
catch block E1.printstacktrace (); } finally {if (annielocked) {System.out.println ("T2 release Anne"); Lock_annie.unlock (); } } } }; T2.start (); }}Topic-Producer Consumer issuesIn the practice-producer consumer problem This exercise is implemented with wait (), notify (), Notifyall.Next use the Condition object: await, the Signal,signalall method achieves the same effectPackag
Configuration and management of brocade optical fiber switch (B/S)
This article uses the Brocade 300 optical fiber switch as an example.
The default IP address of the brocade switch is 10.77.77.77. the user name is admin and the password is password.
1. login Management Interface
(1) Add the IP address "10.77.77. ** (Subnet Mask" 255.0.0.0) "to the network connec
zone
A. "manage" refers to "zone admin" refers to "zone", which is divided according to alias, name format: "server name_corresponding HbA _ storage name_corresponding to port 0 controller _ corresponding to Port 1 controller"
B. Add a zone based on Alias
When creating a zone, you need to add the alias of the host hosts card and the stored alias to the same zone.
3. Create zone config
A. "manage" refers to "zone admin" refers to "zone config"
B. Use the default configure, select the created
The Brocade series of products generally have default configurations at the factory. They can be used normally as long as they are started, But zones are usually divided on the switch., The settings are described in detail below.
1. Connect to the vswitch through IE browser (premise: the Java Plug-in is installed)
Open IE, enter the IP address of the switch in the address bar, press enter, and enter the administrator username and password to log on. T
Configuration of brocade 300 optical fiber switchI. Mounting1. New Fiber Optic Switches are availableNote that the network port and Management port are different2. wiredIi. basic configuration1. Configure IP address and Change User PasswordA. The default ip address of the new optical fiber switch is 10.77.77.77. You need to configure the ip address for direct connection.B. log on to the machine and configure the ip address. Username: admin. The defaul
Recursive--Two-time lookup#include int b[10]={1,1,2,3,3,5,6,6,7,9},a;{int o;if (x>y) return 0;----------------------------------------------------------//To determine whether it is in the rangeelse {o= (x+y)/2;if (b[o]==a) return o;if (Aelse return Erfen (o+1,y);}--------------------------------------------------------------------------//classification in the range}int main (){int x=0,y=9;scanf ("%d", a);printf ("%d", Erfen (x, y)),------------------------------------------------//Call functionr
visible;3, how to use Localstorage to store an object1> creating an array in Localstoragevar players=localstorage.players;if (!players) {Players=[];}2> put the value of an array into an arrayvar p={name:111,score:222}Players.push (P);3> to convert objects to string formLocalstorage.players=json.stringify (players);4. How to convert objects in string form to JSON objectsPlayers=json.parse (players);//Refer to the above players.5. CSS Selector priority level1> inline style special value 1000;2> I
=; Console.WriteLine (" Kim Hee Sun greeting "); } }classProgram {Static voidMain (string[] args) {Chinese Chinese=NewChinese (); American American=NewAmerican (); Korea Korea=NewKorea (); Polymorphic call person[] Pers={Chinese,american,korea}; foreach(Person iteminchpers)//Loop through {item. Hello (); } console.readline (); } }CompleteThe use of the override, and the Virtal keyword is a common method of polymorphism insideThe Virtal keyword decoratio
It is often said that "Monday feels like a lovelorn; Tuesday feels like you can't find an object; Wednesday feels like a secret love; Thursday feels like a confession; Friday feels like a first love; Saturday feels like a crush, and Sunday feels like a breakup. ”Today is a blue sky suitable for love, date of the weather, the code of the bitter force of the farmers can only knock code, sweep the news, while still awake, confused state, put a picture, cheer spirit, hair insane ~It turns out that t
One, XML format, view toolThe Firstobject XML Editor is a unique XML editor. The editor has a good support for Chinese, can load XML documents at high speed, and produces a customizable tree view to display the data structure of an XML document (very distinctive, none of the other XML editors), and you can call the MSXML analysis engine to verify the correctness and validity of the XML document. Its unique foal language can also be used to programmatically process XML documents, which is not typ
PHP interview needs to master the basic topics of the Brocade set
What is the difference between 1.session and cookie ?
A : Session: Store user access to the global unique variable , stored in the server in the PHP specified directory (session_ Dir) Location of the store
Cookie: Used to store continuous access to a page, is stored on the client, and for cookies is stored in user WIN 's Temp in the directory.
Both can be set time by time
2. How to m
[CPP]View PlainCopyprint?
#include
#define LOG_TAG "System.out.c"
#define LOGD (...) __android_log_print (Android_log_debug, Log_tag, __va_args__)
#define Logi (...) __android_log_print (Android_log_info, Log_tag, __va_args__)
is the tag tag that must be added to tell the compiler to output log,log here is "system.out.c", and the predefined Logd (...) Represents the debug output, Logi (...) Represents the info output. Then in the C language theme code can use LOGD and
First, users and user groups Related:cat/etc/group/etc/Shadow /etc/passwd #查看用户, the 4th column is the ID of the groups to which the user belongs Second, VI:VI is too powerful, with proficiency will feel very useful.I #从光标处开始编辑s #从光标之后开始编辑 and delete a character a #从光标之后开始编辑, but not delete the characterU #回退/ #斜杠进入搜索模式, enter the string to search for n #向后查看搜索结果N #向前查看搜索结果Set number #显示行号, sometimes useful set nonumber ¥ Suppress line numbersThird, SSHTo con
available, re-create the following EMThe steps are as follows:Here is the process of EMCA creating EM, which is a rough demonstration:A. Delete the build failed EM archive (if the time exceeds 15 minutes has not completed, restart the computer and then execute): C:\Documents and Settings\administrator>emca-deconfig Dbcontrol Db-repos Drop B. Re-creating the EM Archive: C:\Documents and settings\administrator>emca-config Dbcontrol db-repos Create Note: The management repository is in Safe mode,
You should come and see! WINDOWS8 Introduction Operation Brocade Set
After you install win 8, what should you do next? You have to get used to the new operating system, because it won't be long before your boss, friends or family will expect you to do something serious with it. This guide serves this purpose. We'll show you how to get the desktop back, how to change Windows settings, what fancy touch gestures it has, and how to operate with the mouse
. Unlike the TypeOf method, the Instanceof method requires the developer to explicitly confirm that the object is of a particular type.26. Tell me about your understanding of node. jsA, node. js is a JAVASCRIPT runtime environment based on the Google Chrome V8 engine. node. JS uses an event-driven, non-blocking I/O model to make it lightweight and efficient. node. JS's Package Manager, NPM, is the world's largest open source library ecosystem.B, easy to build responsive, easy to expand network a
the error was generated? Later, after I configured a job to monitor disk alarms, I found that there was not enough disk space to cause this error. Because YOURSQLDBA maintains a database, it rebuilds and reorganizes a subset of the indexes. Causes the log file to explode during that time period. The YOURSQLDBA will truncate and shrink later, so when I go to check it, I don't see enough disk space.2: Antivirus software causes YOURSQLDBA backup to failThis case in this blog anti-virus software le
We often use JSON string conversions in our projects, and they are very frequent. So summarize the following, very simple code.1 DOCTYPE HTML>2 HTMLLang= "en"> 3 Head> 4 MetaCharSet= "UTF-8"> 5 title>Json.parse () and json.stringify ()
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.