这个在spring中表现的淋漓尽致,比如HibernateTemplate Support等等package designpattern.behavior.templatemethod;public abstract class ATemplate { public abstract void...
分类:
其他好文 时间:
2014-08-17 02:20:11
阅读次数:
130
1. The server just support POST&PUT method2. It is a Python server, and save upload files in special folder3. How to do it, it is apple example code, ...
分类:
其他好文 时间:
2014-08-16 18:17:40
阅读次数:
207
leetcode这道题还挺有意思的,实现通配符,'?'匹配任意字符,'*'匹配任意长度字符串,晚上尝试了一下,题目如下:Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single chara...
分类:
其他好文 时间:
2014-08-16 01:01:59
阅读次数:
351
最近要用到google accout使用某项服务,奇怪的是之前是英文,登陆后就显示中文了,我把浏览器默认的语言和电脑的系统语言改了也无济于事,最好还是google 帮忙解决了,原来我的google accout默认就是中文,google太智能也不行啊https://support.google.co...
分类:
其他好文 时间:
2014-08-15 19:27:49
阅读次数:
211
由于win7 64位系统的matlab2010a没有内置C编译器,因此在进行程序编译过程中找不到编译器,需自己安装。http://www.mathworks.cn/support/compilers/R2010a/win64.html里面有关于matlab2010a 匹配的编译器。VC++200.....
When designing your application to support a wide range of screen sizes, you can reuse your fragments in different layout configurations to optimize the user experience based on the available screen space.
For example, on a handset device it might be appr...
分类:
移动开发 时间:
2014-08-15 01:33:26
阅读次数:
344
你可以把fragment看成是activity的模块化部分,它拥有自己的生命周期,接受它自己的输入事件,你可以在activity运行时添加或者删除它(有点像是一个“子activity”,你可以在不同的activity中重用它)。本课将向你展示如何使用Support Libaray继承 Fragment 类来让你的应用能够兼容正在运行Android 1.6的设备。...
分类:
移动开发 时间:
2014-08-14 23:55:06
阅读次数:
301
Implement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of characters (including th...
分类:
其他好文 时间:
2014-08-14 19:44:09
阅读次数:
134
https://github.com/daimajia/AndroidViewHover
这事github上一个中国程序员做的一个特效,中国程序员高手还是挺牛的(不过牛逼的都跑国外去了,国内留不住)。
这个小demo里面使用到的是Android支持库——RenderScript。支持这个jar包的目录在\sdk\build-tools\里面,(我是找了好一会才找到这个,androi...
分类:
移动开发 时间:
2014-08-14 16:49:08
阅读次数:
332
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int错误类型: 缺失类型表述错误原因: 函数前未写函数的返回类型,由此导致了这个错误解决方法: 以后写函数,不管是声明还是定义...
分类:
编程语言 时间:
2014-08-13 22:04:07
阅读次数:
211