2009-08-13から1日間の記事一覧
#!/usr/bin/env ruby require "prawn" pdf = Prawn::Document.new p pdf.bounds.absolute_bottom_right で、 [576.0, 36.0]
import org.apache.commons.lang.builder.StandardToStringStyle; public class C2009081300 { public static void main(String[] args) { StandardToStringStyle x = new StandardToStringStyle(); System.out.println(x.isUseIdentityHashCode()); x.setUs…
ほぼ、まんま >>> from lepl import * >>> name = ('Mr' | 'Ms') // Word() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for |: 'str' and 'str' >>> name = (Literal('Mr') | 'Ms') // Word() >>> pr</module></stdin>…