首頁我是相片相簿文字
snDateCommentHit
Display 161-171, Total 171 data, 2024-05-04
1PREV ... 56789
美國環狀國家公園之旅2014-05-06
Oring trip

計畫下一個9天8夜之旅:

Day1 Salt Lake City -> Arches Natl park (Camping)
宿: Devils Garden Campground No.32 $20

Day2: Natl Park -> Cortez, CO
宿: Motel


Day3: Mersa Verde -> Monument Valley -> Page -Horseshoe Bend
宿: Camping


Day4: Page -> Horseshoe bend -> Antelope Valley -> Page
宿: Motel

Day5: Paria Canyon -> Grand Canyon
宿: Camping


Day6: Grand Canyon -> Hover Dam-> Las Vegas
宿: Motel


Day7: Las Vegas -> Zion -> Bruce Canyon
宿: Camping

Day8: Bruce Canyon -> Salt Lake City
宿: Motel

Day9: Salt Lake City -> Madison

 
Ting-Li photography exhibition2014-05-05
20140502-192458.jpg

Ting-Li exhibition in 800 UBD gallery.

Best wishes!
Afternoon2014-04-27
20140427-142558.jpg
Afternoon at Starbucks, Madison
妹妹的貓2013-07-03
sis

妹妹的貓,

幫妹記錄一下, 沒記錯本周一是我妹兩條貓的開始之日。

這樣我也算有外甥貓了。哈哈哈!!

樓下是我的小虎二號機,

這三隻虎斑要相見最快的方式就是從金門把小虎二號偷渡回家了 (當然是開玩笑的! 哈哈)

玩命關頭六2013-05-29


爽片! 玩命關頭6

最近看了很多電影, 但唯一想寫的就這部 Fast & Furious 6 速度與激情

劇情其實邏輯是不怎麼通的, 例如兩個窩裡反的女人我就很看不明白...

但是 BUT!!!

爽度一流啊! 實在太可惜小麥城沒有 i-Max 版本, 動作場景相當華麗而且扯蛋!

由其是飛天熊抱那招, 媽呀...連我都想鼓掌了 (笑)

總之還是推一下。雖然看完後去批踢踢爬文猛然發現第三集竟是這集的延續!

二話不說, 全資源用上在家看完第三集, 結果第三集只是講一個中二飆車手的曲折故事。

實在是太傷我這位大叔的時間和心情了。

好吧言盡於此, 回到第六集上頭, 爽片還是值得一看的。
Street View | Trusted Photographer2015-08-22
Street View Trusted | Trusted Photographer

Do you want to apply the Google Street View technology to show your business to the world? Try below sample:

Jade Mountain Café
2611 E Johnson St, Madison, WI 53704

Ting-Li Lin and Max Chen (myself), who founded Snowforst.co, are helping Wisconsin local business to spread their visibility! Although they are both Google Trusted Photographers, their photography capabilities is way beyond than this.

I am currently marketing Google Street View services in most towns in Sauk county, like: Sauk City, Baraboo, Reedsburg and Wisconsin Dells area. If you see me stop by your business store, don't be surprised. I see your potential and would like to help promote your store. I believe Street View for business is a great marketing tool for local business for the below reasons:

» Read More
聖母峰2015-09-25

聖母峰

電影描述1996年5月11日, 聖母峰上改變登山史上的山難事件, 共有八位登山者卒於當天傍晚以後的暴風雪。

看完電影後, 我讀了一些背景資料, 才知道原來不只電影描述的兩支主要登山隊伍, 同時南坡路線攻頂還有一隊由高銘和領軍的"中華民國聖母峰遠征隊"以及一隊印度隊伍。

這部電影以Adventure Consultant這個登山隊伍為主體的角度進行故事的描寫, Jon Krakauer 是這個隊伍的隊員之一, 他以 Outdoor 戶外雜誌記者的身份參與這次隊伍, 準備描寫過度商業化的聖母峰登頂, 結果反而成為這次山難事件的經歷者之一。 他回到美國後, 以他的角度出版了 Into Thin Air 這本書; 其中文翻譯本為聖母峰之死, 而此書的內容之後成為幾次好萊屋電影中的劇本參考。這部電影同樣也以 Jon 此書為主進行翻拍。

整部電影看完, 我對於濃濃的紐西蘭腔英文感到不解, Doug 冒死登頂的勇氣也不解, Rob 捨命陪君子的不專業也不解... 總之實在太多問號了? 而導演運鏡配合IMax 3D的效果, 整體視覺上還不錯, 電影的過程中都一股寒意冒上來, 冷冷的~

高銘和之後也寫了一本書 "九死一生" 其中的描寫與 Jon 的角度多為不同, 同樣的事情由不同人說出的故事就是這樣吧。也許之後在書店有看到可以一讀。
PHP MySQL DB 資料庫網站開發2016-02-18

最近忙著和Google Maps API奮鬥, 想寫一個跟街景有關的資料庫網站。(好痛苦啊! DOM完全不熟的說!)
不過今天突然心血來潮, 想回顧自己到底寫過幾組完整的PHP+MySQL網站,也一併回顧自己寫程式的來時路。

» Read More
文字樣式作弊表2016-03-28
文字樣式作弊表 - 僅供 Max Chen website 文字部份使用. 使用方式 span class="xx"

標題

v1
underline,bolder,16pt

v2
border-bottom,15pt


內文

t1
藍底白字 : 使用在某種程度的高光顯示

t2
黃底紅字: 不太確定該怎麼使用

t3
黃底: 一般程度的高光顯示

t4
灰色刪除線: 使用在某種需留住但不重要或是有笑果的時候


coding 程式碼專用

$result = $db->query($sql);
if($result){
while ($row = $result->fetch_object()){ // Cycle through results
$stdClass[] = $row;
}
$result->close(); // Free result set
}
$val = json_decode(json_encode($stdClass), true); //Transform stdClass to Array
$val = array_map('array_values', $val); //remove Key of the Array (may not required)


自定情況: 就自定吧
IP GeoLocation Service2016-08-29


IP GeoLocation Service development 中文版

http://ip.ymc2.com/
Website statement:
1. The ip.ymc2.com is a customized website for IP query purpose.
--
V1.3 Released on 9/6, 2016
1. Include a reference DB from ip2location.com, DB11 LITE
2. Optimize MySQL commands to shorten query time
3. Minor texts fixed.

V1.2 Released on 9/4, 2016
1. Include 17monipdb.dat (Open-Source Database of CHINA IP) to better locate location in China
2. Enable to display city name in both Chinese and English (CHINA only)

V1.1 Released on 8/30, 2016
1. Support Country-CountryName. US-> United States
2. Apply Country - Language- GoogleMaps look-up to set default on Google Maps UI

V1.0 Released on 8/29, 2016

Function: Giving an IP address, return its GeoLocation including City, Country and Latitude & Longitude. (and maybe other information as well)

Support: IPV4 format only.

API usage: Provide JSON result, but only for internal usage now.

Database & Tables :
1. GeoIP2
Version: 20160802 open-source
Max Note: 804,007 geo-location data, and 2,180,870 ip-blocks data were imported.
This product includes GeoLite2 data created by MaxMind, available from http://www.Maxmind.com

2. IP2LOCATION LITE-DB11
Version: 20160901 open-source
Max Note: 4,016,410 data were imported.
This site or product includes IP2Location LITE data available from http://www.ip2location.com

3. 17monipdb:
Version: FREE 20160601
Max Note: This db is mainly to locate specific IP-address where $country=CN. Total 96,817 data were imported. (225 duplicate values on row startIpNum row; 2 duplicate values on row EndIpNum. Unable to setup primary key.)
The API includes 17monipdb.dat, 作者©高春辉, available from https://www.ipip.net/download.html


4. GoogleMaps Languages Support list: GMap-language.csv, source-> https://developers.google.com/maps/faq#languagesupport

5. a revised Country codes (ISO 3166) and official language table: country-language.csv, source-> http://download.geonames.org/export/dump/countryInfo.txt

6. a table to look-up locId with city name in Chinese and in English (China IP only) locId-cn_city.csv
Max Note: Please open it with Notepad before importing to your db. It includes Chinese characters.

--
Report Error: Please leave a comment below if there was an error result.
IP 全球地理位置資料庫開發日誌2016-09-06

IP 全球地理位置資料庫開發日誌

話說從頭, 這是中文式流水帳。
開發的綠起是為了把 streetview.cc 的入口寫的完美一些,
所以在網路上找了些免費的 IP 資料庫來使用,
想利用 IP 來定位 Google Maps 的起始位置。

開始先找到的是 MaxMind 的 GeoLite2 (GeoIP2免費版),
接著就花了點時間把將近三百萬筆資料寫進 MySql 裡,
接著隨機性的測試一下, 還可以哇!!
然後發現怎麼故鄉台灣的IP都只能定位到陳有蘭溪??

稍稍研究之後, 原來似乎還沒有人把台灣的IP區段給補完, (人才都跑那去了?)
也許警政或調查機關有, 不過我沒有找到就是了~~
最接近的就是 IPIP.net 的創辦人高先生在今年初時自己的微博說:
「 嗯,就在刚才,已经把手里的台湾的IP 库地级市和区县库数据都搞定了,貌似这个是全球独一份吧?台湾本地公司都没有。。」

哇, 牛人說牛話了, 於是我花了點時間在 IPIP.net 上撈了一份 17monipdb 做再開發。

只是 17monipdb 可能是免費的關係, 數據上有些許錯誤,
不過對於鑑別中國IP的地理應該還是可以的,
所以我就花了點時間把 17monipdb的結果(中國) 整合到 GeoLite2 之中。

然而, 這並沒有解決陳有蘭溪的問題。

我又把念頭放到再來轉個資料庫看看, 查了查。決定就是你了!!
IP2LOCATION 上吧!! (其實真沒有幾家有開源的)
抓回來一看, 天啊!! 4百多萬筆資料啊!!
不過有了匯入 GeoIP2 的經驗, 不怕不怕。
花了些時間等待匯入資料庫後, 交叉比對目前這兩大開源的資料庫如下:



從上表可知, IP2LOCATION 對於IP表切得較細, 不過對於地理地址定位來說, GeoIP2 的比較齊全,
另外IP2LOCATION是只有一張資料表, 在執行上的效率較差, GeoIP2是兩張表格, 效率較好。
理想的作法應該是採用 GeoIP2 的資料結構, 補上 IP2LOCATION 的有效資料。

雖然這樣能解決陳有蘭溪的問題, 不過我得回頭做別的事了。

目前的作法是把IP2LOCATION列為參考資料, 待有空或是有想法時再將兩個資料庫整合再一起囉。
未來的開發的意向大概就是把兩個資料庫截長補短, 然後整合進一個台灣的IP區段, 為家鄉盡一份心力;
然後再加上 Google Maps 的定位去自動資料庫的校正和補充。就算大功告成啦~

現就以此文將此開發暫告一段落; 我得來繼續寫 streetview.cc 大數據!!

--
1PREV ... 56789