1、done:延迟成功时,调用函数或数组函数$.get("test.php").done(function() { alert("$.get succeeded"); });2、fail:延迟失败时调用$.get("test.php") .done(function(){ alert("$.g...
分类:
Web程序 时间:
2015-09-15 14:20:03
阅读次数:
136
redis cluster:redis3.0版本出现了redis集群功能架构细节:(1)所有的redis节点彼此互联(PING-PONG机制),内部使用二进制协议优化传输速度和带宽.(2)节点的fail是通过集群中超过半数的节点检测失效时才生效.(3)客户端与redis节点直连,不需要中间proxy...
分类:
其他好文 时间:
2015-09-14 19:14:52
阅读次数:
151
系统:win7 x64VirtualBox版本:4.3.28问题:启动虚拟机时出现“创建COM对象失败,应用程序将被中断”,错误代码是0x80004002点击确定后显示“无法启动虚拟机”blabla的问题,忘记截图了,错误代码是Error e_fail0x80004005解决方法:换用低版本的Vir...
配置nginx对salt-api的https转发,以下是nginx配置文件upstream saltapi.local { server 192.186.156.55:8090 weight=10 max_fails=2 fail_timeout=30s;}server ...
前几天微博发生了一起大的系统故障,很多技术的朋友都比较关心,其中的原因不会超出James Hamilton在On Designing and Deploying Internet-Scale Service(1)概括的那几个范围,James第一条经验“Design for fail...
分类:
其他好文 时间:
2015-09-07 17:00:23
阅读次数:
204
Dynamic-Link Library RedirectionApplications can depend on a specific version of a shared DLL and start to fail if another application is installed wi...
分类:
其他好文 时间:
2015-09-06 22:49:08
阅读次数:
362
php 安装参数./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fpm --with-fpm-user=php-fpm --with-fpm-group=php-fpm -...
分类:
数据库 时间:
2015-09-02 02:04:58
阅读次数:
735
如何解決MySQL 開動不到的問題 MySQL startfail
分类:
数据库 时间:
2015-09-01 19:45:42
阅读次数:
172
在用VC做开发的时候,对于一些字符串,会经常调用一般_t、_T、T(),其实这些东西都和Unicode有关系。比如说,AfxMessageBox(_T("Error! Fail to connect the database!"));这里用到了一个_T(),不使用_T()有时候编译会报错。
Windows操作系统使用Unicode作为默认的文本编码格式。Unicode定义了对大于8位的字符编码的...
1、Properites 加载配置文件 web路径设置2、CommonUtils.uuid()3 、TxQueryRunner c3p0数据库连接池4、MailUtil (邮箱的smtp服务要打开 否则 fail connected)5、MessageFormat 完成对占位符的替换6、将表单数据封...