Feb 24
Fatal error: Class 'ZipArchive' not found在Unix/Linux下的解决办法:

1、在Linux下没有php_zip.dll这个文件(有也不会起作用的),所以需要重新编译一下php的zip模块。具体安装方法如下:

cd /usr/src

wget http://pecl.php.net/get/zip

tar -zxvf zip

cd zip-1.x.x

phpize

./configure

make
Mar 19
当执行一条时间比较长的Sql文时,会引起DB挂起。
①查询Pg的状态方法:
# ps axwf | grep 'postgres'
20152 ?        S     34:54 /usr/local/pgsql/bin/postgres
20154 ?        Ss    54:20  \_ postgres: writer process
20155 ?        Ss    41:50  \_ postgres: wal writer process
20156 ?        Ss   192:31  \_ postgres: autovacuum launcher process
20157 ?        Ss   465:52  \_ postgres: stats collector process
8493 ?        Ss     0:00  \_ postgres: postgres WildCard ::1(42985) SELECT
8495 pts/3    S+     0:00          |   \_ grep postgres

②table lock waiting, select waiting产生测试方法,postgres select 执行延迟:
select pg_sleep(50),(select id from zhoz_table) as zhoz_id;

③解决方法:
lock部分mode变换
Nov 26
指定页面Url,用php正则抓取淘宝、亚马逊、京东指定商品的价格等信息
已测试,京东不能直接抓取,需要先写个Js来模拟生成数据,再进行抓取。
等需要的时候,再补上方法。
Oct 17
手机语言版本的判断

使用navigator.browserLanguage 便可得出windows phone语言版本,
当然可恶的小小手机语言版本也有兼容性的差异,兼容Mozilla,以及AppleWebKit内核的浏览器访问其语言版本,它会列出 navigator.language
比较特别的地方

UC浏览器没有安卓报头,只返回:linux ,这里粗略的根据linux来判断是安卓(前提必须满足是移动终端,UC这点是满足的)

安卓QQ浏览器HD版检测的结果是:mac, Safari
Jun 16
为Win8.1优化,Office 2013 SP1正式版提供官方下载

桌面平台的Office产品:Office 2013、SharePoint 2013、Exchange Server 2013,发布了Service Pack 1 (SP1)服务包。这次SP1带来更好的稳定性,扩展Office功能特性、增强安全性。

另外,SP1也为优化了新版Office与Windows 8.1、Windows Server 2012 R2平台上的兼容性。

在未来一个月内,Office2013用户将会获得Windows Update推送通知。

目前,Office 2013 Service Pack 1已经上架微软下载中心,Office用户也可以手动下载离线安装包。

Office 2013 Service Pack 1下载:

32位版(643.6MB)
Array
分页: 3/63 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]