最新文章

size,length and count of array in ruby/rails

少于 1 分钟 阅读

Ruby/Rails的Array有好几种获取元素个数的方法有好几个,Length, Size和Count。大多数时候这几个方法结果都一样,但是他们之间的区别其实是很大的,如果不搞清楚,到时很可能搞得你很头疼。

Videos for Linux Newbies

1 分钟 阅读

These three videos give a brief introduction to Linux, more specifically ubuntu, and how to setup Linux as your Rails server. After the three videos, totally...

Customer Section Header of UITableview

4 分钟 阅读

UITableView is one of the most used control is iOS Apps, probably the most one. It’s well designed, and easy to use, especially when coded together with NSFe...

MySQL UTF8 Setting Update

2 分钟 阅读

I wrote a post about setting default character and encoding of MySQL to utf8 on OS X, here. But there is a better way to do this instead of modifying the def...