台北 101 City View 拍攝攻略
希望我下次去台北前,記得睇返衣個 post 啦!
內文節錄:
"信義路及基隆路口的天橋由於交通方便, 是許多人拍攝台北 101 的地點。搭乘捷運前往的人可以由「國父紀念館站三號出口」出來, 走到光復南路後左轉沿著光復南路走到信義路後再左轉, 便可到達天橋。"
"這個點適合拍攝的時機為日落前後, 不僅可以拍攝台北 101 大樓也可以練習車流的拍攝。"
"需注意的是愈往天橋的中央移動, 天橋的晃動會愈大, 因此建議在天橋兩側拍攝。"
觀看全文
信義路及基隆路口 101 拍攝記要
A simple java utility to check if the server alive
/**
* To check if a server is alive
*
* @param host either host name or host IP address
* @param port
* @return true or false
*/
public static boolean isServerAlive(String host, int port) {
java.net.Socket soc = null;
try {
java.net.InetAddress addr = java.net.InetAddress.getByName(host);
soc = new java.net.Socket(addr, port);
return true;
} catch (java.io.IOException e) {
return false;
} finally {
if (soc != null) {
try {
soc.close();
} catch (java.io.IOException e) {
}
}
}
}
