摘要: from https://blog.csdn.net/sinat_24648637/article/details/84190482 1. chardet模块举例2. Supported encoding for python1. chardet模块The easiest way to use th 阅读全文
posted @ 2019-07-18 16:51 凌波微步_Arborday 阅读(8990) 评论(0) 推荐(0) 编辑
摘要: nice~ from https://www.jianshu.com/p/f0513d18742a 一、配置文件 基础配置 vim的所有配置都是在 ~/.vimrc 这个文件中完成。默认是没有的需要自己新建: cd ~ touch .vimrc vim .vimrc 以下是我个人的.vimrc文件的 阅读全文
posted @ 2019-07-18 11:42 凌波微步_Arborday 阅读(296) 评论(0) 推荐(0) 编辑
摘要: from: http://blog.sina.com.cn/s/blog_7c4f3b160101dv4p.html 最近在公司看代码,看到一个字符串长度统计的代码,如下 int calcLen(const char* _str) { int n = 0; char ch = 0; while (( 阅读全文
posted @ 2019-07-18 09:25 凌波微步_Arborday 阅读(2686) 评论(0) 推荐(0) 编辑