xxxooo

namespace xxoo {
   class ooxx {
 }
}

An h1 header

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, monospace. Itemized lists
look like:

  • this one
  • that one
  • the other one

Note that --- not considering the asterisk --- the actual text
content starts at 4-columns in.

Block quotes are
written like so.

They can span multiple paragraphs,
if you like.

Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex. "it's all in
chapters 12--14"). Three dots ... will be converted to an ellipsis.

An h2 header

Here's a numbered list:

  1. first item
  2. second item
  3. third item

Note again how the actual text starts at 4 columns in (4 characters
from the left side). Here's a code sample:

# Let me re-iterate ...
for i in 1 .. 10 { do-something(i) }

As you probably guessed, indented 4 spaces. By the way, instead of
indenting the block, you can use delimited blocks, if you like:

define foobar() {
    print "Welcome to flavor country!";
}

(which makes copying & pasting easier). You can optionally mark the
delimited block for Pandoc to syntax highlight it:

import time
# Quick, count to ten!
for i in range(10):
    # (but not *too* quick)
    time.sleep(0.5)
    print i

An h3 header

Now a nested list:

  1. First, get these ingredients:

    • carrots
    • celery
    • lentils
  2. Boil some water.

  3. Dump everything in the pot and follow
    this algorithm:

    find wooden spoon
    uncover pot
    stir
    cover pot
    balance wooden spoon precariously on pot handle
    wait 10 minutes
    goto first step (or shut off burner when done)

    Do not bump wooden spoon or it will fall.

Notice again how text always lines up on 4-space indents (including
that last line which continues item 3 above). Here's a link to a
website
. Here's a link to a local
doc
. Here's a footnote 1.

Tables can look like this:

size material color
---- ------------ ------------
9 leather brown
10 hemp canvas natural
11 glass transparent

Table: Shoes, their sizes, and what they're made of

(The above is the caption for the table.) Here's a definition list:

apples
: Good for making applesauce.
oranges
: Citrus!
tomatoes
: There's no "e" in tomatoe.

Again, text is indented 4 spaces. (Alternately, put blank lines in
between each of the above definition list lines to spread things
out more.)

Inline math equations go in like so: $\omega = d\phi / dt$. Display
math should get its own line and be put in in double-dollarsigns:

$$I = \int \rho R^{2} dV$$

Done.

An exhibit of Markdown

This note demonstrates some of what Markdown is capable of doing.

Note: Feel free to play with this page. Unlike regular notes, this doesn't automatically save itself.

Basic formatting

Paragraphs can be written like so. A paragraph is the basic block of Markdown. A paragraph is what text will turn into when there is no reason it should become anything else.

Paragraphs must be separated by a blank line. Basic formatting of italics and bold is supported. This can be nested like so.

Lists

Ordered list

  1. Item 1
  2. A second item
  3. Number 3

Note: the fourth item uses the Unicode character for Roman numeral four.

Unordered list

  • An item
  • Another item
  • Yet another item
  • And there's more...

Paragraph modifiers

Code block

Code blocks are very useful for developers and other people who look at code or other things that are written in plain text. As you can see, it uses a fixed-width font.

You can also make inline code to add code into other things.

Quote

Here is a quote. What this is should be self explanatory. Quotes are automatically indented when they are used.

Headings

There are six levels of headings. They correspond with the six levels of HTML headings. You've probably noticed them already in the page. Each level down uses one more hash character.

Headings can also contain formatting

They can even contain inline code

Of course, demonstrating what headings look like messes up the structure of the page.

I don't recommend using more than three or four levels of headings here, because, when you're smallest heading isn't too small, and you're largest heading isn't too big, and you want each size up to look noticeably larger and more important, there there are only so many sizes that you can use.

URLs

URLs can be made in a handful of ways:

Horizontal rule

A horizontal rule is a line that goes across the middle of the page.


It's sometimes handy for breaking things up.

Images

Markdown can also contain images. I'll need to add something here sometime.

Finally

There's actually a lot more to Markdown than this. See the official introduction and syntax for more information. However, be aware that this is not using the official implementation, and this might work subtly differently in some of the little things.


  1. Footnote text goes here.

转载于:https://www.cnblogs.com/breezang1877/p/3538845.html

### 如何使用 SecureCRT 批量创建多个会话配置 为了实现批量创建 SecureCRT 的会话配置,可以采用编程的方式通过 Python 脚本来完成这一操作。下面是一个基于给定的参考资料构建的例子。 #### 使用Python脚本批量创建会话 编写一个简单的 Python 脚本用于读取 IP 地址列表,并为每一个 IP 创建一个新的会话标签: ```python # $language="python" # $interface="1.0" user = 'root' passwd = 'xxxooo' def main(): ips = [] with open('ips.txt', 'r') as file: for line in file.readlines(): ip = line.strip() if ip: # Ensure the string is not empty ips.append(ip) for host in ips: command = f"/SSH2 /L {user} /PASSWORD {passwd} /C 3DES /M SHA2-256 {host}" crt.Session.ConnectInTab(command) main() ``` 此段代码将会从 `ips.txt` 文件中逐行读入 IP 地址,并尝试以指定用户名和密码建立 SSH 连接至这些主机地址,同时在新的标签页内开启每个会话[^2]。 对于更复杂的场景,比如需要设置特定的安全密钥来进行身份验证,则可以在命令字符串里加入额外参数来指明私钥路径: ```python command = f'/SSH2 /L {user} /PRIVATEKEY "path_to_key_file" /C 3DES /M SHA2-256 {host}' ``` 这里假设 `"path_to_key_file"` 是指向本地存储的身份认证所需的私钥文件的位置[^3]。 另外一种方法是在启动时利用预定义好的模板或已保存的会话作为基础,再根据实际需求调整部分属性后加载它们。这种方法适合于那些拥有相似网络环境下的大批量设备管理情况。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值