<?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-7780757068717184261</id><updated>2024-10-24T17:44:25.591+09:00</updated><category term="本"/><category term="chrome"/><category term="お仕事"/><category term="Android"/><category term="None"/><category term="PowerShell"/><category term="Python"/><category term="atok"/><category term="エクステンション"/><category term="ブラウザー"/><category term="プログラミング"/><category term="人生 文具"/><category term="同期"/><category term="拡張"/><category term="趣味"/><title type='text'>０からのスタート～覇王への道</title><subtitle type='html'>貧乏編集者（兼ライター）のタケヒロと、地方で静養中のニート☆タケヒロ。&#xa;&#xa;二人のタケヒロが書きます。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-714156641966401328</id><published>2011-07-17T21:04:00.002+09:00</published><updated>2011-07-17T21:09:24.508+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>PowerShellでファイルをゴミ箱に削除する関数を作った。</title><content type='html'>最近、PowerShellを使っている。&lt;br /&gt;
サーバー管理というよりは、テキストファイルの結合・分割、QRコードの一括作成、PDFの結合なんかといったファイル管理にもっぱら活用している。&lt;br /&gt;
PowerShellは上記のような作業をかんたに定型化することができるし、.NET FrameWorkで機能を拡張することもできるので、いろいろと重宝している。&lt;br /&gt;
&lt;br /&gt;
そんな便利なPowerShellさんだが、ファイルの削除でゴミ箱を利用することができない。&lt;br /&gt;
Remove-Itemでファイルを削除すると、ファイルが復元できなくなる。&lt;br /&gt;
&lt;br /&gt;
しかし、特定のフォルダの集合の中にある、特定のファイル名を持ったファイルだけを選んで削除するなんてことは、エクスプローラーではなかなか難しい。というか不便だ。&lt;br /&gt;
というわけで、PowerShellでファイルをゴミ箱送りにするための関数をつくってみた。&lt;br /&gt;
&lt;br /&gt;
ゴミ箱の扱いには「Microsoft.VisualBasic 名前空間」のFileSystemクラスを利用するようだ。&lt;br /&gt;
VB.NET互換用に用意されているのかな？&lt;br /&gt;
他に代替案が見つからなかったので、今回はこれを使うとしよう。&lt;br /&gt;
できたのが下のスクリプト。&lt;br /&gt;
拡張子「.ps1」のテキストファイルに保存して、PowerShellでファイルを読みこめば、関数が利用できるようになる。&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
pre { font-family: monospace; color: #000000; background-color: #ffffff; }
body { font-family: monospace; color: #000000; background-color: #ffffff; }
.Identifier { color: #ff0086; font-weight: bold; }
.Type { color: #70796b; font-weight: bold; }
.Number { color: #0086f7; font-weight: bold; }
.String { color: #0086d2; font-style: italic; }
.Comment { color: #22a21f; background-color: #dbf3cd; font-style: italic; }
.Function { color: #ff0086; font-weight: bold; }
.Statement { color: #fb660a; font-weight: bold; }
--&gt;
&lt;/style&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;span class=&quot;Statement&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;Function&quot;&gt;global&lt;/span&gt;:&lt;span class=&quot;Statement&quot;&gt;Dust-Shoot&lt;/span&gt;
{
    [CmdletBinding()]
    &lt;span class=&quot;Statement&quot;&gt;param&lt;/span&gt; (
        &lt;span class=&quot;Comment&quot;&gt;#パラメーターを設定。複数の型を許容する記述の仕方がわからない&lt;/span&gt;
        [Parameter(parametersetname=&lt;span class=&quot;String&quot;&gt;&quot;file&quot;&lt;/span&gt;, position=&lt;span class=&quot;Number&quot;&gt;0&lt;/span&gt;)]
        &lt;span class=&quot;Type&quot;&gt;[String]&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$Path&lt;/span&gt;,
        [Parameter(ParameterSetName=&lt;span class=&quot;String&quot;&gt;&quot;Array&quot;&lt;/span&gt;, position=&lt;span class=&quot;Number&quot;&gt;0&lt;/span&gt;, ValueFromPipeline=&lt;span class=&quot;Identifier&quot;&gt;$true&lt;/span&gt;)]
        &lt;span class=&quot;Identifier&quot;&gt;$InputObject&lt;/span&gt;
    )

    &lt;span class=&quot;Statement&quot;&gt;process&lt;/span&gt;
    {
        &lt;span class=&quot;Comment&quot;&gt;#アセンブリを読み込む。&lt;/span&gt;
        &lt;span class=&quot;Statement&quot;&gt;Add-Type&lt;/span&gt; -AssemblyName Microsoft.VisualBasic

        &lt;span class=&quot;Comment&quot;&gt;#フォルダとファイルを削除する&lt;/span&gt;
        &lt;span class=&quot;Statement&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;Function&quot;&gt;DustToRecycle&lt;/span&gt; (&lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt;)
        {
            &lt;span class=&quot;Comment&quot;&gt;#フォルダとファイルを判定。&lt;/span&gt;
            &lt;span class=&quot;Statement&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;Statement&quot;&gt;Test-Path&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt; -PathType Container)
            {
                &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.FileSystem]&lt;/span&gt;::DeleteDirectory(&lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt;,
                    &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.UIOption]&lt;/span&gt;::OnlyErrorDialogs,
                    &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.RecycleOption]&lt;/span&gt;::SendToRecycleBin)
            }
            &lt;span class=&quot;Statement&quot;&gt;elseif&lt;/span&gt; (&lt;span class=&quot;Statement&quot;&gt;Test-Path&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt; -PathType Leaf)
            {
                &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.FileSystem]&lt;/span&gt;::DeleteFile(&lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt;,
                    &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.UIOption]&lt;/span&gt;::OnlyErrorDialogs,
                    &lt;span class=&quot;Type&quot;&gt;[Microsoft.VisualBasic.FileIO.RecycleOption]&lt;/span&gt;::SendToRecycleBin)
            }
            &lt;span class=&quot;Statement&quot;&gt;Write-Host&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$file&lt;/span&gt; &lt;span class=&quot;String&quot;&gt;&quot;をゴミ箱に転送しました。&quot;&lt;/span&gt;
        }

        &lt;span class=&quot;Statement&quot;&gt;Switch&lt;/span&gt; (&lt;span class=&quot;Identifier&quot;&gt;$PsCmdlet&lt;/span&gt;.ParameterSetName)
        {
            &lt;span class=&quot;String&quot;&gt;&quot;file&quot;&lt;/span&gt;
            {
                &lt;span class=&quot;Statement&quot;&gt;if&lt;/span&gt; (!(&lt;span class=&quot;Statement&quot;&gt;test-path&lt;/span&gt; -Path &lt;span class=&quot;Identifier&quot;&gt;$Path&lt;/span&gt;))
                {
                    &lt;span class=&quot;Statement&quot;&gt;Write-Host&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$Path&lt;/span&gt; &lt;span class=&quot;String&quot;&gt;&quot;は存在しません。&quot;&lt;/span&gt;
                }
                &lt;span class=&quot;Statement&quot;&gt;else&lt;/span&gt;
                {
                    &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt; = &lt;span class=&quot;Statement&quot;&gt;Convert-Path&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$Path&lt;/span&gt;
                    DustToRecycle &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt;
                }
            }
            &lt;span class=&quot;String&quot;&gt;&quot;Array&quot;&lt;/span&gt;
            {
                &lt;span class=&quot;Comment&quot;&gt;#オブジェクトの型を判定。もう少しまともなやり方はあるのかな？&lt;/span&gt;
                &lt;span class=&quot;Statement&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;Identifier&quot;&gt;$InputObject&lt;/span&gt;.GetType().Name -&lt;span class=&quot;Statement&quot;&gt;eq&lt;/span&gt; &lt;span class=&quot;String&quot;&gt;&quot;Object[]&quot;&lt;/span&gt;)
                {
                    &lt;span class=&quot;Statement&quot;&gt;foreach&lt;/span&gt; (&lt;span class=&quot;Identifier&quot;&gt;$i&lt;/span&gt; &lt;span class=&quot;Statement&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;Identifier&quot;&gt;$InputObject&lt;/span&gt;)
                    {
                        &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt; = &lt;span class=&quot;Identifier&quot;&gt;$i&lt;/span&gt;.fullname
                        DustToRecycle &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt;
                    }
                }
                &lt;span class=&quot;Statement&quot;&gt;else&lt;/span&gt;
                {
                    &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt; = &lt;span class=&quot;Identifier&quot;&gt;$InputObject&lt;/span&gt;.FullName
                    DustToRecycle &lt;span class=&quot;Identifier&quot;&gt;$fullpath&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;
                }
            }
        }
    }
}&lt;/span&gt;
&lt;/span&gt;&lt;/pre&gt;なんかパラメーターの設定がうまくいかなくて、変数の名前の指定が必須となってしまった。ここらへんはどうしたら良いかよくわからん。&lt;br /&gt;
&lt;br /&gt;
PowerShell 2.0以降は、「高度な関数」という機能で、関数をコマンドレットみたいに動作させることができるらしい。上記のスクリプトも、この「高度な関数」機能を使っているので、パイプライン経由でファイルを削除することも可能だ。&lt;br /&gt;
たとえば、&lt;br /&gt;
gci ~/Desktop/* *.pdf -Recurse | dust-shoot&lt;br /&gt;
なんてコマンドで、デスクトップとサブフォルダ内のPDFファイルを一括削除できる。&lt;br /&gt;
このくらいならエクスプローラー使っても大して手間は変わらないけれど……。&lt;br /&gt;
&lt;br /&gt;
［参考にしたWebサイト］&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/ja-jp/library/microsoft.visualbasic.fileio.filesystem.aspx&quot;&gt;http://msdn.microsoft.com/ja-jp/library/microsoft.visualbasic.fileio.filesystem.aspx&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://codezine.jp/article/detail/4941&quot;&gt;http://codezine.jp/article/detail/4941&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/714156641966401328/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2011/07/powershell.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/714156641966401328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/714156641966401328'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2011/07/powershell.html' title='PowerShellでファイルをゴミ箱に削除する関数を作った。'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-2679061069661310352</id><published>2011-02-12T12:05:00.000+09:00</published><updated>2011-02-12T12:05:53.570+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="atok"/><title type='text'>ATOK2011が発売された。</title><content type='html'>ATOK 2011がようやく発売された。&lt;br /&gt;
&lt;br /&gt;
昨年はGoogle日本語入力という強力なライバルの登場もあってか、大幅な機能アップが図られている。そのポイントのひとつとなるのが「ATOK Sync」だ。Web企業であるGoogleの十八番を奪うような、活かしたサービスに改良されている。 &lt;br /&gt;
&lt;br /&gt;
これまでのATOK Syncはユーザー辞書の同期だけしかできなかった（気がする）が、ATOK 2011にアップデートされるにあたり、ATOK自体の環境設定やキーバインド、確定履歴なんかも同期できるようになっている。&lt;br /&gt;
&lt;br /&gt;
ついでに、1年間は同期用のサーバーが無料で利用できるというおまけ付き。ちょっと前話題になったフリーミアム戦略だな。ぼくも「有料」に引っかかって今まで利用をためらっていたので、これはいい戦略だと思う。&lt;br /&gt;
&lt;br /&gt;
ただ、Googleものちのち同じようなサービスを提供してくるはず。しかも無料で提供してくるだろう。方やATOKで同様の機能を1年後も引き続き使うには、月額525円が必要となる。ぼくはATOKの毎月315円支払って月額版を利用しているので、合わせると月額840円支払うことになる。&lt;br /&gt;
&lt;br /&gt;
今回先手を打てたのはよいが、1年後840円支払ってまで使いたいかといわれると少々微妙ではある。1年間使えば1万円近い値段となるのだから。まあ、1年あればJustsystemの方針も少々変わるかもしれない。とりあえずはATOK 2012が登場するまでじっくり使ってみようと思う。&lt;br /&gt;
&lt;br /&gt;
毎年更新するなら、安く使える「月額版」か、「スターターパック 1Year版」がおすすめ。&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;nou=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;asins=B001CEIJC4&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/2679061069661310352/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2011/02/atok2011.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/2679061069661310352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/2679061069661310352'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2011/02/atok2011.html' title='ATOK2011が発売された。'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-626561824102015498</id><published>2011-01-01T06:01:00.000+09:00</published><updated>2011-01-01T06:01:49.398+09:00</updated><title type='text'>シャープペンシルの芯、なに使ってる?</title><content type='html'>ぼくは三菱鉛筆の「Hi-uni」だ。芯の濃さは3Bと決めている。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;float: right;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=1X69VDGQCMF7Z30FM082&amp;amp;asins=B002CKFH2W&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;
Hi-uniのいいところは、筆記したときに紙に吸い付くような、どこが湿り気のある筆記感の得られるところだ。&quot;柔らかい&quot;といったほうがわかりやすいかもしれない。&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;
ちょっとお値段は張るし（といっても315円）、大きな文具店に行かないと手に入らないこともあるのが玉に瑕ではある。</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/626561824102015498/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2011/01/blog-post_01.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/626561824102015498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/626561824102015498'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2011/01/blog-post_01.html' title='シャープペンシルの芯、なに使ってる?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-5820924025745149911</id><published>2010-12-16T23:20:00.000+09:00</published><updated>2010-12-16T23:20:37.985+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="お仕事"/><category scheme="http://www.blogger.com/atom/ns#" term="趣味"/><title type='text'>記念すべき100件目</title><content type='html'>いつの間にか100件目だ。&lt;br /&gt;
僕は全然書いていないが、にったけのほうががんばって書いている。&lt;br /&gt;
&lt;br /&gt;
なんか今年はずっと忙しかったこともあって、気づいたらもう12月。&lt;br /&gt;
1年がもう終わろうとしている。&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://0kara-haou.blogspot.com/feeds/5820924025745149911/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/12/100.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/5820924025745149911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/5820924025745149911'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/12/100.html' title='記念すべき100件目'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-878973147755238883</id><published>2010-12-03T09:46:00.000+09:00</published><updated>2010-12-03T09:46:37.167+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="本"/><title type='text'>そういえば</title><content type='html'>ここ最近全然本を読んでいない。&lt;br /&gt;
いくつか購入しておいたものはあるんだが、カバンの中にいれっぱななしだ。&lt;br /&gt;
最後に読んだのは『フルメタル・パニック！』の最終巻だな……。</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/878973147755238883/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/12/blog-post_03.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/878973147755238883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/878973147755238883'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/12/blog-post_03.html' title='そういえば'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-7193956152256054714</id><published>2010-10-03T23:45:00.000+09:00</published><updated>2010-10-03T23:45:32.586+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="本"/><title type='text'>Pythonの本買ってきた</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;今日、池袋のジュンク堂で昨日のを本買ってきた。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;いろいろ見比べてみたけど、この本は相当ていねいに書いてある感じ。さすが技術評論社さん。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;初めてプログラミングを勉強する、その題材としてPythonを選んだ人なんかには最適かと思う（ぼくだ）。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=1X69VDGQCMF7Z30FM082&amp;amp;asins=4774142298&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://upload.wikimedia.org/wikipedia/ja/4/46/Toden-Arakawa-Line_Asukayama.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;http://upload.wikimedia.org/wikipedia/ja/4/46/Toden-Arakawa-Line_Asukayama.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Wikipediaから&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;池袋へは都電荒川線を使って行った。雑司ヶ谷駅で降りて、ジュンク堂へはそこから10分くらい歩くと着く。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;初めて都電荒川線乗ったよ。電車が信号待ちしてて笑った。&lt;br /&gt;
&lt;br /&gt;
意外と本数多いし、乗車賃も初乗り160円のみだし、今後ちょくちょく利用してみようかと思う。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Pythonのほうは、キーボードを叩きながらようやく4章まで読み進めた。今日中に全部終わらすのはさすがに無理だな……。&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;一通り使い方がわかるようになったらCraftLaunch（&lt;a href=&quot;http://sites.google.com/site/craftware/&quot;&gt;http://sites.google.com/site/craftware/&lt;/a&gt;）の設定をいじくり回してみよう。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Pythonで機能が拡張できるらしい。旧版は使っているけど、新しいバージョンは設定方法が大分変わって、使い方さっぱりわからずお手上げだった。この機会に触りなおしてみようと思う。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;それができるようになったら、今度はAndroidでスクリプトを走らせる。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;飽きっぽいからさっさとおもしろところまでたどり着かないと！&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/7193956152256054714/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/10/python_03.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/7193956152256054714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/7193956152256054714'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/10/python_03.html' title='Pythonの本買ってきた'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-5744019019937324333</id><published>2010-10-02T22:58:00.000+09:00</published><updated>2010-10-02T23:36:54.507+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="None"/><title type='text'>Pythonやってみたくなった。</title><content type='html'>&lt;br&gt;&amp;#12385;&amp;#12423;&amp;#12387;&amp;#12367;&amp;#12425;&amp;#12371;&amp;#12398;&amp;#26412;&amp;#36023;&amp;#12387;&amp;#12390;&amp;#12371;&amp;#12424;&amp;#12358;&amp;#12290;&amp;#36817;&amp;#12367;&amp;#12398;&amp;#26412;&amp;#23627;&amp;#12373;&amp;#12435;&amp;#12395;&amp;#12354;&amp;#12427;&amp;#12363;&amp;#12394;? &lt;br /&gt;&lt;br&gt;......&amp;#22770;&amp;#12387;&amp;#12390;&amp;#12394;&amp;#12363;&amp;#12387;&amp;#12383;&amp;#12290;Amazon&amp;#12391;&amp;#36023;&amp;#12387;&amp;#12390;&amp;#12289;&amp;#20170;&amp;#26217;&amp;#12399;&amp;#12493;&amp;#12483;&amp;#12488;&amp;#12391;&amp;#24773;&amp;#22577;&amp;#25506;&amp;#12387;&amp;#12390;&amp;#12415;&amp;#12424;&amp;#12358;&amp;#12290;&lt;br&gt;&lt;br /&gt;Python&amp;#12391;&amp;#12418;Android&amp;#12450;&amp;#12503;&amp;#12522;&amp;#12399;&amp;#20316;&amp;#12428;&amp;#12427;&amp;#12415;&amp;#12383;&amp;#12356;&amp;#12384;&amp;#12375;&amp;#12290;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/5744019019937324333/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/10/python.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/5744019019937324333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/5744019019937324333'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/10/python.html' title='Pythonやってみたくなった。'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-458958993408857319</id><published>2010-09-12T21:57:00.000+09:00</published><updated>2010-09-12T21:57:57.851+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="人生 文具"/><title type='text'>エンディングノートなるものがあるらしい。</title><content type='html'>「エンディングノート」なるものが、先日KOKUYOから発売されたらしい。&lt;br /&gt;
&lt;br /&gt;
そもそもエンディングノートってなんなんだって話なんだけど、見たところカジュアルな遺言書といったもののようだ。だから「エンディング」なのね、と勝手に納得する。&lt;br /&gt;
&lt;br /&gt;
そもそも、なぜこういった商品が発売されるようになったんだろう。ノートのデザインは意外とカラフルで可愛らしい感じだ。高齢者だけを狙った商品といった感じの体ではなさそう。みんな、自分が死ぬこと、そしてそのあとのことなんて実はうっすら考えていたりするのだろうか。&lt;br /&gt;
&lt;br /&gt;
エンディングノートには連絡先や残された人たちへのメッセージのほか、クレジットカードの情報やウェブサイトのログイン情報なんかも書き込んでおけるらしい。最近はブログやTwitter、あるいは写真共有サイトなんかに自分のバイオグラフィーを残すことは当たり前になっている。そう考えると、これは必須の項目と今や言えるのかもしれない。また、CDを入れるケースもついてくるため、ビデオメッセージまで残せるといった気の効きようだ。&lt;br /&gt;
&lt;br /&gt;
不思議なのが、この商品にまとう明るい雰囲気だ。「もしもの時のために、遺言でも残しておかない？」といった感じのメッセージが聞こえてきそうだ。あれ、僕たちっていつの間にこんなに死をカジュアルに捉えられるようになったんだろう。そんな違和感もある。でも、死に対して向かい合うことができるようになったという証しなのかもしれない。&lt;br /&gt;
&lt;br /&gt;
ちなみに「エンディングノート」のお値段は1400円ほどになる。ノートの癖に結構高い......が、100円のノートに人生最後のメッセージを託すのも心もとないか。ああ、でもこんなノートが残ってたら......辛いけど笑いながら最後を見送れるかもしれないなあ。少なくとも、僕は嬉しい。&lt;br /&gt;
&lt;br /&gt;
今度文具やさんにいったときに見てみよう。何を書けばいいかなんてまだ全然わからないけどね。あなたならどんなメッセージを書きますか？&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=1X69VDGQCMF7Z30FM082&amp;amp;asins=B0041O8WHO&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/458958993408857319/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/09/blog-post_1103.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/458958993408857319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/458958993408857319'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/09/blog-post_1103.html' title='エンディングノートなるものがあるらしい。'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-357038424698409491</id><published>2010-08-25T23:16:00.001+09:00</published><updated>2010-08-25T23:18:04.367+09:00</updated><title type='text'>料理下手の自炊はつらい……</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;豚バラとなすの炒め物を、食べるラー油と一緒に食す。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;油×油の組み合わせで胸焼け、というか吐き気がする……。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;久しぶりに衝撃的にまずいものを食べたわ(゜Д゜)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/357038424698409491/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/08/blog-post_25.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/357038424698409491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/357038424698409491'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/08/blog-post_25.html' title='料理下手の自炊はつらい……'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-1649624360082783260</id><published>2010-08-22T23:51:00.007+09:00</published><updated>2010-08-23T00:59:16.080+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="エクステンション"/><category scheme="http://www.blogger.com/atom/ns#" term="同期"/><category scheme="http://www.blogger.com/atom/ns#" term="拡張"/><title type='text'>Chromeのエクステンションの設定を、インポート・エクスポートする</title><content type='html'>Chromeのバージョン6では、エクステンション（拡張機能）の同期もできるようになるようだ。これは便利と思い、開発版をインストールして自宅と仕事先で同期の設定をしてみたのだが、残念ながら設定までは同期されなかった。&lt;br /&gt;
&lt;br /&gt;
設定項目が2～3ならインストールの都度設定してもいいのだが、10や20を超えてくると何度も設定を繰り返すのが億劫になる。&lt;br /&gt;
&lt;br /&gt;
どうせどこかに設定ファイルがあるのだろうから、それを移せばいいのだろうと思って試してみたら、案の定うまくいったのでその手順を記しておく。&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Chromeの「拡張機能」管理タブを開き、右上の「デベロッパーモード」をクリックする。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Uz91ls8NE3khwdKJdbiDhwdzXvnC19Pg4at6xV_x-sh8Sn4m6qhFAZb9kXh5NdUOTuPkwRe2jhTk_VkTruzN53o4PpWEwSWoQA_e8XkMFSpuUfLQ1-tpPz2cqUiJGctzPavCBDPZO2M/s1600/capture_20100822_215743.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Uz91ls8NE3khwdKJdbiDhwdzXvnC19Pg4at6xV_x-sh8Sn4m6qhFAZb9kXh5NdUOTuPkwRe2jhTk_VkTruzN53o4PpWEwSWoQA_e8XkMFSpuUfLQ1-tpPz2cqUiJGctzPavCBDPZO2M/s320/capture_20100822_215743.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;設定をエクスポートしたいエクステンションのIDをダブルクリックしてドラッグし、コピーする。&lt;br /&gt;
詳しいことはよくわからないが、このIDはエクステンションに一意の値として割り振られているようだ。常識的に考えたら、このIDがエクステンションの設定ファイルに使われているはずだ。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpAw8wwgjyDmG_lb8KbgUW3w35C-NVW0ZqN_thyphenhyphenQk7SFuWT-1Hx9i5-TdPMqmxeWkPJFsYiEpB_acYEAMOUjE4p3Ei4KC2lMf2CSB9LwurgxtSzbhPa52ZB7B033BTuE3fGsYRRK9fxKM/s1600/capture_20100822_215724.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpAw8wwgjyDmG_lb8KbgUW3w35C-NVW0ZqN_thyphenhyphenQk7SFuWT-1Hx9i5-TdPMqmxeWkPJFsYiEpB_acYEAMOUjE4p3Ei4KC2lMf2CSB9LwurgxtSzbhPa52ZB7B033BTuE3fGsYRRK9fxKM/s320/capture_20100822_215724.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;エクステンションの設定ファイルが入っているフォルダーを参照する。Windows 7、Vistaなら、エクスプローラーを起ち上げてアドレスバーに「%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Local Storage」と入力して移動すればよし。&lt;br /&gt;
XPの場合は、「%APPDATA%\Google\Chrome\User Data\Default\Local Storage」とかじゃないだろうか。確かめてないから知らんけど。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVJoDdul4hEOD4l2Py7ygqfMmpxXUA96uPw4ChAQIdhgpUd2NAr4bUFFtliFLGKnLCn1wZaUDj3PeJKczqwlDpiS1y_7-AV0iWvP8lyZimh7sONMfCiLnpd_0NBDl1p8pL7JMN7ZOdlU4/s1600/capture_20100822_221107.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVJoDdul4hEOD4l2Py7ygqfMmpxXUA96uPw4ChAQIdhgpUd2NAr4bUFFtliFLGKnLCn1wZaUDj3PeJKczqwlDpiS1y_7-AV0iWvP8lyZimh7sONMfCiLnpd_0NBDl1p8pL7JMN7ZOdlU4/s320/capture_20100822_221107.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5QJeL2BGTypysMqU8nUGu8gOhU4FDuC4E-iZshkkYpc5-wzjDOpKJpqxh3SxPBsara2EhyP4QkUlJW6S11tcUTgN9TnGBGrBYzi6cMdPzWJ9I7VkeXObbcFPOMGu5O5QtJ284Qicn8Jg/s1600/capture_20100822_221159.jpg&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/AVvXsEi5QJeL2BGTypysMqU8nUGu8gOhU4FDuC4E-iZshkkYpc5-wzjDOpKJpqxh3SxPBsara2EhyP4QkUlJW6S11tcUTgN9TnGBGrBYzi6cMdPzWJ9I7VkeXObbcFPOMGu5O5QtJ284Qicn8Jg/s320/capture_20100822_221159.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;先ほどコピーしたIDを検索フィールドに入力する。すると、該当ファイルが一個だけ表示されるはずだ。それがエクステンションの設定ファイルだ。このファイルをコピーしてメールに添付して送るなり、Dropboxに保存するなりしておこう。これでエクスポートの作業は完了。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguPANsw57WNZwb_g4kRTnngr3hCy3l97GlIRhrWoEfxcw4CSOm7BPrAvAlEhYecddtnwP2FVljwUeNUwxg6iu43sZk-k9mh5Iy8jIfc_iOOTrT4PuIogATjOHmjdoZd9rB2jBGtixPF00/s1600/capture_20100822_221245.jpg&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/AVvXsEguPANsw57WNZwb_g4kRTnngr3hCy3l97GlIRhrWoEfxcw4CSOm7BPrAvAlEhYecddtnwP2FVljwUeNUwxg6iu43sZk-k9mh5Iy8jIfc_iOOTrT4PuIogATjOHmjdoZd9rB2jBGtixPF00/s320/capture_20100822_221245.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;設定をインポートしたいPCでエクスプローラーを起ち上げ、Chromeのエクステンション設定フォルダーを開く（3と同じ手順でOK）。あとは、そのフォルダーにエクスポートしたファイルをドラッグ＆ドロップして、エクステンションを再起動させるとインポートが完了する。&lt;/li&gt;
&lt;/ol&gt;めんどい……。エクステンションの設定も同期できるようになったら助かるんだけどなあ。Dropboxを使ってむりやり同期する方法もあるんだろうけど。</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/1649624360082783260/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/08/chrome.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/1649624360082783260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/1649624360082783260'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/08/chrome.html' title='Chromeのエクステンションの設定を、インポート・エクスポートする'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Uz91ls8NE3khwdKJdbiDhwdzXvnC19Pg4at6xV_x-sh8Sn4m6qhFAZb9kXh5NdUOTuPkwRe2jhTk_VkTruzN53o4PpWEwSWoQA_e8XkMFSpuUfLQ1-tpPz2cqUiJGctzPavCBDPZO2M/s72-c/capture_20100822_215743.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-8332094599685359401</id><published>2010-07-24T13:06:00.001+09:00</published><updated>2010-07-24T13:07:42.395+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="ブラウザー"/><title type='text'>Chromeをサイドタブ（縦置き）で使う</title><content type='html'>Chromeの最新の開発版では、タブを縦置きで使うことができるらしい&lt;br /&gt;
&lt;a href=&quot;http://journal.mycom.co.jp/articles/2010/07/23/chrome6-side-tabs/index.html&quot;&gt;http://journal.mycom.co.jp/articles/2010/07/23/chrome6-side-tabs/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ちょっと試してみたくて開発版をインストールしてみた。&lt;br /&gt;
起動オプションに「--enable-vertical-tabs&amp;nbsp;」を加えるとタブバーが無事縦置き表示となった。&lt;br /&gt;
&lt;br /&gt;
それで満足したので、そのまますぐ安定版のChromeをインストールしなおしたのだけど、起動オプションを元に戻すのを忘れたままChromeを起ち上げてしまった。&lt;br /&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;http://2.bp.blogspot.com/_p3DuysrGvbY/TEpmEAF7DlI/AAAAAAAABGY/PJXhYtmWSeI/s1600/chrome_VerticalTab.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;http://2.bp.blogspot.com/_p3DuysrGvbY/TEpmEAF7DlI/AAAAAAAABGY/PJXhYtmWSeI/s200/chrome_VerticalTab.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;右クリック効かないし、タブのドラッグ＆ドロップもできないし、新しいタブボタンもないけど、まあ、安定版のChromeでもタブバーの縦置きはできてしまうようだ。&lt;br /&gt;
別に新しいタブボタンはいらないが、タブの切り離しができないのは不便なので元に戻してしまった。&lt;br /&gt;
&lt;br /&gt;
もしかしたら実装は確定していないほかの機能も利用できるかもしれない。&lt;br /&gt;
ちょっといくつか試してみよう。何かおもしろいことを知っている人がいたら教えてほしい。</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/8332094599685359401/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/chrome.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/8332094599685359401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/8332094599685359401'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/chrome.html' title='Chromeをサイドタブ（縦置き）で使う'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_p3DuysrGvbY/TEpmEAF7DlI/AAAAAAAABGY/PJXhYtmWSeI/s72-c/chrome_VerticalTab.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-6375591782813442276</id><published>2010-07-12T00:50:00.001+09:00</published><updated>2010-07-12T13:13:57.210+09:00</updated><title type='text'>松丸本舗に行ってきた</title><content type='html'>&lt;a href=&quot;http://goo.gl/photos/3i4F&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://lh3.ggpht.com/_zmdxediSSyc/SwEB3fxIx4I/AAAAAAAAGrA/bKidxIGi-zU/s320/IMGP4586.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;今日、仕事で使うノートパッドを大手町の丸善に買いに行った。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;丸善 丸の内オアゾ店では、文房具は4階で取り扱っている。エレベーターで4回まで上がってノートパッドとシャープペンシルの芯を買い、向かいの万年筆売り場を冷やかして帰ろうとしたら、出口前で「松丸本舗」なる催し物をやっていた。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;普通、本屋というのは本が1mmのずれもなく整然と（というのは少々オーバーだけど）本棚に並べられているようなものを想像するだろう。しかし、松丸本舗の本棚はめちゃくちゃだ。前後2列に本が並べられていたり、平積みの棚でもないのに本を横に積んでいたりする。丸で誰かの家の書棚を見ているような気分になる。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;この松丸本舗、編集なんちゃらとかで有名な松岡正剛氏が企画したもので、昨年の10月からオープンしていたらしい。松岡正剛氏は先日情熱大陸でも特集されていたので、それをきっかけに知った人も少なくないだろう。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;今日は家を出る時間も遅かったからあまり余裕をもって見ることはできなかったが、久しぶりに何か「出会い」を感じさせるような書棚だった。『国史大系』やらの誰が買うんだ？と思わせるような本もあった（飾りで売るつもりはないんだろう）し、あまり趣味に合うような本はなかったけれど、書棚の間を縫って歩いている間、ぼくは言いしれぬおもしろさににやにやしていた。ああ、写真を撮ってくればよかった！&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;誰かの本棚を見るとき、その人がどんなことに興味があってどんなことを考えているか透けて見えるような気がしないだろうか。好きな作家とか、ミステリやノンフィクションといったジャンルとか、あるいはお気に入りの漫画とか。音楽好きの人なら、友だちのCDラックを見て「へえ～」と思ったこともあるだろう。松丸本舗はなんというか、そうした“人の息吹”が感じ取られた。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;もちろん、それは計算尽くでやっているんだろうし、そうしたいい意味でのあざとさも見えるんだけど、本好きの人なら一度は行ってみて損はないんじゃないかと思う。「本という媒体を使って、まだこんなおもしろい仕掛けができるんだ」――ぼくもちょっと刺激を受けました。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;行く前に雰囲気だけでもという方は、&lt;a href=&quot;http://www.matsumaru-hompo.jp/index.html&quot;&gt;公式サイト&lt;/a&gt;があるのでご覧になってはいかがでしょう。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;いやあ、でも写真ではなかなかあの空間の雰囲気を伝えるのは難しい。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;本好きの方はやっぱり、ぜひともお伺いしてほしいものです。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;関係ないけど、ぼくが編集した本がまたもや近日発売されます。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;今度はiPhoneに関する本です。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;松丸本舗の帰りにでも手にとっていただけると幸いです。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=FFFFFF&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=1X69VDGQCMF7Z30FM082&amp;amp;asins=4881667459&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/6375591782813442276/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/blog-post_850.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/6375591782813442276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/6375591782813442276'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/blog-post_850.html' title='松丸本舗に行ってきた'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_zmdxediSSyc/SwEB3fxIx4I/AAAAAAAAGrA/bKidxIGi-zU/s72-c/IMGP4586.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7780757068717184261.post-7258350224892556074</id><published>2010-07-02T00:24:00.001+09:00</published><updated>2010-07-02T01:05:30.886+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="お仕事"/><category scheme="http://www.blogger.com/atom/ns#" term="本"/><title type='text'>新しい本が出た</title><content type='html'>ぼくが編集を担当した新しい本が出た。今はやりのTwitterに関する書籍だ。&lt;br /&gt;
「これからTwitterをはじめてみようか」という人や、「Twitter、何がおもしろいのかさっぱりわかんない」といった人に向けて、なるべくわかりやすいように、楽しめるようにつくった（つもりです）。&lt;br /&gt;
&lt;br /&gt;
解説が始まる前に、Twitterユーザーによる座談会なんかもあったりする。&lt;br /&gt;
サービス開始当初から使っていたヘビーユーザー、人気番組を手がけるテレビマン、就活真っ最中の大学生と、立場の異なる3人に集まってもらい、Twitterについて思う存分話してもらった。&lt;br /&gt;
&lt;br /&gt;
いちばんびっくりしたのは、「就活にTwitterを活用している」ってこと。&lt;br /&gt;
なんだか「もうおっちゃんだね」と言われたような衝撃が走った。&lt;br /&gt;
まだ20代だけど……。&lt;br /&gt;
&lt;br /&gt;
書店で見かけたら、手にとっていただけると幸いです。&lt;br /&gt;
かわいらしい鳥さんが目印。せめて座談会だけでも……。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=FFFFFF&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=takepierrot-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=1X69VDGQCMF7Z30FM082&amp;amp;asins=4774142824&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://0kara-haou.blogspot.com/feeds/7258350224892556074/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/blog-post_02.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/7258350224892556074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7780757068717184261/posts/default/7258350224892556074'/><link rel='alternate' type='text/html' href='http://0kara-haou.blogspot.com/2010/07/blog-post_02.html' title='新しい本が出た'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12288132601895596753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>