本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- xiangjie88
- zysnba
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- arpenker
- tanling8334
- gaojingsong
- kaizi1992
- xpenxpen
- 龙儿筝
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
- kingwell.leng
最新文章列表
[D语言] ruby风格的each/map
import std.stdio;
class Array(T){
private:
T[] data;
public:
this(T[] data ...){
this.data = data.dup;
}
void each(void delegate(T) dg){
foreach ...
solution for installing mysql lib under ubuntu
I've reinstalled my computer with ubuntu,and i had to reconfiguration my environment ,but when i was installing mysql lib
sudo gem install mysql -r
an error occured
Building native extensions. T ...
[RoR] Rails unittest一个小bug
之前为了省事,数据库配置如下:development_pgsql: adapter: postgresql database: myproject_development username: postgres password: development_mysql: adapter: mysql database: myproject_development username: ...
[ROR] &:id这种用法
这是ActiveSupport扩展的一个方法。原代码如下:class Symbol def to_proc Proc.new { |*args| args.shift.__send__(self, *args) } endend它扩展出这种用法:(1..5).map(&:to_s)map原本是要接受一个block参数,普通的用法是:(1..5).map{|e| e.to_s} ...