Buenas
Llevo como una hora buscando este interesante "efecto" CSS, que no se a quien se lo leí ya hace tiempo en su block, o en su twitter, o vete tu a saber donde... así que para no perder-lo otra vez, lo dejo posteado aquí...
SlickMap es un hoja de estilos CSS, para aplicar a una pagina web con el mapa de tu sitio creado mediante listas(<ul><li>..), y que de forma automática, le da un interesante aspecto.
El sitio oficial es Astuteo SlickMap
Buenas
Otro apunte para que no me se olvide.
A la hora de instalar un servidor casero Apache, existen un modulo de apache, userdir, que permite que los distintos usuarios del sistema tengan una carpeta en su directorio home donde pueden alojar sus webs y que estas se publiquen automáticamente en el servidor.
La carpeta por defecto es /home/usuario/public_html/. Para acceder desde inet a esta carpeta la url es http://localhost/~usuario/. A mi modo de ver bastante incomodo.
Para cambiar la carpeta por defecto usaremos el siguiente comando:
$gksu gedit /etc/apache2/mods-enabled/userdir.conf
Nos pedirá la clave de administrador y nos mostrara un editor de texto con el siguiente fichero
<IfModule mod_userdir.c>UserDir public_htmlUserDir disabled root<Directory /home/*/public_html>AllowOverride FileInfo AuthConfig Limit IndexesOptions MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec<Limit GET POST OPTIONS>Order allow,denyAllow from all</Limit><LimitExcept GET POST OPTIONS>Order deny,allowDeny from all</LimitExcept></Directory></IfModule>
Cambiamos las lineas UserDir public_html a UserDir nuevacarpeta y <Directory /home/*/public_html> a <Directory /home/*/nuevacarpeta>. Salvamos y cerramos.
Ejecutamos el siguiente comando
sudo aptitude install libapache2-mod-perl2
Que nos instalara un nuevo mod de apache, que nos permitirá a su vez ejecutar el siguiente código, que quitara la virgulilla (~) de las urls de los usuarios.
Una vez instalado ejecutamos el comando
gksu gedit /etc/apache2/httpd.conf
Y añadimos el siguiente código
<perl>opendir H, '/home/';my @dir = readdir(H);closedir H;foreach my $u (@dir) {next if $u =~ m/^\./;if (-e "/home/$u/public_html"){push @Alias, ["/$u", "/home/$u/public_html/"];}}</perl>
Acordándonos de cambiar en las lineas if (-e "/home/$u/public_html"){ y push @Alias, ["/$u", "/home/$u/public_html/"]; el nombre de la carpeta por la escogida antes.
Me acaba de llegar la invitación para usar UbuntuOne, el sistema de Canonical para compartir ficheros online entre varios PC's.
==================================
Ubuntu One: http://ubuntuone.com
==================================
You have received a private invitation to Ubuntu One Services.
To get started using this service follow this link https://ubuntuone.com/plans/
Feel free to invite your friends to join. It's simply a matter of sharing a folder with them using their email address.
Since we are in beta, and there will be bugs, your feedback is extremely important.
The team is fixing these issues as well as improving the service every day.
Recently some new users have reported occasional issues with rendering the file view in the web browser interface.
We believe this is related to the spike that usually occurs after we send out a new batch of invitations.
We ask for your patience while we work to improve the infrastructure for all users.
------------------------------
Ubuntu One is online and cloud based services for Ubuntu users. To get started today, sign up at http://ubuntuone.com
Escogeré la opción de 2Gb, ya que es gratuita, mientras lo pruebo. Y después ya me pensare si necesito la de 10Gb, pagando 10$
Free 2GB
Seamless integration with your Ubuntu based computer
Sync files between multiple machines
Access to your files away from your computers via our web interface
Free 2GB Storage Plan
Buenas
Como nota para que no me se olvide, publico aqui algunas medidas que se deberían hacer siempre al instalar MySQl.
- Cambiar la Pass de root:
Durante la instalación de MySQL ya se nos pide que la cambiemos, pero si no lo hemos hecho, o queremos volver a cambiársela, es el momento.
-Si conocemos cual era la clave anterior:$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is NN
Server version: X.Y.ZZ
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> UPDATE user SET Password=PASSWORD('NueVa PaSSWoRD') WHERE user='root';
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql>
$ sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
$
-Si no conocemos cual era la clave anterior:$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld [ OK ]
$ sudo mysqld_safe --skip-grant-tables
nohup: a ignorar a entrada e reencamiñado stderr para stdout
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[NNNNN]: started
Y desde otra consola, los mismo pasos que antes, pero conectando a MySQL sin password$ mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is NN
Server version: X.Y.ZZ
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> UPDATE user SET Password=PASSWORD('NueVa PaSSWoRD') WHERE user='root';
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld [ OK ]
$
Con lo que en la primera consola, donde iniciamos el mysqld_safe nos saldrá lo siguiente. A continuación, iniciamos de nuevo el MySQL y listo.STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[NNNNN]: ended
$ sudo /etc/init.d/mysql start
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
$ - Cambiar el nombre de root:
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is NN
Server version: X.Y.ZZ
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set user="NueVO uSeR" where user="root";
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
$ sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
$
Buenas
Si hace apenas un año, nos despedíamos del "padre" del rol moderno... Hace unos días nos dejaba el señor de Blackmoor, Dave Arneson.
1947-2009
Citando a enROLados. Tiremos unos dados en su honor.












