1、启动设备,设置PC1和PC2的IP地址、子网掩码和网关 2、配置SW1信息: <Huawei>undo terminal monitor 关闭弹窗 <Huawei>system-view 进入系统试图 [Huawei]user-interface console 0 [Huawei-ui-con ...
分类:
其他好文 时间:
2020-07-30 21:44:55
阅读次数:
88
一、怎么实现字符串变为list 1.使用split(),把字符串拆分再存入数组; 例子 input="ni si shi" output=input.split(" ") print (output) 输出应为:['ni', 'si', 'shi'] 2. 怎么使 list 数据逆序: 这里可以用到 ...
分类:
编程语言 时间:
2020-07-30 14:34:22
阅读次数:
79
Symbol: 一种新的原始数据类型,Symbol不是一个对象,不可以new Symbol的声明方式: const s1 = Symbol('s1') const s2 = Symbol('s1') console.log(typeof s1) console.log(s1 s2) // false ...
分类:
其他好文 时间:
2020-07-30 14:24:11
阅读次数:
62
在windows环境下进行的测试,前提条件,windows上需要先安装openssl。 配置环境变量,查看版本: import java.io.*; import java.util.Properties; public class OpensslCommand { private static v ...
分类:
编程语言 时间:
2020-07-30 01:25:19
阅读次数:
75
1.yield实现的功能yield return:先看下面的代码,通过yield return实现了类似用foreach遍历数组的功能,说明yield return也是用来实现迭代器的功能的。 using static System.Console; using System.Collections ...
<div id='main'>谁呀</div> <script> var main = document.getElementById('main'); console.log(main) </script> ...
分类:
Web程序 时间:
2020-07-29 10:29:38
阅读次数:
71
import Vue from 'vue' import Router from 'vue-router' Router.prototype.go = function(t) { this.isBack = true console.log('go ' + this.history.current. ...
分类:
其他好文 时间:
2020-07-29 10:29:00
阅读次数:
83
Task Scheduler (M) 题目 You are given a char array representing tasks CPU need to do. It contains capital letters A to Z where each letter represents a ...
分类:
其他好文 时间:
2020-07-29 10:27:27
阅读次数:
69
1、new Object()方式 var obj=new Object(); obj.name="郭维平"; obj.age=27; console.log(obj); 2、{}方式 var person={}; person.name="周益涛"; person.age=24; person.se ...
分类:
Web程序 时间:
2020-07-29 10:06:57
阅读次数:
88
package LeetCode_636 import java.util.* /** * 636. Exclusive Time of Functions * https://leetcode.com/problems/exclusive-time-of-functions/description ...
分类:
其他好文 时间:
2020-07-29 10:01:26
阅读次数:
59