Posted by Elias
Hoy me llegó ésto... Hoy me llegó ésto por tener 10 años con mi cuenta de hotmail... Cómo pasa el tiempo
Posted by Elias
Hey!!! this is a new deadly CSS class I'm trying to use:

.ninja {color: black; visibility: hidden;}

let's see... or not?



Posted by Elias
Jeje, ¿recuerdan el refrigerador del post anterior? Ah pues el domingo quise encender el ventilador de corriente alterna que trae adentro y en lugar de conectar los cables del ventilador conecté los cables de un switch cerrado.

Corriente alterna + cables conectados a un circuito cerrado = explosión en la mano que conectaba el cable

Jaja, lo bueno es que no pasó de un buen susto, una ligera quemadura en la mano y una graciosa historia, si no fuera porque no había nadie para ver el humo que salió.



Posted by Elias
an old beer fridge just about to be recycled
... and after so many months without any new project involving rusted/dirty/old/unusable-hardware, I'm finally ready to start a new one, this time I'll recycle an old beer fridge to make a stylish wardrobe (hahaha), just yesterday I bought this old, non-functional fridge to get into it. I'll clean it on the next days (maybe wet sandpaper it) and after that, paint it on a shiny bright color (just like a Lego brick, i guess) and apply some vinyl decals to the overall decoration. I'll post more pics as soon as I have completed the cleansing. Take care!
Posted by Elias

Hace algunos días terminé un portal en Drupal para un cliente, tuvimos contacto constante vía e-mail.

Hoy recibí un nuevo correo, y lo abrí esperando fuera algún requerimiento de cambios, o comentario acerca de alguna funcionalidad ya implementada, me decepcioné un poco al saber que era una cadena acerca del reciente altercado en Honduras.

Después de la decepción, me invadió un sentimiento: "¿Mi cliente es del tipo que utiliza los correos corporativos para enviar información no directamente relacionada con la relación de negocios existente entre nosotros?"

Ahora no sé si enviarle un correo pidiéndole que se abstenga de enviarme cadenas...

Posted by Elias

I prefer to see the line number when I open a file with Vi, to set this you have to create a file called .vimrc on your home folder, just open a terminal and type:

$ vi .vimrc

then hit the enter key and in the empty file write (after pressing "a" to start adding words:

set number
set filetype=php

then press ESC then write "wq" to write and quit the app and press enter.

Done, your Vi is now showing the line numbers and also formatting the files to make PHP easier to spot.

;)

And if you want to change the settings of the gVim app, just create a file called .gvimrc, once opened you can type:

colorscheme darkblue

to set the scheme you like the most.

Enjoy!

Posted by Elias

Ok then, after installing PHP, Apache, and all those services, I needed to install Symfony...

How? First of all I needed to install Subversion, by typing:

$ sudo apt-get install subversion

been there, install GIT also:

$ sudo apt-get install git-core gitk git-gui git-svn

Done, then you can get the latest Symfony, just change the directory to /usr/share/php5, then type:

/usr/share/php5$ sudo svn co http://svn.symfony-project.com/branches/1.3 symfony-1.3

Done! you have Symfony on your machine!

Posted by Elias

Ok, I'm a freaking newbie, so, how to install drupal on your machine when using LAMP?

You can use the previous post to install all the required services to get drupal running, but after that, you should follow this easy steps:

1) Download the files from the drupal.org site, I guess this link will work

2) Unzip the files on a folder, I renamed that folder as "Drupal6", you can use the "Extract here" option when you press the right button over the file, but also with the command: $tar -zxf drupal611.tar.gz

3) Then, copy the file to the location where you have Apache installed, usually just copyy the folder to /var/www/ by using the following command: $sudo cp -R Desktop/drupal6 /var/www /Desktop/drupal6

4) Done!! haha, that was really easy!!

Once you "installed" drupal you can go straight to the following lullabot tutorial to learn how to configure each of your drupal sites.

Posted by Elias

Elías: "Joaquín, para instalar drupal basta con que copie la carpeta descomprimida de drupal en mi carpeta www dentro de var?"
Joaquín: "(sin poner mucha atención) No como crees "
Elías: "mmm... bueno, vamos a investigar en internet..."
2 horas después...
Elías: "Joaquín, estaba viendo, en realidad basta con que copie la carpeta de Drupal y ya con eso puedo empezar a configurar cada uno de mis sitios, cierto?"
Joaquín: "Si, por?"
Elías: ¬_¬
fín...

Posted by Elias

I've just reinstalled the nuew Ubuntu 9.04 on my notebook (a fresh installation) and suddenly I realized I needed to install all the services to get Drupal running, just needed this:

$ sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server

Done!

BUT, if you're attempting to use Drupal and use the Clean URL module, you should enable the "Rewrite" Apache module, by using the following command:

$sudo a2enmod

then, just type: rewrite

then restart the Apache service by typing:
$ sudo /etc/init.d/apache2 restart

and now we're done!!