自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

nizen的专栏

学海无涯备忘录

  • 博客(5)
  • 资源 (5)
  • 收藏
  • 关注

原创 MYSQL获取自增主键【4种方法】

通常我们在应用中对mysql执行了insert操作后,需要获取插入记录的自增主键。本文将介绍java环境下的4种方法获取insert后的记录主键auto_increment的值:通过JDBC2.0提供的insertRow()方式通过JDBC3.0提供的getGeneratedKeys()方式通过SQL select LAST_INSERT_ID()函数通过SQL @@IDENTITY

2013-07-17 13:28:31 55651 3

原创 一片面包引起的谬论

网上流传这么一个说法:为了你和你的家人,请不要再吃面包了。        骤眼看去觉得似乎有道理,但按大多数人的常识,显而意见这说法就是不科学,但哪里出问题了呢?最近看了《统计数字会说慌》,借此分析下这个可笑的结论。       按第1条结论,似乎面包是导致犯罪的原因。但是,我们姑且不看98%这个数字,单看犯罪和面包,难道犯罪者实施犯罪的必要条件是吃面包?面包是个日常广泛通用的食品,从

2013-07-11 13:50:11 1715

转载 我眼中的技术高手

今天发了一条微博:会原生 JavaScript 不代表什么,懂 jQuery、YUI 等才真正好。怎么这么多人有原生主义情结呢?走出那点小天地,海阔天高。很多人已经猜出,这是为了晚上的文章而发,提前收集大家的想法。这个话题,很早就想谈,肯定会引起口水仗,但有些事不辩不明,不理不清,与其和谐社会,不如辛亥革命。奇怪的现象平时工作,时不时能听到一些困惑、感慨:

2013-07-10 10:01:37 1197

原创 eclipse使用小技巧集合

1.eclipse中对mybatis的mapper xml验证太慢打开浏览器,把mapper对应的dtd下载下来,如把http://mybatis.org/dtd/mybatis-3-mapper.dtd下载到本地。打开eclipse的window->perferences->xml->xml catalog->add把刚才下载的本地dtd路径写到Location中Key type选择

2013-07-08 13:14:18 1136

原创 Linux下最好用的pdf查看器:Okular

Linux下最好用的pdf查看器foxit reader,adobe reader?不是,应该是Okular!它相比我们前面2个,突出的功能是能进行comment on, highlight等。而且,还是免费的。官网下载地址:http://okular.kde.org/download.phpmint14上的截图:功能:兼容多种格式包括 PDFs, EPUB ebo

2013-07-02 18:36:17 19339

JAVA面试题解惑系列集锦

java语言面试题集锦,有书签,分类,十分好的复习资料,面试前必看

2009-08-10

Linux常用命令简明手册

Linux的常用命令的总结,短小精悍,适合平时打命令时速查。

2009-06-18

Ubuntu8.04速成手册

转自嘉骏苑http://luckiss.blogcn.com(文章整理&原创by:嘉骏 内容涉及ubuntu8.04的安装配置,系统管理,初级入门,手把手教你玩转ubuntu

2009-06-18

Data Structures and Algorithm Analysis in C

经典数据结构教材 This book describes data structures, methods of organizing large amounts of data, and algorithm analysis, the estimation of the running time of algorithms. As computers become faster and faster, the need for programs that can handle large amounts of input becomes more acute. Paradoxically, this requires more careful attention to efficiency, since inefficiencies in programs become most obvious when input sizes are large. By analyzing an algorithm before it is actually coded, students can decide if a particular solution will be feasible. For example, in this text students look at specific problems and see how careful implementations can reduce the time constraint for large amounts of data from 16 years to less than a second. Therefore, no algorithm or data structure is presented without an explanation of its running time. In some cases, minute details that affect the running time of the implementation are explored. Once a solution method is determined, a program must still be written. As computers have become more powerful, the problems they solve have become larger and more complex, thus requiring development of more intricate programs to solve the problems. The goal of this text is to teach students good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amount of efficiency. This book is suitable for either an advanced data structures (CS7) course or a first-year graduate course in algorithm analysis. Students should have some knowledge of intermediate programming, including such topics as pointers and recursion, and some background in discrete math.

2009-05-14

空空如也

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

TA关注的人

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