2018年5月21日 星期一

Image Generator

Do you remember the wildcard character in flashget? I generator the image by using wildcard character as (*...*).




Link:
ex: http://www-cvr.ai.uiuc.edu/ponce_grp/data/texture_database/samples/T01_(**).jpg
index from to


----------------------
reference https://stackoverflow.com/questions/4622086/widthauto-for-input-fields

2018年5月11日 星期五

20180512換中華電信

網路用量{此欄用不到}
原方案
剩餘月份
剩餘應繳:
新方案
合約到期前差額:
違約金
省/虧:
續約未來30個月差額:
(退傭/買手機補貼)



******* Tree ********
原方案:
                        >*:剩餘應繳
剩餘月份:                                        >-:合約到期前差額
                        >*:                           
新方案:                                                                                         >-:省/虧
                                                                         違約金


---------------------------------
原方案B:
                           >*:
30                                                ↘
                                                         >-:
(退傭/買手機補貼)J:                             ↘                                                                   
                                                                                        \
                                                                                        >-:...(甲)
                                                                                       /
新方案E:                         ↗
                >*:
30

=>   (甲) - 違約金G:
                         = 續約未來30個月差額I:

*********************
reference:
https://docs.google.com/spreadsheets/d/1amwMsZko1oT6gaU-feh9ZIcI59LRc8f2QqEeuvzaEHA/edit#gid=0
https://www.ptt.cc/bbs/Lifeismoney/M.1526038785.A.8A7.html

2018年4月25日 星期三

Tutorial from internet

KMP algo

Visualizing KMP & BM algorithms:
http://whocouldthat.be/visualizing-string-matching/

KMP字符串匹配算法1
https://www.youtube.com/watch?v=dgPabAsTFa8

KMP算法
https://www.youtube.com/watch?v=ViqecFWleug

2018年4月24日 星期二

Estimate Home Money

成交 price
可貸
服務費 %
代書費 大約 1.2萬
相關稅費(契稅、印花等費用)約 8萬   ;(依政府認定為主)

產權移轉之相關稅費(水、電、瓦斯費、管理費等) 由代書分算 0.8萬
自備款加起約

2017年11月10日 星期五

Ekivan A Liquid Plaster


不建議使用於 :

面積較大的傷口、
整片的擦傷潰瘍、
化膿、
燙傷傷口、
眼睛四周等皮膚敏感部分及黏膜、
蠶豆症患者。

用法・用量
(1)在管帽尖銳的地方,請在管口內鑽孔。
(2)清潔傷口,擦乾水分和血液,適量塗於傷口上並晾乾。

【劑量/劑量相關注意事項】
(1)請遵守規定的劑量和劑量。
(2)請勿將本產品僅供外用。
(3)多次水洗或洗澡時,請將乾燥後再次烘乾。
(4)請注意不要進入你的眼睛。如果您的眼睛進入眼睛,請立即用清水或溫水立即清洗,並請您接受眼科醫生的眼科診斷。
(5)除了傷口之外請不要廣泛地傳播。 (可能會減少皮膚呼吸。)
*由於這種藥不是一種藥膏,請避免使用它傳播。
(6)為了用化學溶液刺激傷口,請在兒童/小孩使用時諮詢我們。另外,在使用的情況下,請在家長的監督下使用。
(7)因為含有有機溶劑,請注意支氣管炎(哮喘等)。
(8)為減輕對化學物質的刺激,應在傷口區域塗抹少量消毒軟膏,並從上方使用本產品。
(9)如果試圖強行剝離硬化的薄膜,可能會損傷皮膚,所以請小心。

reference:
chinese: 液体絆創膏
http://drugs.pixnet.net/blog/post/45238730-【日本藥妝】エキバンa液体絆創膏(液體ok繃)
https://health.udn.com/health/story/6012/345577

japan: エキバンA
https://www.kenko.com/product/item/itm_8820127072.html
https://item.rakuten.co.jp/anshin-relief/medi_doc07021900416/
https://wowma.jp/item/247461819
https://store.shopping.yahoo.co.jp/matsumotokiyoshi/4987393971031.html

english: Ekivan A Liquid Plaster
https://www.qoo10.sg/item/EKIVAN-A-LIQUID-PLASTER-10G-FROM-JAPAN-LIQUID-ADHESIVE-PLASTER/411389112?__ar=Y

2017年8月11日 星期五

[Android] fixed can't login issue in Google Drive Android API Demos project

https://github.com/googledrive/android-demos

1. Referenct *1 and try to use the Terminal in Android Studio and type

Woindows version:
"keytool -exportcert -alias androiddebugkey -keystore C:\Users\XXXXX.android\debug.keystore -list -v" 

macOS version: 
"keytool -exportcert -alias androiddebugkey -keystore /Users/XXXXX/.android/debug.keystore -list -v"

Not the keystore that you generate, once you want the debug mode.

The path for the "debug.keystore" and the password is "android"
2. Setting SHA1 in https://console.developers.google.com and create OAuth ID and API Key.
And past the key number to your Android Project.

ex:



OAuth ID


 API Key



https://developers.google.com/drive/android/get-started#get_an_android_certificate_and_register_your_application

If you can login sucess from the above step, then you could do the familiar step to use GoogleMap API.
https://developers.google.com/maps/documentation/android-api/signup

reference:
*1 https://github.com/googledrive/android-demos/issues/43
*2 https://github.com/googledrive/android-quickstart/issues/7