- 博客(25)
- 资源 (3)
- 收藏
- 关注
原创 高性能Javascript笔记
developer.yahoo.com/performance 雅虎特别性能小组高性能网站建设高性能网站建设进阶指南一、加载和执行减少Javascript文件大小并限制HTTP请求数将脚本放在底部标签加载时会阻塞页面的渲染,所以标签放在标签的底部 不要把内嵌脚本紧跟在标签后导致页面阻塞等待样式下载减少外链脚本的数据合并脚本,引入一个标
2014-11-04 16:48:41
532
原创 将Maven的仓库改为Nexus
<!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work for additional informationregarding copyright o
2014-06-19 11:36:04
693
原创 maven cargo tomcat7 远程部署
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">4.0.0com.sampledemo2war0.0.1-SNAPSHOTdemo2 Maven Webapphttp://maven.apache.orgUT
2014-06-19 11:18:56
761
转载 产品、设计、项目管理、开发、以及部署和运帷的第三方工具
Android开源项目推荐对于 Android 工程师而言,了解当前的开源项目很必要,前一段时间网上很火的 Github 上开源项目,这里就不多说了。最火的开源项目(一): http://www.youkuaiyun.com/article/2013-05-03/2815127-Android-open-source-projects最火的开源项目(二): http://www.csd
2013-07-31 13:23:26
1092
转载 OutOfMemoryError : PermGen space 解决方法
原因: PermGen space的全称是Permanent Generation space,是指内存的永久保存区域,这块内存主要是被JVM存放Class和Meta信息的,Class在被Loader时就会被放到PermGen space中,它和存放类实例(Instance)的Heap区域不同,GC(Garbage Collection)不会在主程序运行期对PermGen spac
2013-07-27 10:12:29
909
转载 Java Reflection: Generics
Java Reflection: GenericsBy Jakob Jenkov I have often read in articles and forums that all Java Generics information is erased at compile time so that you cannot access any
2013-07-25 11:28:08
1458
转载 Websites Android developers must bookmark
Android now is an extremely popular mobile OS on the planet. This small robot creates a big world. Many developers are also devoting themselves to Android development. For both novices and experts, yo
2013-07-24 14:26:59
662
转载 Spring MVC 3.0.5+Spring 3.0.5+MyBatis3.0.4
讲述Spring MVC的流程结构,Spring MVC与Struts2的区别,以及例子中的一些配置文件的分析。 一、Spring MVC 3.0介绍 Spring MVC是一个典型的MVC框架,是Spring内置的Web框架,可以作为应用项目的展示层,继Spring 2.0对Spring MVC进行重大升级后,Spring 2.5又为Sprin
2013-07-24 14:25:17
758
原创 Spring <context:annotation-config/>
在基于注解配置Spring的配置文件中,有这样一条配置,他的作用是显式地向 Spring 容器注册AutowiredAnnotationBeanPostProcessor、CommonAnnotationBeanPostProcessor、PersistenceAnnotationBeanPostProcessor、RequiredAnnotationBeanP
2013-07-24 13:57:06
639
原创 eclipse.ini
-startupplugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222-showsplashorg.eclipse.pl
2012-09-24 14:21:41
466
原创 各数据库limit写法
MS SQLselect top 10 * from dualOracleselect * from dual where rownum MY SQLselect * from dual limit 10
2012-09-24 14:21:17
820
原创 【Java Base】 参数传递
Java数据格式Object obj = new Object();解释:声明引用obj,分配栈内存地址实例化Object类型对象,分配堆内存地址Java 参数传递类型值传递基本数据类型(8种)intshortlongbytefloatdoublebooleanchar地址传递对象数据类型Obj
2012-07-19 13:37:06
515
转载 Android中使用Animation实现控件的动画效果以及Interpolator和AnimationListener的使用
Animation的4个基本动画效果What is Animation?public abstract classAnimationextends Objectimplements CloneableAbstraction for an Animation that can be applied to Views, Surfaces, or other ob
2011-11-16 11:03:59
1268
转载 Mockito入门
<br /> Mockito入门关键字: 单元测试 模拟 简介<br /><br /> InfoQ-使用Mockito 1.5监视普通对象 写道Mockito是一个针对Java的mocking框架。它与EasyMock和jMock很相似,但是通过在执行后校验什么已经被调用,它消除了对期望行为(expectations)的需要。其它的mocking库需要你在执行前记录期望行为(expectations),而这导致了丑陋的初始化代码。<br /> <br /> 更多信息请参考如下位置,<br /> 原文链接
2010-12-30 17:57:00
11565
转载 maven 入门
什么是pom? pom作为项目对象模型。通过xml表示maven项目,使用pom.xml来实现。主要描述了项目:包括配置文件;开发者需要遵循的规则,缺陷管理系统,组织和licenses,项目的url,项目的依赖性,以及其他所有的项目相关因素。快速察看:xml 代码 project> modelVersion>4.0.0modelVersion>
2010-12-30 17:55:00
742
转载 JSTL标签用法
JSTL标签用法:JSTL标签用法关键字:JSTL标签、、、、、、、、、、、、、、原来一直没有看过,我说过我是新手,但是好多资料上似乎也不重视 JSTL 。我看项目源代码发现其中使用到了这个标签库,感觉其还真是方便,页面看起来更加清爽。减少了 JAVA 程序员亲自写的代码量,还真验证了,不懒不做程序员,程序员如果写代码不想着偷懒,那么生活是很无趣的。下面总结总结,学习学习。:)JSP 标准标记库( Standard Tag Library , JSTL) 是一组以标准化格式实现许多通用的 Web 站
2010-12-30 17:50:00
508
转载 自定义file plugin
<br />来源:http://www.appelsiini.net/projects/filestyle<br /> <br />/*<br />* jsp<br />*/<br />$("input[type=file]").filestyle({ <br /> image: "/images/file.gif",<br /> imageheight : 22,<br /> imagewidth : 82,<br />
2010-12-30 17:49:00
567
转载 JQuery上传插件Uploadify使用详解
Uploadify rel="stylesheet" type="text/css" /> rel="stylesheet" type="text/css" />
2010-12-30 17:41:00
512
转载 jQuery 判断 checkbox 是否被选中的几种方法
<br />//获取一组radio被选中项的值<br />var item = $('input[@name=items][@checked]').val();<br />//获取select被选中项的文本<br />var item = $("select[@name=items] option[@selected]").text();<br />//select下拉框的第二个元素为当前选中值<br />$('#select_id')[0].selectedIndex =
2010-12-30 17:34:00
695
原创 jquery autocomplete试用
<br />插件的地方:<br />http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/<br /> <br />1.<br />在页面导入<br /><script type="text/javascript" src="${ctx }/js/jquery-1.3.2.min.js"></script><br /><script type="text/javascript" src="${ctx }/js/jq
2010-12-30 17:32:00
654
转载 How to Ajax auto refresh after x seconds
Use of setInterval functionjust alert “hello San” to test this function<br />setInterval("alert('Hello San')",5000); ///////// 5 secondsExample: just alert “hello San” to test this function after 10 seconds<script type="text/javascript" src="http://aj
2010-12-30 17:24:00
713
转载 JProfiler eclipse 整合配置
<br />2.安装, <br />运行jprofiler_windows_5_1_2.exe,安装到d:/Program Files/jprofiler5 <br />安装的过程中可以选择与IDE整合,也可以在安装完成后,运行Jprofiler的时候再整合。 <br /><br />3.整合到Eclipse, <br />先启动 JProfiler : <br />开始菜单–>所有程序–>JProfiler 5 –>JProfiler,输入注册码。(注册码是在网上某个博客找
2010-12-30 17:18:00
986
原创 Adobe Flex 3 Study URL
<br />1.【Adobe flex3 component explorer】<br />http://examples.adobe.com/flex3/componentexplorer/explorer.html <br /> <br />2.【Flex 2 Style Explorer】<br />http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#app=a712&19f4-selecte
2010-12-30 17:13:00
605
原创 Eclipse plugins
SVNhttp://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuAmavenhttp://m2eclipse.sonatype.org/sites/m2ejd-eclipsehttp://java.decompiler.free.fr/jd-eclipse/updateADThttps
2010-12-30 17:05:00
439
转载 MYSQL常见出错代码解析大全
<br />145 :文件无法打开。 <br /><br />1005:MYSQL创建表失败 <br /><br /> 1006:MYSQL创建数据库失败 <br /><br /> 1007:MYSQL数据库已存在,创建数据库失败 <br /><br /> 1008:MYSQL数据库不存在,删除数据库失败 <br /><br /> 1009:MYSQL不能删除数据库文件导致删除数据库失败 <br /><br /> 1010:MYSQL不能删除数据目录
2010-12-30 16:59:00
508
Java编程规范(第三版) 书签版
2015-05-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人