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
Change form attributes with JQuery
  1. action = '/controller/action/id/';
  2. target = 'upload_iframe';
  3. enctype = 'multipart/form-data';
  4.  
  5. $('#form1').attr("action",action);
  6. $('#form1').attr("target",target);
  7. $('#form1').attr("enctype",enctype);
In other browsers it works fine, but not in IE(6,7,8).
Dump MySQL & restore
  1. $ mysqldump -u root -x --all-databases > dump.sql
  1. $ mysqldump -u root データベース名 > dump.sql
  1. $ mysql -u root -p < dump.sql
  1. $ mysql -u root データベース名 < dump.sql