<?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:blogger='http://schemas.google.com/blogger/2008' 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-5385011827717328888</id><updated>2024-08-30T02:09:24.171+09:00</updated><category term="セットアップ"/><category term="Bash"/><category term="CentOS"/><category term="Java"/><category term="Memo"/><category term="awk"/><category term="コマンド"/><category term="Blogger"/><category term="Chrome"/><category term="FireFox"/><category term="Github"/><category term="Google"/><category term="Google Analytics"/><category term="Ma"/><category term="Mac"/><category term="NIS"/><category term="Redmine"/><category term="Vim"/><category term="Windows"/><category term="icloud"/><category term="iphone"/><category term="putty"/><category term="ssh"/><title type='text'>toybox</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-1345583434183263867</id><published>2012-05-29T11:07:00.002+09:00</published><updated>2012-05-29T11:24:53.742+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="awk"/><category scheme="http://www.blogger.com/atom/ns#" term="Bash"/><title type='text'>awkで素敵な行削除ライフ</title><content type='html'>&lt;br /&gt;
&lt;pre class=&quot;brush: bash&quot; title=&quot;行の最初が数字の行を削除する&quot;&gt;　
cat hogehoge.txt|awk &#39;BEGIN{ FS=&quot;\t&quot;; OFS=&quot;\t&quot; }{if($1 ~ /^[0-9]/)print $0 }&#39;&amp;gt;hogehoge_temp.txt&lt;br /&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash&quot; title=&quot;要素数が４以外の行を削除する&quot;&gt;　
awk &#39;BEGIN{ FS=&quot;\t&quot;; OFS=&quot;\t&quot; }{ if(NF != 4) print $0 }&#39; hogehoge.txt &amp;gt;hogehoge.txt_temp&lt;br /&gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/1345583434183263867/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/05/awk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1345583434183263867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1345583434183263867'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/05/awk.html' title='awkで素敵な行削除ライフ'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-2636276507511211080</id><published>2012-04-03T19:36:00.001+09:00</published><updated>2012-05-29T11:28:06.216+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="awk"/><category scheme="http://www.blogger.com/atom/ns#" term="Bash"/><category scheme="http://www.blogger.com/atom/ns#" term="コマンド"/><title type='text'>awkで素敵な置換ライフ</title><content type='html'>&lt;b&gt;[ファイル仕様]&lt;/b&gt;&lt;br /&gt;・データが入ってる&lt;br /&gt;・区切り文字がタブ&lt;br /&gt;・テキストファイル&lt;br /&gt;&lt;br /&gt;&lt;b&gt;[やりたい事]&lt;/b&gt;&lt;br /&gt;ファイル中に下記のようなデータが含まれる 場合、&quot;&quot;を\Nに置換したい。&lt;br /&gt;※ \NはmysqlのLoad File時にNULLを表す&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;001 \t &quot;&quot; \t 100&lt;br /&gt;&lt;b&gt;&lt;br /&gt;[コード]&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: bash&quot; title=&quot;&quot;&gt;　
cat ${filename} |
  awk 
    &#39;BEGIN { FS=&quot;\t&quot;; OFS=&quot;\t&quot; } 
    { for (i = 1; i &lt;= NF; ++i) 
        if ($i == &quot;&quot; || $i == &quot;0&quot;) $i=&quot;\\N&quot; ; print $0
    }&#39;
  }&#39;
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;[コード解説]&lt;/b&gt;&lt;br /&gt;FS=&quot;\t&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; →&amp;nbsp;&amp;nbsp; &amp;nbsp;入力時の区切り文字をタブに&lt;br /&gt;OFS=&quot;\t&quot;&amp;nbsp;&amp;nbsp; →&amp;nbsp;&amp;nbsp; &amp;nbsp;出力時の区切り文字をタブに&lt;br /&gt;NF&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; →&amp;nbsp;&amp;nbsp; &amp;nbsp;現在レコードのフィールド数&lt;br /&gt;$1,...,$NF&amp;nbsp;&amp;nbsp; &amp;nbsp; →&amp;nbsp;&amp;nbsp; &amp;nbsp;第１フィールド,...,第NFフィールド&lt;br /&gt;$0&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; →&amp;nbsp;&amp;nbsp; &amp;nbsp;現在の入力レコード（今回はcatで1行ずつ出力しているので1行すべて）&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;[結果]&lt;/b&gt;&lt;br /&gt;001 \t &quot;&quot; \t 100 → 001 \t \N \t 100&lt;br /&gt;&lt;br /&gt;パチパチ&lt;br /&gt;&lt;br /&gt;&lt;b&gt;[参考]&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;http://www.osaka-kyoiku.ac.jp/%7Ekokugo/nonami/awk/awkmini.html&quot; target=&quot;_blank&quot;&gt;ＡＷＫのまとめ&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;awkもっとちゃんと使えるようになりたい！</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/2636276507511211080/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/04/awk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2636276507511211080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2636276507511211080'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/04/awk.html' title='awkで素敵な置換ライフ'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-2338453504970950134</id><published>2012-04-03T00:06:00.003+09:00</published><updated>2012-04-03T00:06:42.707+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="icloud"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><title type='text'>icloudの送信名を変える方法をようやく見つけた</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S9I_Hl8Ef8PT_z1em6Cgymrgkx3yfC1f1ZHesP_xRg-Bkrk2UfCxgbywGggxB9fUqssSepDcCSkPJB3xPM7T4AcuoVoQsv5kag5N3yhMd_CckvGMEvQ_dYCzIyZYJ-XV_P6AacOcpI9f/s1600/IMG_0099.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXrn0KaKlpWzmB5YMUoPK_3JSyiOlqsGEMa3-EB1z9jnCtj9QXxtqrMQY4Vsk9U91EC8O7XwYPzEI052ryWBeoW2FqV2xosmHOzRqPacuc9z7bKltL3vOV1ZQOEonGsgrUrMRrKBeC2ALK/s1600/IMG_0101.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&amp;nbsp;[症状]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
iTunesに一時的に、友人のクレジットカードを紐づけた。&lt;br /&gt;
そうしたら、Apple IDのアカウント名が友人に変化した。&lt;br /&gt;
同時に、iCloudのアカウント名も友人に変化した。&lt;br /&gt;
&lt;br /&gt;
メールを送るたびに&lt;b&gt;気狂いピエロも真っ青@ファニー芳醇&lt;/b&gt;という&lt;br /&gt;
謎の名称（友人の名前）が表示され、私は品性を疑われるのでした。&lt;br /&gt;
&lt;br /&gt;
これは、女の子を口説くときにマイナスでしかないので早急に直したい！！ &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[対処方法] &lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Apple IDのアカウント名を修正&lt;/li&gt;
&lt;li&gt;iCloudのアカウント名を修正&lt;/li&gt;
&lt;/ol&gt;
の２つが必要 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[手順]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;a href=&quot;http://support.apple.com/kb/HE40?viewlocale=ja_JP&quot;&gt;Apple IDのアカウント名を修正&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; 手順は割愛する。リンク先を見たらいい。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.&amp;nbsp; iCloudのアカウント名を修正&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; iphone側でもってやがる。&lt;br /&gt;
　Settings → iCloudの順に選択 &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S9I_Hl8Ef8PT_z1em6Cgymrgkx3yfC1f1ZHesP_xRg-Bkrk2UfCxgbywGggxB9fUqssSepDcCSkPJB3xPM7T4AcuoVoQsv5kag5N3yhMd_CckvGMEvQ_dYCzIyZYJ-XV_P6AacOcpI9f/s1600/IMG_0099.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S9I_Hl8Ef8PT_z1em6Cgymrgkx3yfC1f1ZHesP_xRg-Bkrk2UfCxgbywGggxB9fUqssSepDcCSkPJB3xPM7T4AcuoVoQsv5kag5N3yhMd_CckvGMEvQ_dYCzIyZYJ-XV_P6AacOcpI9f/s400/IMG_0099.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
　iCloudの設定画面でAccount横の「 &amp;gt; 」をクリック &lt;br /&gt;
　&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBMPxBezgmA5JzdgGOMavxGD0fZHnYgWNhG0ZRHiXVE-ZmghgPFgV1oYwrypalYcJ3YsGd28zP59POBPlFMqE_Kb3iZ4asZlRk0dcXMOtTWtwb7qcPiwMChWOgfsIwk4fJ8Z6ukM6Fw6X0/s1600/IMG_0100.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBMPxBezgmA5JzdgGOMavxGD0fZHnYgWNhG0ZRHiXVE-ZmghgPFgV1oYwrypalYcJ3YsGd28zP59POBPlFMqE_Kb3iZ4asZlRk0dcXMOtTWtwb7qcPiwMChWOgfsIwk4fJ8Z6ukM6Fw6X0/s400/IMG_0100.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
　Advanced下のMail横の「 &amp;gt; 」をクリック &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyZ16sxOTlqzrYzHrIvyr7M2nlloP9_vOBzCFzubrlhxoGxhKVIZbY085M1cG8ECq_97ri51FZcj0FwyJs1Ri6uTmjLK11u0F8F6MqceYJbWKukOzXAdLUT3tUWkfuXMikBDlbo3j3krH4/s1600/IMG_0101.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyZ16sxOTlqzrYzHrIvyr7M2nlloP9_vOBzCFzubrlhxoGxhKVIZbY085M1cG8ECq_97ri51FZcj0FwyJs1Ri6uTmjLK11u0F8F6MqceYJbWKukOzXAdLUT3tUWkfuXMikBDlbo3j3krH4/s400/IMG_0101.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
　Nameが表示名なので、全力で普通の名前に変更する→Doneで確定&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrp30sK-dy0D9yE53tnJqUeQDLSfrirqiigrS0kTuL2mHGGY5-x_gNNa6_01oh7LEKHMaKgJ7N8HgM87mLT5kJPN5_apBl6gIBcD5U4JR0Lzw_1c3lYpEwxKs31n1ssB4aW0zX2jgOpuno/s1600/IMG_0102.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrp30sK-dy0D9yE53tnJqUeQDLSfrirqiigrS0kTuL2mHGGY5-x_gNNa6_01oh7LEKHMaKgJ7N8HgM87mLT5kJPN5_apBl6gIBcD5U4JR0Lzw_1c3lYpEwxKs31n1ssB4aW0zX2jgOpuno/s400/IMG_0102.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
これでモテモテだぜ！！&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/2338453504970950134/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/04/icloud.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2338453504970950134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2338453504970950134'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/04/icloud.html' title='icloudの送信名を変える方法をようやく見つけた'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0S9I_Hl8Ef8PT_z1em6Cgymrgkx3yfC1f1ZHesP_xRg-Bkrk2UfCxgbywGggxB9fUqssSepDcCSkPJB3xPM7T4AcuoVoQsv5kag5N3yhMd_CckvGMEvQ_dYCzIyZYJ-XV_P6AacOcpI9f/s72-c/IMG_0099.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-5871591030491672228</id><published>2012-04-02T12:32:00.001+09:00</published><updated>2012-04-02T12:32:51.323+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="FireFox"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Googleグループ(mailとかappsとか)へアクセスするとリダイレクトが無限ループする</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://ky.necopunch.net/wp-content/uploads/022008/cookiemonster.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ky.necopunch.net/wp-content/uploads/022008/cookiemonster.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
[問題]&lt;br /&gt;Googleのアプリケーション(Gmail、Google Docsなど）にアクセスすると、&lt;br /&gt;
ブラウザがリダイレクトしっぱなしになってアクセスできない。&lt;br /&gt;
&lt;br /&gt;
[環境]&lt;br /&gt;Windows7 Pro&lt;br /&gt;
Chrome&lt;br /&gt;
FireFox11&lt;br /&gt;
&lt;br /&gt;
[解決策]&lt;br /&gt;
cookieを削除する</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/5871591030491672228/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/04/googlemailapps.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/5871591030491672228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/5871591030491672228'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/04/googlemailapps.html' title='Googleグループ(mailとかappsとか)へアクセスするとリダイレクトが無限ループする'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-1180788847755697666</id><published>2012-03-28T11:37:00.000+09:00</published><updated>2012-03-28T11:38:47.105+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>puttyで作った秘密鍵を使ってMacからOpen SSH接続</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjUW1nH92lh9TNl3AiaB1vJcwhLfZwYTzaHTz-Oh3KLDQHLY8re2dpbJpC7H37jiTZPiiXSJfePewdHPTjVmyLWKJyeVeYb5-VSWPUtwbJ_pubs369ewVuzzyRACiCL0wIYC5IzyK-VmWI/s1600/Roth-IRA-Conversions.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjUW1nH92lh9TNl3AiaB1vJcwhLfZwYTzaHTz-Oh3KLDQHLY8re2dpbJpC7H37jiTZPiiXSJfePewdHPTjVmyLWKJyeVeYb5-VSWPUtwbJ_pubs369ewVuzzyRACiCL0wIYC5IzyK-VmWI/s1600/Roth-IRA-Conversions.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[参考]&lt;br /&gt;
&lt;a href=&quot;http://www.in-vitro.jp/blog/index.cgi/Misc/index.html&quot; style=&quot;background-color: white; color: black; font-family: Verdana, Arial, sans-serif; font-size: small; letter-spacing: 0.1em; text-decoration: none;&quot;&gt;[Misc]&amp;nbsp;&lt;/a&gt;&lt;a href=&quot;http://www.in-vitro.jp/blog/index.cgi/Misc/20080910_01.html&quot; style=&quot;background-color: white; color: black; font-family: Verdana, Arial, sans-serif; font-size: small; letter-spacing: 0.1em;&quot;&gt;Putty の鍵 (*.ppk) を OpenSSH 形式に変換する方法をメモ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
[手順]&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;Putty に付属の PUTTYGEN.EXE で ppk を OpenSSH 形式に変換できる。&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;PUTTYGEN.EXE を起動して、ppk を読み込み、OpenSSH でエクスポートするだけ。&amp;nbsp;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/1180788847755697666/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/puttymacopen-ssh.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1180788847755697666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1180788847755697666'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/puttymacopen-ssh.html' title='puttyで作った秘密鍵を使ってMacからOpen SSH接続'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjUW1nH92lh9TNl3AiaB1vJcwhLfZwYTzaHTz-Oh3KLDQHLY8re2dpbJpC7H37jiTZPiiXSJfePewdHPTjVmyLWKJyeVeYb5-VSWPUtwbJ_pubs369ewVuzzyRACiCL0wIYC5IzyK-VmWI/s72-c/Roth-IRA-Conversions.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-1370186698419370567</id><published>2012-03-22T05:15:00.000+09:00</published><updated>2012-03-22T10:10:49.013+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Github"/><category scheme="http://www.blogger.com/atom/ns#" term="Ma"/><category scheme="http://www.blogger.com/atom/ns#" term="Vim"/><title type='text'>いい加減vimの環境を整えるよ part1</title><content type='html'>&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[目標]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;設定ファイルをGithubで管理する&lt;/li&gt;
&lt;li&gt;vundleの導入&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/yuroyoro/dotfiles/blob/master/.tmux.conf&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #494a88; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; vertical-align: baseline;&quot;&gt;這い寄る債務者ゆるよろ(旧支配者)&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: left;&quot;&gt;様のありがたい設定をパクる&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[環境]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Mac OS X 10.7.3&lt;br /&gt;
Windows7 64bit&lt;br /&gt;
CentOS 5.5 32bit&lt;br /&gt;
Debianのよくわからない環境&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[参考]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/holypp/20110515/1305443997&quot;&gt;そろそろしっかりvimを使う。dotfilesのgithub管理とvundleの導入。&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/yuroyoro/20120211/1328930819&quot;&gt;iTerm2 + zsh + tmux + vim &lt;span class=&quot;s1&quot;&gt;で快適な&lt;/span&gt;256&lt;span class=&quot;s1&quot;&gt;色ターミナル環境を構築する&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19px; text-align: left;&quot;&gt;&lt;a href=&quot;http://vim-users.jp/2011/04/hack215/trackback/&quot;&gt;Hack #215: Vundle で plugin をモダンに管理する&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19px; text-align: left;&quot;&gt;&lt;a href=&quot;http://vim-users.jp/2011/10/hack238/trackback/&quot;&gt;Hack #238: neobundle.vim で plugin をモダンに管理する&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[手順]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. 設定ファイルをGithubで管理する&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
mkdir ~/dotfiles&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#Githubをブラウザで開く&lt;/b&gt;&lt;br /&gt;
dotfilesレポジトリを作成&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#レポジトリ作っちゃう&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
cd ~/dotfiles&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git init&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
touch README&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git add README&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git commit -m &#39;first_commit&#39;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2. Vundleの導入&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git submodule add &lt;a href=&quot;http://github.com/gmarik/vundle.git&quot;&gt;&lt;span class=&quot;s2&quot;&gt;http://github.com/gmarik/vundle.git&lt;/span&gt;&lt;/a&gt; ~/dotfiles/vimfiles/vundle.git&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git commit -m &#39;add_vundle&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git push origin master&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;&lt;span class=&quot;s3&quot;&gt;#plugin&lt;/span&gt;ディレクトリの&lt;a href=&quot;http://d.hatena.ne.jp/keyword/%A5%B7%A5%F3%A5%DC%A5%EA%A5%C3%A5%AF%A5%EA%A5%F3%A5%AF&quot;&gt;シンボリックリンク&lt;/a&gt;を作成する。&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
ln -s ~/dotfiles/vimfiles ~/.&lt;a href=&quot;http://d.hatena.ne.jp/keyword/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#設定ファイル記述&lt;/b&gt;&lt;br /&gt;
=&amp;gt;.vimrc(~/dotfiles/_vimrc)に下記を追加&lt;br /&gt;
&lt;br /&gt;
set nocompatible&lt;br /&gt;
filetype off&lt;br /&gt;
&lt;br /&gt;
set rtp+=~/dotfiles/vimfiles/vundle.git&lt;br /&gt;
call vundle#rc()&lt;br /&gt;
Bundle &#39;Shougo/neocomplcache&#39;&lt;br /&gt;
Bundle &#39;Shougo/unite.vim&#39;&lt;br /&gt;
Bundle &#39;thinca/vim-ref&#39;&lt;br /&gt;
Bundle &#39;thinca/vim-quickrun&#39;&lt;br /&gt;
filetype plugin indent on &amp;nbsp; &amp;nbsp; &quot; required!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#vimを起動し、下記コマンドを実行&lt;/b&gt;&lt;br /&gt;
:BundleInstall&lt;br /&gt;
&lt;br /&gt;
*memo*&lt;br /&gt;
・更新の場合は BundeInstall!&lt;br /&gt;
・下記のログが出れば成功&lt;br /&gt;
Installed bundles:&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/keyword/neocomplcache&quot;&gt;neocomplcache&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
unite.&lt;a href=&quot;http://d.hatena.ne.jp/keyword/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/keyword/vim&quot;&gt;vim&lt;/a&gt;-ref&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/keyword/vim&quot;&gt;vim&lt;/a&gt;-quickrun&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Helptags: done. 4 bundles processed &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;#&lt;span class=&quot;s1&quot;&gt;これらの&lt;/span&gt;plugin&lt;span class=&quot;s1&quot;&gt;は&lt;/span&gt;github&lt;span class=&quot;s1&quot;&gt;で管理しないため&lt;/span&gt;.gitignore&lt;span class=&quot;s1&quot;&gt;を作成する。&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
vi ~/dotfiles/.gitignore&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;s1&quot;&gt;##&lt;/span&gt;ファイルには１行だけ書いて保存する。&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
/vimfiles/bundle/&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;s1&quot;&gt;##&lt;/span&gt;複数&lt;span class=&quot;s1&quot;&gt;PC&lt;/span&gt;で同期をとるため&lt;span class=&quot;s1&quot;&gt;.gitignore&lt;/span&gt;も管理する。&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git add .gitignore&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git commit -m &#39;add_gitignore&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
git push origin master&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3. 旧支配者色に染まる&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#vimprocのインストール&lt;/b&gt;&lt;br /&gt;
cd ~/.vim/bundle/&lt;br /&gt;
git clone https://github.com/Shougo/vimproc.git&lt;br /&gt;
cd vimproc/&lt;br /&gt;
make -f make_mac.mak&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/1370186698419370567/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/vim-part1.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1370186698419370567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/1370186698419370567'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/vim-part1.html' title='いい加減vimの環境を整えるよ part1'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-2108470091002406121</id><published>2012-03-19T15:13:00.000+09:00</published><updated>2012-03-19T15:13:13.081+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NIS"/><category scheme="http://www.blogger.com/atom/ns#" term="コマンド"/><title type='text'>ypcatコマンドのメモ</title><content type='html'>&lt;br /&gt;
ypcat NISで提供されている設定ファイルを表示する&lt;br /&gt;
&lt;br /&gt;
ypcat -x&lt;br /&gt;
&lt;br /&gt;
ypcat hosts&lt;br /&gt;
&lt;br /&gt;
ypcat passwd&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/2108470091002406121/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/ypcat.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2108470091002406121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2108470091002406121'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/ypcat.html' title='ypcatコマンドのメモ'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-6546767173337576589</id><published>2012-03-15T12:23:00.000+09:00</published><updated>2012-03-22T20:18:52.951+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="セットアップ"/><title type='text'>CentOS5.5にtmuxをインストールして使ってみたい</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJBiNUaWrV5MFGY_Lu7AuuXcmVbbMBuPjNpPmb3-Y38rm1ARl-qNODiZIU0p9DqNDMWWgpHqPdX7gL6MZgEsXss2DGlUECx-P9Ldv_HBZNx94CXUjnXpyWoCmugjsB8KCxHvtJPybnoze9/s1600/tmux.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;395&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJBiNUaWrV5MFGY_Lu7AuuXcmVbbMBuPjNpPmb3-Y38rm1ARl-qNODiZIU0p9DqNDMWWgpHqPdX7gL6MZgEsXss2DGlUECx-P9Ldv_HBZNx94CXUjnXpyWoCmugjsB8KCxHvtJPybnoze9/s640/tmux.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[前口上]&lt;br /&gt;
tmuxなる便利ツールが世にあると聞き、一度試してみたいと常々思っておった。&lt;br /&gt;
便利な点は、画像のように端末の中で複数セッションを貼れる、なんかハッカーぽくてかっこいい、&lt;br /&gt;
そして、処理中にセッションがぶち切れられても残るので、VPNとか使う人（つまり全てのサーバ作業者）は必須で入れるべきありがたいツールであるという神のお告げ。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[手順]&lt;br /&gt;
※以下はrootでやりました&lt;br /&gt;
&lt;br /&gt;
# 依存関係のあるパッケージをインストール&lt;br /&gt;
yum install libevent-devel&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# tmuxのインストール&lt;/div&gt;
&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz/download&quot;&gt;http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz/download&lt;/a&gt;&lt;br /&gt;
tar zxvf tmux-1.6.tar.gz&lt;br /&gt;
cd tmux-1.6&lt;br /&gt;
./configire&lt;br /&gt;
make&lt;br /&gt;
make insttall&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# 設定&lt;br /&gt;
&lt;br /&gt;
※以下はログインユーザでやりました&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd ~&lt;br /&gt;
vi .tmux.conf&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/yuroyoro/dotfiles/blob/master/.tmux.conf&quot;&gt;這い寄る債務者ゆるよろ(旧支配者)&lt;/a&gt;様のありがたい設定を丸コピー！！&lt;br /&gt;
いあいあ くとぅるふ ふたぐん！&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[使い方]&lt;br /&gt;
&lt;br /&gt;
以下が詳しい。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/kakurasan/20100310/p1&quot;&gt;端末の中で仮想端末を管理するtmux(GNU screenの代替)について(概要・実行・操作)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/6546767173337576589/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/centos55tmux.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6546767173337576589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6546767173337576589'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/centos55tmux.html' title='CentOS5.5にtmuxをインストールして使ってみたい'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJBiNUaWrV5MFGY_Lu7AuuXcmVbbMBuPjNpPmb3-Y38rm1ARl-qNODiZIU0p9DqNDMWWgpHqPdX7gL6MZgEsXss2DGlUECx-P9Ldv_HBZNx94CXUjnXpyWoCmugjsB8KCxHvtJPybnoze9/s72-c/tmux.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-6580238333281934811</id><published>2012-03-12T21:28:00.001+09:00</published><updated>2012-03-12T21:29:09.342+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo"/><title type='text'>動的メソッドディスパッチとは</title><content type='html'>&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;動的メソッドディスパッチ&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;実行中のオブジェクトのクラスに基づいて、適切なオーバーライドメソッドを選択する事&lt;/li&gt;
&lt;li&gt;どのオーバーライドメソッドを使用するかはコンパイル時ではなく、実行時に決まる&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/6580238333281934811/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6580238333281934811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6580238333281934811'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/blog-post.html' title='動的メソッドディスパッチとは'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-2877370328654897876</id><published>2012-03-11T19:28:00.000+09:00</published><updated>2012-03-14T11:21:13.657+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo"/><title type='text'>解消した→疑問：Javaのコンストラクタ継承が分からん</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[前口上]&lt;/span&gt;
&lt;br /&gt;
今、Javaの勉強をしているんだけどマジで難しい。&lt;br /&gt;
これはただの疑問点メモです。&lt;br /&gt;
あとで、疑問が解消したら更新すると思われる&lt;br /&gt;
→更新しました&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[source code]&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://github.com/tomochang/StudyJava/blob/master/InheritanceAndConstructors1.java&quot;&gt;GitHubに置きました&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[結果]&lt;/span&gt;&lt;br /&gt;
$ java InheritanceAndConstructors1&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
S1 Constructor&lt;br /&gt;
T1 Constructor&lt;br /&gt;
U1 Constructor&lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[疑問]&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
なんで、&quot;S1 Constructor&quot;、&quot;T1 Constructor&quot;、&quot;U1 Constructor&quot;が表示されるのかが分からない。&lt;/div&gt;
&lt;div&gt;
どこで呼び出しているの？&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[解答]&lt;/span&gt;&lt;br /&gt;
→newしているところです！！&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;n&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;U1&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 11px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;u1&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 11px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 11px; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 11px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;U1&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;(); &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;ここでコンストラクタが実行される。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;U1のコンストラクタはT1 extends S1を継承してるから、&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;U1、T1、S1で定義した処理が実行される&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;o&quot; style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font: inherit; line-height: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[参照]&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
独習Java&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
P191: 6.5継承とコンストラクタ (例6.5)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/2877370328654897876/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/java.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2877370328654897876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/2877370328654897876'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/java.html' title='解消した→疑問：Javaのコンストラクタ継承が分からん'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-6881785862669545088</id><published>2012-03-08T10:50:00.001+09:00</published><updated>2012-03-08T10:50:06.849+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="セットアップ"/><title type='text'>BloggerをGoogle Analyticsでアクセス解析</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIo6CrWad8Mw1OOpQtsESAhofkNbgc467Lqepa1p7Y5DjfhyL54192GQDvFxdnjnWWHCA824Rac3Yh3w7Q-YqoBXDIRuF6eFiBVOesjTZiLFOL12ExBqXJZFeN5kZHYuBdAWDSGug__mOJ/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-08+10.35.56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;353&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIo6CrWad8Mw1OOpQtsESAhofkNbgc467Lqepa1p7Y5DjfhyL54192GQDvFxdnjnWWHCA824Rac3Yh3w7Q-YqoBXDIRuF6eFiBVOesjTZiLFOL12ExBqXJZFeN5kZHYuBdAWDSGug__mOJ/s640/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-08+10.35.56.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;[目標]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;俺のBloggerブログをGoogle Analyticsでアクセス解析できるようにする&lt;/li&gt;
&lt;li&gt;その結果、アフィリエイトでがっぽがっぽでうはうはな日々を実現wwww&lt;/li&gt;
&lt;li&gt;所要時間は５分程度&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;[手順]&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Google Analytics側でやること&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://google.com/analytics&quot;&gt;Google Analytics&lt;/a&gt;にログイン&lt;/li&gt;
&lt;li&gt;メイン画面が出たら、「アカウント管理」をクリック&lt;/li&gt;
&lt;li&gt;「新しいアカウント」をクリック&lt;/li&gt;
&lt;li&gt;出てきた画面に必要情報を入力して「アカウントを作成」&lt;/li&gt;
&lt;li&gt;下記のような謎の文字列がでてくるので、「UA-999999-9」の部分をコピー&lt;/li&gt;
&lt;li&gt;画面の指示に従って設定を終了する&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
[謎の文字列]&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var _gaq = _gaq || [];&lt;br /&gt;
&amp;nbsp; _gaq.push([&#39;_setAccount&#39;, &#39;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;UA-999999-9&lt;/span&gt;&lt;/b&gt;&#39;]);&lt;br /&gt;
&amp;nbsp; _gaq.push([&#39;_trackPageview&#39;]);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; (function() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; var ga = document.createElement(&#39;script&#39;); ga.type = &#39;text/javascript&#39;; ga.async = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ga.src = (&#39;https:&#39; == document.location.protocol ? &#39;https://ssl&#39; : &#39;http://www&#39;) + &#39;.google-analytics.com/ga.js&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);&lt;br /&gt;
&amp;nbsp; })();&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
以上で、Google Analytics側の設定は終了です。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Blogger側でやること&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.blogger.com/home&quot;&gt;Bloggerの管理画面を開く&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;「設定」→「その他」の順に進む&lt;/li&gt;
&lt;li&gt;ページの下の方に、Google Analyticsのコードを入れるところがある&lt;/li&gt;
&lt;li&gt;そこに先ほどコピーした「UA-XXXXXX-X」を貼付け&lt;/li&gt;
&lt;li&gt;保存&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoEyJPJ7oCFR3RQT9aHtqClPnfIn_UrQ7sS5sQxRTLU4X5p6xqEysIs6OLncpx1Jw1FWkLH5BflCACaj1tO-bpZx4JCazkM_FLzgn8dqjXcMZg9vUXhyaGC6dWEUCtH1YoWfiSsHkbbiQp/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-08+10.44.11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoEyJPJ7oCFR3RQT9aHtqClPnfIn_UrQ7sS5sQxRTLU4X5p6xqEysIs6OLncpx1Jw1FWkLH5BflCACaj1tO-bpZx4JCazkM_FLzgn8dqjXcMZg9vUXhyaGC6dWEUCtH1YoWfiSsHkbbiQp/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-08+10.44.11.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
以上で全ての設定は終了です。&lt;br /&gt;
&lt;a href=&quot;http://google.com/analytics&quot;&gt;Google Analytics&lt;/a&gt;がBloggerの解析をはじめるのを全裸待機して待ちましょう！&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;[ディスクレーマー]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;上記の方法は、2012/3/8時点で有効な方法でした&lt;/li&gt;
&lt;li&gt;上記の方法でうまく行かなかったら誰かに聞いてみてくれ&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
以上。&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/6881785862669545088/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/bloggergoogle-analytics.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6881785862669545088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/6881785862669545088'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/bloggergoogle-analytics.html' title='BloggerをGoogle Analyticsでアクセス解析'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIo6CrWad8Mw1OOpQtsESAhofkNbgc467Lqepa1p7Y5DjfhyL54192GQDvFxdnjnWWHCA824Rac3Yh3w7Q-YqoBXDIRuF6eFiBVOesjTZiLFOL12ExBqXJZFeN5kZHYuBdAWDSGug__mOJ/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-08+10.35.56.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5385011827717328888.post-8118595647340714229</id><published>2012-03-07T20:28:00.000+09:00</published><updated>2012-03-07T20:34:15.477+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Redmine"/><category scheme="http://www.blogger.com/atom/ns#" term="セットアップ"/><title type='text'>Redmine:メールからチケットを登録</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBJ2jJoky8YzsrD1DiIXlp_gM0d7Y98tSgvQVhxrQhuG8PLeHIOGbwUK_rpm4M9PTHERPxZWgY2-deRVLU1ZU8IsYcFEVHWLbA0cuvclmducHBOy99S_sh_9abe38Otk7vnJrl9fFtnQH/s1600/redmine_logo1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBJ2jJoky8YzsrD1DiIXlp_gM0d7Y98tSgvQVhxrQhuG8PLeHIOGbwUK_rpm4M9PTHERPxZWgY2-deRVLU1ZU8IsYcFEVHWLbA0cuvclmducHBOy99S_sh_9abe38Otk7vnJrl9fFtnQH/s1600/redmine_logo1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[前口上]&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
うちの会社はまあIT企業なんだけど、&lt;br /&gt;
24時間これでもかとMySQLのバッチがぶん回っており、&lt;br /&gt;
エラーメールがそりゃあもう大量に飛んでくる。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
性能テストでもしてんのかって感じです。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ある日、同僚が「いい加減メールで管理すんの限界なんですけど」と勇気ある声をあげた。&lt;br /&gt;
エラーメールが一日に&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;1000&lt;/b&gt;&lt;/span&gt;件を超えるという常軌を逸した状態を受け、その発言は至極まともだった。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
そのおかげで私はREDMINEという謎のチケット管理ツールに&lt;br /&gt;
エラーメールを自動で登録するという設定を施すことになった。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
今回はその導入メモです。かしこかしこ。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[環境]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
CentOS 5.5 32bit&lt;br /&gt;
Redmine1.2&lt;br /&gt;
Ruby1.8.7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;[参考]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://tidf.tsuinosumika.com/nl/modules/d3blog/details.php?bid=71&amp;amp;cid=1&quot;&gt;チケット駆動家族 redmineにgmailのアカウントでメールでチケット登録できるようにしてみた&lt;/a&gt;&amp;nbsp;:おすすめ！！&lt;br /&gt;
&lt;a href=&quot;http://redmine.jp/guide/RedmineReceivingEmails/&quot;&gt;Redmine.JP メールによるチケットの登録&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;[前提]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
一番楽な方法でやりたいから&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Gmailを使用してIMAPサーバからの受信を使用する&lt;/li&gt;
&lt;li&gt;HTTPを使用する&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
この2つを選択することにした。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
あと、Redmineは動いていること前提な。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;[手順]
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. cronへ設定&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1分ごとに、hogehoge@gmail.comにメールが来ていないかチェックする。&lt;br /&gt;
メールが飛んできていたらfatal_errorプロジェクトにチケットを発行する。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$crontab -e&lt;br /&gt;
&lt;br /&gt;
*/1 * * * * /usr/local/bin/rake --trace -f /var/lib/redmine/Rakefile redmine:email:receive_imap RAILS_ENV=&quot;production&quot; host=imap.gmail.com port=993 ssl=1 project=fatal_error username=hogehoge@gmail.com password=hogehoge unknown_user=accept&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. 件名の文字化け対策&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
めんどくせーから簡単な方でやる。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;送信側のGmailを開く&lt;/li&gt;
&lt;li&gt;設定→「全般」タブの下の方に「
&lt;span style=&quot;background-color: whitesmoke; font-family: arial, sans-serif; font-size: 15px;&quot;&gt;送信メールのエンコード」ってのがあるから見つける&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: whitesmoke; font-family: arial, sans-serif; font-size: 15px; font-weight: bold;&quot;&gt;「&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;送信&lt;span style=&quot;background-color: whitesmoke; font-family: arial, sans-serif;&quot;&gt;メールに Unicode (UTF-8) エンコードを使用する&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: whitesmoke; font-family: arial, sans-serif; font-size: 15px; font-weight: bold;&quot;&gt;」&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; font-family: arial, sans-serif; font-size: 15px;&quot;&gt;を選択して保存&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
以上。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
enjoy!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://toymoon.blogspot.com/feeds/8118595647340714229/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://toymoon.blogspot.com/2012/03/redmine.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/8118595647340714229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5385011827717328888/posts/default/8118595647340714229'/><link rel='alternate' type='text/html' href='http://toymoon.blogspot.com/2012/03/redmine.html' title='Redmine:メールからチケットを登録'/><author><name>tomochang</name><uri>http://www.blogger.com/profile/00708981041430637339</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJOfhQ5bpoME0PkB4fzZe-gzZnfa-WMUVljnpajTsEKkfD8x3-ziEK7mzDKRpns29EcKBXx0MS5gDrHEBaUVvXacEZG0ctoXTg_qoWyatyagzoTxh3Wcxco4EHld9gg/s220/photo_profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBJ2jJoky8YzsrD1DiIXlp_gM0d7Y98tSgvQVhxrQhuG8PLeHIOGbwUK_rpm4M9PTHERPxZWgY2-deRVLU1ZU8IsYcFEVHWLbA0cuvclmducHBOy99S_sh_9abe38Otk7vnJrl9fFtnQH/s72-c/redmine_logo1.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>