Security and Cryptography in Python - Attack on Caesar Cipher Crypto Rule #1(Kerckhoffs' Principle) Eve should not be able to break the ciphers even w ...
分类:
编程语言 时间:
2021-02-01 12:50:36
阅读次数:
0
Hadoop搭建HA遇到的坑 重要报错信息 Zookeeper日志 Cannot open channel to 2 at election address node03/172.17.0.4:3888 java.net.ConnectException: Connection refused (C ...
分类:
其他好文 时间:
2021-02-01 12:17:43
阅读次数:
0
复制文件 func CopyFile(dstFileName string,srcFileName string )(written int64,err error) { srcFile,srcErr := os.Open(srcFileName) if srcErr != nil{ fmt.Pri ...
分类:
其他好文 时间:
2021-01-30 12:10:15
阅读次数:
0
新版本 64位装机版下载: MD5:D8F88F0E3AC9E52BD9AE4AC0FA7D6FA3密码:ca13密码:mev4 64位纯净版下载: MD5:11059C1C5EE385383C9A50435586D3BD密码:2879密码:psee 32位装机版下载: MD5:2548B1AF3F ...
前段时间因为工作原因需要在Jetty上部署app,直觉应该用最新的Jetty 11,但是部署之后Jetty启动的过程中,会出现*** is not a jakarta.servlet.Servlet的错误。因为这个war包曾经在tomcat 8上成功部署,所以确定war没问题,后来下载Jetty 1 ...
分类:
其他好文 时间:
2021-01-29 12:02:21
阅读次数:
0
Code Structure 代码结构 命名保持规范,驼峰命名。 Boolean方法,起名要以"is" / "has"开头。 方法名称要是动词。 ...... Design Principles 设计原则 Apply the Single-Responsibility principle to in ...
分类:
其他好文 时间:
2021-01-28 12:20:52
阅读次数:
0
SONIC 简介 定义及架构 SONIC (Software for Open Networking in the Cloud) 主要是运行在开放交换机上的开源网络操作系统,其包含了一个功能齐全的网络层设备。截至 2018 年,SONIC 支持 BGP,LLDP,link aggregation/L ...
分类:
其他好文 时间:
2021-01-28 12:14:56
阅读次数:
0
TXT 1、读取TXT文件 with open('File.txt' , 标识符) as f: print(f.read()) 标识包括:r——文本文件;rb——二进制文件 读取函数有:read()、readlines()、readline() read():一次读取整个文件,直接将所有文件的内容都 ...
分类:
编程语言 时间:
2021-01-28 12:09:40
阅读次数:
0
max_sessions参数,表示一个实例的最大连接数量。(即,所有通过用户连接的数量的总和)sessions_per_usr参数,表示一个用户可以拥有的规划数量。可以通过select * from v$sessions查询本用户目前的会话数量,并可以通过sp_close_session()过程函数 ...
分类:
其他好文 时间:
2021-01-27 13:54:50
阅读次数:
0
错误原因:cannot import name 'open' from 'smart_open' 根本原因在于:各个模块之间版本不兼容,调用出现错误 更新smart_open版本无效,之后查看smart_open文件夹下utils.py和smart_open_lib.py 在smart_open_l ...
分类:
其他好文 时间:
2021-01-27 13:23:41
阅读次数:
0