上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

2019年1月2日

摘要: netstat -n | awk '/^tcp/ {++y[$NF]} END {for(w in y) print w, y[w]}' 阅读全文
posted @ 2019-01-02 11:05 不忘初衷,方能致远 阅读(170) 评论(0) 推荐(0)

2018年12月27日

摘要: 中文编码时候,最上面 加上 #coding=utf-8 输出\uxxxx时候: json.dumps(data).decode("unicode-escape") 阅读全文
posted @ 2018-12-27 15:55 不忘初衷,方能致远 阅读(198) 评论(0) 推荐(0)

2018年12月7日

摘要: sizeof wchar_t. Unlike Windows UTF-16 2-byte wide chars, wchar_t on Linux and OS X is 4 bytes UTF-32 (gcc/g++ and XCode). ucs2是unicode的子集,编码上。 阅读全文
posted @ 2018-12-07 16:48 不忘初衷,方能致远 阅读(556) 评论(0) 推荐(0)
摘要: 假设我们需要用到两个静态库:libtest1.a和libtest2.a,其中libtest2.a中又使用了libtest1.a中的接口。 那么我们可以这样使用:(原来三种使用方式中的1、2其实是一种,后面只列出其中之一) 1. gcc –o test main.c libtest2.a libtes 阅读全文
posted @ 2018-12-07 11:44 不忘初衷,方能致远 阅读(250) 评论(0) 推荐(0)

2018年11月29日

摘要: 命令行: if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Debug") endif() 阅读全文
posted @ 2018-11-29 12:11 不忘初衷,方能致远 阅读(155) 评论(0) 推荐(0)

2018年10月24日

摘要: https://www.cnblogs.com/gavin-num1/p/5170247.html 一、编码历史与区别 一直对字符的各种编码方式懵懵懂懂,什么ANSI UNICODE UTF-8 GB2312 GBK DBCS UCS……是不是看的很晕,假如您细细的阅读本文你一定可以清晰的理解他们。 阅读全文
posted @ 2018-10-24 15:31 不忘初衷,方能致远 阅读(161) 评论(0) 推荐(0)

2018年8月24日

摘要: https://blog.csdn.net/luoleicn/article/details/5968038 GDB中print方法并不能直接打印STL容器中保存的变量,其实只要http://www.yolinux.com/TUTORIALS/src/dbinit_stl_views-1.03.tx 阅读全文
posted @ 2018-08-24 17:34 不忘初衷,方能致远 阅读(580) 评论(0) 推荐(0)

2018年8月9日

摘要: 下面代码会core: 改成 阅读全文
posted @ 2018-08-09 16:23 不忘初衷,方能致远 阅读(198) 评论(0) 推荐(0)

2018年8月7日

摘要: crontab -e 编辑 40 * * * * sh /home/maintable/tanzhenghai/wenda_log/mapreduce.sh >> "/home/maintable/tanzhenghai/wenda_log/mapreduce.log.$(date +"\%Y-\% 阅读全文
posted @ 2018-08-07 09:42 不忘初衷,方能致远 阅读(67) 评论(0) 推荐(0)

2018年8月2日

摘要: $1 为邮件内容 -s 为标题 阅读全文
posted @ 2018-08-02 12:33 不忘初衷,方能致远 阅读(95) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

导航