4 关于android的一个常见错误:Unable to add window --token is not valid android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.Bi ...
分类:
移动开发 时间:
2018-02-09 14:55:09
阅读次数:
210
1.springboot 1.3.5升级1.5.9后 默认使用tomcat 8.5版本而之前用的是tomcat7 get请求报400 异常信息为 The valid characters are defined in RFC 7230 and RFC 3986 2.注意这里说明了,只是get请求。p ...
分类:
编程语言 时间:
2018-02-08 19:57:54
阅读次数:
1360
解决Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 问题 通过这里的回答,我们可以知道: Tomcat在 7.0.73, 8.0.39, 8.5.7 ...
分类:
其他好文 时间:
2018-02-05 17:10:22
阅读次数:
202
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2018-02-03 12:35:02
阅读次数:
178
#先来归纳一下整个流程#(1)首先is_valid()起手,看seld.errors中是否值,只要有值就是flase#(2)接着分析errors.里面判断_errors是都为空,如果为空返回self.full_clean(),否则返回self._errors#(3)现在就要看full_clean() ...
分类:
其他好文 时间:
2018-02-02 11:32:27
阅读次数:
170
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o... ...
分类:
其他好文 时间:
2018-02-02 00:52:24
阅读次数:
196
1:题目描述 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close ...
分类:
其他好文 时间:
2018-02-01 10:41:13
阅读次数:
123
1.新建的maven项目直接编译的时候会报错: [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin- ...
分类:
其他好文 时间:
2018-01-31 01:05:10
阅读次数:
144
32. Longest Valid Parentheses 题目 解析 对于括号匹配,和Valid Parentheses同样的思路,用栈维护左括号,即在读取字符串的时候,遇到左括号就入栈。遇到右括号就出栈,同时判断当前括号匹配的子串是否为最长子串。不过在判断括号匹配的子串的长度的时候,有一些值得注 ...
分类:
其他好文 时间:
2018-01-30 16:31:34
阅读次数:
166
Jenkins在http请求头部中放置了一个名为.crumb的token。在使用反向代理时,如果Jenkins设置中勾选了“Prevent Cross Site Request Forgery exploits”,代理服务器会认为.crumb为非法头部而去掉,导致跳转失败。
分类:
其他好文 时间:
2018-01-29 17:37:22
阅读次数:
492