Thursday, October 6, 2011

Google maps - get coordinates

Right-click the map, choose "what's here". Coordinates appear in the main adress box

Wednesday, September 28, 2011

Matrices and other arrays in LaTeX

\[ \left( \begin{array}{ccc} a & b & c \\ d & e & f \\ g & h & i \end{array} \right)\]

Full article: http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/Matrices.html

Friday, February 25, 2011

Processor word bits count

$ uname -a

x86_64 GNU/Linux indicates that you've a 64bit Linux kernel running. If you use see i386/i486/i586/i686 it is a 32 bit kernel.

Source: http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/

i686 architecture

i386 was the first x86 32 bit processor. What this means is that it'll run on practically any x86 CPU made within the last 22 years, but seeing that the architecture was designed so long ago, it's reasonable to expect that any operating system compiled for it isn't going to be running at optimal speed on today's latest and greatest processors.

i686
on the other hand is a much more modern architecture. It includes practically every processor that's Pentium II or better. x86_64 is a 64 bit extension to the x86 architecture. x86_64 processors can still run 32 bit operating systems (e.g. i386) if you so choose, but they're also capable of running 64 bit operating systems.

PowerPC (PPC) is the processor type that Macs used to use, but within the last few years Macs have also transitioned over to x86. Nowadays, PowerPC's main use is seen in modern game consoles.


So, to answer your question... if you have a 64 bit processor, you should get either an x86_64 or
i686 optimized distro. If not, you should just get i686 (assuming of course that your computer isn't older than 10 years)

Source: http://www.daniweb.com/forums/thread139589.html

linux extract tar bz2

$ tar -jxvf my_archive.tar.bz2

Source: http://www.linuxforums.org/forum/newbie/20336-extract-tar-bz2-command.html

Saturday, January 1, 2011

Vertical text in the table in Latex

\usepackage{multirow} \usepackage{rotating}
...
\multirow{4}{15mm}{\begin{sideways}\parbox{15mm}{text}\end{sideways}}

OR

\multirow{14}{*}{\rotatebox{90}{\mbox{text}}}
...

source: http://tadek.pietraszek.org/blog/2004/12/01/vertical-text-in-the-table-in-latex/