<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5821581940821384422</id><updated>2011-11-28T09:44:13.479+09:00</updated><category term='Vista'/><category term='Google Analytics'/><category term='Firefox'/><category term='WMI'/><category term='Linux'/><category term='Office'/><category term='Thunderbird'/><category term='Postfix'/><category term='Webアプリ'/><category term='Gmail'/><category term='雑談'/><category term='Web2.0'/><category term='Tips'/><category term='Windows'/><category term='Wiki'/><category term='JavaScript'/><category term='Blogger'/><category term='Java'/><title type='text'>Markopee::Notebook</title><subtitle type='html'>IT関連の備忘録です。Linux, Windows とか Apache, PostgreSQL などの OSS とか。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-7261815046255608520</id><published>2008-05-06T11:08:00.001+09:00</published><updated>2008-05-06T11:08:48.947+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>FireGestures でジェスチャーをキャンセルする</title><summary type='text'>設定画面に項目がなく、デフォルトで無効になっているのでメモ。  about:config を開き、  extensions.firegestures.gesture_timeout

を 3000 とかに設定する。単位はミリ秒。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/7261815046255608520/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=7261815046255608520' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7261815046255608520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7261815046255608520'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/05/firegestures.html' title='FireGestures でジェスチャーをキャンセルする'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-8730376579617795513</id><published>2008-04-30T00:18:00.001+09:00</published><updated>2008-05-06T11:11:03.540+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>Firefox3でGmailのフィルタ設定のキーワード欄を複数行にする</title><summary type='text'>Firefox 3 にしたら、Gmail のフィルタ設定のキーワード欄を複数行にする Stylish のスタイル定義が効かなくなっていた。  このスタイル定義は  -moz-binding: url(http://persistent.info/files/gmail-filter.xml#filter);

のように外部サイトを参照するようになっており、Firefox 3 のセキュリティ強化によりエラーとなってしまう。考えてみれば、外部サイトに置かれたファイルに定義された書き換えルールを使っているっていうのはかなり危険である。ファイルを置き換えられても気付かないだろうし。。。

自分は新バージョンの Gmail に対応するため、XBL ファイルをローカルに置き、

-moz-binding: url(resource:///chrome/gmail-expand-filter.xml#</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/8730376579617795513/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=8730376579617795513' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8730376579617795513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8730376579617795513'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/04/firefox3gmail.html' title='Firefox3でGmailのフィルタ設定のキーワード欄を複数行にする'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-8208497808823927795</id><published>2008-03-09T22:15:00.000+09:00</published><updated>2008-04-30T00:31:36.128+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>PAM を使って Active Directory で認証する方法</title><summary type='text'>PAM を使った自作アプリ（C/C++）で、ユーザの認証を Active Directory で行う方法を紹介。  C/C++アプリのコーディングでは、Active Directory を意識する必要はなく、単に PAM に問い合わせるだけ。認証方法に依存しちゃったら PAM を使う意味ないしね。ここでは PAM ライブラリを用いたコーディングについては触れません。  アプリのプラットフォームは Linux 。今回は、ユーザの認証だけができればよく、Linuxシステム上にアカウントは存在しなくてよい。というより作りたくない。 手順はたかはしもとのぶ氏の Linux の認証を Active Directory で行なう方法 の通りでOK。   また、Windows ActiveDirectory を利用した Linux ログイン認証環境構築時のメモ は Windows と Linux の</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/8208497808823927795/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=8208497808823927795' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8208497808823927795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8208497808823927795'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/03/pam-active-directory.html' title='PAM を使って Active Directory で認証する方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-656945165174871108</id><published>2008-03-09T01:42:00.000+09:00</published><updated>2008-03-09T01:56:30.395+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WMI'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>ドライブレターのないボリュームの容量を取得する</title><summary type='text'>WMIを使ってディスク容量を取得するサンプルはたくさんあるけど、ドライブレターのない論理ボリュームの容量を取得するものがない。また、Win32_LogicalDisk クラスでも取得できない。  いろいろ調べて試した結果、Win32_Volume クラスで取得できることが分かった。以下は「C:\Users\xxx」にマウントしたボリュームの総容量と空き容量を取得する例。  strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Volume Where Caption = 'C:\\Users\\xxx'")
For Each objItem</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/656945165174871108/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=656945165174871108' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/656945165174871108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/656945165174871108'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/03/blog-post.html' title='ドライブレターのないボリュームの容量を取得する'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-1926211995566136770</id><published>2008-03-09T01:26:00.001+09:00</published><updated>2008-03-09T01:26:05.413+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Vista'/><title type='text'>Vistaでドライブレターがないボリューム上のファイルがインデックスに登録されない</title><summary type='text'>Windows Vista には Windows デスクトップ サーチ の機能が統合されていて、様々なファイルの検索が可能になっている。デフォルトでは Users フォルダとオフラインフォルダがインデックス登録され、検索可能になっている。  だけど、なぜか自分のドキュメントフォルダに保存したPDFファイルがインデックスに登録されない。Administratorのドキュメントはちゃんと登録されている。インデックス対象の選択画面を開くと、なぜか自分のデータフォルダだけ表示されないではないか。。。どうやら、ジャンクションフォルダはインデックスの対象外っぽい。そういう仕様なんだろう。  なぜジャンクションになってるか  自分はデータ領域をシステムドライブと分けたいという性分なので、Documents and Settings フォルダを移動せずに別のドライブにマウントする方法 の手順で自分の</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/1926211995566136770/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=1926211995566136770' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1926211995566136770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1926211995566136770'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/03/vista.html' title='Vistaでドライブレターがないボリューム上のファイルがインデックスに登録されない'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-5902012970980952909</id><published>2008-03-09T00:19:00.000+09:00</published><updated>2008-03-09T01:26:40.779+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Documents and Settings フォルダを移動せずに別のドライブにマウントする方法</title><summary type='text'>データ領域をシステムドライブと別にしたいという人は結構いるんじゃないかと思う。自分もDocuments and Settingsフォルダの場所を変更する を参考にしてDドライブに移している。Documents and Settings フォルダ（名前長いよ。。。）は Vista では Users フォルダに名前が変更されている。うん、短くていいね:-)  しかし上記の手順で Documents and Settings フォルダを別ドライブにすると、不具合が出るアプリもある。自分は Windows Media Player がエラーで使えなくなった。DRM関連の設定がレジストリにバイナリ値として「C:\Documents and Settings\...」と設定されていたためだ。念のためレジストリはチェックしていたのだけど、バイナリ値は検索に引っかからなかった。  他にも、Google </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/5902012970980952909/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=5902012970980952909' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/5902012970980952909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/5902012970980952909'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/03/documents-and-settings.html' title='Documents and Settings フォルダを移動せずに別のドライブにマウントする方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-6809312933429701413</id><published>2008-03-08T22:25:00.001+09:00</published><updated>2008-05-06T11:12:01.434+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>body onload は使ってはいけない？</title><summary type='text'>独自の Windows Vista サイドバー ガジェットを作成する より引用。     JavaScript をかじったことがある方なら、"eval is evil" という言葉を耳にしたことがあるでしょう。ご存じない方は、まず Web で調べてから続きをお読みください。 eval を使用すべきでない理由をおわかりいただけたところで、ここではこの規則に修正を加えて、JavaScript のテキストを HTML 内の属性に配置すべきではないという規則と、setInterval や setTimeout に文字列を渡すべきではないという規則を付け加えたいと思います。JavaScript のテキストを配置してはいけない属性には、body onload 属性も含まれます。この属性は eval ステートメントと同じように内部で解釈されるからです。 "body onload がだめならどうやって</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/6809312933429701413/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=6809312933429701413' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/6809312933429701413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/6809312933429701413'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/03/body-onload.html' title='body onload は使ってはいけない？'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-3673997939102744649</id><published>2008-02-18T00:49:00.000+09:00</published><updated>2008-06-21T03:31:04.004+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><title type='text'>メール送信時にアドレスから表示名を取り除く拡張 Auto Address Cleaner</title><summary type='text'>宛先メールアドレスから次の例のように表示名を取り除く Thunderbird 拡張 Auto Address Cleaner を作ってみた。  "雷鳥 太郎" &lt;taro@example.com&gt;
　　↓taro@example.com

同様の拡張で AddressCleaner という拡張があるが、Auto Address Cleaner はメール作成中は表示名は消さず、送信時に表示名を取り除くようになっている。




    
      AddressCleaner

      Auto Address Cleaner
    

    
      
        
          アドレス入力時に自動で取り除く（auto_cleanを有効にした場合） 

          コンテキストメニューから手動で取り除く 
        
      

      
</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/3673997939102744649/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=3673997939102744649' title='19 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3673997939102744649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3673997939102744649'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/plain-address.html' title='メール送信時にアドレスから表示名を取り除く拡張 Auto Address Cleaner'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-3519579729933115132</id><published>2008-02-11T00:24:00.001+09:00</published><updated>2008-05-06T11:12:01.434+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Webアプリ'/><title type='text'>JSPのプリコンパイル</title><summary type='text'>JSPをWebサーバに配置後、プリコンパイルする方法のメモ。     JSPファイルそれぞれに以下の形式でHTTPアクセスする             http://path/to/file.jsp?jsp_precompile         http://path/to/file.jsp?jsp_precompile=true         http://path/to/file.jsp?foo=bar&amp;jsp_precompile=true             Ant の jspc タスク を使う    Lambda Probe を使う   Ant のことはよく分からないし、そのまま使えるサンプルが見つからなかった。Lambda Probe は Tomcat の管理/管理ツールとのことで良さげ。Tomcat 4.x には未対応。  ローテクながら、１つめの方法をとることに。</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/3519579729933115132/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=3519579729933115132' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3519579729933115132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3519579729933115132'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/jsp.html' title='JSPのプリコンパイル'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-3384155112566453078</id><published>2008-02-10T00:43:00.000+09:00</published><updated>2008-02-10T00:50:04.212+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Analytics'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>続・Google Analytics のレポートから内部トラフィックを除外する方法</title><summary type='text'>Blogger にログインした状態でアクセスしたときだけ処理を実行する方法を、Google Analytics の自己アクセス除外設定に応用する。  Google Analytics で自己アクセスを除外する設定は Google Analytics のレポートから内部トラフィックを除外する方法 でできたのだが、ひとつ困ったことがある。  このサイトは Blogger を利用しているのだが、自分だけがアクセスできるページを作成できない。Google Analytics で自己アクセスを除外する設定をかいつまむと、こうだ。     サイトに（自分だけがアクセスする/できる）新しいページを作成     作成したページに自分のアクセスだと識別する Cookie （便宜上、除外用 Cookieと呼ぶことにする）を設定するコードを埋め込む     自分が使うパソコン、ブラウザから作成したページに</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/3384155112566453078/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=3384155112566453078' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3384155112566453078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3384155112566453078'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/google-analytics_10.html' title='続・Google Analytics のレポートから内部トラフィックを除外する方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-7567508603677026494</id><published>2008-02-09T23:34:00.000+09:00</published><updated>2008-02-10T00:50:38.803+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Blogger にログインした状態でアクセスしたときだけ処理を実行する方法</title><summary type='text'>Blogger にログインした状態でアクセスしたときだけ表示する方法の応用。  クイックエディットアイコンは以下の span 要素の内側にある。  &lt;span class='widget-item-control'&gt;  &lt;span class='item-control blog-admin'&gt;&lt;/span&gt;&lt;/span&gt;

ログイン中だと内側の span 要素の display 属性が inline になり、ログインしていないときは none になっている。この状態をチェックすることで、ログインした状態でアクセスしたときだけ処理を実行することができる。

上記の要素には ID がないので、固有の ID をつけたものをテンプレートに直接埋め込んでおく。

&lt;span class='widget-item-control'&gt;  &lt;span class='item-control </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/7567508603677026494/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=7567508603677026494' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7567508603677026494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7567508603677026494'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blogger_09.html' title='Blogger にログインした状態でアクセスしたときだけ処理を実行する方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-1957152110675264641</id><published>2008-02-09T23:08:00.000+09:00</published><updated>2008-02-10T00:38:35.916+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Blogger にログインした状態でアクセスしたときだけ表示する方法</title><summary type='text'>Blogger にログインした状態で自分のブログを見ると、各ウィジェットの右下にクイックエディットのアイコンが表示される。（テンプレートによっては表示されない場合もある）  ログインしていない状態ではクイックエディットのアイコンは表示されないが、HTML コード自体は出力されていて、display: none で見えなくなっているだけである。  クイックエディットアイコンは、次のような span 要素の内側にある。  &lt;span class='widget-item-control'&gt;  &lt;span class='item-control blog-admin'&gt;    今 Blogger にログイン中です。  &lt;/span&gt;&lt;/span&gt;

上記のようなコードを記述すれば、ログインした状態のときのみメッセージ等を表示させることができる。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/1957152110675264641/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=1957152110675264641' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1957152110675264641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1957152110675264641'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blogger.html' title='Blogger にログインした状態でアクセスしたときだけ表示する方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-9149798336920143672</id><published>2008-02-09T22:38:00.001+09:00</published><updated>2008-02-10T19:20:30.507+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Analytics'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Google Analytics のレポートから内部トラフィックを除外する方法</title><summary type='text'>Google Analytics ではフィルタ機能を使うことで内部アクセスを除外することができる。アクセス元を特定する方法としては３つの手段を提供している。     ドメインからのトラフィックをすべて除外     IP アドレスからのトラフィックをすべて除外     カスタムフィルタ    企業や固定IP、ドメインを持つ場合は１または２で簡単に設定できる。そうではない場合は、ちょっと工夫がいる。  ネット環境が DSL だったり、FTTH 接続でも固定 IP じゃない場合は、自分の IP アドレスが変化するので IP 指定で除外しにくい。プロバイダによっては変化する IP アドレス範囲の特定が難しい場合もある。ドメイン名もしかり。    変化する IP アドレスの範囲が分かっていて、ご近所さん（そのIPアドレス範囲のユーザ）からのトラフィックも除外してしまって OK ならば、２の方法を使</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/9149798336920143672/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=9149798336920143672' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9149798336920143672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9149798336920143672'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/google-analytics.html' title='Google Analytics のレポートから内部トラフィックを除外する方法'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-7275513461143645007</id><published>2008-02-04T19:27:00.001+09:00</published><updated>2008-02-08T20:16:04.940+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>RHELでシングルユーザモードのログインにパスワードを要求する</title><summary type='text'>シングルユーザモードのときは、パスワードを求められないものと思っていたが、debianを使ってみてそうではないことを知った。sulogin と init (, inittab) がキーワード。  RHEL の sulogin の ManPage の説明。     sulogin は、シングルユーザモードの時、ユーザがシステムにアクセス可能となる前に、 /etc/init によって起動される。この機能は、init が適切に変更されているシステムか、あるいは /etc/inittab にシングルユーザ login のエントリがあるシステムでのみ利用できる。    ... snip ...    このコマンドが利用できるようにするには、init が /bin/sh ではなく sulogin を呼ぶようになっているか、または inittab 中にシングルユーザ ログインに対する設定がされている</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/7275513461143645007/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=7275513461143645007' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7275513461143645007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7275513461143645007'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/rhel.html' title='RHELでシングルユーザモードのログインにパスワードを要求する'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-4935683430239215500</id><published>2008-02-03T23:10:00.000+09:00</published><updated>2008-02-08T20:16:04.941+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>被はてなブックマーク数を表示する</title><summary type='text'>はてなの方に Blogger の場合のサンプルが載っているけど、情報が古いようで現在の Blogger では使えない。以下のようにするとおっけー。  &lt;a expr:href='"http://b.hatena.ne.jp/entry/" + data:post.url'&gt;
&lt;img alt='このエントリーを含むはてなブックマークを表示'
 expr:src='"http://b.hatena.ne.jp/entry/image/"
 + data:post.url'
 title='このエントリーを含むはてなブックマークを表示'/&gt;
&lt;/a&gt;  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/4935683430239215500/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=4935683430239215500' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4935683430239215500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4935683430239215500'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blog-post_2364.html' title='被はてなブックマーク数を表示する'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-946045551621048043</id><published>2008-02-03T23:03:00.000+09:00</published><updated>2008-02-08T20:16:04.941+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>ソーシャルブックマークへの追加ボタンをつける</title><summary type='text'>各エントリにソーシャルブックマークへの追加ボタンをつける方法。  ソーシャルブックマークへの追加ボタンは AddClips で簡単に作成できる。Bloggerなら作成したコードを貼り付けるだけでOKらしいけど、そのまま貼り付けてもうまくいかなかったのでメモ。  AddClipsUrl    = &amp;#39;&lt;data:post.url/&gt;&amp;#39;;
AddClipsTitle  = &amp;#39;&lt;data:post.title/&gt;&amp;#39;;

URLとタイトルのところは上記のようにしたらうまくいった。他の部分も、シングルクォートは &amp;#39; と文字実体参照で記述する。（コピペして保存すれば勝手に変換されたと思う）

あとはボタンの表示位置が微妙に上にずれていて見た目が良くないので、span要素でくくって位置調整。

.post-bookmark a img {
  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/946045551621048043/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=946045551621048043' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/946045551621048043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/946045551621048043'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blog-post_2811.html' title='ソーシャルブックマークへの追加ボタンをつける'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-4293743618943378409</id><published>2008-02-03T21:01:00.001+09:00</published><updated>2008-02-10T00:53:32.217+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='Web2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>MS OfficeそっくりのオンラインOfficeアプリ</title><summary type='text'> Microsoft OfficeそっくりのオンラインOfficeアプリ。     Think Free Office  これもDeki wikiが利用している。 Think Freeをホストしているサーバにキャッシュとかで中身保存されていないのかちょっと心配。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/4293743618943378409/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=4293743618943378409' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4293743618943378409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4293743618943378409'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/ms-officeoffice.html' title='MS OfficeそっくりのオンラインOfficeアプリ'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-3124010834995177505</id><published>2008-02-03T20:54:00.001+09:00</published><updated>2008-02-10T00:53:08.226+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>全文検索エンジンApache Lucene</title><summary type='text'>Lucene（ルシーン）は Javaで書かれた全文検索のライブラリ。DekiWiki が利用している。    DekiWiki、もうちょっと軽快ならいいんだけどなー。  Lucene のサンプルコードなどは 関口宏司のLuceneブログ が充実している。Lucene本の著者さんですね。  リンク     Welcome to Lucene!    Lucene -TECHSCORE-    Lucene Wikipedia   </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/3124010834995177505/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=3124010834995177505' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3124010834995177505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3124010834995177505'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/apache-lucene.html' title='全文検索エンジンApache Lucene'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-5699204296391232175</id><published>2008-02-03T20:35:00.001+09:00</published><updated>2008-02-03T20:35:57.419+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>fmlで受信メールサイズの制限をする</title><summary type='text'>fml 3.0 （かなり古いが。。。）だと 7. SECURITY &amp; FILTERING にてメール受信の最大サイズを設定できる。任意の値ではなく、あらかじめ決められた値の中から選択する形。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/5699204296391232175/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=5699204296391232175' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/5699204296391232175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/5699204296391232175'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/fml.html' title='fmlで受信メールサイズの制限をする'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-8631486241500682837</id><published>2008-02-03T20:34:00.001+09:00</published><updated>2008-02-03T20:34:23.882+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>サーバ証明書のシリアル重複</title><summary type='text'>IEでは無視されるが、NetscapeやFirefoxでは同一の証明機関から発行された証明書で同一のシリアル番号があった場合、無効になるらしい。ちゃんとした認証機関から発行してもらっている分には問題ないが、自己認証局でオレオレ証明書を作ってる場合はミスする可能性もあるかも。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/8631486241500682837/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=8631486241500682837' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8631486241500682837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/8631486241500682837'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blog-post_8358.html' title='サーバ証明書のシリアル重複'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-7059621467740873158</id><published>2008-02-03T20:12:00.001+09:00</published><updated>2008-02-08T20:16:04.941+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Postfix'/><title type='text'>Postfixで拡張アドレスを使う</title><summary type='text'>Gmail では     '.' （ドット）は無視される     '+' （プラス）以降は無視される    という規則があって、たとえば以下のメールアドレスは同じと解釈される。     foo.bar@gmail.com     foobar@gmail.com     foob.ar@gmail.com     foo.bar+abcdefg@gmail.com    Gmailユーザでは + を使ってアドレスを（擬似的に）複数使い分けている人も多いと思う。これと同じようなことを Postfix でも簡単に実現できる。  main.cf に以下を追加するだけで、上記の例のように + 以降を無視することができる。  recipient_delimiter = +

qmail でも同様の設定が可能とのこと。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/7059621467740873158/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=7059621467740873158' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7059621467740873158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7059621467740873158'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/postfix.html' title='Postfixで拡張アドレスを使う'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-793641122526485205</id><published>2008-02-03T20:02:00.001+09:00</published><updated>2008-11-13T14:11:42.326+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>不機嫌なエクスプローラ</title><summary type='text'>ノートPCのエクスプローラがたまに（しょっちゅう）おかしくなる。壊れっぷりの一部を紹介。      メニューがなくなり、Windowsの旗マークがびよーんと。      メニューがツールとヘルプだけに。      もう、どうしろっての。。。 再起動すると直るので、システムリソース不足っぽい。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/793641122526485205/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=793641122526485205' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/793641122526485205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/793641122526485205'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blog-post_03.html' title='不機嫌なエクスプローラ'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_ErhD9SuHDhY/R6Wc933mmPI/AAAAAAAAAwc/ipKuWhQ6JwY/s72-c/explorer-crash03.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-9178079173652747236</id><published>2008-02-03T19:40:00.001+09:00</published><updated>2008-02-08T20:16:04.942+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>ログインプロンプトの表示を変更する</title><summary type='text'>ログインプロンプトが表示されるとき、RHELでは画面がいったんクリアされるが、Debianではクリアされず以前の画面表示内容が残ったままになる。RHELで/etc/rc.localでメッセージを表示したい場合、画面がクリアされないようにログインプロンプトのオプションを変更する必要がある。  RHELのリファレンスマニュアルのブートプロセスの詳細を参照すると、     initコマンドがそのランレベルに適切なrcディレクトリを通過すると、/etc/inittabスクリプトは、ランレベルに割り当てられた各仮想コンソール(ログインプロンプト)用に /sbin/mingettyプロセスをフォーク(分岐)します。ランレベル2から 5は 6つの仮想コンソールをすべて持ちますが、ランレベル1(シングルユーザーモード)は1つしか持たず、ランレベル 0 とランレベル 6は仮想コンソールがありません。/</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/9178079173652747236/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=9178079173652747236' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9178079173652747236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9178079173652747236'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/02/blog-post.html' title='ログインプロンプトの表示を変更する'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-1665399648705725029</id><published>2008-01-29T00:33:00.000+09:00</published><updated>2008-05-06T11:11:03.541+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>続・Gmail のフィルタ設定のキーワード欄を複数行にする</title><summary type='text'>Gmail のフィルタ設定のキーワード欄を複数行にする では、新しいバージョンの Gmail で動かない。新しいバージョンでも動くようにしたときのメモ。  Firebug で見てみると、新しいバージョンの Gmail では、キーワードの入力欄の name 属性値が設定されていないことがわかる。    id は設定されているのだが、これが可変のようでうまくいかない。     かわりに tabindex 属性が使えそうだなと思ったら、既に投稿されていた。     One filter, multiple email addresses     Expanding Gmail's Filter Input（本家の元エントリ）    新バージョンになっていない日本語表示でも使う場面がまだあるので、上記サイトの情報と以前の input[name="cf1_has"] を組み合わせて以下</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/1665399648705725029/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=1665399648705725029' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1665399648705725029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/1665399648705725029'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/gmail_29.html' title='続・Gmail のフィルタ設定のキーワード欄を複数行にする'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-4598775764673844844</id><published>2008-01-21T22:38:00.001+09:00</published><updated>2008-11-13T14:11:42.487+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='雑談'/><title type='text'>フライアウェイ</title><summary type='text'>少年マガジンで「ベイビーステップ」というテニス漫画が連載されているが、 tennis365 というテニス専門サイトでベイビーステップのひとコマを使った 吹き出しコンテスト なるものが行われている。  パッと思いついたネタがこれ。    元ネタはゴッドタンです。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/4598775764673844844/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=4598775764673844844' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4598775764673844844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/4598775764673844844'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/blog-post_21.html' title='フライアウェイ'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ErhD9SuHDhY/R5Sfth9txKI/AAAAAAAAAvI/g-St2G4_wvU/s72-c/fly-away.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-2897116233682042298</id><published>2008-01-16T21:27:00.000+09:00</published><updated>2008-02-08T20:16:04.943+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>debian で時間が 9時間ずれる</title><summary type='text'>ちょうど 9時間進んだ状態になっている。BIOS 画面で JST の時刻に合わされているのを確認しているので、UTC を使用するようになっている模様。RHEL でいうところの「システムクロックで UTC を使用」を選んだのと同じかな。タイムゾーンは「Asia/Tokyo」になっているので、UTC を使うようになっているのだろう。debian では /etc/default/rcS にその設定があるということなので、変更。  UTC=no

OS をリブートしたが、変わらず。。。ハードウェアクロック（BIOSの時刻）にシステムクロックが反映されてしまったようだ。BIOS で時刻を正しく設定し直して、解決。

ちなみに、タイムゾーンは tzconfig コマンドで確認、変更できる。  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/2897116233682042298/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=2897116233682042298' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/2897116233682042298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/2897116233682042298'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/debian-9.html' title='debian で時間が 9時間ずれる'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-9118195147139652726</id><published>2008-01-16T21:11:00.000+09:00</published><updated>2008-02-08T20:16:04.944+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux で暗号化ファイルシステムを使う</title><summary type='text'>Linux でファイルシステムを暗号化する必要があったので試してみたメモ。 Linux, 暗号化, ファイルシステムでググると debian の情報が多くヒットした。debian  はインストール時に暗号化ファイルシステムを選べるようだ。ということで初めて debian を使ってみた。 debian のパーティション設定ツールが使いづらい RHEL などの DiskDruid  と比べて非常に使いづらく感じた。LVMとか暗号化ボリュームとか、内部に論理パーティションを作ると削除できないし。仕方なしに別のターミナルからコマンドで削除するはめに。。暗号化ボリュームのキーとして「乱数値」が選べるが、パッケージ不足とやらで作成できず。ネットワークインストールだったからかも。とりあえずキーはパスフレーズにしてなんとかインストール完了。 暗号化ボリュームのマウント パーティションはこんな感じ。- /</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/9118195147139652726/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=9118195147139652726' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9118195147139652726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/9118195147139652726'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/linux.html' title='Linux で暗号化ファイルシステムを使う'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-3843420461706367639</id><published>2008-01-16T01:44:00.001+09:00</published><updated>2008-01-21T22:28:13.214+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='雑談'/><title type='text'>じゃがポックル入手</title><summary type='text'>会社の上司からじゃがポックルをもらいました。地元北海道でもなかなかお目にかかれないとか。    なかなか美味でした。    </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/3843420461706367639/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=3843420461706367639' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3843420461706367639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/3843420461706367639'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/blog-post_16.html' title='じゃがポックル入手'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-7289841109825789545</id><published>2008-01-13T21:53:00.000+09:00</published><updated>2008-11-13T14:11:42.607+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Windows Live Writer がサポートするブログプロバイダ</title><summary type='text'>バージョン 2008 (Build 12.0.1367.1128) ja のもの。</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/7289841109825789545/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=7289841109825789545' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7289841109825789545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/7289841109825789545'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/windows-live-writer.html' title='Windows Live Writer がサポートするブログプロバイダ'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ErhD9SuHDhY/R5RG3h9txHI/AAAAAAAAAuk/VhFzBwQ5aRs/s72-c/WLW_SupportedProvider.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-6995724183535671070</id><published>2008-01-13T21:34:00.000+09:00</published><updated>2008-05-06T11:11:14.489+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>Gmail のフィルタ設定のキーワード欄を複数行にする</title><summary type='text'>Stylish を使って Gmail のフィルタ設定のキーワード欄を複数行にする。  @-moz-document domain("mail.google.com") {  
input[name="cf1_has"] {   
  display: none;   
  -moz-binding: url(http://persistent.info/files/gmail-filter.xml#filter);   
}   
}

改行も保存されるので編集しやすい。

（追記）
  新しいバージョンの Gmail に対応したものはこちら。

  続・Gmail のフィルタ設定のキーワード欄を複数行にする

参考


  高度なGmailフィルターと永続検索の作り方 

  Expanding Gmail's Filter Input 
  </summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/6995724183535671070/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=6995724183535671070' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/6995724183535671070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/6995724183535671070'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/gmail.html' title='Gmail のフィルタ設定のキーワード欄を複数行にする'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5821581940821384422.post-263030708026823409</id><published>2008-01-13T21:11:00.000+09:00</published><updated>2008-02-03T19:43:07.312+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>日本語版 Gmail が IMAP に対応</title><summary type='text'>いつの間にか、言語を日本語にしていても設定画面に IMAP 機能が表示されるようになった。</summary><link rel='replies' type='application/atom+xml' href='http://markopee.blogspot.com/feeds/263030708026823409/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5821581940821384422&amp;postID=263030708026823409' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/263030708026823409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5821581940821384422/posts/default/263030708026823409'/><link rel='alternate' type='text/html' href='http://markopee.blogspot.com/2008/01/gmailimap.html' title='日本語版 Gmail が IMAP に対応'/><author><name>markopee</name><uri>http://www.blogger.com/profile/17995452465436463594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_ErhD9SuHDhY/R5Q3vB9tw9I/AAAAAAAAAs0/Xp-8kQNRu68/S220/profile.jpg'/></author><thr:total>0</thr:total></entry></feed>
