WordPress installation
Dec 27, 07 by Juan Lebrijo about blog, design, Windows
Wordpress is a Content Management System (CMS) spcialized in blog area, logs, blocks, journals (posts) personal. We will install Wordpress over Debian Etch, with Apache2+PHP5+MySQL. I leave my usual table refference with the links used, and important things in the aplicaion: Origin http://wordpress.org/ Repository Wpress: http://wordpress.org/download/ Modules: http://wordpress.org/extend/plugins/ Presentations: http://themes.wordpress.net/ Translatings: http://codex.wordpress.org/WordPress_in_Your_Language Package wordpress-2.3.1.tar.gz Documentation (Spanish) http://codex.wordpress.org/es:Main_Page Documentation (English) http://codex.wordpress.org/Main_Page Installation:
  • Unzip and move to server root the WP directory:
tar -zxvf wordpress-2.3.1.tar.gz
mv wordpress /var/www/blog
  • Allow writting the web server daemon user in the web root:
chown -R www-data:www-data /var/www/blog
  • Making the MySQL schema to store the aplication data:
elite:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 140
Server version: 5.0.32-Debian_7etch1-log Debian etch distributionType 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> create database wordpress;
Query OK, 1 row affected (0.01 sec)

mysql> grant all on wordpress.* to 'wp_admin'@'localhost' identified by 'secure-password';
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
Going to web installation: http://www.tudominio.com/blog/setup-config.php
  • Write the Data Base access data: user, passwordusuario anterior, contraseña, dirección BBDD (localhost)....
  • Write the blog's title, and owner e-mail.
  • Generating user/pswd for the administration part (admin/secure_password): http://www.tudominio.com/blog/wp-login.php
Language change:
  • Unzip the file, which we get in my table URL:
elite:~# mkdir  /var/www/blog/wp-content/languages
elite:~# unzip wordpress-es_ES.zip -d  /var/www/blog/wp-content/languages/
  • Modify above line in configuration file, /var/www/blog/wp-config.php:
define ('WPLANG', 'es_ES');
Flash básico 08: Capas
Dec 24, 07 by Juan Lebrijo about blog, Flash
El manejo según los tipos de capa de Flash es otra cosa curiosa. Dá mucho juego para generar escenas muy ricas.

Capa Guía

Para trazar el recorrido de un objeto introducimos una capa de tipo “Guía” (doble clic sobre el icono capa):
image055.png 4.64 KB
Arrastramos la capa guiada hacia la “Guía” simbolizada como un martillo:
image057.png 1.67 KB
Se convertirá en:
image059.png 1.47 KB
Marcamos en la capa “Guía” el trayecto del objeto en la capa sol, y hacemos interpolación de movimiento ya comentada en otro artículo anterior. Para ver como se hace esto tenemoes el ejemplo siguiente(fuente):

Máscara

Seleccionamos que el tio de la capa sea Máscara.
image061.png 4.62 KB
En la máscara se marca lo que quiero ver con tinta, y se borra lo que quiero esconder. Ejemplos de máscara tenemos en el punto anterior, o en el punto siguiente:

Ejemplo efecto lupa

Tenemos todo lo que necesitamos para hacer el ejemplo en la imagen:
image063.png 190 KB
El ejemplo ejecutándose (fuente):
Flash basics 08: Layers
Dec 24, 07 by Juan Lebrijo about blog, Flash
The manage of the layer types in Flash is another curious thing. It give us some games for generating scenes vary rich.

Guide layer

To trace the travel in an object we introduce the Guide layer (double clic over layer icon):
image055.png 4.64 KB
Drag and drop the guided layer to the "Guide" layer, symbols with a hammer:
image057.png 1.67 KB
It converts in:
image059.png 1.47 KB
Mark in the "Guide" layer the travel of the Sol layer, and make a movement interpolation, commented in other post. Exampe in the following file (source):

Mask

Select the type as "Mask":
image061.png 4.62 KB
In the mask layer mark what i wnt to see with ink, and delete what I want to hide. Mask examples in the last poit and in the follows:

Glass effect example

We have all we must know in the image:
image063.png 190 KB
Executing flash example (source):