- 浏览: 216746 次
- 性别:
- 来自: 上海
最新评论
-
junzi2013:
df
黑马程序员:MyEclipse9 常用快捷键 中英文对照 及 快速get set方法 -
junzi2013:
dfsdafadsfsd
黑马程序员:MyEclipse9 常用快捷键 中英文对照 及 快速get set方法 -
idealab:
博主说的OpenCSV, JavaCSV, SuperCSV都 ...
csv调研 -
tanxin:
楼主怎么解决这个问题的呢?
坑爹的zookeer -
yy22258867:
:twisted:
黑马程序员19-7:foreach遍历核心源码,遍历HashMap需要用map.keySet()或map.entrySet()
文章列表
在很多项目中都会有在前端展现数据图表的需求,而在开发过程中,开发者往往会使用一些JavaScript库,从而更有效地达到想要的目标。最近,TechSlide上的一篇文章总结了50种用于展现图表的JavaScript库,并对每种库做了简要的说明 ...
表达式:
从0秒开始每15秒执行一次
<property name="cronExpression" value="0/15 * * * * ?"></property>
Cron表达式范例:
每隔5秒执行一次:*/5 * * * * ?
每隔1分钟执行一次:0 */1 * * * ?
每天23点执行一次:0 0 23 * * ?
每天凌晨1点执行一次:0 0 ...
火狐中使用
window.location.reload();
不会刷新表单的值,而谷歌会
使用下面这个就可以解决火狐的问题
window.location.href=window.location.href;
拉伸背景
open-btn {
background: url("../images/ml-open-demo.png") no-repeat scroll left top rgba(0, 0, 0, 0);
display: block;
height: 48px;
opacity: 0.6;
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
width: 48px;
30% 60%;: ;
30% 60 ...
获取子元素
$("#news-by-sname>div:first-child>div:nth-child(1)")
jquery对于解码的处理
jQuery( '<td _tmplitem="43" >{ "levelOneIndustry" : { "id" : "01", "name" : "IT\/互联网\/通信\/电子", & ...
1 - init jedis pools, size:10
15:39:51,014 [main] ERROR ZookeeperClient.java:55 - zookeeper connect error: KeeperErrorCode = ConnectionLoss for /
15:39:51,017 [main] ERROR JedisPoolFactory.java:129 - JedisPoolFactory init error
java.lang.RuntimeException: java.lang.IllegalStateException: zookeep ...
本节实例介绍对Map中的记录根据键进行排序,Map对象的键是Integer类型,排序结果可以是升序也可以是降序。
关键技术剖析:
l 只有TreeMap能够把保持的记录根据键排序,因此,可以把其他Map转换成TreeMap,转换的方法是把Map对象当做参数构造TreeMap。
l TreeMap默认用升序排序,可以指定排序用的比较器。比较实现Comparator接口。
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
im ...
Resin Professional 3.0.21 (built Thu, 10 Aug 2006 12:17:46 PDT)
Copyright(c) 1998-2006 Caucho Technology. All rights reserved.
Resin Professional has not found any valid licenses.
Licenses belong in G:\RenRen\resin-pro-3.0.21\licenses.
See http://www.caucho.com/sales for licensing info ...
Failed to resolve artifact, possibly due to a repository list that is not appropriately
equipped for this artifact's metadata
http://plzbite.me/post/18841406483/maven-maven-metadata-central-xml
解决的办法很简单, 删除对应的文件, 重新generate就可以了:
删除文件
\[user]\.m2\repository\org\apache\maven\plugins\
maven- ...
1.用case when中那些想当然的错误
下面找出status = -2的范围
select hid, status from news_host where update_time > '2013-09-28' group by status;
下面的结果绝对不是你想要的
SELECT hid, SUM(CASE status WHEN status=-2 THEN scount ELSE 0 END) AS 'preFailCount' FROM ( SELECT hid, status, COUNT(status) AS scount
FROM news ...
jQuery 的选择器可谓之强大无比,这里简单地总结一下常用的元素查找方法
$("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元素
$("div") ...
http://rogerfederer.iteye.com/blog/788795
http://www.csdn.net/article/2013-08-26/2816701-100x-faster-Postgres-performance-by-changing-1-line
1,sql语句中,多表查询,某个字段没有写来自哪个表的
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'uids' in field list is ambiguous
@SQL("SELECT a.vid, a.aid, a.nid, a.re_aid, uids, cids, IF(a.final_cids IS NULL, '', a.final_cids) AS final_cids, IF(a.final_uids IS NULL, '', a.fina ...
http://elf8848.iteye.com/blog/245559
http://blog.csdn.net/bubei/article/details/2108766