In a terminal window:
sudo visudo
Edit the file and add
Defaults timestamp_timeout = 45
This means extending the timeout to 45 minutes
In a terminal window:
sudo visudo
Edit the file and add
Defaults timestamp_timeout = 45
This means extending the timeout to 45 minutes
There is a great functionality in Netbeans 6.8 that comes by defaut: You select a variable and then all variables in the same page are highlight:
You can enable this behavior in Eclipse Ganymede, just go to this config page
Window->Preferences->General->Text Editors
And then change the “When mouse into hover” option to “Enrich on click”
In your virtual host open an add/edit
php_admin_value display_errors on
php_admin_value error_reporting 6143 # for all errors notice, warnings, etc
php_admin_value error_reporting 6135 #show warnings less strict
Or edit your php.ini (example in ubuntu)
sudo vim /etc/php5/apache2/php.ini
#in order to install phpsize because the pecl will need this
sudo apt-get install php5-dev
sudo apt-get install php-pear # in order to install xdebug
sudo pecl install xdebug
sudo apt-get install php5-xdebug
Edit your php.ini configuration and edit this settings
display_errors on
html_errors=on
Print a phpinfo() and check if xdebug is correctly installed. You can use the php -v command
This is sooo useful when you have a new laptop/PC is a must for every true developer…
# Instalando el servidor Apache version 2
sudo apt-get install apache2
# PHP5
sudo apt-get install php5
# Servidor MySQL
sudo apt-get install mysql-server-5.1
# Módulo de apache para mysql
sudo apt-get install libapache2-mod-auth-mysql php5-mysql
sudo apt-get install phpmyadmin # opcional
sudo apt-get install mysql-query-browser # opcional ( MYSQL query browser)
sudo apt-get install vim # an useful editor
sudo apt-get install meld # a freaking easy merge tool
sudo apt-get install openjdk-6-jre # yeah sun-java6-jre is deprecated now in Lucid at least in the beta
sudo apt-get install mercurial # of course
Download Eclipse Ganymede not Galileo
http://www.eclipse.org/ganymede/
Note: There are some issues with Eclipse Galileo, when you trying to install *obligatory* plugins like PHPEclipse, Mercurial or SVN, simply it does not work.
Add this plugins:
PHPEclipse
http://update.phpeclipse.net/update/stable/1.2.x/
Mercurial
http://www.vectrace.com/eclipse-update/
SVN
http://subclipse.tigris.org/update_1.4.x
At least but no last do a :
hg clone https://chamilo.googlecode.com/hg/ chamilo
To get your last Installation of Chamilo 😉
And for turn an SVN/Mercurial project to a PHP project in order to have the inspect function feature edit your .project file and add this:
<buildSpec>
<buildCommand>
<name>net.sourceforge.phpeclipse.parserbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sourceforge.phpeclipse.phpnature</nature>
</natures>
Here the short way for install the deb packages:
sudo apt-get install apache2 php5 mysql-server-5.0 libapache2-mod-auth-mysql php5-mysql phpmyadmin mysql-query-browser vim meld openjdk-6-jre mercurial vim
If you have some issues with the openjdk6-jre installation you may try installing this version.
There was a way of turning a SVN proyect into a PHP proyect with the inspect functionality:
There is another way: click right in the proyect icon then chose this:
Configure-> Add PHP support
That’s it!
Existe una extensión no oficial para realizar gráficas horizontales con pchart aqui un link:
Posted in Uncategorized
No es posible instalarlo tan solo descargando la imagen de Ubuntu 9.10.
Descargamos la versión de 32 bits y luego la de 64 bits y nada. Simplemente una pantalla negra luego de hacer click en “Instalar Ubuntu”. Un maldito black screen.
Luego, intentamos a sugerencia de Guillaume instalar la version “alternate” una instalación de consola, a lo macho quoi. Tuvimos buenos resultados pero al final al reiniciar tuvimos la maldita pantalla negra.
Al parecer es un problema con la tarjeta de video. Carga muy bien el grub (muestra las particiones de win7) y hemos intentado editarlo ( teclando -e) colocando cosas como vga=711, vga=721, vga=ask y todo lo que encontramos en google pero nada…
Sugería a Christian de instalarse una Debian, un Fedora, o mejor aun probar con la 10.04. beta.
Felizmente, aún no me compro una laptop, prefiero por lo pronto la solidez de mi core i5.
Posted in Uncategorized

Soy vegetariano. Y he tenido que vivir con ello desde hace 9 años. No es que sea una carga para mi, si no que a veces es un poco complicado (especial) salir a comer conmigo. Como explicarlo… Lima NO es una ciudad para vegetarianos. Es complicado encontrar un bonito lugar con buena comida para poder sentirse satisfecho.
Felizmente, trabajo en Miraflores, distrito que se está transformando en un lugar cada vez más “turístico”, y donde puedo encontrar muchas opciones. Cada vez más restaurants no-vegetarianos incoporan “sin querer” algunas joyitas para los ovo-lacteo vegetarianos, en realidad lo hacen para los turistas. ¿Acaso no hay veteraianos limeños? Entonces, si alguien es vegetariano y viene a Miraflores – Lima puede encontrar algunas sorpresas.
Posted in Comida