Eclipse使用自动注释:在Eclipse工具的Window\preferences\JAVA\Code Style\Code templates\Comments下设置以下模版文件(Files)注释标签/** * @Title: ${file_name} * @Package: ${packag...
分类:
系统相关 时间:
2015-04-25 01:36:31
阅读次数:
218
Options -> Preferences -> General 去掉 "Backgroud synchronization every " 选项
分类:
其他好文 时间:
2015-04-24 22:35:52
阅读次数:
1440
iOS开发之自定义一个单例这里我使用宏:// .h#define single_interface(class) + (class *)shared##class;// .m// \ 代表下一行也属于宏// ## 是分隔符#define single_implementation(class) \s...
分类:
移动开发 时间:
2015-04-24 22:27:09
阅读次数:
214
布局文件:来个铺满的ViewPager: java文件:为ViewPager加个适配器:int imgIds[]={R.drawable.yindao21,R.drawable.yindao22,R.drawable.yindao23,R.drawable.yindao24};Shared...
分类:
其他好文 时间:
2015-04-24 21:03:40
阅读次数:
140
设置XML文件的自动格式化配置:在Eclipse下编辑XML文件时可以像Java文件一样进行格式化。不过,默认的格式化设置效果不太理想,尤其是标签属性较多时。通过以下设置可以达到一个相对理想的效果:Window->Preferences->XML->XMLFiles->Editor:1.1设置每行宽...
分类:
其他好文 时间:
2015-04-24 18:54:57
阅读次数:
160
Cannot Launch The CoupangAndroid On The Genymotion Samsung S3 Issue Issue:? ? ? Error info:?INSTALL_FAILED_MISSING_SHARED_LIBRARY?when start CoupangAndroid in Genymotion. The root cause is Ge...
分类:
其他好文 时间:
2015-04-24 17:00:49
阅读次数:
123
通过maven下载源代码,直接通过eclipse浏览源代码时,发现中文注释为乱码的问题。其实这个eclipse默认编码造成的问题。可以通过以下方法解决: ? ? 1.修改Eclipse中文本文件的默认编码:windows->Preferences-...
分类:
其他好文 时间:
2015-04-24 12:46:55
阅读次数:
91
I have installed 10gR2 on linux environment, When running DBCA it got filed with below error
ORA-27125: unable to create shared memory segment
SOLUTION:
cd $ORACLE_HOME/bin
mv oracle oracle.bin...
分类:
数据库 时间:
2015-04-24 10:36:58
阅读次数:
376
1) 观察者模式定义略,各种设计模式的书上都有定义。2) 观察者模式一般实现观察者模式一般实现,都是“被观察者”保存一个“观察者”的列表,循环这个列表来通知“观察者”。代码,其中使用了boost的智能指针shared_ptr:[cpp]view plaincopy#include#include#i...
分类:
其他好文 时间:
2015-04-23 23:10:45
阅读次数:
226