Enable gzip compression – faster network transfers & page speed

Enable gzip compression What is Gzip compression? Gzip is a method of compressing files (making them smaller) for faster network transfers. It is also a file format. Compression allows your web server to provide smaller file sizes which load faster for your website users. webserver making file smaller Enabling gzip compression is a standard practice. […]

Read More »

Install full ffmpeg in debian wheezy (with aac(m4a) and x264 support)

# Add multimedia source echo „deb http://www.deb-multimedia.org wheezy main non-free” >> /etc/apt/sources.list echo „deb-src http://www.deb-multimedia.org wheezy main non-free” >> /etc/apt/sources.list apt-get update apt-get install deb-multimedia-keyring # if this aborts, try again apt-get update # Go to local source directory cd /usr/local/src # Become root su – # Install all dependencies we’ll need aptitude install \ […]

Read More »

How to chmod all directories or files (recursively)?

To recursively give directories read&execute privileges: find /path/to/base/dir -type d -exec chmod 755 {} + To recursively give files read privileges: find /path/to/base/dir -type f -exec chmod 644 {} + Or, if there are many objects to process: chmod 755 $(find /path/to/base/dir -type d) chmod 644 $(find /path/to/base/dir -type f) Or, to reduce chmod spawning: […]

Read More »

The tar Command

The tar (i.e., tape archive) command is used to convert a group of files into an archive. An archive is a single file that contains any number of individual files plus information to allow them to be restored to their original form by one or more extraction programs. Archives are convenient for storing files as […]

Read More »