SlickMap CSS


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

Quitando la virgulilla (~) de las webs personales


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

  1. <IfModule mod_userdir.c>

  2. UserDir public_html

  3. UserDir disabled root

  4. <Directory /home/*/public_html>

  5. AllowOverride FileInfo AuthConfig Limit Indexes

  6. Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

  7. <Limit GET POST OPTIONS>

  8. Order allow,deny

  9. Allow from all

  10. </Limit>

  11. <LimitExcept GET POST OPTIONS>

  12. Order deny,allow

  13. Deny from all

  14. </LimitExcept>

  15. </Directory>

  16. </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

  1. <perl>

  2. opendir H, '/home/';

  3. my @dir = readdir(H);

  4. closedir H;

  5. foreach my $u (@dir) {

  6. next if $u =~ m/^\./;

  7. if (-e "/home/$u/public_html"){

  8. push @Alias, ["/$u", "/home/$u/public_html/"];

  9. }

  10. }

  11. </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.

UbuntuOne


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