if(/[@#\$%\^&\*]+/gi.test($("#user_api_register_form").find("input[name='user_name']").val())) { $.showErr("用户名含有非法字符",function(){ $("#user_api_regist... ...
分类:
Web程序 时间:
2017-05-17 11:54:27
阅读次数:
253
使用JPA中@Query 注解实现update 操作,代码如下: @Transactional@Modifying(clearAutomatically = true)@Query(value = "update info p set p.status =?1 where p.id = ?2",na ...
分类:
其他好文 时间:
2017-05-17 11:48:06
阅读次数:
1282
<script> var arr = [3, 1, 4, 6, 5, 7, 2]; function bubbleSort(arr) { var len = arr.length; for (var i = len; i >= 2; --i) { for (var j = 0; j < i - 1; ...
分类:
编程语言 时间:
2017-05-17 11:47:53
阅读次数:
123
Oracle 11g 使用IPC 连接很快,使用TCP 连接很慢,需要三四十秒。 通过tsping 测试,同样花费三四十秒。 查看监听的警告日志log.xml,存在警告如下: <msg time='2017-05-16T16:57:51.811+08:00' org_id='oracle' comp ...
分类:
数据库 时间:
2017-05-17 11:47:25
阅读次数:
387
今天加入redis但连接一直报无法获取到连接,看配置 今天加入redis但连接一直报无法获取到连接,看配置 ``` <bean id="redisResources" class="java.util.ArrayList"> <constructor-arg> <list> <value>class ...
分类:
其他好文 时间:
2017-05-17 10:19:39
阅读次数:
224
Activity常用方法 setContentView(R.layout.xxxx);//设置布局文件 findViewById(R.id.xxxx);//指定控件 getString(R.string.xxxx);//获取strings.xml指定key的值 注意:可以用Java代码生成界面,也可 ...
分类:
其他好文 时间:
2017-05-17 10:13:53
阅读次数:
168
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r... ...
分类:
Web程序 时间:
2017-05-17 00:57:56
阅读次数:
385
Pointcut 是指那些方法需要被执行"AOP",是由"Pointcut Expression"来描述的. Pointcut可以有下列方式来定义或者通过&& || 和!的方式进行组合. args() @args() execution() this() target() @target() wit ...
分类:
编程语言 时间:
2017-05-16 23:38:26
阅读次数:
364
深入学习webpack(二) 在深入学习webpack(一)中,我通过一个例子介绍了webpack的基本使用方法,下面将更为系统的学习webpack的基本概念,对于一门技术的掌握我认为系统化还是很重要的,如果仅仅是一知半解,更为深入的地方了解不够,那么你就泯然众人矣。 webpack的核心概念主要有 ...
分类:
Web程序 时间:
2017-05-16 23:22:37
阅读次数:
196
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>无标题文档</title> <script> window.onload = function (){ var oBtn1 ...
分类:
其他好文 时间:
2017-05-16 23:15:39
阅读次数:
140