- 浏览: 497646 次
- 性别:
最新评论
-
沉醉音乐的咖啡:
使用 preventDefault() 函数来阻止对表单的提交。 -
PhoenixHorse:
原表的索引啥的不就失效了吗
oracle修改表精度 -
yupengcc:
资料带走 3Q
RBAC模型 -
Java路:
...
JSON-LIB快速入门(转) -
damoqiongqiu:
utf-8下,E文字符占1个字节,中文字符占3个字节。如果一个 ...
AS3:截取定长度的字符串
文章列表
select * from user_source t where t.TEXT like '%TABLE_NAME%';
airmon-ng
airmon-ng start wlan0
airodump-ng mon0
apt-get update
apt-get install reaver
reaver -i mon0 -b 28:2C:B2:5E:79:14 -vv
reaver -i mon0 -b 28:2C:B2:5E:79:14 -vv -a -v -S -x 20 -r 100:10 -l 60 -n
路由器防PIN破解 http://download.csdn.net/detail/wugelidong/6486637 http://www.2cto. ...
64KB String limit in Java data streams
https://github.com/perwendel/spark/issues/40
Servlet 工作原理解析
http://www.ibm.com/developerworks/cn/java/j-lo-servlet/
Jetty 的工作原理以及与 Tomcat 的比较
http://www.ibm.com/developerworks/cn/java/j-lo-jetty/
Tomcat 系统架构与设计模式,第 1 部分: 工作原理
http://www.ibm.com/developerworks ...
查询Oracle 耗资源sql
- 博客分类:
- Oracle
1.查看总消耗时间最多的前10条SQL语句
select *
from (select v.sql_id,
v.child_number,
v.sql_text,
v.elapsed_time,
v.cpu_time,
v.disk_reads,
rank() over(order by v.elapsed_time desc) elapsed_rank
from v$sql v) a
where elapsed_rank <= 10;
2.查看CPU消耗时间最多的前10条SQL语句
select *
from (select v.sql_id,
v.ch ...
这个设置工具栏浮动的
ueditor.config.js修改如下
//autoFloatEnabled
//是否保持toolbar的位置不动,默认true
,autoFloatEnabled:false
<a href="javascript:gets();">获取</a>
<textarea id="ttt"></textarea>
<script language="javascript">
function gets()
{
var t = document.getElementByIdx_x("ttt");
t.value = document.documentElement.outerHTML;
}
</s ...
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexExam {
public static void main(String args[]) {
HashMap data = new HashMap();
String template = "尊敬的客户${customerName}你好 ...
http://tp.hd.mi.com/hdget/cn?product=2143600001&addcart=1&m=1&fk=0&dnws=05102014&jsonpcallback=hdcontrol&_=1412475931757
编辑器
- 博客分类:
- JavaScript
Ueditor(51CTO博客编辑器)
TinyMCE(博客园推荐编辑器)
Markdown(博客园编辑器)
CuteEditor(博客园编辑器)
FCKeditor(CSDN博客编辑器)
log4j.logger.org.hibernate=INFO
#Log JDBC bind parameter runtime arguments
log4j.logger.org.hibernate.type=trace
format
new Date().format("Y-m-d")
parse
dt = Date.parseDate("2006-01-15 3:20:01 PM", "Y-m-d h:i:s A" );
escapeRe( String str ) : String
为字符串正则编码将.在*+?^${}()|[]/\字符前加\
var str = "*+?^${}()|[]/";
alert(Ext.escapeRe(str));
//output:\*\+\?\^\$\{\}\(\)\|\[\]\/
var people = ['Bill', 'Saul', 'Gaius'];
//using each to detect Cylons:
var f=function (person, index)
{
var cylon = (index + 1) % 2 == 0; //every second man is a toaster
alert(person + (cylon ? ' is ' : ' is not ') + 'a fraking cylon');
}
Ext.each(people,f);
...
package t;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.mail.Authenticator;
import javax.mail.Message;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import java ...
http://docs.jboss.org/hibernate/orm/3.6/reference/en-US/html/types.html#types-value-basic
6.1.1.3. java.lang.Boolean (or boolean primitive)
org.hibernate.type.BooleanType
Maps a boolean to a JDBC BIT type
Registered under boolean and java.lang.Boolean in the type registry (see Section 6.5, ...