1 在 linux下的ssh命令:vim /etc/ssh/ssh_config 然后找到里面的ServerAliveInterval 参数,如果没有你同样自己加一个就好了。参数意义相同,都是秒数,比如9分钟: ServerAliveInterval 540 putty中解决SSH连接超时断开的两种 ...
分类:
其他好文 时间:
2020-02-14 19:09:02
阅读次数:
74
F. Three Paths on a Tree Description You are given an unweighted tree with nn vertices. Recall that a tree is a connected undirected graph without cyc ...
分类:
其他好文 时间:
2020-02-13 09:54:10
阅读次数:
72
以下是来自mybatisgengertor官方解释,由谷歌翻译而成,可能理解有问题,希望大家指出来 IS NULL - 表示相关列必须为NULLIS NOT NULL - 表示相关列不能为NULL=(等于) - 表示相关列必须等于方法调用中传入的值<>(不等于) - 表示相关列不能等于方法调用中传入 ...
分类:
其他好文 时间:
2020-02-12 23:54:44
阅读次数:
161
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b ...
分类:
其他好文 时间:
2020-02-09 00:38:57
阅读次数:
93
Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive). The binary search tree is g ...
分类:
其他好文 时间:
2020-02-07 10:19:29
阅读次数:
70
给两个已经排序好的数组A,B,和一个常数k, 找i,j使得 Ai + Bj - k 的绝对值最小 分析: Two pointer, i从A从前往后扫,j从B从后往前扫.if (A[i]+B[j] > k){ j--;}else { i++;}整个过程不断更新答案 ...
分类:
其他好文 时间:
2020-02-06 12:27:56
阅读次数:
53
实验参考 Open vSwitch使用案例扩展实验 实验步骤 1. 实验任务一。 1.创建新文件ovsSingleBr.py并编辑以下内容: #!/usr/bin/python from mininet.net import Mininet from mininet.node import Node ...
分类:
其他好文 时间:
2020-02-06 01:41:31
阅读次数:
90
启动两个端口为了80跳转 443 <Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="443"/> <Connector port="443" protocol="HTTP/1.1" SSL ...
分类:
Web程序 时间:
2020-02-04 23:51:14
阅读次数:
220
property 是将一个方法变成属性class Student(object): @property def score(self): return self._score @score.setter def score(self, value): if not isinstance(value, ...
分类:
其他好文 时间:
2020-02-04 00:35:49
阅读次数:
63
C.Two ArraysYou are given two integers n and m. Calculate the number of pairs of arrays (a,b) such that: the length of both arrays is equal to m;each ...
分类:
其他好文 时间:
2020-02-01 12:45:43
阅读次数:
197