Stop命令使用该命令的程序位置INITIALIZATION, AT
SELECTION-SCREEN, START-OF-SELECTION和GET
事件中处理说明1、当在INITIALIZATION事件执行该命令,系统将直接触发应用服务器和客户端屏幕元素的发送;2、在其他事件中将直接触发END-...
分类:
其他好文 时间:
2014-06-06 22:53:58
阅读次数:
251
虽然很早以前就只有Eclipse和IDEA都支持远程调试功能的,但是基本没怎么使用过,今天因为紧急处理一个问题,而本地环境搭建起来比较麻烦,所以就使用了IDEA的远程调试功能。因此写一篇文章记录一下。步骤:1.
首先在IDEA中check出来你要调试的工程的代码,假设工程的名字为A。然后在IDEA....
分类:
其他好文 时间:
2014-06-06 07:30:46
阅读次数:
339
/** * jQuery MD5 hash algorithm function * * *
Calculate the md5 hash of a String * String $.md5 ( String str ) * * *
Calculates the MD5 ha...
分类:
Web程序 时间:
2014-06-05 21:50:52
阅读次数:
612
//判断是否是一个网址//邮箱检测——————————————————————————4function
check_idea15(s){var reEmail=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;var
b_email=reEmail.t...
分类:
Web程序 时间:
2014-06-03 14:51:44
阅读次数:
446
什么是职责链模式
使多个对象都有机会处理请求,从而避免请求的发送者和接受者之前的耦合关系。将这个对象连成一条链,并沿着这条链传递该请求,直到有一个对象处理它为止。
职责链模式的重心是在“链”上,由一条链去处理相似的请求在链中决定谁来处理这个请求,并返回相应的结果。
通用类图
Handler:抽象处理者。一是定义一个请求的处理方法ha...
分类:
其他好文 时间:
2014-06-02 22:40:48
阅读次数:
297
【题目】
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
【题意】
判断了两个二叉树是否相等
【思路】
递归...
分类:
其他好文 时间:
2014-06-02 11:03:03
阅读次数:
205
【题目】
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the following is not:
1
/ 2 2
\ 3 3
No...
分类:
其他好文 时间:
2014-06-02 10:56:14
阅读次数:
237
常见的做负载均衡的机制:nginx,lvs,haproxy适合做网站调度:nginx,haproxy适合做应用层,如mysql数据库:lvshaproxy特点:吞吐量很高HAProxy提供高可用性、负载均衡以及基于TCP和HTTP应用的代理,支持虚拟主机,它是免费、快速并且可靠的一种解决方案。HAProxy特别适用于那..
分类:
其他好文 时间:
2014-06-02 07:51:12
阅读次数:
312
check_lock.sql脚本
列出对象锁(lock)信息及其被杀的会话(sid,serial#)信息
setlinesize132pagesize66
breakonKillonusernameonterminal
columnKillheading‘KillString‘formata13
columnresheading‘ResourceType‘format999
columnid1format9999990
columnid2format999999..
分类:
其他好文 时间:
2014-06-02 04:11:00
阅读次数:
248
Caused by: java.sql.SQLException: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right s...
分类:
数据库 时间:
2014-06-01 11:31:29
阅读次数:
371