- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 Data-Driven Partitioning
finding all the rows together when doing a range scan can be highly beneficial to performance. There are, actually, other means to achieve a grouping of data than the somewhat constraining use of clus
2008-09-05 14:04:00 279
原创 compare items by array
$KCODE=SJISa=[]ha={}File.open("103.txt").each_line{ |l|a.push(l.strip.chomp.to_i)#number }a.sort!af=File.open("103.txt","w")af.puts(a)af.close()b=[]File.open("102.txt").e
2008-09-05 13:57:00 208
原创 retrieve email by win32ole
#http://rubyonwindows.blogspot.com/search/label/excel$KCODE=SJISrequire daterequire win32oleoutlook = WIN32OLE.connect(Outlook.Application)mapi = outlook.GetNameSpace(MAPI)
2008-09-05 13:25:00 442
原创 Walking a directory tree
$KCODE=SJISrequire test/unitrequire findrequire fileutilsclass ListFile attr_reader :info def all(prefix="SJT",ord="9057") #recursive walk this dir. as
2008-09-05 11:01:00 266
原创 extract SQL statements from Java source
$KCODE=SJISd=""deappend=falsei=0File.open("in.txt").each_line{|l| l.strip! i+=1 if(i==1) if(l.include?(".append") || l.include?("StringBuffer"))
2008-09-04 18:21:00 298
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人