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
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などをシャットダウンした状態で |
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
#祝祭日定義ファイルの例 | |
#シャープで始まる行はコメント | |
#スペース区切りで1列目が日付として認識される | |
# $Id: hol,v 1.1 2004/02/16 03:09:59 ymo Exp $ | |
#2004年 | |
2004-01-01 元旦 | |
2004-01-12 成人の日 | |
2004-02-11 建国記念日 | |
2004-03-20 春分の日 |
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 | |
/** | |
* Oracleページ制御用SQL生成クラス | |
* | |
* Oracle8以降(?たぶん)でPostgreSQL、MySQLでいうLIMIT、OFFSETを利用するためのPHP4用クラス。 | |
* データベースに実際にアクセスするのではなくSQLを返す。 | |
* このクラスの関数はOraclePagination::PageCount()のようにstaticに利用する。 | |
* 1ページ分のレコードだけを抽出するSQL文、行数ではなく何ページあるかを返すSQLを生成する。 | |
* | |
* $page_numberに指定したページの行を選択する。$lines_per_pageには1ページあたりの行数を指定。 |
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, |
NewerOlder