Search the file quickly without resource

Posted On February 25, 2008

Filed under Ubuntu
Tags: ,

Comments Dropped leave a response

$ sudo updatedb

$ locate filename 

Ubuntu; Workspace moving

Posted On February 24, 2008

Filed under Ubuntu
Tags: ,

Comments Dropped leave a response

Ctrl – Alt – Cursor key

emacs; rectangles

Posted On February 19, 2008

Filed under emacs
Tags: ,

Comments Dropped leave a response

Use with C-SPC.

C-x r k ; kill rectangles

C-x r y ; yank rectangles

C-x r t ; insert rectangles

eg.

a

a

a

a

a

C-x r t >

>a

>a

>a

>a

>a

LaTeX; Making Tables

Posted On February 19, 2008

Filed under LaTeX
Tags: ,

Comments Dropped leave a response

\begin{table} … \end{table} <- difficult

table.eps <- easy

  1. Openoffice Spreadsheet; Make a table
  2. Select the table -> Copy it
  3. GIMP -> Paste It
  4. output -> .eps

Paste the table to .tex as an eps file .

LaTeX; Insert pictures

Posted On February 19, 2008

Filed under LaTeX
Tags: ,

Comments Dropped leave a response

GIMP

output -> eps

.tex; preamble
\usepackage[dvips]{graphicx}

.tex

\begin{figure}[h]
\begin{center}
\includegraphics[width=**cm,keepaspectratio,clip]{filename.eps}
\end{center}
\caption{filename}
\end{figure}

Killall; process killing with process name (not ID)

Posted On February 17, 2008

Filed under Ubuntu
Tags: , ,

Comments Dropped leave a response

$ killall process

For example,

# killall gnome-terminal

kills gnome-terminal.