Monday, July 27, 2009

how to rename a table in oracle (sqlplus)

alter table
rename to

Friday, July 24, 2009

how to change cpan mirror list

$ cpan
cpan) o conf init

This will bring you to reconfigure everything.

Tuesday, July 21, 2009

browsing website anonymously

Bah! Stop searching for an anonymous web browsing service, here is the best one:


Reliable, fast and etc

Now, you can browse porn sites safely!


how to set default schema in sqlplus - oracle

SQL> alter session set current_schema=some_schema_name;

Saturday, July 11, 2009

how to mount ntfs file system for read/write in linux

# ntfs-3g /dev/hda1 /mnt/hda1

Friday, July 10, 2009

how to mount macosx partition from linux

# mount -t hfsplus /dev/usb-sda2 /mnt/usb-sda2

But if you can't write into the mounted partition, you might have to disable journaling on this hfs partition by executing this command from your macosx on this drive:

# /usr/sbin/diskutil disableJournal /Volumes/mac-backup

Tuesday, July 7, 2009

Friday, July 3, 2009

how to combine several pdf files into one pdf file

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 01.pdf 02.pdf 03.pdf .......

gs is GhostScript.