Suscribirse al Feed
30Sep

[código/Java] Juego Ping-Pong by EON

pong

Se trata de una implementación en Java del juego Pong que ha hecho EON hace un tiempo. Como siempre, un excelente ejemplo para todos aquellos estudiantes que estén desarrollando este tipo de aplicaciones. Comentarios y problemas en este post.

Recuerda que puedes colaborar cuando quieras!

Descargar!

30Sep

xVideoServiceThief: excelente gestor de descargas de videos

xVideoServiceThief

A la hora de descargar videos de sitios como Youtube, Metacafe, etc existen varias utilidades, pero creo que he encontrado la definitiva. Su nombre es xVideoServiceThief y tiene algunas características que me han gustado bastante:

  • Soporta bastantes web de servicios de video: 123video, 5min, aBum, Aniboom, Bebo, Blip, Boingboing TV, Break, Broadcaster, Caught On Video, Ceknito, CinemaVIP, Clip4e, ClipFish, Dailymotion, Dumpalink, GameSpot, GameTrailers, Glumbert, Google Video, GodTube, LiveVideo, Lulu TV, Metacafe, MySpaceTv, MySpass, MyVideo, Sclipo, Spike, Stage6, Tu.tv, Tudou, Video.ca, VideoLeak, Yahoo Video, Yikers, YourFileHost, YouTube, YouTubeIslam, Zaable, ZanyVideos, ZappInternet, Zedge, ZippyVideos, and Zuuble, además de algunos sitios de videos porno. (aunque hecho de menos a Vimeo)
  • Convierte los videos a diferentes formatos
  • Descargas simultáneas
  • Permite pausar y reanudar las descargas
  • Se encuentra en español y es muy configurable
  • Y lo mejor: es software libre y gratuito!

Instalación

  • Lo primero es descargar el paquete con el programa
  • Lo descomprimes en donde quieras dejarlo instalado. Ahora ya puedes ejecutarlo (./xvst) aunque mejor hacerlo bien, puedes usar cualquiera de las siguiente opciones:
  • Crear un acceso directo en el escritorio: clic derecho en el escritorio, clic en Crear lanzador, y en la caja Comando colocas la ruta del ejecutable, por ejemplo: /home/cristian/xVideo/xvst
  • Crear un acceso directo en /usr/bin, de tal manera que se pueda ejecutar desde cualquier lado:
    sudo ln -s /home/cristian/video/xvst /usr/bin/xvst
  • Añadir la ruta del ejecutable en el PATH, de tal manera que se pueda ejecutar desde cualquier lado: abres el archivo /home/usuario/.bashrc y añades al final lo siguiente:
    export PATH=$PATH:/home/cristian/video/
29Sep

yaCat, catalogador de CDs y DVDs

yaCat (Yet another catalogator), es un pequeño script escrito por Miguel (MrComputer) que permite catalogar el contenido de discos ópticos (CD's y DVD's) de datos asignándoles un número para poder almacenarlos.

El programa permite realizar búsquedas en el contenido de los disco indicando que discos contiene el archivo buscado. Además los datos del contenido del disco se almacenan todos en un solo archivo tar.gz para que sea mas cómodo migrar todos los datos de un equipo a otro. YaCat también permite mostrar el contenido de un determinado disco, mostrando la fecha en que se agregó, el árbol de directorios y el contenido de los mismos.

Este programa esta indicado para cualquier sistema Linux/UNIX ya que no tiene ningún requerimiento adicional, funcionando con cualquier sistema básico.

Descargar

Yo lo he probado en openSuse 10.3 con algunos CDs de MP3 y ha funcionado muy bien; aún así, como el autor menciona en su Web, se encuentra en una versión muy temprana y por lo tanto agradece cualquier tipo de comentario.

Me he enterado del programa a través de la sección Colabora!, que por si no la conoces es una invitación a que me envies tus proyectos (programas, ejemplos de programación, etc.) para darlos a conocer un poco más.

29Sep

Documental sobre Linux [kernel]

Se trata de un documental en donde explica los inicios del proyecto Linux (el kernel [aqui explican que es el kernel linux]). Sin duda un gran material para cualquier tipo de usuario de Gnu/Linux:

28Sep

3 ways to keep safe your files

One of the most important advantages that Linux has over Windows is the file security, but many users do not try to keep safe his private data. In this little guide I am going to talk about three ways to do that, in two of them we encrypt the files.

Let's do it, first in the easiest way:

  1. Set up basic permissions from a terminal
  2. Using CFS to encrypt folders
  3. Using TrueCrypt to create virtual encrypted disks


1. Set up basic permissions using a terminal

This is the simplest way to protect our data, in wich you only need to set up the correct permissions in order to ban the access to non-authorized users. The only thing you need to do is typing this command:

chmod -R u+wrx,og-wrx private

Where private is a folder where we have our confidential documents. -R means that chmod will assign that permission to all files and directories recursively . u+wrx assign permissions of writing, reading y execution to ourselves; while og-wrx remove permissions permisos writing, reading y execution to others users and groups.

Of course, this is the most primitive way, but most of people do not do that, wich means a big security problem. Let's continue with other methods more complex...


2. Using CFS to encrypt folders

CFS (Cryptographic Filesystem), is a file system that allows you to store and to recover encrypted data. CFS provides application-independent encryption/decryption of the filesystem layer that does not require modification of the underlying filesystem code nor any kind of modification of thekernel source.

Firstly, we must install CFS, for example from a Ubuntu or Debian distro:

sudo apt-get install cfs

Let's do a quick example… the idea is creating a folder named confidential where we will store the confidential data; we can do it with the command cmkdir:

/home/cris/ $ cmkdir confidential
Key: type_a_long_password
Again: type_the_long_password_again

We must specify a password with at least 16 characters; it is important not to forget it, otherwise we won't be able to recover the data again ;) In addition, it is not possible to access the folder that we have created, at least in plain text. But ¿how can we put files into the folder? In order to add files we must "mount" our directory in a separate folder with plain text access, using the cattach command:

/home/cris/ $ cattach /home/cris/confidential
key: type_the_long_password

That will create a folder named confidential in /crypt (/crypt/confidential), where we can access the files normally:

/home/cris/ $ cd /crypt/confidential
/crypt/confidential $ mv /home/cris/file.odt .
/crypt/confidential $ cat /etc/fstab > backup_fstab.bak
/crypt/confidential $ cd

All the files that we add on that directory will be crypted when we detach the folder:

/home/cris/ $ cdetach confidential

If we list the files on the /home/cris/confidential folder, we will see that CFS has crypted the files and filenames:

/home/cris/ $ ls confidential
37401e3e492f0bce 71d8783a255e3b68a8da544204eb3cad

That's it. Now on, when you want to access your encrypted data you can use the cattach command, and don't forget to detach it later using the cdetach command ;)

3. Using TrueCrypt to create virtual encrypted disks

This is in my own opinion the best way to encrypt our private data; TrueCrypt is a volume encryption system, wich is available for the most important distros, even of course Ubuntu. For installing it, you must download the installer for your distro. Now, if for example you have download the Ubuntu x86 one you must uncompress it and install the .deb package:

$ tar xvfz truecrypt-6.0a-ubuntu-x86.tar.gz
$ ./truecrypt-6.0a-setup-ubuntu-x86

You will see a window where you have the choice to extract the .deb package. That file will be sent to the /tmp folder, where you can install it easly using GDebi, or with the command:

$ sudo dpkg -i /tmp/truecrypt_6.0a-0_i386.deb

1 2
27Sep

yo, ocupado

© 2007 - 2008 Dezinerfolio. Todos los derechos reservados.
Powered by Wordpress. Entradas RSS