摘要:
ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library 须要安装pcre包。 sudo apt-get update sudo apt-get install libpcre3 libpcre3-dev 你可能 阅读全文
posted @ 2017-05-18 20:21
clnchanpin
阅读(478)
评论(0)
推荐(0)
摘要:
1.下载源代码 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.23.tar.gz 2.解压 tar zxvf mysql-5.6.23.tar.gz 3.安装必要的包 sudo yum install cmake gcc-c+ 阅读全文
posted @ 2017-05-18 19:25
clnchanpin
阅读(280)
评论(0)
推荐(0)
摘要:
Zookeeper是一个开源的分布式应用协调项目, 当中为了保证各节点的协同工作,Zookeeper在工作时须要有一个Leader。 而Leader是怎样被选举出来的?Zookeep中使用的缺省算法称为FastLeaderElection。 Zookeeper的基本前提是多个节点都具备全局其他全部节 阅读全文
posted @ 2017-05-18 18:23
clnchanpin
阅读(757)
评论(0)
推荐(0)
摘要:
swiper3.x仅仅兼容到ie10+。比較适合移动端。 swiper3.x官网 http://www.swiper.com.cn/ swiper2.x能够兼容到ie7+。官网是http://swiper2.swiper.com.cn/ 2.x和3.x使用上有区别 2.x须要引入 <link rel 阅读全文
posted @ 2017-05-18 16:56
clnchanpin
阅读(359)
评论(0)
推荐(0)
摘要:
1、首先我们须要下载而且安装BMFont工具,下载地址例如以下:http://download.csdn.net/detail/chenqiai0/8899353(里面还有具体的使用文档,假设使用中有什么不明确请留言)。 2、安装后,打开BMFont,界面例如以下,右边的列表是字体库 3、创建一个t 阅读全文
posted @ 2017-05-18 15:39
clnchanpin
阅读(1608)
评论(0)
推荐(0)
摘要:
在測试App的过程中,Activity调用了isDestroyed()方法,报出了java.lang.NoSuchMethodError错误。 自己手机MI 2S,版本号4.1.1。 事实上原因就是isDestroyed()这种方法是在4.2引入的,所以在4.1.1上调用此方法会报错。 须要做一下版 阅读全文
posted @ 2017-05-18 14:45
clnchanpin
阅读(224)
评论(0)
推荐(0)
摘要:
场景: 1. 有时候须要构造命令行字符串传递給函数调用,比方CreateProcess,假设參数是动态的,那么就得使用类似std::vector<string>加入单个參数,之后拼接为一个string. wx有给这类处理类。就是wxCmdLineParser ,它既能拼接为字符串。又能够把字符串分解 阅读全文
posted @ 2017-05-18 14:07
clnchanpin
阅读(566)
评论(0)
推荐(0)
摘要:
Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 36 Accepted Submission(s) : 25 Problem Descriptio 阅读全文
posted @ 2017-05-18 13:00
clnchanpin
阅读(122)
评论(0)
推荐(0)
浙公网安备 33010602011771号