December 01, 2016

日本旅遊筆記

車站置物櫃資訊

交通

2016 秋 日本山陰山陽 流水帳

相簿在此

11/22
台北-岡山機場-Via Inn岡山
下午兩點的飛機,到岡山車站已經晚上七點,換了山陰山陽七日JR Pass
稍微在車站逛了一下,晚餐吃車站裡的やよい軒

11/23
JR岡山-JR安來-足立美術館-JR松江-Dormy Inn Express松江-由志園
兩件大件行李箱寄放在 Via Inn 岡山,搭やくも到安來站
安來站半小時有一班到足立美術館的接駁車
午餐吃美術館裡面的大観,可以邊欣賞庭園邊吃飯
離開美術館到達松江後先 check-in 放行李
回車站搭由志園的接駁車,由志園的夜間觀賞會很漂亮
我本來覺得這種夜間點燈活動沒有什麼特別,不過燈會配合音樂作演出就還蠻有意思的
晚餐吃JR松江裡的磯之家,套餐有生魚片烤魚炸魚滷魚完全是魚大餐
因為晚餐吃太飽,只好放棄飯店晚上提供的免費蕎麥麵

11/24
JR松江-JR出雲-出雲神社-一畑電車松江しんじ湖溫泉-JR玉照溫泉-ホテル玉泉
早上出太陽,到了出雲神社一度下起了超大雨
遇到有人在神樂殿辦日式婚禮
午餐吃砂屋蕎麥麵,很多人排隊等了半小時才吃到
到出雲搭的是在宍道湖南邊的 JR ,回松江搭的一畑電車則在宍道湖北邊
回程發現天氣變好了,從松江しんじ湖溫泉站一路看著夕陽走到島根縣立美術館
日落後再走回 JR 松江站,因為要趕ホテル玉泉的 check-in 時間完全是急行軍走法
在車站打 Skype 麻煩飯店來接我們,雞同鴨講了一番後順利的搭到接駁車
飯店的晚餐超級豐盛,吃到最後的釜飯我完全吃不下

11/25
JR玉照溫泉-JR松江-八重垣神社-松江城-JR岡山-Via Inn岡山
跟朋友在松江站會合
搭公車到八重垣神社再到松江城
因為松江城附近沒有很多餐廳
中午就吃松江城對面島根縣物產觀光館二樓的カフェ コンセルボ
吃完飯搭了崛川遊船跟參觀松江城,松江城天守閣頂可以遠眺宍道湖,景色不錯
晚餐在 Lawson 買了些東西在やくも車上吃

11/26
JR岡山-JR姬路-姬路城-JR倉敷-三井Outlet
這天比較晚起床,結果幸運地搭到了 EVA 新幹線列車
姬路城外有好多貓,大家都圍著貓拍照
買了姬路城好古園聯票,只是好古園好大,腳走到後來還蠻痠的
中午吃姬路城附近的讚岐烏龍麵 めんめ
下午到倉敷的三井Outlet逛montbell跟Mammut還有電器店
晚餐吃かつ丼 城下町的デミカツ丼,有點像咖哩又有點不太一樣

11/27
JR岡山-JR廣島-JR宮島口-宮島
今天早上中午大部分時間在下雨
往嚴島神社的路上吃了烤牡蠣,好大好新鮮
鞋子濕了很冷就在紀念品店外坐著休息一會
紀念品的店員阿姨跟我們說旁邊有水族館,開啟了後面的旅程
到了水族館發現門票很貴,就待在水族館門口吹暖氣查資料
這才發現紅葉谷公園有纜車可以搭
兩點回到鳥居已經快要完全退潮,拍完照就往紅葉谷公園前進
因為有點餓,買了路邊的烤章魚腳跟烤牛舌,後來發現還好有吃這些東西墊個肚子
搭了纜車上到獅子岩站才知道上到彌山山頂還要半小時
腳穿著濕透的鞋子很凍的慢慢地往山上前進,爬上彌山山頂時鞋子都快乾了
但彌山山頂的風景真的很壯觀,雖然又累又冷但是很值得
話說回來上彌山的路並不算難走,有到宮島玩沒有上彌山還蠻可惜的
下山後天色已黑,拍了幾張夜景照片
本來還想要買烤牡蠣的,結果大部分店家都已經休息,只好直接回廣島車站
廣島車站有很多家廣島燒的店,因為みっちゃん太多人排隊就吃比較少人的高砂

11/28
JR岡山-JR倉敷-倉敷美觀地區-岡山AEON
昨天的彌山登山之旅把 HP 耗光了
簡單的逛了倉敷美觀就回飯店休息了半小時
之後就在岡山站地下街跟旁邊的 AEON 進行採買
中午吃倉敷站的たん屋びぜん
晚餐吃 AEON 樓上的松屋燒肉套餐
買了岡山車站超市裡的麝香葡萄,很貴但是很好吃!

11/29
岡山路面電車-岡山後樂園-岡山城-岡山機場-台北
昨天提早回飯店休息今天體力恢復了一點
後樂園很大很漂亮,適合悠哉的在裡面散步
原來岡山城是重建過的鋼筋水泥建築
中午吃後樂園外的碧水園,收收行李就搭機場巴士到岡山機場啦
岡山機場出關後只有一家小小的免稅店,吃飯買最後的伴手禮都要在出關前完成比較好
晚餐吃機場的山小屋拉麵
飛機表定是18:50到桃園機場,但18:00飛機就降落在機場
18:50我們已經在預訂的機場接送車上回家了

January 12, 2016

Change the installation directory of npm -g

To prevent to pollute the environment, create a local_dir then

npm config set prefix local_dir
or just edit the .npmrc
prefix=local_dir
and set $PATH to include local_dir/bin
export PATH=local_dir/bin:$PATH

November 20, 2015

Unity key related command

Get Sha1 (Reference)

keytool -list -v -keystore [KEY]
Get Key Hash  (Reference)
keytool -exportcert -alias lazylinkr -keystore [KEY] | openssl sha1 -binary | openssl base64

November 10, 2015

local vimrc

localrc repository

https://github.com/vim-scripts/localrc.vim
https://github.com/thinca/vim-localrc

.vimrc (with Vundle)

Bundle 'https://github.com/thinca/vim-localrc'
call localrc#load('.local.vimrc', getcwd())
.local.vimrc
setlocal tabstop=4
setlocal shiftwidth=4
setlocal softtabstop=4

October 19, 2015

List all of the libraries in jar

Source

find . -name "*.jar" | xargs -n 1 jar tf

July 31, 2015

IAP for Unity Windows Phone 8.1

I bought the Plugin from Reign-Studios. There are examples in the DemoScenes directory. The environment is Visual Studio 2015 Community for a Windows Phone 8.1 project.

Things to be noticed:

  • In Unity
    • Edit->Reign->Check for updates to check version
    • Edit->Reign->Download UnityPackage Updates to get the latest version
    The step 6 for document 2 is not available for VS2015 Community. The following steps are working for me

    For AdDuplex
    • Right click on the Reference in Solution Explorer and choose Manage NuGet Packages
    • Search "AdDuplex"
    • Install AdDuplexWin81 and AdDuplexWinPhone81
    For Microsoft Advertising SDK(credits to stackoverflow)
    • Download and Install from here 
    • Right click on Reference in Solution Explorer and choose Add Reference
    • Select Windows Phone 8.1 -> Extensions and Select Microsoft Advertising SDK for Windows Phone 8.1 (XAML)

    June 25, 2015

    Gradle command line


    From here

    gradlew help
    gradlew tasks
     

    Convert newline format on Mac

    perl -pe 's/\r\n|\n|\r/\r\n/g' inputfile > outputfile  # Convert to DOS
    perl -pe 's/\r\n|\n|\r/\n/g'   inputfile > outputfile  # Convert to UNIX
    From this post

    June 10, 2015

    Unity building problem for Windows Phone

    在使用 Unity 輸出 Windows Phone 專案的時候遇到幾個類似於下面的錯誤
    Currently there will be errors like the following when building Windows Phone project in Unity.

    method `System.Int32 System.String::Compare(System.String,System.String,System.Boolean)` doesn't exist in target framework.
    因為 Windows Phone 提供的 API 並不完整,遇到這種錯誤的時候解法有幾個
    The reason is that some of the .NET API are not provided by Windows Phone. The solutions for the error are:
    1. 改寫程式,拿掉那些沒有提供的 API,改用其他有提供的 API 達到一樣的功能
      Rewrite the code to remove those un-supported API and use other supported API instead.
    2. 一樣改寫程式,實作那些沒有提供的 API ,編譯出 DLL 檔放進 Unity Project
      Implement those un-supported API, compile as DLL and put it in the Unity Project. Use the DLL functions instead.
    目前遇到兩個有問題的是 String.Compare(String, String, Boolean) 跟 List.ConvertAll,都使用方法一解決。Windows Phone API 提供了String.Compare(String, String, StringComparison)可以作為替代方案,List.ConvertAll 我就直接用 List.ForEach 一個一個處理了。

    I chose Solution one for the un-supported API String.Compare(String, String, Boolean) and List.ConvertAll. Windows Phone API provided String.Compare(String, String, StringComparison) which can be used to replace String.Compare(String, String, Boolean), as for List.ConvertAll I just converted each item of the list with List.ForEach.

    當然直接把有用到的部份拿掉也是一種 workaround。
    Of course you can just remove the un-supported code, if it's not necessary, as a workaround.