"$octal"]Ten Thenecho "$decimal equals $octal"Elseecho "$decimal isn't equal to $octal" # Equal to 017+ fi # doesn ' t evaluate within [single brackets]!if [["$decimal"-eq "$octal"]]Thenecho "$decimal equals $octal" # equals 017Elseecho "$decimal is not equal to $octal"FI # evaluates within [[double brackets]]!((...)) Arithmetic testIf the expression evaluates to 0, its exit status code is 1 or FalseIf the expression evaluates to non-0, its exit status code is 0 or TrueIts exit status and [...]
independent permissions. Different databases are placed in different files. namingThe database will eventually become a file in the file system, the database name is the corresponding file name, so there are many restrictions on naming. The database is identified by name. can be any utf-8 string, except for the following special cases:
cannot be an empty string (“”)
must not contain/,\,.,’’,*,,>,:,|,?,$(a space),(NULL character). Basically, you can only useASCIIthe letters and numbers in
The second chapter learns the R function:1 sum calculation and sum (x,na.rm=true) calculated in Vector x, which excludes NA elements2 Median calculates the median to return the number of the middle of a sample data median (x,na.rm=true)3 Max COMPUTE Max Max (x,na.rm=true)4 min Compute min min (x,na.rm=true)5 c () Connect data connection data to form a vector. C (a)6 Cbind data cbind with column variables (x, y, z)7 Rbind data rbind with row variables (x, y, z)8 vectors in vector form with data v
each 1 is replaced by M, 2 is replaced by FUsing the reclassify factor variableBoxPlot (GSI ~ fsex,data = Squid)M1 Summary (M1) call:lm (formula = GSI ~ Fsex + flocation, data = Squid) residuals: Min 1Q Median 3Q Max-3 .4137-1.3195-0.1593 1.2039 11.2159 coefficients: Estimate Std. Error t value Pr (>|t|) (Intercept) 1.35926 0.07068 19.230 (There is only one Insert script feature found)M2 The estimated parameters are consistent, but the second method oc
, Table. getn (mytable) Do
Print (mytable [Index])
End
Table. Sort (mytable)
This simple function traverses the entire table and rearrange it from small to large.
6.2. Table. insert (mytable, positon, value)
Table. the insert function inserts a new value in Table China. The location parameter is optional. If no value is set, a new value is added to the end of table A. If this value is specified, it is inserted to the specified position.
Table. insert (mttable, 25, "hello ")
6.3.
character. A reserved word is a reserved keyword that may not be a keyword now, and may become a keyword later.6. Object and array initialization expressions are actually creating a new object or arrays. Also known as: Object direct amount, array direct amount, however they are not original expression.7, array initialization, if there is no value in the middle, can be omitted directly;var myArray = [,,, 3]; Two values are omitted in the middle and are automatically populated with undefinedvar m
9 1996" can also be accepted and parsed. However, the result Date object includes "Friday November 9 1996".
JScript handles all of the standard time zones, as well as global standard times (UTC) and Greenwich Mean Time (GMT).
Hours, minutes, and seconds are separated by colons. Although not all of these three items need to be specified. "10:", "10:11", and "10:11:12" are valid.
Assuming a 24-hour clock is used, it is wrong to specify "PM" for the time after 12 o'clock noon.For example, "2
Chapter III1, the value of inheritance is not special, even 0 of the particularity of not. So changing the style of a hyperlink generally requires an independent declaration and cannot be changed by inheritance.2. Cascading-conflicting declarations are sorted by this cascading process and thus determine the final document representation. The core of this process is the particularity of selectors and their related declarations and the inheritance mechanism.Fifth Chapter1, Font-weight:border. Firs
12th chapter list and generated content1, List-style-type:cjk-ideographic generate 1234 of the serial number2, whether it is UL or Ol,list-style-type unrecognized values are applied to decimal.3, the list-style-image will inherit.4, Shorthand: List-style:type | Image | PositionThe 13th Chapter user interface style;1. Outlines are similar to borders, but outlines do not participate in the document Flow .2. Outlines and borders can coexist .3, the contour of the four sides of the style (including
Margin-bottom, to clear the element set Margin-top is not convenient (the reason for clearing the area).7. For a non-root element, if the position value is absolute, the containing block is the nearest position value is not a static ancestor element .8. Top/right/bottom/left applies to elements where the position value is not static. The margin boundary of the element contains the offset of the inner margin boundary (border) of the block relative to it.9. Top:auto;left:auto in Position:absolute
element node, 3 represents the text node, 8 represents the comment node, and 11 represents the DocumentFragment node .14. The children property of the element object, similar to ChildNodes, is also a NodeList object, but the children list contains only the element object .15. The text and comment nodes do not have a children property, meaning that the Node.parentnode property cannot return a text or comment node .16. The Style property value of any HTML element is a cssstyledeclaration object,
the form is submitted .7. The onchange event handler for the text input field is triggered when the user enters new text or edits an existing text, indicating that the user has finished editing and moved the focus out of the text field .8. If the user directs to a new fragment in the document, thelocation.href will change , but document. The URL does not.9, document.write () joins its string argument, and then inserts the result string into the document where the script element is called.10. Th
server contains 3 parts: 1, a number and a text-based status code to show the success and failure of the request. 2. A collection of response headers. 3, the response body. 6.get is used for regular requests , and he applies when the URL completely specifies the request resource when the request does not have any side effects on the server and when the server's response is cacheable. The post method is commonly used in HTML forms , which contain additional data in the request body and are often
less than the number of parameters specified when the function is declared, and the remaining parameters are set to the undefined value .15. You can use the annotation/*optional*/in the function definition to emphasize that the formal parameter is optional .16, identifier arguments is a reference to an argument object, an argument object is a class array object , not a real array, it is an object that happens to have a numeric indexed property.17. The argument object also defines the callee and
First chapter CSS and documentation1. Structured HTML: (Personal understanding)1. Separation of content, style and behavior2, label semantics, what kind of label do what kind of thing3. Conform to Web standards4, the structure is clear, header, content, footer. Reduce duplicate code for the public part.2. Unstructured pages make it difficult to build content indexes, reduce accessibility, and discourage maintenance.3, the candidate style sheet, the rel attribute is alternate stylesheet, if suppo
Chapter III Structure and CASCADE1. When determining which values should be applied to an element, the user agent not only takes into account the inheritance, but also considers the specificity of the declaration, and also the origin of the declaration itself, which is called Cascading. 、2, Particularity. If an element has two or more conflicting attribute declarations, the Highest-specificity declaration wins.
For the value of the attribute of each ID given in the selector, add 0,1,0,0;
Problem:A s:property tag was added to the JSP page, but the page was never displayedSolve:Learn by searching and find just adding statementsReason:@taglib indicates the reference label. Import statements similar to JavaPrefix= "s" refers to the name that can be used on the page, just like the name of an object generated in Java, and can be used directly with uri= "/struts-tags"% indicates the path of the tag library. Equivalent to import a specific classSTRUTS2 Authoritative
Maven authoritative guide Study Notes (2) posted by Ryan on 2010/05/02 leave
A comment (0) Go
To comments
POM
Pom is a descriptive statement of a Maven project. It is also a "map" that you need to understand when building a Maven project"
We have determined that POM is descriptive and declarative. It does not provide explicit commands as ant or make does. We also note that the concept of POM is n
${file#*.} : Take out the first one. And the string to the left: file.txt${file##*.} : Take out the last one. And the string to the left: txt${file%/*}: Take off the last bar/its right string:/dir1/dir2/dir3${file%%/*}: Remove the first/its right string: (null value)${FILE%.*}: Take off the last one. And the string to the right:/dir1/dir2/dir3/my.file${FILE%%.*}: Take out the first one. And the string to the right:/dir1/dir2/dir3/myThis article is from the "Linux is belong to You" blog, make sur
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.