With a system running 24/7, you have to make sure that it performs well at any time of the day. Several commercial solutions exist to monitor the perf...
分类:
编程语言 时间:
2014-09-02 21:08:15
阅读次数:
338
系统环境:centOs6.2(纯净系统环境,已做初步系统优化)系统内核:2.6.32-220.el6.x86_64软件版本:http-2.4.2;mysql-5.5.23;php-5.3.13闲言碎语:通过源码方式安装软件,需要准备好安装环境(如gcc等工具)个人学习、交流QQ:875656692yum-yinstallgccgcc-c++opensslopenssl-d..
分类:
其他好文 时间:
2014-09-02 18:01:45
阅读次数:
400
使用wordpress的时候,如果想直接使用WP里封装的数据库操作的类(wp-db.php),将wp-blog-header.php包含到代码中就可以使用了。define(‘PATH’, dirname(dirname(__FILE__)).‘/’);require_once(PATH . ‘../...
分类:
数据库 时间:
2014-09-02 15:37:54
阅读次数:
233
装了wordpresscos-html-cache静态插件后,生成了静态文件,post-views等点击数插件就失效了,找了一些,包括有个js版本的,需要用到post-views插件,我也不想装太多插件,于是有了下面的方案。1:AdvancedCustomFields插件。安装后,我原先用作缩略图字...
分类:
Web程序 时间:
2014-09-01 17:08:23
阅读次数:
247
现今建立一个属于自己的网站已经是一件很普遍和简单的事情了。你可以选择买空间,买域名,你也可以使用免费空间,免费域名。你可以选择动态的php wordpress,joomla或者是静态的网站(如果使用jekyll or octopress部署到github上)。今天我将介绍如何在Google Drive上建立一个静态的网站,其实和github很相似,都支持js。不得不说google走的每一步都是让人...
分类:
Web程序 时间:
2014-09-01 10:46:53
阅读次数:
226
压缩与解压缩:tar xvf wordpress.tar ####解压tar格式的文件####tar -tvf myfile.tar ####查看tar文件里包括的文件 ####tar cf toole.tar tool ####把tool文件夹打包为toole.tar文件####...
分类:
系统相关 时间:
2014-08-31 21:20:21
阅读次数:
261
WordPress 的 rich text采用js,先让selenium切换到iframe中driver.switchTo().frame("content_ifr");然后执行JSWebElement editor = driver.findElement(By.tagName("body"));...
分类:
其他好文 时间:
2014-08-31 00:25:30
阅读次数:
374
Added the favicon in the wordpress, it's easy....
分类:
其他好文 时间:
2014-08-29 13:10:27
阅读次数:
128
客户端代码可以看:http://www.zhangxinxu.com/wordpress/2010/07/%E5%9B%A2%E8%B4%AD%E7%B1%BB%E7%BD%91%E7%AB%99%E5%80%92%E8%AE%A1%E6%97%B6%E7%9A%84js%E5%AE%9E%E7%8...
分类:
Web程序 时间:
2014-08-28 23:56:16
阅读次数:
381