博客搬家了,欢迎大家关注,https://bobjin.com Sql代码 hive> desc t; OK id string str string Time taken: 0.249 seconds hive> select * from t; OK 1 A 1 B 2 C 2 D Time t Read More
posted @ 2018-03-07 16:46 猿客 Views(7433) Comments(2) Diggs(0) Edit
php路径 /usr/bin/php phpize5 /usr/bin/phpize5 php5-fpm /usr/sbin/php5-fpm php所有的配置文件 /etc/php5/fpm 重启php-fpm sudo kill -USR2 `cat /var/run/php5-fpm.pid` Read More
posted @ 2018-02-03 17:33 猿客 Views(2054) Comments(0) Diggs(0) Edit
原来我使用的一直是 \u4e00-\u9fa5 ,今天在匹配中文标点的时候匹配不上,就查了一下相关资料,原来unicode跟中文有关的范围还有好几个。 字符范围表 1.标准CJK文字 范围:\u3400-\u4DB5,\u4E00-\u9FA5,\u9FA6-\u9FBB,\uF900-\uFA2D Read More
posted @ 2017-11-24 11:46 猿客 Views(2023) Comments(0) Diggs(0) Edit
占2个字节的:带有附加符号的拉丁文、希腊文、西里尔字母、亚美尼亚语、希伯来文、阿拉伯文、叙利亚文及它拿字母则需要二个字节编码 占3个字节的:基本等同于GBK,含21000多个汉字 占4个字节的:中日韩超大字符集里面的汉字,有5万多个 一个utf8数字占1个字节 一个utf8英文字母占1个字节 少数是 Read More
posted @ 2017-08-28 14:44 猿客 Views(1653) Comments(0) Diggs(0) Edit
转自 http://blog.csdn.net/zcmssd/article/details/6086649 是由于输出的CSV文件中没有BOM. 什么是BOM? 在UCS 编码中有一个叫做”ZERO WIDTH NO-BREAK SPACE”的字符,它的编码是FEFF。而FFFE在UCS中是不存在 Read More
posted @ 2017-07-31 21:27 猿客 Views(383) Comments(0) Diggs(0) Edit
1、使用ext_skel工具生成扩展框架 ./ext_skel --extname=myext 2、编辑config.m4文件 cd myext/vim config.m4 去掉以下内容的注释: PHP_ARG_ENABLE(changchunbo_test, whether to enable c Read More
posted @ 2017-05-09 23:12 猿客 Views(407) Comments(0) Diggs(0) Edit
# uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -tv # Read More
posted @ 2017-05-08 22:17 猿客 Views(305) Comments(0) Diggs(0) Edit
博客搬家了,欢迎大家关注,https://bobjin.com1、原生ajax请求方式: 1 var xhr = new XMLHttpRequest(); 2 xhr.open("POST", "http://xxxx.com/demo/b/index.php", true); 3 xhr.wit Read More
posted @ 2017-04-17 10:58 猿客 Views(6518) Comments(0) Diggs(0) Edit
博客搬家了,欢迎大家关注,https://bobjin.com 由于版本的兼容性问题,现在在windows下搭建pylot+matplotlib压力测试环境真的会令人吃尽苦头。这是因为,pylot从2009年后就不再更新了,而跟pylot搭配的软件python、numpy和matplotlib还在不 Read More
posted @ 2017-03-08 15:25 猿客 Views(2333) Comments(0) Diggs(0) Edit
What is PHP-FPM? PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any Read More
posted @ 2017-03-01 11:41 猿客 Views(441) Comments(0) Diggs(0) Edit