1 故障现象:在创建用户时候,提示以下错误:root@localhost Tue Oct 24 09:57:41 2017 09:57:41 [mysql]> create user 'liufofu'@'5.5.5.5' identified by 'liufofu'; ERROR 1805 (H ...
分类:
数据库 时间:
2017-10-24 19:31:21
阅读次数:
2512
Authors: Etienne Stalmans, Saif El-Sherei What if we told you that there is a way to get command execution on MSWord without any Macros, or memory cor ...
分类:
其他好文 时间:
2017-10-24 19:27:37
阅读次数:
255
pipinstallpycrypto报错src/MD2.c:31:20:error:Python.h:Nosuchfileordirectory
src/MD2.c:120:error:expected‘=’,‘,’,‘;’,‘asm’or‘__attribute__’before‘*’token
Infileincludedfromsrc/MD2.c:136:
src/hash_template.c:48:error:expectedspecifier-qualifier-lis..
分类:
其他好文 时间:
2017-10-23 15:40:37
阅读次数:
352
1、IndentationError:expected an indented block 原因:Python对缩进非常敏感 解决:在出现此问题的哪一行进行缩进就好,注意tab不能与空格混用,有冒号的下一句一般要缩进 2、TypeError: unorderable types: str() >= ...
分类:
编程语言 时间:
2017-10-21 19:05:18
阅读次数:
271
用于产生三角波的计数器计数模式配置为中心Center-aligned mode 1,这个模式下Output compare interrupt flags of channels configured in output (CCxS=00 in TIMx_CCMRx register) are se ...
分类:
其他好文 时间:
2017-10-18 14:51:47
阅读次数:
145
1. 创建pool 创建存储池: ceph osd pool create {pool-name} {pg-num} [{pgp-num}] [replicated] [crush-ruleset-name] [expected-num-objects]删除存储池: ceph osd pool de ...
分类:
其他好文 时间:
2017-10-17 21:46:22
阅读次数:
389
当你写一个枚举类时,如果没有在枚举类的第一行写有哪些枚举值,那么就会出现编译报错:Syntax error on token "String", strictfp expected 比如: public enum Season2 implements TimeInfo { private final ...
分类:
系统相关 时间:
2017-10-16 09:39:18
阅读次数:
168
原贴:为什么Python不需要getter和setter getter 和 setter在java中被广泛使用。一个好的java编程准则为:将所有属性设置为私有的,同时为属性写getter和setter函数以供外部使用。 这样做的好处是属性的具体实现被隐藏,当未来需要修改时,只需要修改getter ...
分类:
编程语言 时间:
2017-10-13 21:25:47
阅读次数:
238
Element type is invalid:expected a string (for built-in compoenets)or a class/function (for composite components)but got:undefined.... 这个错,是说没有export出 ...
分类:
其他好文 时间:
2017-10-13 19:02:21
阅读次数:
170
shell脚本报错:"[: =: unary operator expected" 在匹配字符串相等时,我用了类似这样的语句: if [ $STATUS == "OK" ]; then echo "OK" fi 在运行时出现了 [: =: unary operator expected 的错误,就一 ...
分类:
系统相关 时间:
2017-10-13 14:54:21
阅读次数:
184