IntroductionWhat if you would be able to perform a data compression four times faster, with the same compression ratio as you normally do. Pbzip2 command line utility can easily accomplish this as it gives you an option to select number CPU and amount of RAM to be used during the compression process.
Regular tar and bzip2 compressionWe all know the regular command to perform tar and bzip2 directory compression. The below command will
tar and compress our sandbox directory
FOOBAR. We are also prefixing the below command to get exact time for how long will it take to output compressed file
FOOBAR.tar.Bbz2 from 242MB FOOBAR directory:
# time tar cjf FOOBAR1.tar.bz2 FOOBAR/
From the above time output we can see that it took about 20 seconds to create following compressed file:
# ls -lh FOOBAR1.tar.bz2
-rw-r--r-- 1 root root 54M Mar 10 20:25 FOOBAR1.tar.bz2
Read more ...
IntroductionRainbow Stream allows you to manage just about every aspect of your Twitter account from the command line. Yes, you did read that right. It's a full featured command line Twitter client written in Python. Chances are, you're falling into one of two camps right about now. If you're in the slightly insane one that thinks this is a good idea, stay tuned. Rainbow Stream actually does provide an simple and intuitive Twitter experience from the Linux command line.
Prerequisite PackagesYou probably have everything that you need to get Rainbow Stream working on your system right now, but just to be sure, there are a few packages that you should install if you haven't already. Debian Distros
# apt-get install python-dev libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev virtualenv Redhat Distros
# dnf/yum install python libjpeg freetype freetype1 zlib python-virtualenv
Read more ...