2008-12-29から1日間の記事一覧
>> require "rubygems" => true >> require "active_support" => true >> Date.new(2008,12,31).to_datetime => Wed, 31 Dec 2008 00:00:00 +0000 >> Date.new(2008,12,31).to_datetime.class => DateTime
import org.apache.commons.lang.math.NumberUtils; public class C2008122900 { public static void main(String[] args) { int[] aryi = {3, 1, 2}; double[] aryd = {1.3, 1.1, 1.2}; System.out.println(NumberUtils.min(1, 2, 3)); System.out.println(…
Prelude> :m Text.ParserCombinators.Parsec.Language Prelude Text.ParserCombinators.Parsec.Language> nestedComments haskellStyle Loading package parsec ... linking ... done. True Prelude Text.ParserCombinators.Parsec.Language> nestedComments…
#!/usr/bin/env lua print(io.stdin) print(io.stdout) print(io.stderr) で、 file (0x804ed18) file (0x804f080) file (0x804f0d8)