2012年9月24日

How to install MySQL 5.5 in CentOS 6

摘要: How to install MySQL 5.5 in Centos 阅读全文

posted @ 2012-09-24 09:40 Xingning Ou 阅读(296) 评论(0) 推荐(0) 编辑

2012年9月5日

Convert IP address to integer and back

摘要: Convert IP address to integer and back 阅读全文

posted @ 2012-09-05 23:02 Xingning Ou 阅读(298) 评论(0) 推荐(0) 编辑

Use Java NIO to copy file

摘要: Use Java NIO to copy file 阅读全文

posted @ 2012-09-05 21:57 Xingning Ou 阅读(205) 评论(0) 推荐(0) 编辑

2012年8月16日

IP address conversion functions with the builtin socket module

摘要: Convert dotted-quad IP address to long integer and back 阅读全文

posted @ 2012-08-16 01:12 Xingning Ou 阅读(134) 评论(0) 推荐(0) 编辑

2012年6月11日

[module] Parser for command line options

摘要: Using built-in module to parse command line options. 阅读全文

posted @ 2012-06-11 10:09 Xingning Ou 阅读(106) 评论(0) 推荐(0) 编辑

2012年4月28日

Always override hashCode when you override equals

摘要: A recipe for a high-quality hashCode method. 阅读全文

posted @ 2012-04-28 16:26 Xingning Ou 阅读(191) 评论(0) 推荐(0) 编辑

The general contract when overriding equals method

摘要: A recipe for a high-quality equals method. 阅读全文

posted @ 2012-04-28 15:59 Xingning Ou 阅读(164) 评论(0) 推荐(0) 编辑

2012年4月11日

Response Times: The 3 Important Limits

摘要: The response time guidelines for web-based applications are the same as for all other applications. These guidelines have been the same for 37 years now, so they are also not likely to change with whatever implementation technology comes next.0.1 second: Limit for users feeling that they are directl 阅读全文

posted @ 2012-04-11 10:30 Xingning Ou 阅读(242) 评论(0) 推荐(0) 编辑

2012年3月9日

Extract files from ISO CD images in Linux

摘要: My ISO image name is openSUSE-11.3-DVD-x86_64.iso, first login Linux as root.Step # 1: Create a directory /mnt/iso# mkdir /mnt/iso# mount -o loop openSUSE-11.3-DVD-x86_64.iso /mnt/isoStep # 3: Extract fileNow I can easily copy file called file.txt from iso disk image to /tmp directory :# cd /mnt/iso 阅读全文

posted @ 2012-03-09 15:16 Xingning Ou 阅读(333) 评论(0) 推荐(0) 编辑

What is the fastest way of (not) logging?

摘要: SLF4J supports an advanced feature called parameterized logging which can significantly boost logging performance for disabled logging statement.For some Logger logger, writing,logger.debug("Entry number: "+ i +" is "+String.valueOf(entry[i]));incurs the cost of constructing the 阅读全文

posted @ 2012-03-09 10:08 Xingning Ou 阅读(289) 评论(0) 推荐(0) 编辑

导航