redis> RPUSH numbers 3 1 2
(integer) 3
redis> SORT numbers
1) "1"
2) "2"
3) "3
| A | B | A and B |
|---|---|---|
| False | False | False |
| True | False | False |
| False | True | False |
| True | True | True |
try_stmt ::= try1_stmt | try2_stmt try1_stmt ::= "try" ":"suite("except" [expression[","target]] ":"suite)+ ["else" ":"suite] ["finally" ":"suite] try2_stmt ::= "try" ":"suite"finally" ":"suite
format_exception(etype, value, tb[, limit=None])¶Format the exception with a traceback.
| Parameters: |
|
|---|---|
| Return type: | list of strings |
MathJax开发文档:
利用 CSS 计数器为非内联公式加入编号。以下为修改 CSS 样式:
body {
counter-reset:section 0;
}
div.body h2:before {
content:"";
counter-increment:section;
}
div.body h2 {
background-color: #ffffff;
margin-top: 60px;
/* background-color: #8A7DB3; */
color: #0c3762;
border-bottom:
dotted thin #CFC8C8;
counter-reset:section;
}
div.math:before {
counter-increment:equation;
content:"(" counter(section) "." counter(equation) ")";
float:right;
}
Some Ruby code.
Euler’s identity, equation (1), was elected one of the most beautiful mathematical formulas.
Footnotes
| [1] | 第一条尾注的文本. |
| [2] | 第二条尾注的文本. |