7:50行動開始
10時すぎ出発。税務署。サンエーIY。広淵便局
旭小屋12:10
ひとつ屋根
web巡回、2004-09-01あたり整理、Rubyのお勉強とtdairyのデータを変換
コナン、水戸黄門、ヴォイス、風呂
23時半ごろ布団
2009-02-16 Mon
tdiaryのdataの中のtd2ファイルをChangeLogに近い形に変換する。
あとは日付でソートしたい、
ディレクトリ内のtd2ファイルを順番に読み込んで処理したい。
#!/usr/bin/env ruby
$KCODE="EUC"
#$/ = "\n"
#$, = ","
require "date"
if ARGV[0] == nil
STDERR.puts "引数が足りません"
STDERR.puts "例:$ ./trunk/cl2sigoto-goukei.rb ~/trunk/ChangeLog"
exit 0
end
entry = {}
#p lioe
goukei = 0
while line = ARGF.gets
### print line
if /^Title|^Last|^Visi|^Format|^\./ =~ line then
# p line
elsif /^(Date: (\d{8}))/ =~ line then # 日付をキープ
d = $2 # = year-month-day
date = Date.parse(d)
# puts date
print date," akapy <akapy@coz>"
# p d2
else
print line
end
end
<<
申告所得1,300円。もちろん源泉されているので既に56,306円支払い済みです。
で、この1,300円をPay-easyで払おうと試みると
納付番号、確認番号、納付区分番号などが不明で できないのよね。
結局 便局の窓口で支払う羽目になる。
去年も同じだった。
google先生に聞いてみると簡単にはできないみたいね。
確定申告の申告所得税を納税しました。
e-Taxした人は大丈夫らしいが。
Pay-easy(ペイジー)電子納税の仕方
Subject: Returned mail: see transcript for details
From: Mail Delivery Subsystem <MAILER-DAEMON@defg501.nifty.com>
To: <hoge@nifty.com>
Date: Mon, 16 Feb 2009 10:22:41 +0900
Auto-Submitted: auto-generated (failure)
The original message was received at Sun, 15 Feb 2009 10:17:24 +0900
from msag500p.nifty.com [172.22.128.251]
----- The following addresses had permanent fatal errors -----
<hogehoge@ml.yubitoma.or.jp>
----- Transcript of session follows -----
<hogehoge@ml.yubitoma.or.jp>... Deferred: Connection timed out with mail1.yubitoma.or.jp.
Message could not be delivered for 1 day
Message will be deleted from queue
<<