HTML5 – the best way to learn it


If you want to be a good writer, you need to read books, If you want to be a good programmer, you need to read code. I heared this phrase long time ago and I feel that is true so, I always do this «Read Code». In this case I’m reading HTML5 code and today I found this site https://demos.mozilla.org/ with some HTML5 demos from Mozilla Firefox to show how HTML5 works in firefox 4, I checked the code for this example https://mozillademos.org/demos/londonproject/demo.html.

 

 

Was a really surprise saw this funny but really good License «DO WHAT THE FUCK YOU WANT TO»  inside the code, the best part is that this is a web page with some videos and image moving. No external JS or CSS file. One big single HTML5 file as you can read in the license.

<!–
AUTHOR:
@paulrouget <paul@mozilla.com>

LICENSE:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Everyone is permitted to copy and distribute verbatim or modifiedcopies of this license document, and changing it is allowed as longas the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSETERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.

BLABLA:
This is a web page with some videos and image moving.No external JS or CSS file. One big single HTML5 file.Now, stop reading the comments, and read the code.
–>

For example I checked  sentences to add videos with HTML5, I recomend you to do the same and check the full code.

 

 

Instalar Songbird


Songbird es un reproductor multimedia. Está basado en la plataforma XULRunner de Mozilla, por lo cual dispone de versiones para Linux, Mac OS X y Windows.

Para mi Songbird es lo que mas se puede llegar a perecer un reproductor libre al iTunes sin mencionar que es ideal para sincronizar el ipod desde Linux

lo que quiero es hacer una guía rápida de la instalación de Songbird un un sistema Linux en este caso específicamente Debian

dependencias

  • glibc 2.3.4 o posterior
  • XOrg 1.0 o posterior
  • gtk+2.10 o posterior
  • fontconfig
  • libstdc++6

Como vemos no tiene ninguna dependencia extraña ni complicada de cumplir.

descaremos el tar.gz para linux de la pagina de songbird http://getsongbird.com/download/ yo personalmente hago mis descargas con wget.
Cuando escribí este documento la ultima versión era la 1.2 ustedes bajen la ultima

sin mas preámbulo iniciemos

$mkdir .songbird
$cd .songbird
$ wget "http://download.songbirdnest.com/installer/linux/x86_64/Songbird_1.2.0-1146_linux-x86_64.tar.gz"
$ tar xvzf Songbird_1.2.0-1146_linux-x86_64.tar.gz
$ cd Songbird
$ ./songbird

Esto iniciara un asistente bastante sencillo que nos guiara para finalizar la instalación

songbird

al finalizar el asistente lanzara Songbird
pero lo idea seria agregar un lanzador en nuestro escritorio, ya que para iniciar Songbird sin un lanzador toca desde consola entrando al directorio donde quedo instalado

$ cd ~/.songbird/Songbird
$ ./songbird

Les recomiendo los add-ons (MediaFlow, iPod Device Support, Pure Player – iPhone)