When dealing with USB backups, I would traditionally just mount and rsync to the device, with a simple script like this :

mount /dev/sdc1 /mnt

rsync /home /mnt

umount /dev

This approach fails though when the device is unplugged while …


Under Linux, type command in postgres database:

set lc_monetary to 'ar_BH.utf8';

ar_BH represents Arabic (Bahrain) locale, the above command change the locale monetary setting on-the-fly in postgresql database, then let do a test:

select 34.888::text::money;

You will get 34.888 …


The dd command copies an amount of data block by block. The most basic syntax is:

# dd if=xxxxx of=yyyyy bs=zzzzzz
( Where if=xxxxx is the source, of=yyyyy is the target and bs= both read and…

I got the above error message when I tried to boot into ubuntu(wubi version, installed inside windows).

Replace the file wubildr on c: should fix this issue.

click the link below to download wubildr:

1. Logout of your current session and return to the GDM
2. Switch to the tty command line prompt using Ctrl-Alt-F1
3. Login using your normal login/password
4. at the command line prompt type: export DISPLAY=:0.0
5. then type: sudo…


$ rdesktop -n 184d
Autoselected keyboard map en-us
disconnect: Internal licensing error.

User 184d can connect ONLY ONE TIME, and after disconnect it fail again.


The workarround that I find, until a patch for this bug is…

There are two good methods to see what ports are open in Linux you can use
nmap which is a port scanner and you can use netstat.

nmap can be used to scan your machine to see whats ports are…

After I installed bonddb and tried to start bondfrontend for mrbounce project, I got the following error:

bondfrontend: error while loading shared libraries: libbonddb2.so: cannot open shared object file: No such file or directory

The solution is:
export LD_LIBRARY_PATH=/usr/local/lib

1. chmod a+x /usr/share/doc/git-core/contrib/hooks/post-receive-email
2. cd ~/your-project-repository/.git/hooks/
3. ln -s /usr/share/doc/git-core/contrib/hooks/post-receive-email post-receive
4. cd ~/your-project-repository/.git/
5. open config file
6. add the following code
   [hooks]        mailinglist = your@email.address,second@email.address
        showrev = “git show -C %s; echo”
        emailprefix =…