- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12
2006-11-24 Fri
<object>を利用した,外部のHTMLファイルを読み込む方法
- Summary
<iframe>を利用しないで,外部のHTMLファイルを読み込む方法.
- For Internet Explorer
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="some.html"> <p>backup content</p> </object>
- For Internet Explorer以外
- 読み込ませるページ
...
<body style="border:0;overflow:visible">
...- Reference
aplus moments - Insert HTML page into another HTML page
http://www.aplus.co.yu/web-dev/insert-html-page-into-another-html-page/
- Reference 追記 [2006-11-27]
WWW WATCH - 2006-11-25 - IFRAME を使わない方法の補足
http://hyper-text.org/archives/2006/11/object_element.shtml
- via
phpspot開発日誌 - 2006-11-24 - IFRAMEを使わずにHTMLファイルから他のHTMLファイルを読み込む方法
http://phpspot.org/blog/archives/2006/11/iframehtmlhtml.html
XML Notepad 2007 - Microsoft謹製の無料で使えるXMLエディタ
- Reference
Microsoft - Download Center - XML Notepad 2007
http://www.microsoft.com/downloads/details.aspx?FamilyID=72d6aa49-787d-4118-ba5f-4f30fe913628
- via
窓の杜 - Microsoft、フリーのXMLエディター「XML Notepad 2007」を公開
http://www.forest.impress.co.jp/article/2006/11/24/xmlnotepad2007.html
削除したファイルをlsofで復元する
- Reference
Open Tech Press | 削除したファイルをlsofで復元する
http://opentechpress.jp/developer/article.pl?sid=06/11/23/0451251
Linux.com | CLI Magic: lsof
http://enterprise.linux.com/article.pl?sid=05/10/21/004255&tid=89
電話帳お預かりサービス - 携帯電話の電話帳バックアップサービス
- Summary
携帯電話の電話帳のバックアップをサーバ側に置くことができる.
パケット通信料のみで利用可能.
保存容量は4MBまで.
携帯電話の機種変更時,携帯を水没させた,紛失した場合でも,
簡単に電話帳を移行できる.
- Reference
My DoCoMo - お問い合わせ・サポート - My DoCoMoの使い方 - 電話帳お預かりサービス
http://www.mydocomo.com/web/howto/storage01.html
My DoCoMo - お問い合わせ・サポート - 電話帳お預かりサービスについて
http://www.mydocomo.com/web/faq/storage.html
J-COMのOutbound Port25 Blocking
- Summary
J-COMのOP25B (Outbound Port25 Blocking)により,メールが送信できていなかった.
が,まだ送信できず….
- postfix で submissionポートを開ける.
submission inet n - - - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_etrn_restrictions=reject
# /etc/init.d/postfix reload
- Reference
zapanet.info - 突然メールが送信できなくなった時の話
http://zapanet.info/blog/item/851
J-COM - セキュリティ情報 - セキュリティ対策:OP25B (Outbound Port25 Blocking) 導入のお知らせ
http://www.home.ne.jp/cs/data/vs-200609-001.html
J-COM - お知らせ情報 - メール送信のみが突然出来なくなったお客様へのご案内
http://www.home.ne.jp/cs/data/in-200609-003.html
@NetHome セキュリティ - @NetHomeの迷惑メール対策
http://www.home.ne.jp/cs/virus/spam/spam_block.shtml#03
Kozupon.com - Postfixで実現するSubmission over SMTP-AUTH!
http://www.kozupon.com/mail/submission.html
ぴえ〜るの活動日記 - Postfixのsubmissionポート対応 (Debian編)
http://pierre.vg/x/modules/pukiwiki/?Postfix%A4%CEsubmission%A5%DD%A1%BC%A5%C8%C2%D0%B1%FE%A1%CADebian%CA%D4%A1%CB
Postfix + SMTP-AUTH2(SASL2)
- Summary
Postfix で SMTP-AUTHを実現する方法.
- SASL関連をインストール
# aptitude install sasl2-bin libsasl2 libsasl-modules
■SASLの設定
- SASLのアカウント操作
- アカウント作成
# saslpasswd2 -c -u myhostname username
- アカウント削除
# saslpasswd2 -d -u myhostname username
- アカウント確認
# sasldblistusers2
- Postfix 側とのデータベース関連付け
ユーザ登録毎に以下作業が必要.
# chgrp postfix /etc/sasldb2
# chmod 640 /etc/sasldb2
# cp /etc/sasldb2 /var/spool/postfix/etc/
- パスワードチェックメソッド (pwcheck_method) の指定
/usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop mech_list: cram-md5
- Plain loginのみ対応のMUAを使用する場合
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd mech_list: plain login
(pwcheck_method に saslauthd を指定した場合,mech_list にはplain loginしか指定できない)
- smtpd.confのコピー
# cp /usr/lib/sasl2/smtpd.conf /etc/postfix/sasl/
■Postfixの設定
- /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, regexp:/etc/postfix/recipient_checks.reg, check_sender_access hash:/etc/postfix/bad_sender, reject_rbl_client relays.ordb.org, reject_rbl_client spamcop.net, reject_rbl_client dynablock.wirehub.net, reject_rbl_client opm.blitzed.org, reject_non_fqdn_recipient, permit_auth_destination, permit_sasl_authenticated, reject_unauth_destination
- /etc/postfix/master.cf
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtp_error_sleep_time=0
-o smtp_soft_error_limit=1001
-o smtp_hard_error_limit=1000
■動作確認
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 example.com ESMTP Postfix
EHLO localhost
250-example.com
250-PIPELINING
250-SIZE 51200000
250-ETRN
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.
- ログの確認
sasl_method=CRAM-MD5, sasl_username=xxxx
- エラーログについて
openldap + sasl2 を導入していると,auth.logに以下のメッセージが記録されることがある.
Aug 17 14:54:37 ns postfix/smtpd[3819]: sql_select option missing
Aug 17 14:54:37 ns postfix/smtpd[3819]: auxpropfunc error no mechanism available
Aug 17 14:54:37 ns postfix/smtpd[3819]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
■トラブルシューティング
- /etc/sasldb2: Permission denied
以下のエラーが発生
Nov 24 03:58:22 myhostname postfix/smtpd[12200]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
/var/spoold/postfix/sasldb2 の権限が間違っている場合でも /etc/sasldb2 の Permission deniedが発生していた.
# cp /etc/sasldb2 /var/spool/postfix/sasldb2
# chgrp postfix /var/spool/postfix/sasldb2
# chmod 640 /var/spool/postfix/sasldb2
- Reference
Kozupon.com - Postfix + SMTP-AUTH2(SASL2)のセットアップ!
http://www.kozupon.com/mail/sasl2.html
ZendFrameworkでAjaxを使ったチャットシステムを作るチュートリアル
- Reference
Zend Developer Zone | AJAX Chat Tutorial
http://devzone.zend.com/node/view/id/1234
- via
phpspot開発日誌 - ZendFrameworkでAjaxを使ったチャットシステムを作るチュートリアル
http://phpspot.org/blog/archives/2006/11/zendframeworkaj.html
PearのServices_JSONを使ってPHPの変数を簡単にJSON形式にする
- Summary
日本語を使う場合はUTF-8の変数を渡す必要がある.
require_once('Services/JSON.php'); $json = new Services_JSON(); $obj = array( 'id' => array( 'foo', 'bar', array('aa' => 'bb') ), 'foobar' => $string, 'a' => 123 , 'b' => true ); $js = $json->encode($obj); echo $js;
- Reference
phpspot開発日誌 - PearのServices_JSONを使ってPHPの変数を簡単にJSON形式にするサンプル
http://phpspot.org/blog/archives/2006/11/pearservices_js.html
Test your musical skills in 6 minutes - 36問の音記憶テスト
- Summary
2回流れるメロディが同じか,違うかを答えていく.
結果,75.0%.
- via
Test your musical skills in 6 minutes!
http://jakemandell.com/tonedeaf/
- via
p o p * p o p - あなたの音痴度合いは世界で何番目?
http://www.popxpop.com/archives/2006/11/post_47.html
Link Alert - リンク先のファイルの種類を表示するFirefox拡張
- Reference
Mozilla Corporation - Firefox Add-ons - Link Alert
https://addons.mozilla.org/firefox/3199/
- via
GIGAZINE - リンク先が何のファイルかわかるFirefoxの拡張機能「Link Alert」
http://gigazine.net/index.php?/news/comments/20061123_link_alert/
AjaxCore - Ajax アプリ開発用 PHPフレームワーク
- Reference
SourceForge.net: ajaxcore
http://sourceforge.net/projects/ajaxcore/
Ajaxian - AjaxCore: PHP Ajax Framework
http://ajaxian.com/archives/ajaxcore-php-ajax-framework
- via
PHPプロ! - Ajax アプリ開発用 PHPフレームワーク「AjaxCore」
http://www.phppro.jp/news/238
PICTAPS - 描いた絵が踊るFlash
- Summary
スプー
http://roxik.com/pictaps/?pid=32706
http://roxik.com/pictaps/?pid=32845
セフィロス
http://roxik.com/pictaps/?pid=32876
http://roxik.com/pictaps/?pid=34228
コナン
http://roxik.com/pictaps/?pid=34471
http://roxik.com/pictaps/?pid=39235
- Reference
ROXIK - PICTAPS
http://roxik.com/pictaps/
- via
絵を描いたらなんか動くの見つけたwwwwwwwwww
http://www.kajisoku.com/archives/eid656.html
- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12