Category Archives: Uncategorized

let's make things clear

I publish this blog just for fun, and most of the information you will find comes from my google research and some of the books I have at home. I’m not intending to explain things, only make available the results of things i’ve done and tested for my own personal use.

If this method offends a certain “over qualified” audience, the only effort to assume is to avoid reading this blog.
I’ve not studied anything related to informatics, I’m a self taught Linux user. In my beginnings I had to face unix systems with little or no idea of what I was doing and my only intention with this blog it to make it easier (event a the cost of misleading imprecisions) for people that is discovering this particular and remarkably amazing world of OSes.

Have a nice day.

The LaTeX guide to the galaxy

This a short tutorial explaining how to write a report using LaTeX and preferably TeXMaker that will include images and tabulars.

I’m a little late, yesterday ir was my birthday 🙂

<code>

\documentclass[12pt,a4paper]{report}

\usepackage[utf8x]{inputenc}

\usepackage{ucs}

\usepackage{amsmath}

\usepackage{amsfonts}

\usepackage{amssymb}

\usepackage{makeidx}

\usepackage{url}

\usepackage{hyperref}

\usepackage[pdftex]{graphicx}

\author{Francisco-Fran\c{c}ois VARAS}

\title{How to write a (simple) \LaTeX{} document}

\begin{document}

\maketitle

This document summarizes the procedure of creating a basic \LaTeX{} document. It is manly intended to be read by people who is not happy with their WYSIAYG editors . Prior to this procedure, some conditions must be met, I recommend having \emph{TexMaker} installed on your system. The details for installing TexMaker or other software are not detailed in this document, if you have any question, Google it.

\pagebreak

\textbf{Generic Case}\\

Steps to create a basic document.

\begin{itemize}

\item Download \& install \textbf{Texmaker}:

\url{http://www.xm1math.net/texmaker/download.html}

\item Configure \textbf{Texmaker}:

\url{http://www.xm1math.net/texmaker/download.html}

\texttt{this is sample <code> text with\textunderscore{}underscore}

\end{itemize}

\pagebreak

\textbf{Images \& Tabulars}\\

How to create a tabular.\\

How to insert an image.

\begin{itemize}

\item This is just an image.\\

\includegraphics[scale=0.3]{LaTeX_logo.png}

\item This a very simple tabular.\\

\begin{tabular}{|c|c|c|c|}

\hline English & French & Spanish & – \\

\hline English & Fran\c cais & Espa\~{n}ol & \\

\hline cat & chat & gato & \\

\hline

\end{tabular}

\end{itemize}

\end{document}

the perfect drug game

the perfect drug game
world of goo.

then, buy it, you will not miss this insignificant amount of money from your wealthy bank account.

Linux gamers are welcome 🙂

building packages from the source with apt-get

want to build gkrellm from the source?
if you see something weird in the code below, IT’S A JOKE
If you don’t see anything weird, nevermind…life goes on

c:\>su [troll] not sudo, sudo is for newbies [/troll]
c:\>cd /usr/scr
c:\>apt-get build-dep gkrellm
c:\>apt-get source mplayer --build
you can safely go for an orange juice can now
c:\>dpkg -i gkrellm_2.3.2-5_i386.deb

And, of course this procedure will work for other packages.

Have a nice day!

forgot the name of your mysql database?

you will search for existent mysql databases:

sweet@home:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2745
Server version: 5.0.51a-24+lenny2 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| wp-database |
+--------------------+
3 rows in set (0.00 sec)

mysql> Bye

then:

sweet@home:~$ mysql -u root -p wp-database
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2747
Server version: 5.0.51a-24+lenny2 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+-----------------------+
| Tables_in_xxxxxx |
+-----------------------+
| wp_commentmeta |
| wp_comments |
| wp_links |
| wp_options |
| wp_postmeta |
| wp_posts |
| wp_term_relationships |
| wp_term_taxonomy |
| wp_terms |
| wp_usermeta |
| wp_users |
+-----------------------+
11 rows in set (0.00 sec)

mysql> Bye