|
|
- いおり ありたけ
- 5 years ago
- Views:
Transcription
1 MCMD Ruby Package Documentation NYSOL : Ver. 1.0 revise history: March 10, 2014 : nysol November 2, 2013 : first release Copyright c 2013 by NYSOL CORPORATION
2
3 Mcsvin CSV Mcsvout CSV Margs Mtable CSV meach mheader CSV mrecount CSV mkdir endlog errorlog messagelog
4
5 5 1
6 Ruby CSV CSV (Mcsvin) (Mcsvout) CSV (Mtable) CSV RFC4180 Hash Array 1.1 CSV #!/usr/bin/env ruby require "mcmd" # input.csv # customer,date # A, # A, MCMD::Mcsvin.new("i=input.csv -array"){ icsv MCMD::Mcsvout.new("o=output.csv f=customer,date"){ ocsv icsv.each{ flds ocsv.write(flds) 1.1 mcmd CSV Ruby CSV NYSOL Ruby mcmd Margs endmsg errormsg / Mtemp mcmd Ruby 1.9.2
7 nysol nysol nysol (
8
9 9 2
10 Mcsvin CSV CSV C++ key Hash Hash/Array (Array 2 ) RFC * MCMD::Mcsvin::new(arguments){block Mcsvin arguments i= (String) k= -nfn -array block each yield 1 each Array Hash Array Hash 2 ( ) (yield) * MCMD::Mcsvin::each{ val block * MCMD::Mcsvin::each{ val,top,bot block CSV 1) (k=) val 2) val top,bot val top bot Hash( Array) String k= true false k= true false * MCMD::Mcsvin::names() -nfn nil nfn Array Hash k= : MCMD::Mcsvin.new("i=input.dat k=key"){ csv
11 2.1 Mcsvin CSV 11 csv.each{ val,top,bot : bool top bot i = 1, 2,, n i ( key ) k i k 0 = k n+1 = ϕ k i (1 i n) ϕ { true, if ki k top = i 1 f alse, otherwise (2.1) { true, if ki k bot = i+1 f alse, otherwise (2.2) # dat1.csv,, A, ,10 B, ,40 MCMD::Mcsvin.new("i=dat1.csv"){ csv puts csv.names.join(",") csv.each{ val p val #,, [" "=>"A", " "=>" ", " "=>"10"] [" "=>"B", " "=>" ", " "=>"40"] 2 # dat1.csv, A, A, B, C, C, C, csv=mcmd::mcsvin.new("i=dat1.csv k= ") csv.each{ val,top,bot puts "#{val[ ],#{val[ ] top=#{top bot=#{bot" csv.close # A, top=true bot=false A, top=false bot=true B, top=true bot=true C, top=true bot=false
12 12 2 C, top=false bot=false C, top=false bot=true 3 -nfn Array # dat1.csv A, A, MCMD::Mcsvin.new("i=dat1.csv k=1 -nfn"){ csv puts csv.names # -> nil csv.each{ val p val # nil ["A"," "] ["A"," "] 4 Array # dat1.csv,, A, ,10 B, ,40 # -array Array MCMD::Mcsvin.new("i=dat1.csv -array"){ csv puts csv.names.join(",") csv.each{ val p val #,, ["A", " ", "10"] ["B", " ", "40"] Mcsvout : CSV Mtable : CSV Ruby 4 1 CSVScan LightCsv FasterCSV
13 2.1 Mcsvin CSV 13 CSV mcut M ( C++ ) Mcsvin CSVScan(C ) Ruby mcut Mcsvin mcut Mcsvin CSV parsing Array Ruby CSV ( : ) 10K 100K 1000K 2000K 3000K 4000K 5000K Mcsvin CSVScan LightCsv FasterCSV CSV mcut (real time) ( ) 10K K 25M 5 : CSVScan , FasterCSV 1.5.1, LightCsv CSV(Ruby 1.8.7) : Mac Book Pro, 2.66GHz Intel Core i7, 8GB, Mac OS X require rubygems require csv require fastercsv require lightcsv require csvscan require mcmd require benchmark puts Benchmark.measure{ (0...10).each{ i # Mcsvin csv=mcmd::mcsvin.new("i=data.csv -array"){ csv csv.each{ val # CSVScan File.open("data.csv","r"){ fp CSVScan.scan(fp){ row # LightCsv LightCsv.foreach("data.csv"){ row # FasterCSV FasterCSV.foreach("data.csv"){ row # CSV CSV.open("data.csv", r ){ row 2.1 ( ) Mcsvin ( 2.2) Array Hash 2
14 ( : ) 1000K 2000K 3000K 4000K 5000K Array Hash Array Hash
15 2.2 Mcsvout CSV Mcsvout CSV CSV C++ / RFC * MCMD::Mcsvout::new(arguments){block Mcsvout arguments o= (String) f= CSV ( ) (String Array) f= size= CSV size= CSV (Fixnum) precision= Float 10 C "%.ng" n 100/ bool= true false 1,0 * MCMD::Mcsvout::write(values) values (Array) CSV String, Fixnum, Bignum, Float, nil, true, false nil null CSV csv=mcmd::mcsvout.new("i=rsl.csv f=a,b,c"){ csv csv.write(["1",2,3.4]) csv.write([1,2,3,4,5]) csv.write([1,2]) # (rsl.csv) a,b,c 1,2,3.4
16 16 2 1,2,3 1,2, 2 CSV csv=mcmd::mcsvout.new("i=rsl.csv size=3"){ csv csv.write(["1",2,3.4]) csv.write([true,nil,false]) csv.write(["4\"5","","6,7"]) # (rsl.csv) 1,2,3.4 1,,0 "4""5",,"6,7" 3 (,bool ) MCMD::Mcsvout.new("i=rsl.csv size=3 precision=3 bools=t,f"){ csv csv.write([ , ]) # csv.write([123456,0]) # Fixnum csv.write([true,false]) # (rsl.csv) 0.123,1.23e ,0 T,F 4 # dat1.csv, A, B, MCMD::Mcsvin.new("i=dat1.csv -array"){ csvin MCMD::Mcsvout.new("i=rsl.csv f=#{csvin.names.join(",")){ csvout csvin.each{ val csvout.write(val) # rsl.csv, A, B, CSV Ruby 2 FasterCSV CSV
17 2.2 Mcsvout CSV ,10,100 null (/dev/null) 2.2 Mcsvout C++ Ruby 2.3 CSV ( : ) 10K 100K 1000K Mcsvout FasterCSV CSV (real time) 10K String, Fixnum, Float, true, false, nil 6 : FasterCSV CSV(Ruby 1.8.7) : Mac Book Pro, 2.66GHz Intel Core i7, 8GB, Mac OS X require rubygems require csv require fastercsv require mtools require benchmark $data = [" ", 10, 1.1, true, nil, false] puts Benchmark.measure{ (0...10).each{ i # Mcsvout MCMD::Mcsvout.new("o=/dev/null size=6){ csv ( ).each{ j csv.write($data) # FasterCSV FasterCSV.open("/dev/null", w ){ csv ( ).each{ j csv << $data # CSV CSV.open("/dev/null", w ){ csv ( ).each{ j csv << $data 2.2 ( ) Mcsvin : CSV
18 Margs keyword=value -keyword -keyword Bool (true/false) value Ruby String Fixnum Float --help help() --help * MCMD::Margs.new(ARGV[,allKeyWords][,mandatoryKeyWords][,helpFunction) Margs keyword= -keyword Hash Array ARGV allkeywords Ruby ARGV key=value -key ARGV allkeywords mandatorykeywords key=value mandatorykeywords helpfunction --help # $ ruby test.rb i=dat.csv -abc # test.rb args=margs.new(argv, "i=,v=,-abc") # OK args=margs.new(argv, "i=,v=") # -abc args=margs.new(argv, "i=,v=,-abc","i=,v=") # v= * MCMD::Margs.file(keyWord,mode): keyword key= (String) mode r (readable ) w (writable ) (String) keyword mode r mode w # $ ruby test.rb i=dat.csv # test.rb args=margs.new(argv)
19 2.3 Margs 19 puts args.file("i=","r") # dat.csv readable "dat.csv" puts args.file("i=","w") # writable "dat.csv" * MCMD::Margs.field(keyWord,fileName) keyword filename keyword filename "key=" (String) key=name 1 [:newname 1 %option 1 ],name 2 [:newname 2 %option 2 ],... (2.3) name i filename CSV "field name not found" name i newname i option i ( ) : % name i newname i option i Hash Hash names names (String Array) newnames newnames (String Array) nil options options (String Array) nil fld2csv "key=" CSV (filename) (0 )(String Array) csv2fld CSV "key=" (0 )(String Array) nil # test.csv fld1,fld2,fld3 1,2,3 4,5,6 # $ ruby test.rb f=fld1,fld3 # test.rb args=margs.new(argv) fld=args.field("f=","test.csv") p fld["names"] # -> ["fld1","fld3"] p fld["fld2csv"] # -> [0,2] fld1,fld3 test.csv 0 2 p fld["csv2fld"] # -> [0,nil,1] test.csv 0 f= 0 # $ ruby test.rb f=fld3:newfld3%n,fld2%nr # test.rb args=margs.new(argv) fld=args.field("f=","test.csv") p fld["names"] # -> ["fld3", "fld2"] p fld["newnames"] # -> ["newfld3", nil] p fld["options"] # -> ["n", "nr"] p fld["fld2csv"] # -> [2, 1] p fld["csv2fld"] # -> [nil, 1, 0]
20 20 2 * MCMD::Margs.str(keyWord[,default][,token1][,token2]) keyword default token1 token2 "key=" (String) nil token1 token2 keyword default default nil nil token1 token2 # $ ruby test.rb v=abc # test.rb args=margs.new(argv) puts args.str("v=") # ->"abc" puts args.str("w=") # -> nil puts args.str("w=","xyz") # -> "xyz" # $ ruby test.rb v=abc,efg:xyz,hij # test.rb args=margs.new(argv) puts args.str("v=") # ->"abc,efg:xyz,hij" puts args.str("v=",nil,",") # ->["abc", "efg:xyz", "hij"] puts args.str("v=",nil,",",":") # ->[["abc"], ["efg","xyz"], ["hij"]] * MCMD::Margs.float(keyWord[,default][,from][,to]): Float keyword default from to key= (String) (Float) nil (Float) (Float) keyword Float default # $ ruby test.rb v=0.12 # test.rb args=margs.new(argv) puts args.float("v=") # -> 0.12 puts args.float("v=",nil,0.2,0.3) # -> puts args.float("w=") # -> nil puts args.float("w=",0.1) # -> 0.1 * MCMD::Margs.int(keyWord[,default][,from][,to]) Fixnum
21 2.3 Margs 21 keyword default from to key= (String) (Float) nil (Float) (Float) keyword Float default # $ ruby test.rb v=10 # test.rb args=margs.new(argv) puts args.int("v=") # -> 10 puts args.int("v=",,20,30) # -> puts args.int("w=") # -> nil puts args.int("w=",15) # -> 15 * MCMD::Margs.bool(keyWord) Bool keyword -key (String) keyword true false # $ ruby test.rb -flag # test.rb args=margs.new(argv) puts args.bool("-flag") # -> true puts args.bool("-x") # -> false # $ ruby test.rb i=dat.csv v=value -abc # test.rb args=margs.new(argv, "i=,o=,w=,-flag,-x", "i=,w=") ifilename = args.file("i=") # -> "dat.csv" ofilename = args.str("o=","result.csv") # -> "result.csv" weight = args.float("w=",0.1,0.0,1.0) # -> 0.1 flag = args.bool("-abc") # -> true wflag = args.bool("-w") # -> false 2.3.3
22 Mtable CSV CSV (ex. to i) * MCMD::Mtable::new(arguments) Mtable arguments i= (String) -nfn 1 * MCMD::Mtable::cell(col=0, row=0) -> String row( ),col( ) row,col / 0 (Mcsvin 1 ) row,col nil row col col 0 col cell(col,0) col,row 0 0 cell(0,0) * MCMD::Mtable::names() -> String Array * MCMD::Mtable::name2num() -> String=>Fixnum Hash Hash * MCMD::Mtable::size() -> Fixnum # dat1.csv customer,date,amount A, ,10 B, ,40 tbl=mcmd::mtable.new("i=dat1.csv")
23 2.4 Mtable CSV 23 p tbl.names p tbl.name2num p tbl.size # -> 2 p tbl.cell(0,0) # -> "A" p tbl.cell(0,1) # -> "B" p tbl.cell(1,1) # -> " " p tbl.cell(1) # -> " " p tbl.cell # -> "A" # -> ["customer", "date", "amount"] # -> {"amount"=>2, "date"=>1, "customer"=>0 2 # dat1.csv customer,date,amount A, ,10 B, ,40 tbl=mcmd::mtable.new("i=dat1.csv -nfn") # p tbl.names # -> nil p tbl.name2num # -> nil p tbl.size # -> 3 p tbl.cell(0,0) # -> "customer" p tbl.cell(0,1) # -> "A" p tbl.cell(1,1) # -> " " p tbl.cell(1) # -> "date" p tbl.cell # -> "customer" Mcsvin : CSV
24
25 25 3
26 meach Array ) Array::meach(mpcount){ value block 2) Array::meach(mpcount){ value,count block value block count (0 ) mpcount # ( ) 2 # > [10,9,8,7,6].meach(2){ value,count > puts "#{value,#{count" > 10,0 9,1 8,2 7,3 6,
27 3.2 mheader CSV mheader CSV CSV ( ) MCMD::mheader(arguments) arguments i= (String) # dat1.csv #,, # A, ,10 # B, ,40 > p MCMD::mheader("i=dat1.csv") => [" ", " ", " "] 2 # dat1.csv # A, ,10 # B, ,40 > p MCMD::mheader("i=dat1.csv") => ["A", " ", "10"] Mcsvin : CSV Mtable : CSV
28 mrecount CSV CSV C++ (wc -l ) char MCMD::Mtable MCMD::mrecount(arguments) arguments i= (String) -nfn # dat1.csv,, A, ,10 B, ,40 p MCMD::mrecount("i=dat1.csv") # -> 2 p MCMD::mrecount("i=dat1.csv -nfn") # -> CSV CSV UNIX wc Mtable ,200,300,400, mrecount wc Mtable 5 6
29 3.3 mrecount CSV CSV ( : ) 1000K 2000K 3000K 4000K 5000K mrecount wc -l Mtable (real time) 1000K K 25M 5 : Mac Book Pro, 2.66GHz Intel Core i7, 8GB, Mac OS X require rubygems require mtools require benchmark puts Benchmark.measure{ (0...10).each{ i # mrecount p MCMD::mrecount("i=data.csv") # wc system "wc -l data.csv" # Mtable MCMD::Mtable("i=data.csv -array"){ tbl p tbl.recordsize 3.1 ( )
30 mkdir MCMD::mkDir(dirName[,rmExistingDir]) dirname rmexistingdir true dirname #./folder # > MCMD::mkDir("./folder") # true./folder > MCMD::mkDir("./folder",true) 3.4.3
31 3.5 endlog endlog MCMD #END# ; * MCMD::endLog(msg[,fileObject]) msg fileobject (STDERR) # > MCMD::endLog("mburst.rb ") #END# mburst.rb ; 2013/11/01 19:09: errorlog : messagelog :
32 errorlog MCMD #ERROR# ; MCMD::errorLog(msg[,fileObject]) msg fileobject (STDERR) # > MCMD::errorLog("mburst.rb ") #END# mburst.rb ; 2013/11/01 19:09: endlog : messagelog :
33 3.7 messagelog messagelog MCMD #MSG# ; * MCMD::messageLog(msg[,fileObject]) msg fileobject (STDERR) # > MCMD::messageLog("mburst.rb ") #END# mburst.rb ; 2013/11/01 19:09: errorlog : endlog :
34
35 35 4
36 MCMD MCMD KGMOD KGMOD Ruby MCMD KG_VerboseLevel Mcsvin error 2 + warning 3 + end 4 + msg ( ) $ irb > require mcmd # KG_Verbose=4 > MCMD::Mcsvin.new("i=dat.csv"){ csv csv.each{ flds #END# mcsvin i=dat.csv; ; 2013/08/08 15:18:52 > MCMD::Mcsvin.new("x=dat.csv"){ csv csv.each{ flds #ERROR# unknown parameter x= (mcsvin); mcsvin x=dat.csv; ; 2013/08/08 15:18:52 # KG_Verbose=1 > ENV["KG_VerboseLevel"] = "1" > MCMD::Mcsvin.new("i=dat.csv"){ csv csv.each{ flds > MCMD::Mcsvin.new("x=dat.csv"){ csv csv.each{ flds #ERROR# unknown parameter x= (mcsvin); mcsvin x=dat.csv; ; 2013/08/08 15:18:52 # KG_Verbose=0 > ENV["KG_VerboseLevel"] = "0" > MCMD::Mcsvin.new("i=dat.csv"){ csv csv.each{ flds > MCMD::Mcsvin.new("x=dat.csv"){ csv csv.each{ flds
ohp1.dvi
2008 1 2008.10.10 1 ( 2 ) ( ) ( ) 1 2 1.5 3 2 ( ) 50:50 Ruby ( ) Ruby http://www.ruby-lang.org/ja/ Windows Windows 3 Web Web http://lecture.ecc.u-tokyo.ac.jp/~kuno/is08/ / ( / ) / @@@ ( 3 ) @@@ :!! ( )
More information1 TOKEN CORPORATION
31 1 TOKEN CORPORATION Q1 TOKEN CORPORATION 2 Q2 3 TOKEN CORPORATION Q3 TOKEN CORPORATION 4 123 142 2,94 23.5 42 538 74 1,44 71 1,93 1,554 75.3 5 TOKEN CORPORATION TOKEN CORPORATION 6 4 35 3 25 2 15 1
More informationdouble float
2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................
More informationnetcdf
1. Anetcdf.rb netcdf C ruby open new create NetCDF C filename String NetCDF NetCDF_open mode r r, w share false true or false open open netcdf filename String NetCDF NetCDF_create noclobber false true
More information4 $ alias elixirc="elixirc --ignore-module-conflict" warning redefining module User (current version loaded from Elixir.User.beam) user.ex1 User alias
4 NanoPlanner Elixir Elixir/Phoenix 14 4.1 Elixir ~/elixir-primer/v02/ch04 $ mkdir -p ~/elixir-primer/v02/ch04 $ cd ~/elixir-primer/v02/ch04 ~/elixir-primer/v02 35 4 $ alias elixirc="elixirc --ignore-module-conflict"
More informationr03.dvi
19 ( ) 019.4.0 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void... argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0 a a \0 b b b \0 c c c \0 1: // argdemo1.c ---
More informationohp03.dvi
19 3 ( ) 2019.4.20 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void int main(int argc, char *argv[]) {... 2 (2) argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0
More information3360 druby Web Who is translating it? http://dx.doi.org/10.1007/s10766-008-0086-1 $32.00 International Journal of PARALLEL PROGRAMING Must buy! http://dx.doi.org/10.1007/s10766-008-0086-1 toruby The
More information3360 druby Web Who is translating it? http://dx.doi.org/10.1007/s10766-008-0086-1 $32.00 International Journal of PARALLEL PROGRAMING Must buy! http://dx.doi.org/10.1007/s10766-008-0086-1 toruby LT Linux
More informationRubyKaigi2009 COBOL
RubyKaigi2009 COBOL seki@druby.org 3360 Pragmatic Bookshelf druby Web $32.00 International Journal of PARALLEL PROGRAMING !? MapReduce Rinda (map, reduce) map reduce key value [, ] [, ID] map()
More informationslide9.dvi
- val a = Array.array(20,""); val a = [ "","","","","","","","","","",\ "","",... ] : string array - Array.update(a,5,"abc"); val it = () : unit - Array.sub(a,5); val it = "abc" : string 9-1 - Array.length(a);
More informationMicrosoft PowerPoint - ruby_instruction.ppt
Ruby 入門 流れ Ruby の文法 画面に出力 キーボードから入力 数値 文字列 変数 配列 ハッシュ 制御構造 ( 分岐 繰り返しなど ) if while case for each 関数 クラス Ruby とは プログラミング言語 インタプリタ言語 オブジェクト指向 国産 ウェブアプリケーションフレームワーク RubyOnRails で注目 弊社での Web アプリケーション開発に利用 画面に出力
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó
1 2013 4 10 lumeta internet mapping http://www.lumeta.com http://www.cheswick.com/ches/map/ 2 / 39 ( ) 3 / 39 (Internet measurement and data analysis) : TA: SA:
More informationfp.gby
1 1 2 2 3 2 4 5 6 7 8 9 10 11 Haskell 12 13 Haskell 14 15 ( ) 16 ) 30 17 static 18 (IORef) 19 20 OK NG 21 Haskell (+) :: Num a => a -> a -> a sort :: Ord a => [a] -> [a] delete :: Eq a => a -> [a] -> [a]
More informationuntitled
1 4 4 6 8 10 30 13 14 16 16 17 18 19 19 96 21 23 24 3 27 27 4 27 128 24 4 1 50 by ( 30 30 200 30 30 24 4 TOP 10 2012 8 22 3 1 7 1,000 100 30 26 3 140 21 60 98 88,000 96 3 5 29 300 21 21 11 21
More informationprogrammingII2019-v01
II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2
More informationCopyright c 2008 Zhenjiang Hu, All Right Reserved.
2008 10 27 Copyright c 2008 Zhenjiang Hu, All Right Reserved. (Bool) True False data Bool = False True Remark: not :: Bool Bool not False = True not True = False (Pattern matching) (Rewriting rules) not
More informationストラドプロシージャの呼び出し方
Release10.5 Oracle DataServer Informix MS SQL NXJ SQL JDBC Java JDBC NXJ : NXJ JDBC / NXJ EXEC SQL [USING CONNECTION ] CALL [.][.] ([])
More informationhaskell.gby
Haskell 1 2 3 Haskell ( ) 4 Haskell Lisper 5 Haskell = Haskell 6 Haskell Haskell... 7 qsort [8,2,5,1] [1,2,5,8] "Hello, " ++ "world!" "Hello, world!" 1 + 2 div 8 2 (+) 1 2 8 div 2 3 4 map even [1,2,3,4]
More informationr08.dvi
19 8 ( ) 019.4.0 1 1.1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( ) 1 next 1 prev 1 head cur tail head cur prev
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó
1 2014 4 7 lumeta internet mapping http://www.lumeta.com http://www.cheswick.com/ches/map/ 2 / 41 ( ) 3 / 41 (Internet measurement and data analysis) : TA: SA:
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè11²ó
11 2013 6 19 11 (6/19) 6 (18:10-19:40) λ13 UNIX : 2 / 26 UNIX UNIX sort, head, tail, cat, cut diff, tee, grep, uniq, wc join, find, sed, awk, screen 3 / 26 sort sort : $ sort [options] [FILE...] options
More informationWindows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2
September 2016 1 Windows Cygwin Mac *1 Emacs Ruby 1 1.1 ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 ~/16:00:20> ls 2 2 ls ls -a ~/16:00:20> ls -a
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó
2 2015 4 20 1 (4/13) : ruby 2 / 49 2 ( ) : gnuplot 3 / 49 1 1 2014 6 IIJ / 4 / 49 1 ( ) / 5 / 49 ( ) 6 / 49 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 7 / 49
More information_IMv2.key
飯島基 文 customb2b@me.com $ ssh ladmin@im.example.com $ cd /Library/Server/Web/Data/Sites/Default/ $ git clone https://github.com/msyk/inter-mediator.git
More informationsyspro-0405.ppt
3 4, 5 1 UNIX csh 2.1 bash X Window 2 grep l POSIX * more POSIX 3 UNIX. 4 first.sh #!bin/sh #first.sh #This file looks through all the files in the current #directory for the string yamada, and then prints
More information{:from => Java, :to => Ruby } Java Ruby KAKUTANI Shintaro; Eiwa System Management, Inc.; a strong Ruby proponent http://kakutani.com http://www.amazon.co.jp/o/asin/4873113202/kakutani-22 http://www.amazon.co.jp/o/asin/477413256x/kakutani-22
More informationohp08.dvi
19 8 ( ) 2019.4.20 1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: 2 (2) NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( 2) 3 (3) head cur tail head cur prev data
More information# let st1 = {name = "Taro Yamada"; id = };; val st1 : student = {name="taro Yamada"; id=123456} { 1 = 1 ;...; n = n } # let string_of_student {n
II 6 / : 2001 11 21 (OCaml ) 1 (field) name id type # type student = {name : string; id : int};; type student = { name : string; id : int; } student {} type = { 1 : 1 ;...; n : n } { 1 = 1 ;...; n = n
More informationEPSON ES-D200 パソコンでのスキャンガイド
NPD4271-00 ...4...7 EPSON Scan... 7...11 PDF...12 / EPSON Scan...13 EPSON Scan...13 EPSON Scan...14 EPSON Scan...14 EPSON Scan...15 Epson Event Manager...16 Epson Event Manager...16 Epson Event Manager...16
More informationSequel のすすめ 私が SQL を嫌いな理由 とみたまさひろ RubyHiroba Sequel のすすめ - 私が SQL を嫌いな理由 Powered by Rabbit 2.0.7
Sequel のすすめ 私が SQL を嫌いな理由 とみたまさひろ RubyHiroba 2013 2013-06-02 自己紹介とみたまさひろ 長野県北部在住 プログラマー (Ruby & C) http://tmtms.hatenablog.com http://twitter.com/tmtms 好きなもの Ruby, MySQL, Linux Mint, Emacs, Git OSS 貢献者賞
More informationCondition DAQ condition condition 2 3 XML key value
Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................
More informationプラズマ核融合学会誌4月【84-4】/講座5
Practical Data Analysis Using Open Source Software 5. Ruby for Geophysical Fluid Sciences HORINOUCHI Takeshi corresponding author s e-mail: horinout rish.kyoto-u.ac.jp air lon lat level time global_temp.rb
More informationBW BW
Induced Sorting BW 11T2042B 2015 3 23 1 1 1.1................................ 1 1.2................................... 1 2 BW 1 2.1..................................... 2 2.2 BW.................................
More informationI J
I 065763J 8 7 7 31 jikken/ +----- accumulation_demupa.c +----- accumulation_rain.c +----- frequency_demupa.c +----- frequency_rain.c +----- go.sh +----- graph_maker.sh +----- mesure-ryudai/ 2007/4/1 2007/6/30
More informationExpress5800/340Hb-Rユーザーズガイド(セットアップ編)
4 B 1 2 Phoenix BIOS Setup Utility Main Advanced Stratus Security Boot Exit System Time : System Date : Primary Master Primary Slave [15:23:34] [01/30/2004] CD-ROM ATRPI Removable Item Specific Help
More informationVDM-SL VDM VDM-SL Toolbox VDM++ Toolbox 1 VDM-SL VDM++ Web bool
VDM-SL VDM++ 23 6 28 VDM-SL Toolbox VDM++ Toolbox 1 VDM-SL VDM++ Web 2 1 3 1.1............................................... 3 1.1.1 bool......................................... 3 1.1.2 real rat int
More informationPowerPoint -O80_REP.PDF
Oracle8 Core Technology Seminar 1997109,31 Oracle8 OS: UNIX Oracle8 : Release8.0.3 Oracle8 Quick Start Package Lesson 5 -- Enhancements to Distributed Facilities Oracle8 -- - Oracle8 LOB Oracle8 -- - Updates
More informationインテル(R) Visual Fortran Composer XE 2013 Windows版 入門ガイド
Visual Fortran Composer XE 2013 Windows* エクセルソフト株式会社 www.xlsoft.com Rev. 1.1 (2012/12/10) Copyright 1998-2013 XLsoft Corporation. All Rights Reserved. 1 / 53 ... 3... 4... 4... 5 Visual Studio... 9...
More informationPX-403A
NPD4403-00 ...6... 6...10 Mac OS X...11 Mac OS X v10.5.x v10.6.x...11 Mac OS X v10.4.x...15...18...19...19...21...22!ex...22 /...23 P.I.F. PRINT Image Framer...23...24...27...27...28...28...28...32 Web...32...32...35...35...35...37...37...37...39...39...40...43...46
More informationRuby Ruby ruby Ruby G: Ruby>ruby Ks sample1.rb G: Ruby> irb (interactive Ruby) G: Ruby>irb -Ks irb(main):001:0> print( ) 44=>
Ruby Ruby 200779 ruby Ruby G: Ruby>ruby Ks sample1.rb G: Ruby> irb (interactive Ruby) G: Ruby>irb -Ks irb(main):001:0> print( 2+3+4+5+6+7+8+9 ) 44 irb(main):002:0> irb irb(main):001:0> 1+2+3+4 => 10 irb(main):002:0>
More informationA/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B
A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1
More information1
PalmGauss SC PGSC-5G Instruction Manual PalmGauss SC PGSC-5G Version 1.01 PalmGauss SC PGSC5G 1.... 3 2.... 3 3.... 3 3.1... 3 3.2... 3 3.3 PalmGauss... 4 3.4... 4 3.4.1 (Fig. 4)... 4 3.4.2 (Fig. 5)...
More informationEPSON PX-503A ユーザーズガイド
NPD4296-00 ...6... 6...10 Mac OS X...11 Mac OS X v10.5.x v10.6.x...11 Mac OS X v10.4.x...15...18...19...19...21...22...23!ex...23 /...24 P.I.F. PRINT Image Framer...24...25...28...28...29...29...30...33
More informationMicrosoft PowerPoint - 11RubyIntro-No02.ppt [互換モード]
Ruby 入門 東京電機大学櫻井彰人 Ruby とは? Ruby: 松本ゆきひろ氏による (1993) 純粋オブジェクト指向 スクリプト言語 Web プログラムで どんどんポピュラーに Ruby on Rails (http://www.rubyonrails.org/) なぜか きわめて Lisp like 松本行弘 (Matz) Introduction 実行環境 Windows/Unix/Linux/
More information=
2. 2.1 2.2 kuri@ice.uec.ac.jp ( 2007/10/30/16:46) 1 . 1. 1 + 2 = 5. 2. 180. 3. 3 3. 4.. 5.. 2 2.1 1.,,,,. 2., ( ) ( ).,,,, 3.,. 4.,,,. 3 1.,. 1. 1 + 2 = 5. (, ) 2. 180. (, ) 3. 3, 3. (, ) 4.. (, ) 5..
More informationVer.1 1/17/2003 2
Ver.1 1/17/2003 1 Ver.1 1/17/2003 2 Ver.1 1/17/2003 3 Ver.1 1/17/2003 4 Ver.1 1/17/2003 5 Ver.1 1/17/2003 6 Ver.1 1/17/2003 MALTAB M GUI figure >> guide GUI GUI OK 7 Ver.1 1/17/2003 8 Ver.1 1/17/2003 Callback
More informationはじめての帳票作成
ucosminexus EUR 3020-7-532 OS Windows Vista Windows XP P-26D2-5684 ucosminexus EUR Designer 08-00 P-26D2-5784 ucosminexus EUR Developer 08-00 ISO9001 TickIT Microsoft Microsoft Corp. Microsoft Excel Microsoft
More informationprogram.dvi
2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation
More informationEPSON EP-803A/EP-803AW ユーザーズガイド
NPD4293-00 ...6... 6...10 Mac OS X...11 Mac OS X v10.5.x v10.6.x...11 Mac OS X v10.4.x...15...18...19...19...22...23...24!ex...24 /...25 P.I.F. PRINT Image Framer...25...26...30...30...31...31...31...35
More informationEPSON EP-703A ユーザーズガイド
NPD4295-00 ...6... 6...10 Mac OS X...11 Mac OS X v10.5.x v10.6.x...11 Mac OS X v10.4.x...15...18...19...19...22...23...24!ex...24 /...25 P.I.F. PRINT Image Framer...25...26...29...30...30...31...31...34
More informationuntitled
1. Ver1.7(Macintosh )... 1 1-1... 1 1-2 Ver1.7... 1 1-3 Ver1.7... 1 1-4... 1 1-4-1... 1 1-4-2... 1 1-4-3... 1 1-5... 1 2... 3 3... 3 3-1... 3 3-2... 3 3-3... 3 3-4 Ver1.6... 3 4 /... 4 4-1... 4 4-2...
More informationR による統計解析入門
R May 31, 2016 R R R R Studio GUI R Console R Studio PDF URL http://ruby.kyoto-wu.ac.jp/konami/text/r R R Console Windows, Mac GUI Unix R Studio GUI R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
More informationRuby演習テキスト1
Ruby言語 基礎演習 社会人技術者研修 2014年度 テキスト 社会人技術者研修 2014年度テキスト 2014.11 Ruby基礎演習 1 2014.11 2015.2.1 puts "Hello Ruby >ruby hello.rb ( リターン ) > ruby hello.rb Hello Ruby # はじめての ruby プログラム puts "Hello Ruby" > ruby
More informationintra-mart BaseModule/Framework
CSV XML 2007 1 18 2007/1/18 CSV XML 1...6 1.1...6 1.2...6 1.3...6 1.4...7 2...8 2.1...8 2.1.1 csv2xml.properties...8 2.1.2...8 2.1.2.1 config.xml...8 2.1.2.2 encoding.xml...8 2.1.2.3 logging.properties...8
More informationSML#³«È¯ºÇÁ°Àþ
SML# 2011 in Tokyo, 2011/09/17 1 / 34 SML# 2011 in Tokyo, 2011/09/17 1 / 34 SML# 2011 in Tokyo, 2011/09/17 1 / 34 SML# ML 1993 SML# of Kansai 2003 e-society JAIST 2006 SML# 0.10 2011 9 SML# 0.90 2 / 34
More informationGLS user s reference 19 8 21 1 3 1.1....................................................... 3 1.2....................................................... 3 1.3.......................................................
More informationJacques Garrigue
Jacques Garrigue Garrigue 1 Garrigue 2 $ print_lines () > for i in $1; do > echo $i > done $ print_lines "a b c" a b c Garrigue 3 Emacs Lisp (defun print-lines (lines) (dolist (str lines) (insert str)
More informationmyx_backup Ver 1.10のPHP7対応
myx_backup Ver 1.10 の PHP7 対応 Published JJ1RLWon by 2016-05-03 (445 閲覧 ) XOOPS Cube の日頃のメンテナンスで使っているモジュールの myx_backup Ver 1.10 の PHP7 への対応お得意の ちょっとだけ改造 自前で行っています mysql 拡張から mysqli 拡張へ変更するため set_magic_quotes_runtime
More informationDS-30
NPD4633-00 JA ...6... 6... 6... 6... 6... 7... 7... 7... 7... 8... 8...9...10...11...11...13 Document Capture Pro Windows...13 EPSON Scan Mac OS X...14 SharePoint Windows...16 Windows...16...17 Document
More informationruby novice ruby novice ruby novice.
GitHub Ruby 2549 2017 3 1 1 3 2 4 2.1 ruby novice........................... 4 2.2.............................. 6 3 8 3.1 ruby novice....................... 8 3.2 ruby novice............................
More information2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa
I 2017 11 1 SageMath SageMath( Sage ) Sage Python Sage Python Sage Maxima Maxima Sage Sage Sage Linux, Mac, Windows *1 2 Sage Sage 4 1. ( sage CUI) 2. Sage ( sage.sage ) 3. Sage ( notebook() ) 4. Sage
More informationBASIC / / BA- SIC Web 1/10 1/10 / / JavaScript
BASIC / / BA- SIC Web 1/10 1/10 // JavaScript MIT Processing line(10,10,100,100); 1 BASIC / Phidgets 1 GAINER 2 USB / Phidgets USB 1: 1 http://www.phidgets.com/ 2 http://gainer.cc/ / / BGM Phidgets University
More informationthesis.dvi
H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.
More informationJavaScript Web Web Web Web Web JavaScript Web Web JavaScript JavaScript JavaScript GC GC GC GC JavaScript SSJSVM GC SSJSVM GC GC GC SSJSVM GC GC SSJSV
27 JavaScript Design and Implementation of a Mark Sweep Garbage Collection on a Server Side JavaScript Virtual Machine 1160326 2016 2 26 JavaScript Web Web Web Web Web JavaScript Web Web JavaScript JavaScript
More informationParametric Polymorphism
ML 2 2011/04/19 Parametric Polymorphism Type Polymorphism ? : val hd_int : int list - > int val hd_bool : bool list - > bool val hd_i_x_b : (int * bool) list - > int * bool etc. let hd_int = function (x
More information写真集計くん+ for Mac ユーザーズガイド
DPOF + Plus for Mac + for Mac 1 + for Mac 1 + for Mac 2 3 3 5 5 5 FTP 5 7 7 7 8 11 11 13 16 18 DPOF 23 23 FTP 24 25 26 26 26 26 + for Mac + for Mac + for Mac + for Mac ( ) DPE (DPOF) Microsoft Excel Visual
More informationFileMaker Server 9 Getting Started Guide
FileMaker Server 10 2007-2009 FileMaker, Inc. All rights reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker Bento Bento FileMaker, Inc. Mac Mac Apple Inc. FileMaker
More informationcom.ibm.etools.egl.jsfsearch.tutorial.doc.ps
EGL JSF ii EGL JSF EGL JSF.. 1................. 1 1:.... 3 Web.......... 3........... 3........ 4......... 7 2:...... 7..... 7 SQL.... 8 JSF.... 10 Web.... 12......... 13 3: OR....... 14 OR... 14.15 OR.....
More informationEmacs ML let start ::= exp (1) exp ::= (2) fn id exp (3) ::= (4) (5) ::= id (6) const (7) (exp) (8) let val id = exp in
Emacs, {l06050,sasano}@sic.shibaura-it.ac.jp Eclipse Visual Studio Standard ML Haskell Emacs 1 Eclipse Visual Studio variable not found LR(1) let Emacs Emacs Emacs Java Emacs JDEE [3] JDEE Emacs Java 2
More informationFor_Beginners_CAPL.indd
CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL
More informationIntel® Compilers Professional Editions
2007 6 10.0 * 10.0 6 5 Software &Solutions group 10.0 (SV) C++ Fortran OpenMP* OpenMP API / : 200 C/C++ Fortran : OpenMP : : : $ cat -n main.cpp 1 #include 2 int foo(const char *); 3 int main()
More informationr07.dvi
19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1
More informationnakayama15icm01_l7filter.pptx
Layer-7 SDN SDN NFV 50 % 3 MVNO 1 2 ICM @ 2015/01/16 2 1 1 2 2 1 2 2 ICM @ 2015/01/16 3 2 Service Dependent Management (SDM) SDM Simple Management of Access-Restriction Translator Gateway (SMART-GW) ICM
More informationstrtok-count.eps
IoT FPGA 2016/12/1 IoT FPGA 200MHz 32 ASCII PCI Express FPGA OpenCL (Volvox) Volvox CPU 10 1 IoT (Internet of Things) 2020 208 [1] IoT IoT HTTP JSON ( Python Ruby) IoT IoT IoT (Hadoop [2] ) AI (Artificial
More information1 ex01.sql ex01.sql ; user_id from (select user_id ;) user_id * select select (3+4)*7, SIN(PI()/2) ; (1) select < > from < > ; :, * user_id user_name
SQL mysql mysql ( mush, potato) % mysql -u mush -p mydb Enter password:****** mysql>show tables; usertable mysql> ( ) SQL (Query) : select < > from < > where < >; : create, drop, insert, delete,... ; (
More informationohp07.dvi
19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5
More informationuntitled
30 callcc yhara ( ( ) (1) callcc (2) callcc (3) callcc callcc Continuation callcc (1) (2) (3) (1) (2) (3) (4) class Foo def f p 1 callcc{ cc return cc} p 2 class Bar def initialize @cc = Foo.new.f def
More informationLR DEVICE Version 1.1 706434 / 01 04 / 2017 1................................................ 3 1.1............................................... 3 2................................................ 3
More informationMSAC-EX1
3-218-418-02 (1) ExpressCard MSAC-EX1 b 2 MSAC-EX1 3 Program 2007 Sony Corporation Documentation 2007 Sony Corporation Memory Stick MagicGate Memory Stick Memory Stick Duo MagicGate Memory Stick Duo Memory
More informationPX-673F
NPD4385-00 ...6... 6...10 Mac OS X...11 Mac OS X v10.5.x v10.6.x...11 Mac OS X v10.4.x...15...18...19...19...21...22...23!ex...23 /...24 P.I.F. PRINT Image Framer...24...25...28...29...29...30...30...33
More informationES-D400/ES-D350
NPD4650-00 ...4 EPSON Scan... 4 Document Capture Pro Windows... 7 EPSON Scan...10 EPSON Scan...10...14 PDF...15 / EPSON Scan...17 EPSON Scan...17 EPSON Scan...18 EPSON Scan...18 Document Capture Pro Windows...19
More information(1) 1 GPS GPS-CS3K Sony Corporation
4-130-775-03(1) 1 GPS GPS-CS3K 2 3 2009 Sony Corporation 3 VCCIB 2 GPS 5 6 8 9 11 1 14 GPS 16 19 2 20 23 /GPS 27 3 / 31 Super Mapple Digital Ver. 9 for Sony 32 34 36 3 GPS 38 39 40 41 45 4 GPS GPS-CS3K
More informationES-D400/ES-D200
NPD4564-00 ...4...7 EPSON Scan... 7...11 PDF...12 / EPSON Scan...14 EPSON Scan...14 EPSON Scan...15 EPSON Scan...15 EPSON Scan...16 Epson Event Manager...17 Epson Event Manager...17 Epson Event Manager...17
More information2
2011.11.11 1 2 MapReduce 3 4 5 6 Functional Functional Programming 7 8 9 10 11 12 13 [10, 20, 30, 40, 50] 0 n n 10 * 0 + 20 * 1 + 30 * 2 + 40 * 3 + 50 *4 = 400 14 10 * 0 + 20 * 1 + 30 * 2 + 40 * 3 + 50
More informationPowerCore 01 Manual
PowerCore 01 Manual Japanese for PowerCore 01 TC Support Interactive TC Support Interactive www.tcsupport.tc TC Support Interactive TC My Stuff TC TC TC TC ELECTRONIC A/S Customer Support Sindalsvej 34
More informationOracle Rdb: PowerPoint Presentation
Day2-3 Itanium: T S Oracle Rdb 2006 4 4 2006 4 6 2005-2006, Oracle Corporation VAX/Alpha IEEE Rdb IEEE SQL SQL SQL 2 : 12340000 = 1.234 x 10 7 ( ) -1.234 x 10 7-1.234 x 10 7-1.234 x 10 7 (10-2 = 1/100)
More informationr1.dvi
Ruby 2009.9.7 1 ( ) --- ( ( ) ( ) 1 --- ( ) 1 ( ) (?) IT 7K( )?? ( ) ( )? IT ( ) --- ( ) 1 ( ) --- ( ) (?) 2-3% Top-Level ICT Professional 5% ICT Professional 10% 100% 50% 20% Devl. Experiment Adv. ICT
More information1
LDSP-0004 http://www.freespot.com/ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Initializing. >>Please Wait!
More informationHARK Designer Documentation 0.5.0 HARK support team 2013 08 13 Contents 1 3 2 5 2.1.......................................... 5 2.2.............................................. 5 2.3 1: HARK Designer.................................
More information¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse
I Exercise on Programming I http://bit.ly/oitprog1 12 of 14 ( RD S ) I 12 of 14 1 / 35 https://bit.ly/oitprog1 ( RD S ) I 12 of 14 2 / 35 game.rb ( RD S ) I 12 of 14 3 / 35 game.rb 11 ( ) 1 require "io/console"
More informationuntitled
Fortran90 ( ) 17 12 29 1 Fortran90 Fortran90 FORTRAN77 Fortran90 1 Fortran90 module 1.1 Windows Windows UNIX Cygwin (http://www.cygwin.com) C\: Install Cygwin f77 emacs latex ps2eps dvips Fortran90 Intel
More informationHA8000シリーズ ユーザーズガイド ~BIOS編~ HA8000/RS110/TS10 2013年6月~モデル
P1E1M01500-3 - - - LSI MegaRAID SAS-MFI BIOS Version x.xx.xx (Build xxxx xx, xxxx) Copyright (c) xxxx LSI Corporation HA -0 (Bus xx Dev
More informationパターン化されたロジックのコンポーネント化
UI C++Builder SEAXER 2 CAD BASIC CISC/RISC C++ Perl Java 3 PM 4 T^T) 5 UNIX 6 7 8 true/false SetLastError(); throw() BOOL abort 9 UML PM OOPS esign attern C/C++ 10 Don t Repeat Yourself 11 Windows3.1 12
More information