自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Ghost In Matrix

there was a ghost in acient time, trapped in the matrix

  • 博客(11)
  • 资源 (15)
  • 问答 (1)
  • 收藏
  • 关注

原创 leetcode——Distinct Subsequences

题目:Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from the original string by deleting some (c

2015-01-31 21:15:56 618

原创 Eclipse集成Tomcat及配置

1、集成Eclipse中点击Windows——>Preference——>Server——>RuntimeEnvironment出现如下界面,点击Add按钮,选择tomcat版本,并勾选createNewLocalServer,点击next按照向导安装即可。2、更改配置(安装路径、发布路径等)由于集成之后的tomcat是由eclipse进行托管,因此tomcat的默

2015-01-25 13:54:07 1247

原创 使用spring 2.5.6初探mvc框架

1. Project Dependencyspring 2.5.6所有包: spring 2.5.6 全集下载commons-logging-1.1.3.jar:  commons-logging-1.1.3下载2. Controller & Mapping从2.5开始,spring开始支持@RequestMapping标注,可对符合的url路径进行判别

2015-01-21 21:50:01 1854

原创 leetcode——Dungeon Game

题目:The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 2D grid. Our valiant knight (K) was in

2015-01-20 11:14:41 1023

原创 leetcode——Factorial Trailing Zeroes

题目:Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.思路:在1到n这些数字中,能够贡献多少个因子5,就有多少个0.因为0是由10得到的,而10=2*5;显然2的数量远

2015-01-20 10:15:53 1285

原创 leetcode——Largest Number

题目:Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.Note: The result ma

2015-01-19 16:48:14 664

原创 Spring常用注解

常用注解有以下几种:@Autowired@Qualifier("")@Repository@Service@Component@Controller@WebServelet@Entity@Table(name="")@Id@Column(length=)@GeneratedValue(strategy=GenerationType.AUTO)@S

2015-01-14 14:54:51 1217

转载 为什么网页Cookies用了曲奇饼干这个词?

这个名称是UNIX操作系统的“magic cookie”的简称。  “magic cookie”1994年已经被程序猿Lou Montulli用于计算时的网络通信  而“magic cookie”,是在程序中交流的一个令牌或者短报文数据。使用它的Web开发人员,可以帮助用户浏览他们的网站,有效地执行某些功能。  取名曲奇有取之“小而美味”的意思。  Cook

2015-01-13 13:25:40 1449

原创 Java 中的try-catch-finally

java 的异常处理中,在不抛出异常的情况下,程序执行完 try 里面的代码块之后,该方法并不会立即结束,而是继续试图去寻找该方法有没有 finally 的代码块,如果没有 finally 代码块,整个方法在执行完 try 代码块后返回相应的值来结束整个方法;如果有 finally 代码块,此时程序执行到 try 代码块里的 return 语句之时并不会立即执行 return,

2015-01-07 23:20:03 528

原创 Java 8 中HashMap的改进

HashMap的快速高效,使其使用非常广泛。其原理是,调用hashCode()和equals()方法,并对hashcode进行一定的哈希运算得到相应value的位置信息,将其分到不同的桶里。桶的数量一般会比所承载的实际键值对多。当通过key进行查找的时候,往往能够在常数时间内找到该value。但是,当某种针对key的hashcode的哈希运算得到的位置信息重复了之后,就发生了哈希碰撞。这会对H

2015-01-07 22:51:52 1556

原创 Java 中的多态和动态绑定

在Java中,如果一个类B继承了类A,则A为父类,B为子类。在运行的时候,系统能够根据具体的子类对象,将父类中用于指向某个方法的指针自动指向到该子类的“覆盖方法”上,从而调用这个“覆盖方法”运行。该现象就是后期绑定,即在运行时根据对象的类型进行绑定,也叫动态绑定或者运行时绑定。这样做的好处是具有拓展性,调用的时候可以仅仅使用父类调用,而不用关心子类到底是什么,只要子

2015-01-07 22:42:39 530

spring4.0.0.RELEASE全套jar包

spring的最新jar包,全套包括core、beans、context、expression、web、webmvc、aop。

2015-06-05

webx3文档——web开发

该文档为官方webx框架文档,对webx进行了全面的讲解,非常实用。

2015-06-02

utorrent for mac

uTorrent 下载器,很流行的哦!尤其是北邮童鞋专用!

2015-05-01

spring-framework-2.5.6-with-docs.zip

spring-framework-2.5.6-with-docs.zip

2015-01-21

commons-logging-1.1.3

commons-logging-1.1.3.jar

2015-01-21

spring 3.0所有jar包

spring 3.0所有jar包

2015-01-21

spring jar包

spring开发所需要的jar包,比较难找。

2015-01-09

quartz-all-1.5.2

spring框架中运用最广泛的定时器任务所需jar包。

2015-01-09

log4j 1.6.1.jar

log4j 是一款针对java项目方便日志管理的jar包,多用于j2EE的开发。

2015-01-09

jedis-2.1.0.jar

一款基于redis的java实现客户端工具包,可使用jedis对redis服务器进行操作。

2015-01-09

lucene 3.0.1 jar包

该一整套lucene开发jar包包含以下内容: lucene-core-3.0.1.jar(核心包) contrib\analyzers\common\lucene-analyzers-3.0.1.jar(分词器) contrib\highlighter\lucene-highlighter-3.0.1.jar(高亮) contrib\memory\lucene-memory-3.0.1.jar(高亮)

2015-01-09

一个音乐网站爬虫

这是一款专门针对某个音乐网站的爬虫,可以连续下载其连载曲目,读者可下载并加入自己的需求进行改进,下载曲目默认放在该工程目录下,且分专辑保存。 目前网站前端有所改版,旧版代码所在目录src/luoo,读者可查看src/luoo2目录进行改进。

2014-08-27

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除