上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页
摘要: /usr/bin/ld: ext/curl/.libs/interface.o: undefined reference to symbol 'CRYPTO_set_id_callback@@OPENSSL_1.0.0'//lib/i386-linux-gnu/libcrypto.so.1.0.0:... 阅读全文
posted @ 2014-10-05 17:20 timelesszhuang 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 正则表达式到底是什么东西?字符是计算机软件处理文字时最基本的单位,可能是字母,数字,标点符号,空格,换行符,汉字等等。字符串是0个或更多个字符的序列。文本也就是文字,字符串。说某个字符串匹配某个正则表达式,通常是指这个字符串里有一部分(或几部分分别)能满足表达式给出的条件。在编写处理字符串的程序或网... 阅读全文
posted @ 2014-09-24 14:21 timelesszhuang 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 只需要执行chmod -R 777 ./* 把 .git文件权限设置为 777便可以实现。 阅读全文
posted @ 2014-09-16 11:31 timelesszhuang 阅读(257) 评论(0) 推荐(0) 编辑
摘要: balance = $balance; } } class Person { private $id; private $name; private $age; public $account; public function __construct($name, $age, Account $account) { $thi... 阅读全文
posted @ 2014-09-10 13:33 timelesszhuang 阅读(379) 评论(0) 推荐(0) 编辑
摘要: PHP在魔术函数__autoload()方法出现以前,如果你要在一个程序文件中实例化100个对象,那么你必须用include或者require包含进来100个类文件,或者你把这100个类定义在同一个类文件中——相信这个文件一定会非常大。但是__autoload()方法出来了,以后就不必为此大伤脑筋了... 阅读全文
posted @ 2014-09-10 10:56 timelesszhuang 阅读(367) 评论(0) 推荐(0) 编辑
摘要: memcache作为一款优秀的进程外缓存,常常被运用于高并发系统架构中。这里主要谈谈怎么通过telnet工具,查看memcache运行状况并对其key进行管理维护。假设memcache安装目录:/usr/local/memcached 1、启动memcache[plain] view plainco... 阅读全文
posted @ 2014-09-02 17:40 timelesszhuang 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1最近刚开始接触apache大数据下数据优化,讲一下apache 下ab压力测试工具。程序“ab”尚未安装。 您可以使用以下命令安装:apt-get install apache2-utils 以下是ab --help sage: ab [options] [http[s]://]hostnam... 阅读全文
posted @ 2014-09-02 15:15 timelesszhuang 阅读(5070) 评论(0) 推荐(0) 编辑
摘要: 1 github在新的目录下添加新的文件git init //在相应的目录下添加git add //添加目录git commit -m "first commit"git config --global user.email "834916321@qq.com"git config --global... 阅读全文
posted @ 2014-08-31 13:31 timelesszhuang 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 接触github很长时间了,github有windows 跟 mac 版本,恶心的是现在在linux 下没有可视化界面的版本。所以对于很多没有怎么接触过github的人带来很大困难。话不多说,彪重点:1.创建一个新的repository:先在github上创建并写好相关名字,描述。$cd /us... 阅读全文
posted @ 2014-08-30 16:38 timelesszhuang 阅读(462) 评论(0) 推荐(0) 编辑
摘要: #postgres安装apt-get install postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 postgresql-server-dev-9.32修改PostgreSQL数据库的默认用户postgres的密码(注意不是l... 阅读全文
posted @ 2014-08-16 15:56 timelesszhuang 阅读(1526) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页