Popular Posts
javax.net.ssl.SSLHandshakeException: Connection closed by peer in Android 5.0 Lollipop Recently, there is a error occurs when access website via ssl connection like below although it worked fine several days ago. // Enable SSL... Enable SSL connection for Jsoup import org.jsoup.Connection; import org.jsoup.Jsoup; import javax.net.ssl.*; import java.io.IOException; import java.security.KeyManagement... Build an OpenVPN server on android device Preparation An android device, in this case, Sony xperia Z is used Root permission required Linux Deploy for deploy i...
Stats
Quickly parse domain name from url
  1. (function (href) {
  2.     var $a = document.createElement('a');
  3.     $a.href = href;
  4.     return $a;
  5. })('http://nanashi07.blogspot.tw/2013/03/quickly-parse-domain-name-from-url.html').hostname