ページ Pages

12/13/2009

Googleドキュメントを文字化けなしにダウンロードする方法

日本語の場合は、この方法でうまくダウンロードできますよ。

更新2012年2月28日):GoogleドキュメントからダウンロードしたZipファイルはウィンドウズ(XP,7)
の標準機能で展開したら、中にあるファイルのファイル名が文字化けて読めません。 けれど、7-zipを使って展開したら、ファイル名は化けずに、ちゃんと読めます。+Lhacaでもいいかと思いましたけど、うまくいきませんでした。

7-Zipのホームページ(日本語)
http://sevenzip.sourceforge.jp/

Google Docsは仕事のためによく使っています。どこへ行っても、インターネットとパソコンさえあればドキュメントが見れるし、ドキュメントの共有が出来るのはうれしいことです。しかし、時にはGoogle Docsのドキュメントをダウンロードしたい場合があります。そのとき、ダウンロードしたドキュメントのファイル名に日本語が入っている場合はその部分がすべてアンダーバーになってしまいます。一つのファイルならその名前を変えるのはそんなに大変なことではないけれど、複数のファイルとなれば、ファイルの区別がつかなくなります。そこで、ファイル名に日本語を使わないか、違う方法でダウンロードするか、Googleがこの問題を直すのを待つかといった選択があります。

イ ンターネットブラウザ「 Firefox 」を使えば、Google Docs Download (gdd)というGreasemonkeyのスクリプトとDownThemAll (dta)とを組合わせることでGoogle Docsのドキュメントを文字化けなしで、ダウンロードすることが出来ます。

まず、お使いのパソコンに、Firefoxが入っているかどうかを確認してください。FirefoxのPortable Apps版も使えます。FirefoxはMozillaからダウンロードすることが出来ますよ。リンクは下記のとおりです。

http://mozilla.jp/firefox

次はFirefoxを起動してください。

FirefoxにGreasemonkeyというアドオンをインストールして、Firefoxを再起動してください。

Greasemonkeyのリンクはこちらです。
-> https://addons.mozilla.org/en-US/firefox/addon/748

Greasemonkeyの使い方は「Greasemonkey入門」などで検索すればいいサイトが見つかりますよ。

次はGreasemonkeyにGoogle Docs Download(gdd) のスクリプトをインストールしてください。

The Google Docs Download Greasemonkey script->
http://1st-soft.net/gdd/

次はDownThemAllのアドオンをFirefoxにインストールして、Firefoxを再起動してください。
DownThemAll -> https://addons.mozilla.org/en-US/firefox/addon/201

今度、Google ドキュメントを開くと、右上左下に新しい英語でDownload Your Documentsと書いてあるリンクが出てくるはずです。

ダウンロードしたいドキュメントを選択してから、Download Your Documentsのリンクをクリックしてファイル形式を選択します。例えばマイクロソフトオフィスがよければ、as Microsoft Office Filesを選択してください。選択したドキュメントの一覧が新しいタブで表示されます。そのページの上に右クイックしたら、 「DownThemAll!...」を選択してください。Save Files inのところで、保存先の指定が出来ます。FilterのところでAll Filesにチェックを入れます。Renaming Maskのところに*text*.*ext*を入力します。

Start!ボタンを押せばダウンロードが始まります。DownThemAllはこの設定を覚えてくれますので、次回はStart!ボタンだけや、dTa OneClick!を使ってもすぐに出来ます。

うまく行きましたか?

これは日本語の場合ではうまく行きますが、恐らく中国語や韓国語でもうまく行くと思います。試してみてください。


11/30/2009

How to Download Gdocs with Asian characters in the Title

This works for Japanese so I am assuming it will work for other Asian languages such as Chinese or Korean (Hangul?). I know that other people have the same problem.

Update (Feb, 28, 2012: I've just recently discovered that if you use 7-zip, and possibly any other third-party decompression/archive utility, and not the default MS Windows unzip utility, you can unzip the zipped downloads that come from Google Docs without the file names being scrambled.   I thought you might be able to use any other third-party utility so I tried using +Lhaca popular here in Japan to unzip the files and it didn't work.  +Lhaca doesn't support Windows Vista+, so maybe this has something to do with Windows XP support for Unicode and is not a problem with Google Docs like I assumed??

Update(February 29, 2012): The default unzipper for Windows 7 doesn't handle these zip files well either.  They still get unzipped with their file names garbled.

Get 7-zip here.
http://www.7-zip.org/

When you download documents from Google Docs that have Japanese in the title, the Japanese is turned into under-bars.

If you use Firefox, you can use the Google Docs Download (gdd) greasemonkey script with the DownThemAll (dta) add-on to download your files and keep their file names in tact.

In dta , make sure the naming mask is set to *text*.*ext*.

This works for me and I hope it works for you.


Greasemonkey https://addons.mozilla.org/en-US/firefox/addon/748

The GDD Greasemonkey script http://1st-soft.net/gdd/

DownThemAll https://addons.mozilla.org/en-US/firefox/addon/201

I originally got this hint from the Google Operating System blog here
http://googlesystem.blogspot.com/2007/05/export-all-your-documents-from-google.html


11/05/2009

ランニングシーズンが終わりました。

前回の投稿で別海パイロットマラソンを走る予定と書きましたが、今回はその結果発表とその後の大会の話をしたいと思います。

まずは別海です。天候は晴れで少し風が吹いていました。そんなに暑かったわけでもなかったと思います。が、実は暑いときにはあまり走らない私にとって暑すぎたかもしれません。ただの練習不足かもしれないが、走り終わってから5時間近く具合が悪かったです。

結果は3時間52分で完走しましたが、走り終わってから、吐き気がして、実際に嘔吐しました。それで気分はよくなったけど、体が弱っていて、あまり元気に歩けませんでした。

それから息子と一緒に温泉に入りました。最初は大丈夫でしたが、熱いお風呂に入ったらまた具合が悪くなりました。それでも何とか頑張って、自分と2歳の息子の着替えを済ませ、ロビーに出ました。家族みんながお風呂から出た後、車に乗り、帰路に付きました。車が走り出して20分後くらいすると、また具合が悪くなりましたので、車を止めてもらって急いで路肩の草に走りこんでまた胃の中身を出してしまいました。この時点では水とスポーツドリンクしか入っていなかったけどね。

原因はまだわからないけど、おそらく脱水症状だと思います。マラソンを完走した後の体重は4kg以上軽かったです。

別海パイロットマラソンの後にもマラソン大会に参加しましたが、もうこの投稿がこんなに長くなったのでここで終わります。

10/29/2009

Weight Goals

Do you have any weight goals? I do.
実はずっと70kgまで体重を落としたいですが、なかなか体重がそこまで落ちません。でも最近がんばっていると思います。あまり走っていないですが、それでも体重は増えていません。自分の体重は全然恥ずかしくないので、ここで紹介します。

これは4月1日からの体重移動のグラフです。わずかな変化ですが、確実に体重が落ちています。77.5kgから現在の74.5kgまで落ちてきました。5年前走り始めた頃は83kgもありました。10kg近く落としています。私はパソコンが好きなのでパソコンを使った管理方法が好きです。そして、第一言語は英語なのでほとんど英語のサイトを利用しています。左のグラフはbuckeyeoutdoors.com(バッカイアウッドアズ)からのものです。buckeyoutdoors.comのような英語のサイトはたくさんあります。buckeyeoutdoors.comは一番好きですが、知人はみんなdailymile.com(デーリーマイル)を使っているため、そのサイトも使っています。buckeyoutdoors.comでは様々な運動の記録が出来ます。他人が作ったプランや自分で作ったプランもあります。体重、睡眠時間、食べたものの記録などの栄養管理機能もあります。または自分の活動も公開するかしないか、または自分のブログで公開したりすることも出来ます。実はこのブログの右側に私のが見れますよ。DailymileもBuckeyeoutdoorsもほかのサイトもソーシャル面でも機能が整っています。チームを作ったり、チャレンジに参加したり、励ましあったりすることができます。日本にももちろんこういうサイトがあります。私も使っているjognote.comです。
最近、iPhoneを使うようになりました。iPhoneを使ってでも体重管理できるアプリはないかなぁと探したところ、幾つかあったもの、dailyburn.com(デーリーバーン)のアプリが一番のお気に入りです。もちろんこれも英語のサイトで英語のアプリです。Dailyは「毎日」や「日々」という意味で、burnは「燃やす」という意味で毎日の運動でカロリーを消費して、体脂肪を燃やそうという意味の名前です。このサイトは実に機能が豊富です。ちょっと豊富すぎて使いにくいかもしれませんが、一番のいいところはiPhoneでアプリとの同期が出来るところと、栄養管理と運動の記録が出来ることです。iPhoneで毎日の体重や運動や食べたものを記録して、dailyburn.comと同期します。もちろん、パソコンで直接にdailyburn.comにログオンして記録してからiPhoneど同期できます。一日の総合摂取カロリーとどの割合が脂肪、炭水化物、たんぱく質などをグラフと数字で表示しますので、把握しやすいです。朝から入力して、昼食べたものも入力すると、ヤバイ、もうこんなに食べた?!?とショックを受ける日もあります。ただ単にノートに記録だけじゃ摂取カロリーがわからないですね。このアプリとサイトを使い始めてから、目標の体重に向けて、グラプとにらめっこしながら減量に励んでいます。

私のDailyburnのプロファイルです。
http://dailyburn.com/locker_room/mr_caffeine
Dailymileのプロファイルです。
http://www.dailymile.com/people/mr_caffeine#ref=tophd

10/18/2009

Pisukari Half Marathon

PERSONAL RECORD!
Race Name:Pisukari Half Marathon
Race Date:10/18/2009

DistTimePace
Run21.10 KM01:34:0004:27
Description:




The run went well. I am very pleased with my effort. The weather was supposed to be windy and rainy and I prepared for that by bringing my winter running jersey and a long sleeve running shirt. However, the sun came out and it was warm and not at all windy and I was roasting in my jersey. I didn't bring a short sleeve running shirt so I put on a quick dry shirt that I got at the Yoichi Marathon and pinned my big number to that. I was number 165. That is a bit misleading though because there were only 18 men in the open division (18 and over).



The Pisukari Half Marathon is two laps of an out and back course held at AERU in Urakawa, Hokkaido Japan. AERU is a facility for recreation and more importantly for raising and training race horses. I haven't researched this though so don't take my word for it. We think it is a national facility. The course is run on the roads that go through the area which are usually off limits to the public ( to protect the horses). It's fall here and the trees lining the road were beautiful oranges and yellows and dirty greens. There were two water points, with water only, but the staff made effort to make sure you could get water coming and going as we passed them at the 2.5km and 5km points. Since it's two laps of an out and back course you get to go past the water points 8 times.

The course is out and up hill for 5km to the turn around point and then down 5km to the next turn around and repeat. I remember being totally trashed last year the second time going up that 5km hill. This time it wasn't so bad. I don't know if it was the extra hills that I've done this year or if it was because I was mentally prepared for it but I was able to get up and over the hills both times without getting too fatigued. I concentrate on keeping my foot pace the same. So I'm pretty sure I slow down going up the hills but I'm kicking out the same rhythm with my feet. The top four athletes blew out of the gate and soon were so far ahead of me that I couldn't even see them. But I had company anyway. There were three off us and we kept changing position throughout the race. Only the top 3 spots get awarded so we weren't battling for a trophy so much as just battling. On the second lap I was able to pull away about 100m going up the hill. The last time we went down the hill both the other guys hit the gas and I had a hard time keeping up with them. I figured they would do the same thing this time to so after the turn around I picked up the pace, determined to keep away from them. However, I soon heard foot steps behind me and the voice of on who kept calling out to his mates, and everyone on the side of the road to encourage and to answer calls of "way to go". He was coming closer. Eventually he was right behind me and I could swear the other guy was there too, but this was just relying on my ears. At this point, with the foot steps and heavy breathing on my heels, it is as much a psychological race as a physical one. We are running as fast as we think we can last for 21km and it is a sort of gamble. I never practice running 21km at this pace so I'm only hoping that I'll be able to keep up the pace till the end, and have enough left in the tank to shake this bugger of my tail. I don't know if he's holding back, waiting for the sprint to the finish, or if it is all he can do just to keep up. I had the feeling though that he was running close to 100% because with 3km left to go he was having a hard time keeping up his back and forth with the other runners who were still working their way up the hill as we came down. He just didn't have the breath for it. I wasn't wasting my breath. I didn't have that many people to cheer on anyway and when I did, I waved. Waving is not so easy at this point either. I can barely reach up to wipe the sweat of my brow. I start thinking too much. I think about his breathing. I think about not slowing down even though I got a bug in my left eye. I think about slowing down and letting this guy pass. It really is mental. Your body actually can keep up the pace and can go faster, go farther, but way before your body breaks down, your mind is telling you that you are tired. Stop this nonsense and go find a nice comfy mattress to lay down in.

Just 100m before the start, I see a guy walking. He was in first place the first 10k, 3rd the last time I saw him. Is he cooling down? Did he stop running? Thinking that this may be my chance to get 3rd place I was now even more determined not to let this guy beat me in the last 100m. They guy I'm battling with says as we round the last corner, "almost there". ?? Is he running with me or against me? An altogether positive and bright sportsman. We sprint to the finish and I am triumphant! This is only the second time that I have had a battle in a race and it was exhilarating. I'm sure I would not have had such a great time if this guy wouldn't have been there to push me to the end. It turns out the third guy in our group couldn't keep up the pace. He came in a bit later.

This is probably my 2nd or third best time in the half marathon and with very little training done this year. What does that mean? Does that mean that I am getting stronger mentally? Does that mean that I was training too much in previous years? Is it just a product of time? This is my 5th year running. My full marathon time this year was terrible (3:52). I've had two half marathons at the beginning of the year that were pretty bad too (1:45). I am writing this on the Monday after the race. Since last week I have had a sore left hip, again and my hip and legs, back and abs are all sore today from the race. I have one more half marathon this weekend and it is a bugger. I don't think I have the heart left to put into that race. At any rare, I'll take it easy this week and maybe run once or twice before the race then we'll see what happens.

9/24/2009

Sunrise while Running


Sunrise while Running
Originally uploaded by mr_caffeine74
ある朝のランで撮りました。これは東向きです。私たちが住んでいる河岸段丘の上から明野ヶ丘をのぼって走ることが定番のコースです。町は河川敷から少し上の近くにできています。秋になって日が短くなりました。最近、走るときはほとんど暗闇の中で走っています。走りに出て、一時間、一時間半後、家に帰るときぐらいやっと日が出始めることが多いです。もうすぐこの形式は色付けし、やがて真っ白になるでしょう。
Taken on one morning run. This is facing East. I often run up the Akeno hill out of the little indentation where we live close to the Sarabetsu river. The town is laid out a little way up hill from the flood plains of the river. Autumn is here and the days are short. I don't get to run in the light of day much any more. Now a days, the sun is just starting to come up on my way back home. It won't be long now before this scenery will be completely different.

IMG_0303