Wednesday, October 5, 2011

New Partition for /home

Yet another time, I make a small sized partition for /home. And so, I took some time to go through helps and create a new partition. 1. Made a new partition by resizing an existing drive using gparted. 2. copied everything from /home using rsync --> sudo rsync -axS --exclude='/*/.gvfs' /home/. /mnt/newhome/. 3. Added the new drive as /home in /etc/fstab and removed the listing for the old /home folder from fstab file and rebooted. Here is my source link : http://www.hackourlife.com/move-home-to-a-new-partition-ubuntu-10-04/

Saturday, July 16, 2011

I can't find file `ptmr7t'

Trying to get a tex file to make a pdf for me in Ubuntu Natty did not work,

sudo apt-get install texlive-fonts-recommended
worked for me.

Source of help :
http://sysad.wordpress.com/2008/11/06/ubuntu-hardy-to-intrepid-upgrade-remnants/

Saturday, December 12, 2009

symbolic toolbox

Using Octave and dealing with variables and looking for a representation? I have suffered not able to get the right word for it. "Symoblic toolbox"

Also available for Octave!
apt-get octave octave-symbolic

Thursday, October 1, 2009

merge pdf files

gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf ...

ref:http://ubuntuforums.org/showthread.php?t=262411

Monday, August 31, 2009

managing shared libraries

Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

Sunday, August 16, 2009

How to rename a drive in ubuntu Jaunty

just follow the instructions for the USB Drive renaming by installing gparted.

https://help.ubuntu.com/community/RenameUSBDrive

Sunday, March 22, 2009

Latex in windows

begin matrix, bmatrix, matrix and others not working?
latex error : "environment bmatrix undefined"



try this :

\usepackage{amssymb,amsmath}

bonus tip# : the use of the curly bracket is essential for most functions, symobls, complex sub and superscripts in latex

bonus tip#2 \usepackage[small]{caption2} for smaller captions