Archivo de la categoría ‘Utilidades’

Plantilla para reporte de laboratorio en Latex. (Latex template for report.)

Lunes, 14 de noviembre de 2011

Leer
(más…)

Add the science repository on OpenSuse 11.4

Martes, 25 de octubre de 2011
Hola. Espero les sea de utilidad.

zypper ar -f 'http://download.opensuse.org/repositories/science/openSUSE_11.4' science

Fuente: http://install.lon-capa.org/suse11.4_install.html

Looping and Branching in BASH.

Martes, 4 de octubre de 2011

You can test the success if a command directly using the shell keyword while, until, and if or with the control operator && and ||. The exit code is stored un the special parameter $?.

If the command executed successfully (or true), the value of $? is zero. If the command failed for some reason, $? will contain a positive integer between 1 and 255. For me this is confused because in Boolean Algebra 1 is true and 0 is false :-S

A failed command usually return 1. Zero and nonzero exit codes are also known as true and false, respectively.

With and example is better ;)

$printf "%v\n"
bash: printf: `v': carácter de formato inválido
$echo $?
1
 

This example shows the mentioned before.
 

Matar procesos de un solo usuario.

Miércoles, 6 de abril de 2011

El día de hoy tuvimos un problema con el uso del software Wien2k, pues la interfaz web genera muchos procesos que al final de los cálculos no se detienen sino que siguen consumiendo recursos al grado que hoy tuvimos la oportunidad de ver un “sistema lento” debido a los procesos  “Fantasma” que existían.

Por lo cual se procedió a realizar la siguiente solución:

ps aux | grep Usuario | awk '{print "kill -9 ", $2}' | sh -v

 

How to Play WebM Video on YouTube

Viernes, 25 de marzo de 2011

If you want to try WebM, the open video format released by Google, you first need a browser that supports it. For now, WebM is not supported in a stable version of a browser, but you can install a Firefox nightly build or an Opera build. I download Opera 10.54, which is more stable than the nightly builds of Firefox.

After installing the browser, go to YouTube’s HTML5 experiment and click on “join HTML5 beta”. To find videos that are available in the WebM format, use YouTube’s search feature and append &webm=1 to the URL, like this: http://www.youtube.com/results?search_query=web&webm=1.

Click on a video and you’ll notice that YouTube no longer uses Flash or H.264. There’s even a messages that makes the video player more cluttered: “HTML5 * WEBM”.

Fuente: Aquí

 

Conoce información sobre tu Procesador usando GNU/Linux.

Martes, 22 de marzo de 2011

Escribe el comando

lscpu

 

 

Plug-in syntax para Latex.

Miércoles, 2 de marzo de 2011

Espero les sea de utilidad.

 

\documentclass[11pt,letterpaper]{article}

\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
 
%Margenes
\setlength{\oddsidemargin}{0cm}
\setlength{\evensidemargin}{0cm}
\setlength{\textwidth}{17 cm}
 
%opening
\title{}
\author{Tu nombre}
 
\begin{document}
 
\maketitle
 
\begin{abstract}
 
\end{abstract}
 
\section{}
 
%Para escribir en forma de tabla algunos datos
\begin{center}
\begin{tabular}{ccc}
\textbf{n} & \textbf{Eigenfunción} & \textbf{Eigenvalor}\\
0 & $\psi_0=A_0e^{-u^2/2}$ & $E_0=\frac{\hbar\omega}{2}$\\
1 & $\psi_1=A_1ue^{-u^2/2}$ & $E_1=\frac{3\hbar\omega}{2}$\\
2 & $\psi_2=A_2(1-2u^2)e^{-u^2/2}$ & $E_2=\frac{5\hbar\omega}{2}$\\
3 & $\psi_3=A_3(3u-2u^3)e^{-u^2/2}$ & $E_3=\frac{7\hbar\omega}{2}$\\
4 & $\psi_4=A_4(3-12u^2+4u^4)e^{-u^2/2}$ & $E_4=\frac{9\hbar\omega}{2}$\\
5 & $\psi_5=A_5(15u-20u^3+4u^5)e^{-u^2/2}$ & $E_5=\frac{11\hbar\omega}{2}$
\end{tabular}
\end{center}
 
%Para poder colocar imágenes a dos columnas.
\begin{figure}[H]
\begin{minipage}[c]{0.5\textwidth}
%\centering
%\includegraphics{./y0.eps}
\centering
\includegraphics[width=230pt]{./y0.eps}
\caption{$\psi_0$}
\label{Diagrama1.}
\end{minipage}
\ \ \hfill \begin{minipage}[c]{0.5\textwidth}
%\centering
%\includegraphics{./y1.eps}
\centering
\includegraphics[width=230pt]{./y1.eps}
\caption{$\psi_1$}
\label{Diagrama2.}
\end{minipage}
\end{figure}
 
\begin{figure}[H]
\begin{minipage}[c]{0.5\textwidth}
%\centering
%\includegraphics{./y0.eps}
\centering
\includegraphics[width=230pt]{./y2.eps}
\caption{$\psi_2$}
\label{Diagrama3.}
\end{minipage}
\ \ \hfill \begin{minipage}[c]{0.5\textwidth}
%\centering
%\includegraphics{./y1.eps}
\centering
\includegraphics[width=230pt]{./y3.eps}
\caption{$\psi_3$}
\label{Diagrama4.}
\end{minipage}
\end{figure}
 
\end{document}

Gracias por sus visitas.

configurar tu cuenta Gmail en tu nokia S60

Martes, 25 de enero de 2011

Symbian S60

Para configurar IMAP en tu dispositivo Symbian S60, simplemente sigue estos pasos: (más…)

Compilar tus archivos latex a html.

Lunes, 24 de enero de 2011

The last two days I have been fighting with latex2html. The .tex source file has UTF8 encoding, as has any new text file I create under Debian. One of the books it is written in Spanish, so there are a lot of accented characters:

á, é, í, ó, ú.

When I used pdflatex to generate a PDF document, all was ok, but when I tried to generate HTML with latex2html, the accented characters were generated as:

á, é, Ã, ó, ú

(más…)

Borra tu cuenta de facebook permanentemente

Miércoles, 22 de diciembre de 2010


Aquí