jueves, septiembre 17, 2009

Latex compiling ERROR

Context:
Linux, LaTeX, compiling

Error:
! I can't find file `ptmr7t'.

Solution:
sudo apt-get install texlive-fonts-recommended

miércoles, junio 17, 2009

Ubuntu: haz que funcione JDownloader - make your JDownloader work

You have to follow these steps:
1. Be sure these packages are installed in your system:
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk sun-java6-plugin

2. Change your default Java via:
sudo update-java-alternatives -s java-6-sun

3. Download JDownloader if you need it:
wget -c http://212.117.163.148/jd.sh

4. And run it:
chmod +x jd.sh
./jd.sh

jueves, noviembre 13, 2008

Ubuntu: Instalar Ruby + Qt4 - How to install Ruby + Qt4

To install the Ruby bindings for the Qt4 GUI library you only have to use this command in a new console:
sudo apt-get install libqt4-ruby
It will install these packages:
- libqscintilla2-3
- libqt4-ruby1.8
- libsmokeqt4-2

lunes, octubre 27, 2008

Ubuntu: Reconfigurar la configuración de vídeo - Reconfigure video configuration

To reconfigure your video options use this command
sudo dpkg-reconfigure xserver-xorg
and follow the wizard. It will take several steps configuring mouse, keyboard and video card, but it is so easy if you use the default values.

lunes, octubre 20, 2008

Freeware: Aimp portable for Ubuntu

Did you imagine your Aimp media player in Ubuntu? Stop dreaming and download this link.

Follow these steps:
1. Download the link
2. Extract it in a new folder
3. Make a launcher to the executable
4. Enjoy it!!!

PS: oops!! I remember you need Wine...

miércoles, septiembre 03, 2008

Windows XP Embedded: Problema de memoria durante el FBA (First Boot Agent) - Memory error during FBA

Puede ser que durante la primera carga de tu imagen Windows XPe (el FBA) hayas encontrado el siguiente problema:
"The instruction at "0x..." referenced memory at "0x...". The memory could not be written. Click on OK to terminate the program"
Pues es muy sencillo: algunos de los ficheros que espera encontrar el FBA no se encuentran, lo más probable porque no hayamos puesto bien la letra de la unidad.
Para solucionarlo, iremos al panel "Settings" principal de nuestro proyecto de imagen (el que se encuentra el primero de la lista, justo encima del primer componente seleccionado), seleccionamos "Target Device Settings" (show) y cambiamos la letra de la unidad en las diferentes rutas que tenemos debajo.
El log que nos deja el FBA (en los propios ficheros de la imagen, dentro de la ruta WINDOWS/fba/) seguramente nos ofrezca una sugerencia de la letra de unidad por la que tenemos que cambiar la actual.

jueves, julio 03, 2008

Windows XP Embedded: Problema de instalación en Service Pack 1 - Setup error whit Service Pack 1

Si instalando el Service Pack 1 de tu Windows XP Embedded te encuentras con el siguiente problema:

"A new platform object needs to be installed before this update can be installed. Please download the latest platform update from and install it before attempting to install this QFE.
Setup cannot continue"

Debes instalar la siguiente actualizaci
ón:
http://www.microsoft.com/downloads/...&displaylang=en

martes, abril 29, 2008

Linux-Ubuntu 8.04: Hacer funcionar el teclado numérico - Make numeric keyboard works

Si has tenido problemas con tu teclado numérico en la distribución 8.4 Hardy Heron de Ubuntu, actívalo de la siguiente manera:
1. menú Sistema > preferencias > teclado
2. en la pestaña "Teclas del ratón" desactivamos la opción "Permitir controlar el puntero usando el teclado".

miércoles, abril 23, 2008

C++: Sobrecarga de operadores - Operator overloading

Aquí incluyo algunos ejemplos simples de sobrecarga de operadores:
---

Point& Point::operator++()
{
_x++;
_y++;
return *this;
}

---

Node* operator[](const std::string &childName)
{
//return node
return children_[childName];
}

---

Complex Complex::operator+( Complex &other )
{
return Complex( re + other.re, im + other.im );
}

---

Point &Point::operator=( Point &pt )
{
_x = pt._x;
_y = pt._y;

return *this;
}

---

operator char *()
{
return this.toStdString().c_str();
}

---

Point &operator()( int dx, int dy )
{
_x += dx;
_y += dy;
return *this;
}

---

Podemos ver más aquí.