自我总结,有什么不满意的地方,各位可以帮忙纠正补充一下,感激不尽!目的:SimpleDateFormat类可以很随意的组合日期时间的格式,不止单纯的yyyy-MM-dd这种格式废话不多说,上代码测试类 DateTestpackage com.core.test;import java.text.Pa...
分类:
编程语言 时间:
2014-09-16 15:37:10
阅读次数:
539
由于MySQL 5.6(也许5.5)以后去掉了Server Instance Configuration Wizard(服务实例配置向导),于是msi版变成了和zip版一样,要手动配置。
* 假定安装目录是D:\Program Files\MySQL
1.设置环境变量,在pa...
分类:
数据库 时间:
2014-09-14 20:41:57
阅读次数:
244
[req-broker-rep]模式的好处是对于多个客户端的request,broker会将多个任务挨个分给workers,这样多个客户端request可以并发的发送到broker。 worker并发的执行运算。中间的broker随时把worker结果回传给对应的client。broker程序:pa...
分类:
其他好文 时间:
2014-09-14 19:16:27
阅读次数:
294
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-09-14 12:49:37
阅读次数:
214
官方定义:JSON(JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to pa...
分类:
Web程序 时间:
2014-09-14 12:37:17
阅读次数:
211
#include#includeint compare_integers(void const *a, void const *b){ register int const *pa = a; register int const *pb = b; return *pa > ...
分类:
其他好文 时间:
2014-09-14 10:05:56
阅读次数:
237
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 using namespace std; 11 12 typedef pa...
分类:
其他好文 时间:
2014-09-13 02:59:14
阅读次数:
210
Java源文件的扩展名是.java,编译之后生成.class的文件.所有的类都有一个共同的继承祖先Object类一个.java文件中只能有一个public类,一个public类只能定义在以它的类名命名的文件中Implement关键字用来实现接口,类可以实现多个接口,继承使用extends 关键字pa...
分类:
编程语言 时间:
2014-09-12 21:53:04
阅读次数:
280
1. [代码][HTML]代码 无标题文档很大的标题2. [代码][JavaScript]代码 function login() { var pa = $('#userId').val(), pb = $('#passId').val(); var exp = new Date(); ...
分类:
其他好文 时间:
2014-09-12 18:42:34
阅读次数:
245
Problem Description
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book:
Tout avait Pa...
分类:
其他好文 时间:
2014-09-12 10:16:23
阅读次数:
245