This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9800021 宮城県仙台市青葉区中央 | |
# 1 98061 アエル(31F) | |
# 2 98060 住友生命仙台中央ビル(SS30)(30F) | |
3300081 埼玉県さいたま市中央区新都心 | |
# 3 33060 明治安田生命さいたま新都心ビル(35F) | |
2610023 千葉県千葉市美浜区中瀬 | |
# 4 26171 ワールドビジネスガーデン(35F) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 全国郵便番号一覧 - 郵便専門ネット http://yubin.senmon.net/ | |
// PHP XML-RPCクライアントクラス yubin.class.php | |
// 使い方は一番下のテストを。 | |
// | |
// 2002.11.05 受け渡す郵便番号の型がintになっていたのをstringに修正。 | |
// 2002.11.06 見つからない場合にはfaultCode()が返るようになったのでそれに合わせて変更。 | |
// 2002.11.08 セルフテストのスペルミスを訂正。 | |
// 2002.11.09 仕様変更に対応。初期化関数の冗長な記述を削除。 | |
// 2002.11.11 Addressというクラス名は一般的するぎるのでYubinXMLRPC_Addressに変更。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE PACKAGE WKD_PKG AS | |
/* | |
営業日パッケージ | |
※土曜、日曜が営業日の場合は、IS_WORKDAYを直す | |
※国民の祝日が営業日の場合は、休日テーブルを直す | |
-- 休日テーブル(祝祭日、お盆とか、都民の日とかも) | |
create table holidays ( | |
holiday date, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""yurpc2.py | |
XML-RPCで郵便番号から住所を取得するPythonスクリプト | |
""" | |
import sys | |
import string | |
try: | |
from xmlrpc.client import ServerProxy | |
except ImportError: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Anonymous Proxy;A1 | |
Satellite Provider;A2 | |
Other Country;O1 | |
Andorra;AD | |
United Arab Emirates;AE | |
Afghanistan;AF | |
Antigua and Barbuda;AG | |
Anguilla;AI | |
Albania;AL | |
Armenia;AM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
import datetime | |
START_DAY = datetime.date(2010, 10, 20) | |
def nosmoking_days(todate = None): | |
if not todate: | |
todate = datetime.date.today() | |
delta = todate - START_DAY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msgid "" | |
msgstr "" | |
"Project-Id-Version: Codium Extend JP\n" | |
"Report-Msgid-Bugs-To: \n" | |
"POT-Creation-Date: 2010-10-22 17:20+0100\n" | |
"PO-Revision-Date: 2011-09-09 11:36+0900\n" | |
"Last-Translator: Yoshinori Morimoto <eight@jinim.jp>\n" | |
"Language-Team: eight <eight@jinim.jp>\n" | |
"MIME-Version: 1.0\n" | |
"Content-Type: text/plain; charset=UTF-8\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[test_HEAD] | |
url: http://example.com/ | |
[test_GET] | |
url: http://example.com/ | |
method: GET | |
[test_POST] | |
url: http://example.com/ | |
method: POST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|| 消費税率のカレンダーテーブル | |
*/ | |
DROP TABLE TAX_CALENDAR; | |
/ | |
-- TAX CALENDAR TABLE | |
CREATE TABLE TAX_CALENDAR ( | |
DtS date NOT NULL, | |
DtE date NOT NULL, | |
TAX number(3,2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
#################################################################### | |
# dullyhttpd.py | |
# $Id: dullyhttpd.py,v 1.2 2005/04/20 08:37:11 ymo Exp $ | |
# | |
# メンテナンスなどで、一時的にどこのURLにアクセスしても、 | |
# 同じメッセージを表示するために作ったもの。dully httpd. | |
# | |
# 例えば、80番ポートで動くApacheなどをシャットダウンした状態で |
NewerOlder