3/31/2010

用命令提示字元長時間統計線路狀況 / Ping statistics with Command Line

最近收資料的線路非常的不穩,又沒辦法24小時一直看著它,然後就變出這個東西了。每10秒鐘Ping一次,每15分會寫出檔案一次,每小時會重新統計一次。

Ping every 10 seconds. Write to file every 15 minutes. Restart every hour.

@echo off

set SVIP=123.123.123.123
set T_OUT=6000

: restartping
if not EXIST %SVIP%.斷線 (goto starting)
find /c "Request timed" %SVIP%.斷線 >> %SVIP%.連線
REM 斷線=(connection fail) 連線=(connection success)
find /c "Reply from" %SVIP%.成功 >> %SVIP%.連線
echo. >> %SVIP%.連線
echo %date:~0,10% %time% >> %SVIP%.連線


: starting
set S_DATE=%date:~0,10%
set S_TIME=%time%

if EXIST %SVIP%.斷線 (del %SVIP%.斷線)

if EXIST %SVIP%.連線 (echo ================= >> %SVIP%.連線 >> %SVIP%.連線) ELSE (echo ================= > %SVIP%.連線)
echo. >> %SVIP%.連線
echo Ping: %SVIP% Timeout: %T_OUT%ms Cycle: 10seconds >> %SVIP%.連線
echo. >> %SVIP%.連線
echo %S_DATE% %S_TIME% >> %SVIP%.連線

echo Ping: %SVIP% Timeout: %T_OUT%ms Cycle: 10seconds
echo Please Standing By...

: loopping

ping %SVIP% -n 1 -w %T_OUT% >> %SVIP%.斷線
copy %SVIP%.斷線 %SVIP%.成功

cls
echo Ping: %SVIP% Timeout: %T_OUT%ms Cycle: 10seconds
echo.
echo %S_DATE% %S_TIME:~0,8%
find /c "Request timed" %SVIP%.斷線
find /c "Reply from" %SVIP%.成功
echo.
echo %date:~0,10% %time:~0,8%
echo.
echo Type Ctrl-C to stop.

: waitping
if %time:~7,3%==0.0 (goto goping) ELSE (goto waitping)

: goping
if %time:~3,4%==15:0 (goto writing)
if %time:~3,4%==30:0 (goto writing)
if %time:~3,4%==45:0 (goto writing)
if %S_TIME:~0,2%==%time:~0,2% (goto loopping) ELSE (goto restartping)

: writing
find /c "Request timed" %SVIP%.斷線 >> %SVIP%.連線
find /c "Reply from" %SVIP%.成功 >> %SVIP%.連線
echo. >> %SVIP%.連線
echo %date:~0,10% %time% >> %SVIP%.連線
goto :loopping

More......

11/10/2009

GE 你要去哪? / ops! Google Earth


本來要研究如何從桃園高鐵到桃園楊梅,結果 Google Earth 要我去搭跨海渡輪= =。
It's the answers that Google Earth tells me the route from THSR Taoyuan Station to Yangmei. Yaoyuan Station and Yangmei are both in Taiwan.






不過我從來不知道台灣和中國之間有渡輪可以直達。
However, I never know that I can do that.

More......

10/24/2009

合歡山東峰 / Hehuan E. Peak

合歡山位於花蓮縣和南投縣的交界上,屬於太魯閣國家公園的一部分,亦是大甲溪和濁水溪以及力務溪的分水嶺。
Mount Hehuan lies along the major drainage divide between Dajia River, Zhuoshui River and Liwu River in Taiwan. It also located at the boundaries of Nantou and Hualien counties and is a part of Taroko National Park.

↑ Taroko National Park.


合歡主峰、北峰、東峰和西峰以及石門山和合歡尖是合歡山的主要山峰,在中橫開闢前必須花費數天才能抵達這些區域。在中橫開闢後,抵達這些百岳只需數個小時。然而,在高海拔環境,任何錯誤都可能奪去寶貴的性命,因此仍不可大意。
High peaks in the mount include Mt. Hehuan, Hehuan N. Peak, Hehuan E. Peak, Hehuan E. Peak, Hehuan W. Peak, Mt. Shihmen, Mt. Hehuanjian. Before the Central Cross-Island Highway was built, it took several days to reach those peaks. Thank those who constructed the highway, it just take a couple of hours reaching those peaks. However, it will be fatal if you don't make all things ready.

↑ Central Cross-Island Highway.

合歡山東峰,標高3421公尺,在百岳中排名第35,九峨。
Hehuan E. Peak is 3,421 metres above sea level.








行程大約需要兩小時。
It takes about two hours.

More......

5/15/2009

論文演化史 / My Paper The Evolution and History of my Paper

Stage 1.
Earthquake swarms in the Taiwan orogen
Earthquake swarms in the Taiwan

Stage 2.
Earthquake bursts in the Taiwan
Characteristics of earthquake bursts in Taiwan

Stage 3.
Characteristics of Foreshocks to Moderate-sized (M > 5.5) Earthquakes in Eastern Taiwan

Finally...
Precursory swarms of moderate-sized earthquakes in eastern Taiwan

More......

4/26/2009

雨季和乾季的嘉明湖 / Jiaming Lake : Wet season vs Dry season

一年四季有春夏秋冬,每個時節的景色都不同,嘉明湖當然也不例外。去年有幸看到滿水位的嘉明,兩三個月後再上去時,水少了很多,不過卻拍到之前的遺憾,水鹿一枚。

There are four seasons: spring, summer, autumn, winter. Each season has its own distinct flavour and feeling, so dose Jiaming Lake. Last year, I had enough lucky to see Jiaming Lake full of water. Several months later, I take some picture when there is no rainfall for a long time.


Formosan Sambar Deer
↑嘉明湖吸引人的原因之一。Formosan Sambar Deer, one of the famous spots on Jiaming Lake.



↑低水位的嘉明湖,攝於 1 月。 Dry on Jan. .


↑湖面結冰摟!The lake was frozen several days ago.


↑湖邊一堆碎屑堆積物。Lots of debris. However, there is no source nearby.

Lake Jiaming (Full)
↑高水位的嘉明湖,攝於 10 月。Wet on Oct. . The color is beautiful.


↑和低水位相比,完全看不到石頭。Comparing with dry season, the rocks are below the water on wet season.


看起來,有時要剛下過雨就上山才能看到美景,雖然風險多少多了些。
What kind of seasons you like? Every time you look, you will always find differences.

More......

2/23/2009

燦爛的陽光、金黃的沙灘、蔚藍的海洋:小琉球 / Sky, Beach, Ocean:Lamay Island

小琉球,一個由珊瑚礁構成的小島嶼。離台灣第二大城市高雄不過二十餘公里,卻沒有鋼筋水泥構成的高樓,也沒有繁忙吵雜的街道,只有一片藍天,清澈的海水,金黃的沙灘。

Lamay Island is a coral island and only at the distance of 20km to Kaohsiung City which is the second largest city in Taiwan. However, unlike a urban area, there is no busy street, no high building. Clear sky, golden beach and blue ocean is what you will see when you land Lamay Island.


↑A crab enjoy beauty.


島上交通主要由環島和穿越島中心的公路為主,對外交通則主要依賴往返東港之間的交通船

There are two major road in the island. One runs around the island, another road across island in direction of north. The only way of getting in and out of the island is by sea(in Chinese).



↑Golden beach, hard to find in Taiwan. 電影才看得到的金色沙灘。


↑Clear water. 水超乾淨。


↑Beauty. 比墾丁和西子灣漂亮多了!


除了金黃沙灘,主要由石灰岩構成的小琉球也有許多令人讚嘆的景色。
Besides having the golden beach, Lamay Island also own huge of beautiful landscapes due to limestone.


↑More beauty than a lot of famous places in Taiwan. 比墾丁和西子灣漂亮多了!


↑Where am I? 看到我了嗎?


↑Her nickname is Queen's Head. 女王頭。


漂亮嗎?那就去走走吧!
Don't hesitate! Just GO!

More......

2/22/2009

Philips SPD2517BD/T 相容性

Asus M2N-E + Philips SPD2517BD + WinXP x64 with SATA = Error

(Chip = nForce 570)
(Driver = 15.23 )
(Software = CDBurnerXP 4.2.3.1110)

DVD+/- Burn Failed.
CD-R Burn OK.

However it works normal by using a USB to IDE/SATA adapter.

More......

2/06/2009

點燃生命之火 / Donate ChildFund


One Card, One Hundred New Taiwan dollar.


More......

12/03/2008

天使的眼淚:嘉明湖 / Jiaming Lake : Tears of Angel

嘉明湖,一座位於海拔 3310m 的高山湖泊,每年吸引上千的登山客一探其真面目。

Jiaming Lake, a high-altitude lake on Central Range in Taiwan. The lake is 3310 meter above sea level and evidences suggest that it is a glacial lake, although most of people think it is a crater.

blue sky, green mountain, peaceful lake
↑嘉明湖。 Jiaming Lake.


Sambar
↑夜幕低垂,水鹿悄悄的來到。 Sambar, after nightfall.

每當晴空萬里時,耀眼的陽光和寬廣的藍天倒映在令人心醉的湖水中,點綴上幾朵白雲,令人心胸開廣;而當雲霧飄渺時,一陣陣的風更替她披上神祕的面紗。夜深,繁星取代藍天之刻,陳群結隊的水鹿來到湖邊覓食,在黑暗中和牠們一同享受美好時光。

這就是嘉明湖的誘人之處,不過,如同所有高山,這看似不長的十二公里的路途,卻是危機四伏,讓許多人一去不返!

雖然大部分的人認為嘉明湖是隕石坑遺跡,然而目前的證據指出嘉明湖應該是冰河遺跡。

On good weather, the lake is like a mirror. Blue sky and moving clouds reflected in it. After nightfall, groups of sambar(deer) start to seeking food and water near the lake. Those reasons make people willing to hike more than 12km and sleep in a tent. Although, the temperature might drop to less than 0°C at night and many people lost their life or simple disappear on this trail.



↑前往嘉明湖最方便的路徑是經由南橫的向陽登山口。在警察局繳交入山證就可以進入了。
↑Siangyang, the most convenience way to go to Jiaming Lake.
↑0.0K / H2300m



↑在這個招牌出現之前,都不叫登山,只能算是健行。要是每座山的山路都如此寬廣平穩,百岳就是易事了。
↑2.7K / H2550m


Siangyang Cabin
↑向陽山屋,五星級山屋。有水,有燈,還有遠離地面的木板床。
↑Siangyang Cabin.
↑4.2K / H2850m



↑看到這棵樹,就代表你快要脫離痛苦的連續陡上,朝避難小屋前進了。
↑5.9K / H3300m


↑ 嘉明湖避難小屋。
↑ Jiaming Cabin.
↑ 8.4K / H3340m


↑ 三叉路。
↑ Fork.
↑ 12.0K / H3390m



↑ 停機坪,照片右側。
↑ Near helipad.
↑ 12.6K / H3400m


↑嘉明湖。
↑Jiaming Lake.
↑13.0K H3310m


再訪嘉明湖 / Return to Jiaming Lake

More......

11/25/2008

新化草原 / Grasslands in Hsin-Hua

偶然在網路上看到這個地方,離台南市又不遠,於是就跑去找了。新化草原在虎頭埤附近,小徑一堆,花了一些時間才找到。
I found this place over Internet. It's not far away Tainan City and near Hu-Tou Pei Scenic Are. However, only a few people know how to go there.




新化草原大部分都位於軍事管制區,是實彈演習場地,所以管制區深鎖的時候,愛惜自己生命,麻煩大家就不要再闖了。而也許是因為演習,部分管制區內的草原被燒成焦黑,但是位於管制區內,就沒有拍了。
Most of Hsin-Hua Grasslands are in a military restricted zone. Live ammunition may be used during maneuvers in the area. Beware of the announcement!




在此呼籲大家有點公德心,使用原有道路,不要如照片中的人。還有一些騎腳踏車的車友,不要亂闖大門深鎖的管制區。



路徑資訊 Recommend route

More......