ITeye博客

小雨不打伞

zhuhaihua · 共 91 篇文章

Eclipse configuration

use the space instead of tab Java > Preferences > Code Style > Formatter > Edit > Indentation (choose "spaces only")

2011-12-09 15:34 · 评论(0)

RP software list

Notepad++ agent ransank Eclipse Plugsin: easy explorer(StartExplorer)

2011-12-07 20:03 · 评论(0)

U880

1. superclickone 2.1.1 装好点root,需要root起效,需要重启手机 2. 安装豌豆荚 软件列表: UC web EnhancedEmail Gmail -------------- http://syue.com/Digital/Mobile/Skills/4973.html export the contacts from blackberry

2011-11-18 21:13 · 评论(0)

Notepad++ 替换为换行符

see attachement.

2011-11-17 22:06 · 评论(0)

Mp3

<100 创新小石头首选 其次是台电X19 其他的爱国者、昂达、蓝魔的低端机器也可以(你可以按样子挑选就好了) mix

2011-06-17 09:27 · Others · 评论(0)

装修待买材料

冷热角阀:5(厨房台盆龙头2/卫生间面盆龙头2/座便器1) 软管3: 热水器2 冷热, 座便器1 波纹管1:接煤气 厨房龙头 卫生间台盆龙头 淋浴柱 卫生间五金: 毛巾架+淋浴物件架+马桶刷+毛巾假+折叠镜子

2011-05-26 08:51 · Others · 评论(0)

Windows 7 backup

http://doshome.com/help/1KG/LIST_UD.HTM

2011-04-13 22:15 · Windows · 评论(0)

Brian Kernighan's Programming Style Tips

Say what you mean, simply and directly. Use the telephone test'' for readability. Write clearly - don't be too clever. Don't use conditional expressions as a substitute for a logical expression. Parenthesize to avoid ambiguity. Each time you make a test, do something. Follow each decision as closel…

2011-03-03 08:56 · Programming · 评论(0)

Mockito

when(mockedList.get(0)).thenReturn(&quot;first&quot;); when(mockedList.get(1)).thenThrow(new RuntimeException()); When(invocationName).thenReturn(injectValue); When(invocationName).thenThrow(injectException);

2011-01-30 10:05 · Test Driven · 评论(0)

A collection with cascade="all-delete-orphan" was no longer referenced by the ow

Let's Play "Who Owns That Collection?" With Hibernate If you have used Hibernate and mapped a one-to-many relationship you've probably come across the "delete orphan" feature. This feature offers cascade delete of objects orphaned by code like the following: Preference pref = getSomePreference(); u…

2011-01-06 14:03 · DataBase · 评论(0)

C programming

1.Convert other types to char array sprintf(cmd, "change shipment"); 2.

2010-11-20 02:49 · Java · 评论(0)

Notes

Debug in eclipse, java.lang.OutOfMemoryError: PermGen space increase the MaxPermSize for the run configuration -XX:MaxPermSize=256m Refactoring Client side: code analysis Server side: -PMD: coding standard -FindBug: bug analysis -CPD: coding standard -Cobertura: code coverage

2010-09-15 10:56 · Java · 评论(0)

重构 - 组合方法 -- 提取方法

提取方法: 当你有一段可以被组织起来的代码片段。 将这段代码放进一个本身的名字就可以很好的解释方法用途的方法里。 void printOwing(double amount) { printBanner(); //print details System.out.println ("name:" + _name); System.out.println ("amount" + amount); } || \/ void printOwing(double amount) { printBanner(); printDetails(amount); } void printDetails (d…

2010-09-06 16:08 · Refactoring · 评论(0)

Windows 7 激活

- 安装MSDN 版本的WIN7(64-bit) - 确认自己的BIOS 是2.1(SLIC_ToolKit_V3.2) - 导入证书 1. slmgr.vbs -ilc d:\xxx.XRM-MS 2. slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX(We can get the key from http://www.51sokey.net/ )

2010-07-04 00:18 · Windows · 评论(0)

卸载VS2008

最後的解決辦法是找到源安裝盤的vs_setup.msi,用Admin進入cmd,運行msiexec /x vs_setup.msi,它似乎就什麼都不檢查,就能卸載了。

2010-06-18 18:07 · Memo · 评论(0)