- 博客(6)
- 收藏
- 关注
转载 Matching Impedance: When to use HBase
http://blog.rapleaf.com/dev/2008/03/11/matching-impedance-when-to-use-hbase/Matching Impedance: When to use HBaseBy BRYAN DUXBURY | Publishe
2011-07-29 13:36:41 1696
原创 eclipse
1. error: java.lang.NoClassDefFoundError: org/eclipse/ui/editors/text/TextEditor./eclipse -clean //使用clean参数重启
2011-07-27 10:17:22 423
原创 scala
1. 类属性的简单写法class Person(val last: String, first: String) { override def toString() = last + ", " + first;}Person将拥有属性lastclass Person(la
2011-07-22 21:50:58 446
原创 codeigniter-- php framework trick
1. 不要使用和control中类名相同的方法。eg: site_url('welcome/welcome') --会出现莫名其妙的错误!!!2. site_url()中使用小写的路径。 eg: site_url('welcome/menu')
2011-07-19 09:18:08 434
原创 python trick
1. 时间日期处理def convert_date_to_seconds(date): #date example: 16/Nov/2010:16:12:29 dt = time.strptime(date, "%d/%b/%Y:%H:%M:%
2011-07-03 14:55:57 517
原创 php: strpos返回值为0的问题
php: strpos()返回子串在搜索串中第一次出现的位置,否则返回false。 出现问题:返回位置0时无法判断是出现了还是没有出现。(0, false) 解决方法:使用 === or !== eg: $re = strpos($str, $key)if
2011-07-03 14:40:58 14190 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人