转:http://blog.csdn.net/derpvailzhangfan/article/details/1957946,感谢博主分享Notes:hibernate元数据的运用;uuid的概念;java的反射机制,“因为抽象类无法new出对象来,所以就要用java反射机制”,“TcommTab...
分类:
编程语言 时间:
2014-07-26 13:49:25
收藏:
0 评论:
0 赞:
0 阅读:
414
? Java中的网路编程主要是Java的Socket编程,属于JavaEE中的高级的部分,以下内容是对java网路编程的一个小结,代码都是经过编译调试的 C/S程序应用:客户/服务器模式,如QQ客户端,客户端连到服务器上,一个C/S模式的应用必须有两套程序,一个是客户端的程序,一个是服务器程序。.....
分类:
编程语言 时间:
2014-07-26 13:48:06
收藏:
0 评论:
0 赞:
0 阅读:
385
题目:Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.题解:这道题可以应用之前解过的Largetst Recta....
分类:
编程语言 时间:
2014-07-26 09:55:57
收藏:
0 评论:
0 赞:
0 阅读:
524
题目:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the....
分类:
编程语言 时间:
2014-07-26 09:55:27
收藏:
0 评论:
0 赞:
0 阅读:
283
题目:Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the ....
分类:
编程语言 时间:
2014-07-26 09:53:57
收藏:
0 评论:
0 赞:
0 阅读:
355
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get ....
分类:
编程语言 时间:
2014-07-26 09:53:37
收藏:
0 评论:
0 赞:
0 阅读:
551
题目:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in t....
分类:
编程语言 时间:
2014-07-26 09:53:27
收藏:
0 评论:
0 赞:
0 阅读:
341
题目:Sort a linked list in O(n log n) time using constant space complexity.题解:考虑到要求用O(nlogn)的时间复杂度和constant space complexity来sort list,自然而然想到了merge sor....
分类:
编程语言 时间:
2014-07-26 09:51:57
收藏:
0 评论:
0 赞:
0 阅读:
330
题目:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.F....
分类:
编程语言 时间:
2014-07-26 09:51:47
收藏:
0 评论:
0 赞:
0 阅读:
349
去年有出一个python整的LAMP自动安装,不过比较傻,直接调用的yum 去安装了XXX...不过这次一样有用shell..我也想如何不调用shell 来弄一个LAMP自动安装部署啥啥的..不过尼玛智商有限,没搞定,暂且分享一下 先说说目前的缺陷 这个脚本总体来说是调用一个字典,组成这个字典...
分类:
编程语言 时间:
2014-07-26 09:51:07
收藏:
0 评论:
0 赞:
0 阅读:
559
题目:Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.题解:Merge k sorted linked list就是merge 2 sorted li....
分类:
编程语言 时间:
2014-07-26 05:44:37
收藏:
0 评论:
0 赞:
0 阅读:
493
1.下载python 官网下载最新版python http://www.wingide.com/downloads 2.下载PyCharm 官网可下载最新版pyCharm-professional http://www.jetbrains.com/pycharm/download/ 实际学习中,...
分类:
编程语言 时间:
2014-07-26 03:41:07
收藏:
0 评论:
0 赞:
0 阅读:
530
先来看看这个spring的配置文件的配置: ?<!-- 事务管理器 --> ?<bean id="transactionManager" ? class="org.springframework.orm.hibernate3.HibernateTransactionManager"> ? <property name="sessionFacto...
分类:
编程语言 时间:
2014-07-26 03:39:18
收藏:
0 评论:
0 赞:
0 阅读:
410
#参考的原文 http://www.cnblogs.com/yangzhilong/p/3725849.html #要解决的问题 Web API的开发中,经常需要对HTTP中的request body中的数据流绑定到自建Model中,或者将自建Model反序列化到Response Body中。这时...
分类:
编程语言 时间:
2014-07-26 03:37:37
收藏:
0 评论:
0 赞:
0 阅读:
453
/** author: insun title:python 爬虫抓取心得分享 blog:http://yxmhero1989.blog.163.com/blog/static/112157956201311821444664/ **/??? 0x1.urllib.quote(‘要编码的字符串‘) 如果你要在url请求里面放入中文...
分类:
编程语言 时间:
2014-07-26 03:36:37
收藏:
0 评论:
0 赞:
0 阅读:
692
Java设计模式之单例模式 单例模式是什么? 保证一个类仅有一个实例,并提供一个访问它的全局访问点。 单例模式如何来设计呢? 保证一个类只能有一个实例,那么我们不能无限制的new 来创建,因为我们知道,new一次就...
分类:
编程语言 时间:
2014-07-26 03:36:27
收藏:
0 评论:
0 赞:
0 阅读:
351
/**
*?Created?by?YCXJ-wanglihui?on?2014/7/25.
?*?@module?utils
*/
‘use?strict‘;
/**
?*?@class?日历类?Calendar
?*?@constructor
?*?@param?{Number}?year
?*?@param?{Number}?mon...
分类:
编程语言 时间:
2014-07-26 03:36:07
收藏:
0 评论:
0 赞:
0 阅读:
318
由于刚学习java,很多地方不懂,今天看到java web start方式部署程序然后就把自己的java程序打包成jar可执行的。新建了.jnlp文件,里面xml也写好了。然后把jar文件和jnlp文件放在了tomcat的webapps里面。在浏览器...
分类:
编程语言 时间:
2014-07-26 03:35:07
收藏:
0 评论:
0 赞:
0 阅读:
363
主要有以下几个函数:tempfile.TemporaryFile如何你的应用程序需要一个临时文件来存储数据,但不需要同其他程序共享,那么用TemporaryFile函数创建临时文件是最好的选择。其他的应用程序是无法找到或打开这个文件的,因为它并没有引用文件系统表。用这个函数创建的临时文件,关..
分类:
编程语言 时间:
2014-07-26 03:24:57
收藏:
0 评论:
0 赞:
0 阅读:
379
http://bbs.csdn.net/topics/390121452在上述链接帖子找到答案并且已在本机解决。直接引用25楼的话:终极解决方案:VS2010在经历一些更新后,建立Win32ConsoleProject时会出“errorLNK1123”错误,解决方案为将项目|项目属性|配置属性|清单工具|输入和输出|嵌入清单“是”改为..
分类:
编程语言 时间:
2014-07-26 03:19:28
收藏:
0 评论:
0 赞:
0 阅读:
414