APT Cache Synchronization Script

Sometimes I use Linux to do my works. I was Arch Linux user and recently migrated to Ubuntu. A friend of mine uses Ubuntu for years and has a large APT cache so I decided to use it instead of downloading 3-4 GBs of packages. Although APTonCD can backup APT cache in simple intuitive GUI, just in case I decided to write a shell script to synchronize our caches. I like it better because you can use your USB flash memory to sync your APT cache in this way:

#!/bin/bash

function pause(){
   read -p "$*"
}

echo Please Wait...

CPATH=`pwd`"/APT-CACHE/"

mkdir -p $CPATH

cd /var/cache/apt/; sudo tar cf - . | (cd $CPATH; tar xf -)

cd $CPATH; tar cf - . | (cd /var/cache/apt/; sudo tar xf -)

echo Done.

pause "Press Enter to Close..."

Hope it helps :)

Fixing Microsoft Office 2010 Right-Click Issue by Disabling Babylon COM Add-In

If you have Babylon 8 and using Microsoft Office 2010, you should realized that the Right-Click menu doesn’t work.
You can solve this problem by disabling Babylon Translator COM Add-in:

1. Go to File | Options | Add-Ins

2. Select COM Add-Ins on bottom of the page and click “GO”
3. Uncheck Babylon Translator Add-In

RIGHT CLICK NOW :D

Follow

Get every new post delivered to your Inbox.