Popular Posts
Convert relative url to absolute Uri baseUri = new Uri("http://www.domain.com/path/sample"); Uri absoluteUri = new Uri(baseUri, "../../other/path"); Uri... Convert pfx file to certificate file and private key file Use openssl Shared memory (file base) in Java import java.io.File; import java.io.RandomAccessFile; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.ni...
Stats
Dump MySQL & restore
$ mysqldump -u root -x --all-databases > dump.sql
$ mysqldump -u root データベース名 > dump.sql
$ mysql -u root -p < dump.sql 
$ mysql -u root データベース名 < dump.sql