reno@MyComputer:~/tools/cmake-3.12.4$ ./configure CMake 3.12.4, Copyright 2000-2018 Kitware, Inc. and Contributors C compiler on this system is: cc Er ...
分类:
编程语言 时间:
2020-09-18 01:02:04
阅读次数:
40
Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * c6-media: * extras: ...
分类:
其他好文 时间:
2020-09-17 20:48:20
阅读次数:
33
> 本文参考 [**嗨客网**](https://haicoder.net) 的 [**Python教程**](https://haicoder.net/python/python-tutorial.html)
**关键词:**
`Python 教程` `Python诞生` `Python解释程序` `Python特点`
`Python应用场景` `Python与Java对比` `如何学好Python`
`Python2与Python3区别` `Python2与Python3选择`
`Python2代码转Python3代码`
本专题是关于 **[Python学习路线](https://blog.51cto.com/13550157/2530774)** 中的第一个模块:**Python教程**。
分类:
编程语言 时间:
2020-09-17 20:17:05
阅读次数:
34
socketserver框架主要是使用ServerClass跟RequestHandlerClass两大类。ServerClass处理服务端与客户端的通讯RequestHandlerClass处理数据的解析,接收和发送;主要的业务逻辑ServerClassBaseServer抽象基类TCPServer处理流式套接字UnixStreamServer处理本地处理流式套接字,只适用UNIX平台UDPSe
分类:
其他好文 时间:
2020-09-17 19:05:33
阅读次数:
24
编译标志-flags DOTALL,S:使.匹配包括换行在内的所有字符 IGNORECASE,I:使匹配对大小写不敏感 LOCAL,L:本地化识别(local-aware)匹配.法语等 MULTILINE,M:多行匹配,影响^和$ >>> s = ''' hello python python he ...
分类:
其他好文 时间:
2020-09-17 17:35:02
阅读次数:
27
1、在CentOS7中使用gpg创建RSA非对称密钥[root@centos7~]#gpg--gen-keygpg(GnuPG)2.0.22;Copyright(C)2013FreeSoftwareFoundation,Inc.Thisisfreesoftware:youarefreetochangeandredistributeit.ThereisNOWARRANTY,totheextentpe
分类:
其他好文 时间:
2020-09-17 15:57:37
阅读次数:
22
1 Canal环境准备 1.1 docker安装数据库 配置文件 [root@other example]# cat /mydata/mysql/master/conf/my.cnf [client] default-character-set=utf8 [mysql] default-charac ...
分类:
其他好文 时间:
2020-09-17 13:47:43
阅读次数:
26
Vim 配置 if has("autocmd") autocmd BufReadPost * \ if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif set encoding=utf-8 ...
分类:
系统相关 时间:
2020-09-17 12:54:28
阅读次数:
28
出错原因:代码文件是UTF-8格式并且有中文,javac、javadoc命令没有指定文件编码时,使用系统默认编码(GBK),因此出现提示错误。 解决办法:指定代码文件格式 -encoding utf-8 我在WIN10下用Idea,代码编译的时候没问题,但生成文档的时候也出这个错误,在Other c ...
分类:
编程语言 时间:
2020-09-14 18:59:30
阅读次数:
39
阻断TCP请求的报文需要知道TCP三次握手的标记位的值6个标记位:SYN,ACK,FIN,RST,URG,PSH客户端发送连接请求时,SYN=1,其余为0服务端同意连接请求时,SYN=1,ACK=1,其余为0阻止报文发送和接收,启用tcp模块的tcp-flags选项:iptables-IINPUT-ptcp--dport22-mtcp--tcp-flagsSYN,ACK,FIN,RST,URG,P
分类:
其他好文 时间:
2020-09-10 22:47:31
阅读次数:
37