在preferred time和valid lifetime之间叫做deprecated 状态,当地址达到这个时间段的时候,地址不能主动的发起连接只能是被动的接受连接,过了valid lifetime时间,地址就变为invalid,这时任何连接就会down掉 ...
分类:
其他好文 时间:
2019-11-04 17:13:48
阅读次数:
308
### Python编码问题 ### 一、解决UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range 字符串在Python内部的表示是unicode编码,因此,在做 ...
分类:
其他好文 时间:
2019-11-04 13:42:50
阅读次数:
156
题目如下: Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any po ...
分类:
其他好文 时间:
2019-11-04 11:50:25
阅读次数:
79
效果图原理表单元素中,有一个pattern属性,可以自定义正则表达式(如手机号、邮箱、.);valid伪类,可以匹配通过pattern验证的元素;invalid伪类则相反,可以匹配未通过pattern验证的元素;于是就可以随便搞啦,上面的效果图只是做一些简单的效果,更多效果以及限制大家就发挥自己的想象力咯;html布局很简单,input跟button是兄弟节点的关系,required属性是
分类:
Web程序 时间:
2019-11-03 22:14:36
阅读次数:
134
1 题目 Write a function to check whether an input string is a valid IPv4 address or IPv6 address or neither. IPv4 addresses are canonically represented ...
分类:
其他好文 时间:
2019-11-03 15:04:37
阅读次数:
101
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-11-03 13:00:36
阅读次数:
90
1.NoReverseMatch at / Reverse for 'about' not found. 'about' is not a valid view function or pattern name. 这是因为自己指定了app_name, 在html界面中同样要指定,即 ...
分类:
其他好文 时间:
2019-10-31 23:48:43
阅读次数:
118
Invalid character found in the request target. The valid characters are defined in RFC 3986 ...
分类:
其他好文 时间:
2019-10-31 21:37:17
阅读次数:
75
SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary' 对数据表更改,然后执行数据迁移命令php ar ...
分类:
数据库 时间:
2019-10-31 16:44:53
阅读次数:
163
上面说:Caused by: java.lang.IllegalArgumentException: login.jsp?logout isn't a valid redirect URL 解决方法: 在路径前面加上/就行了,以后的/能不省就别省 ...
分类:
编程语言 时间:
2019-10-31 01:06:18
阅读次数:
90