posted @ 2008-06-16 14:47 xan 閱讀(198) | 評(píng)論 (0) | 編輯 收藏
posted @ 2008-06-14 03:18 xan 閱讀(181) | 評(píng)論 (0) | 編輯 收藏
posted @ 2008-06-09 02:39 xan 閱讀(186) | 評(píng)論 (0) | 編輯 收藏
摘要: ruby rake usage 閱讀全文
posted @ 2008-05-09 16:19 xan 閱讀(808) | 評(píng)論 (0) | 編輯 收藏
摘要: tomcat server.xml 基本的一些配置說(shuō)明 -from tomcat官方文檔
context path問(wèn)題 閱讀全文
context path問(wèn)題 閱讀全文
posted @ 2008-05-07 13:02 xan 閱讀(1346) | 評(píng)論 (0) | 編輯 收藏
摘要: def is_prime?(number) #定義方法 判斷數(shù)number是否是素?cái)?shù)
j=2 #數(shù)組下標(biāo)
while $arr[j] * $arr[j] <=number #$arr[] 是一個(gè)數(shù)組,記錄number之前的素?cái)?shù),搞不懂為什么可以這么寫(xiě)
return false if number % $arr[j] ==0
j +=1
end
return true
end
土人求教 閱讀全文
j=2 #數(shù)組下標(biāo)
while $arr[j] * $arr[j] <=number #$arr[] 是一個(gè)數(shù)組,記錄number之前的素?cái)?shù),搞不懂為什么可以這么寫(xiě)
return false if number % $arr[j] ==0
j +=1
end
return true
end
土人求教 閱讀全文
posted @ 2008-05-05 15:18 xan 閱讀(406) | 評(píng)論 (2) | 編輯 收藏
posted @ 2008-04-24 12:07 xan 閱讀(140) | 評(píng)論 (0) | 編輯 收藏
摘要: C陷阱與缺陷 C Traps and Pitfalls -by Andrew Koenig from AT&T
C++沉思錄 Ruminations on C++ -by Andrew Koenig and his wife Barbara Moo
Java 內(nèi)幕 Inside Java -by
JVM Spec -by Sun? 閱讀全文
C++沉思錄 Ruminations on C++ -by Andrew Koenig and his wife Barbara Moo
Java 內(nèi)幕 Inside Java -by
JVM Spec -by Sun? 閱讀全文
posted @ 2008-04-18 12:51 xan 閱讀(133) | 評(píng)論 (0) | 編輯 收藏
摘要: 軟件版本 命名規(guī)則 閱讀全文
posted @ 2008-04-17 00:43 xan 閱讀(236) | 評(píng)論 (0) | 編輯 收藏
posted @ 2008-04-15 20:58 xan 閱讀(158) | 評(píng)論 (0) | 編輯 收藏