There are three types of files need to untar.
One is normal tar file, second is gzip compressed, the last one is bzip2 compressed.
Here is the commend to untar these files as below.
Continue reading “How to untar a tar file or gzip-bz2 tar file in linux”
Everyone knows my blog is powered by MovableType. Actually I start to blog from MovableType 3.11.
There is a mt.js file in root of the blog. It is 20K after generating by MovableType 4.26.
Then to make it smaller. I use Yuicompressor which is provided by Yahoo Developer Network.
Then it is only 13K. And also I use gzip compress facility on Apache server. It is 4.1k when transferring to Web Browser.
Actually before minifiy its gzip size is 5.8K.
So it is clear to make a list.
20.2K, gzip version 5.8K
13.1K, gzip version 4.1K
Continue reading “Optimize JS in MovableType”