<$BlogRSDUrl$>

digitalfredy log

software libre. electronica, audio, video, ingenieria, ... en fin este es mi log dedicado a la tecnologia "que bacano que es ser cacharrero"

domingo, junio 26, 2011

Idea for easy tag files whitout creating new filesystem 

Tenía esto por hay y bueno mejor publicarlo ...

Only autorization for use this idea in open source software:

I am a organized person, and much much time i try have my files organiced but have problems becouse for example one criteria for organization can to be the tipe of files (music, images, pictures ...), the type of file (.html, .odt, .ogg ...), other will be the year, the site (University, work) the type of acces (share, private ...).

In UNIX and UNIX type operative systema every file have one inodo and by inode you have minimal one hard link, in the hard link you have the name of the file.

My idea for tag files is very siple:

i develop my idea whit a example script:
1- creating "special" directory called tags and "special" subdirectory with the tag name
2- make a hard link of the file in the tag directory

digitalfredy@debian $ cat /usr/local/bin/tagfile
#!/bin/sh
# $1 is the file and $2 is the tag
mkdir -p $HOME/tags/$2
ln $1 $HOME/tags/$2/


You like see the files in a tag? use ls /tags/$TAG

Los sistemas operativos POSIX siempre han tenido soporte para tags, si, un tag es una carpeta en la cual hay enlaces duros que son un nombre para un inodo y el inodo es el que nos dice donde está el archivo

El problema es la forma en que accedemos y visualizamos el sistema de archivos, el problema es la falta de herramientas que nos permitan acceder el sistema de archivos usando una filosofía diferente al arbol de archivos

Ejemplo comando tag
tag operandos
operandos: archivo1 archivoN tag1 tagN

Pending: you can go to tags and find the files but not know how to show the tags of a file (show the hardlinks of a file)

posted by digitalfredy  # 5:15 p. m.

domingo, junio 12, 2011

bluetooth remote control miro mac 

Bueno el tema es que el celular trae el software de control remoto pero como viente sirve para nada en mac, mi interes era usar el miro y me di cuenta que uno puede personalizar lo que cada tecla hace y me hice una configuración especifica para miro.

Lo primero que hice fue bajar el software de sony para crear configuraciones predeterminadas para control remoto de aqui luego lei un poco la documentación con la que viene y dice (nada nuevo para mi) que el truco esta en un archivo xml que mapea las teclas y una imagen, lo nuevo es que esto esta en un tar con extension .hid

Luego use el software para mapear las teclas, al principio no entendia por que había una lista pero era fácil, seleccionaba la casilla y escribia el atajo de teclado, el software es lento y para atajos de teclado tocaba tener presionada un poco la primera tecla y luego la segunda.

Luego envio por bluetooh el archivo al telefono y listo, el sabe que lo mete entre la lista de archivos de control remoto, y para usarlo solo basta con entrar en control remoto y seleccionar el archivo.

El resultado final no lo puedo subir aqui por que blogspot no deja subir archivos pero debo decir que he quedado muy feliz de poder usar el celular como control remoto para miro en mac.

posted by digitalfredy  # 1:03 p. m.

miércoles, junio 01, 2011

PXE boot + NFS root 


Logré hacer funcionar PXE boot + NFS root con archlinux en toshiba NB100 sin disco duro, usando el router linksys wrt54gl con openWRT como DHCP PXE y el nas qnap ts209 como TFTP y NFS, seguí este tutorial pero para obtener el archivo pxelinux.0 hice lo que decía en este otro tutorial, intentaré proponer que este archivo esté en la carpeta boot del mirror pue me toco bajarme el iso para obtener el archivo, como referencia dejo esta imagen que explica como entendí que funciona el tema.

posted by digitalfredy  # 9:06 a. m.

Archives

01/01/2004 - 02/01/2004   03/01/2004 - 04/01/2004   09/01/2004 - 10/01/2004   10/01/2004 - 11/01/2004   12/01/2004 - 01/01/2005   01/01/2006 - 02/01/2006   02/01/2006 - 03/01/2006   03/01/2006 - 04/01/2006   04/01/2006 - 05/01/2006   05/01/2006 - 06/01/2006   06/01/2006 - 07/01/2006   08/01/2006 - 09/01/2006   09/01/2008 - 10/01/2008   11/01/2008 - 12/01/2008   12/01/2008 - 01/01/2009   01/01/2009 - 02/01/2009   04/01/2009 - 05/01/2009   05/01/2009 - 06/01/2009   06/01/2009 - 07/01/2009   07/01/2009 - 08/01/2009   09/01/2009 - 10/01/2009   10/01/2009 - 11/01/2009   11/01/2009 - 12/01/2009   12/01/2009 - 01/01/2010   01/01/2010 - 02/01/2010   02/01/2010 - 03/01/2010   03/01/2010 - 04/01/2010   05/01/2010 - 06/01/2010   06/01/2010 - 07/01/2010   07/01/2010 - 08/01/2010   08/01/2010 - 09/01/2010   09/01/2010 - 10/01/2010   11/01/2010 - 12/01/2010   06/01/2011 - 07/01/2011   08/01/2011 - 09/01/2011   12/01/2011 - 01/01/2012   01/01/2012 - 02/01/2012   02/01/2013 - 03/01/2013   05/01/2017 - 06/01/2017  

This page is powered by Blogger. Isn't yours?