37
Que horrible numero de ni\~nos muertos en el Libano, otro error de Israel?, no se ni siquiera si vale la pena gastar de mi tiempo en lamentarme con respecto a lo ocurrido, este mundo esta cada dia mas quebrado. Ojala sus muertes al menos den alguna esperanza para terminar de una vez estos bombardeos y de una vez por todas la ONU convierta su precensia en un ente activo que ayude a resolver este conflicto. Sino yo mismo voy a ir a apedrearlos.
Realmente no vale la pena seguir asi, que increible … realmente horrible, tragica manera de recordar que mis problemas no son los peores.
Ojala esto tenga un buen futuro.
JP.
Se aparecio Agosto
Ya no quedan ni las ganas de Julio, lo mejor de todo esto es que ya se terminara este pesadilla del examen de calificacion, pese a que es probable que lo repruebe, no queda mas que darlo de una vez por todas y terminar este lio.
Ayer al menos ya me relaje un poco, tomandome unos combinaditos con mi hermano y mi primo mientras disfrutabamos dos pizzas, aprovechando claro, el hecho de que el Erick trabaja en Jhot Pizza, y esto incluye un 30% de descuento en las pizzas, lo que no esta mal
.
Bueno por ahora no queda mucho tiempo ni mucho animo, ligerito voy a comenzar una ayudantia y un cursillo y cuando se acabe el examen y sea dia jueves, con la luz del dia ya veremos lo que hacemos.
Por ahora solo queda encomendarme a los Dioses y que se me acabe esta ulcera que me esta matando.
JP.
Obtain a Public key of Another People and Encrypt a Message.
After the creation of your personal keys, is time of send (of a secure form) the public key to the interest people, for establish a encrypted communication.
Consider now that you obtain the public key of a friend, for example Rodrigo, so if you have the public key of rodrigo, you need import this key to you list of keys, the more common form of obtain this key is for example in the personal-web of Rodrigo or a presonal transfer betwen you and Rodrigo. Suposse that the key is in ascii format and the file is : rodrigo-publickey.asc.
The importation of this key is using the command : gpg –import rodrigo-publickey.asc , with this option you have imported the Rodrigo’spublic keys. you can see this importation using the command : gpg –list-keys.
After this is recommended, principally if the form of obtain the public keys is insecure, that your verify the fingerprint of this public key, and aswer to Rodrigo (by phone or another secure method of transmition) if this is the real signature. The form of see the signature of this keys is :
Make personal and public keys with GPG
For a secure transmission betwen two people, i recommend a pair keys system based in gpg. I put here a briefly form for make the pair of keys.
The first step is install gpg (Gnu Privacy Guard), gpg is GNU’s tool for secure communication and data storage. In the web you can found many information about this i recommend that your search more about this, but the basic installation in a system based ind GNU/Debian is as root run the command : apt-get install gnupg.
After the installation of gpg, you need make a pair of keys, your public and private keys, this pair is fundamental for a secure communication. The schema is similar to this :
Peter : (1) – Peter Public Key ; (2) – Peter Private Key ;
Paul : (3) – Paul Public Key ; (4) – Paul Private Kay ;
Now, if Paul have the public key of Peter (1) he can encrypt a file using this key, and send the encrypted message to Peter, and only Peter can decrypt the message using their private key (2).
Now if you wat make your personal public and private key, run the command : gpg –gen-keys
and continue the instruction, really is very easy, however i recommend that the part correspond to the personal info you must have very clear your personal info
the username the e-mail and the comment.
After this you have the .gnupg directory in your home, not modify or rename the information in this directory.
So, now is very late and maybe the next week i put more about this, thanks.
JP.
Cansado
Muy cansado y a punto de tirar la toalla
. Ha sido una de esas semanas dificiles todo se ha transformado en estudio y nada de relajo, un poco agotador si pensamos que ademas no esta claro nada respecto al famoso examen de calificacion.
Jamas se me hubiese ocurrido hace 6 a\~nos atras que mi universidad era tan horrible en terminos de estatutos claros y consisos, sobre todo respecto a algo tan importante como puede llegar a ser un examen de calificacion (pincipalmente para los que lo rinden). La verdad es que no se a que parte le corresponde informar correctamente al respecto, pero bueno estoy a una semana, aun no tengo claro cuales son los contenidos del examen y como evaluaran mi rendimiento, o sea en blanco.
Tampoco se que me dio por escribir a esta hora, pero creo que el dolor de oido me esta matando, necesito un analgesico de ultima generacion, alguna droga mas fuerte
.
Read more »
WeekEnd
Hace bastante tiempo que no posteo nada, si, el dichoso examen me sigue haciendo temblar. Por ahora no tengo muchas novedades quizas despues del examen intente reinstalar mi Debian/Sid 64bits, a ver si hago un peque\~no post sobre eso.
Por ahora no hay mucho que decir han sido mas dias de estudios que de cosas interesantes, espero que eso pase luego, de todas maneras voy a poner algun tip o scripts para hacer alguna cosa interesante.
Change File Permissions
Many times when you copy a direcotry or files from a cdrom or another device, the files not have appropiate permisions, for this reasons i make a little command ofr change automatically the file permissions.
Edit a new file, and copy and paste this :
———————————————————————————————————-
#/usr/bin/sh
#Version-0.1
echo “You are in :” $PWD
echo “Warning : The permissions are modified recursively.”
echo “Put permissions for the directories (ej:755) :”
read PD
echo “Permissions for Files (ej:644) :”
read PF
echo “Warning2 : The hidden files are modified too.”
echo “Press enter for conitnue – or Control-C to cancel.”
read
echo “Change File permission – please wait.”
find -type f | sed ’s/.*/”&”/’ |sed -e ’s/”.\//chmod ‘$PF’ “/’ | sh
echo “Change Directory permissions – please wait.”
find -type d | sed ’s/.*/”&”/’ |sed -e ’s/”.\//chmod ‘$PD’ “/’|grep chmod | sh
echo “Thanks… problems to jperaltac-at-gmail-dot-com”
———————————————————————————————————-
After this save this file, i have this with the perglob name, and move this script to your personal scripts directory, see the last post. And you have a new command called perglob, and if your run this command in the directory where you want change permissions, the scripts change the permissions automatically, i recommend that you use 755 for directory and 644 for files the first time.
This is all.
JP.
Personal Settings.
Some times, the personal settings are very important for a efficient work in GNU/Linux. From this part i put some personal scripts made in GNU/Linux, for example for rename a lot of images, delete de temporal files, high compression automatically, etc.
First, i recommend that you have a personal directory with your scripts, and for this reason today only put how you can make your personal dir with your scripts, for a eficiently work.
Make a directory in your personal home : cd ~;mkdir bin; (cd ~ -> move to your home; mkdir bin -> make a directory called bin, if doesn’t exist), after edit the file of configuration bashrc : jed ~/.bashrc
In this file add the next :
if [ -d ~/bin ]; then
PATH=~/bin:”${PATH}”
fi
After this, put your personal scripts (for example myls) in the directory ~/bin/ and restart your terminal (close and open a new terminal), and now you have the myls command in any side.
Personally i recommend that your scripts have personal name, for example :my-ls, my-compress, etc. and you will not have conflict with system commands.
At the moment this is All,
I hope put some little new personal scripts, i put one in this blog the first day, the crypt and decrypt scripts for protect files with openssl.
JP.
Camino al descanso
Si bien seguir despierto a esta hora no es una gran ventaja, principalmente por que mi sue\~no es demasiado liviano, tampoco esta tan mal, ahora estaba esperando que apareciera la Clau por aca a ver si charlabamos un rato, pero me imagino que sigue corrigiendo la cantidad impresionante de pruebas de Fisica que suele corregir semestralmente, asi que aprovecho de poner una fotito de ella (se ve hermosisima) tomada esta semana en la U.
Hay cosas que a final de cuentas dejan de doler despues de hacerlas bien seguido, pero creo que corregir pruebas no es una de ellas. Bueno, al parecer la clau no se va a conectar asi que quizas me tiente mas el tratar de dormir o leer algun articulo de la National Geographic o inclusive escuchar algo de musica (aunque con cualquiera de las ultimas dos me quedo dormido y como la primera era dormir …). Quizas me coloque a pensar lo qe charlaba en el almuerzo de ayer con mi madre, eso de el origen de la esquizofrenia.
Dia de lluvia
Hoy si que se largo, ya estaba bueno, despues de todo habia pasado mucho tiempo sin una buena lluvia durante el dia, ya que ultimamente esta lloviendo mas de noche. Hoy dia en la tarde si voy a estudiar
(en serio), pero ahora me estoy preparando para una rica cazuela proveniente de las laboriosas manos de mi madre.
Al final probe el famoso Ubuntu Dapper 6.06 – 64 bits, pero no se la gano a GNU/Debian, no aun, las grandes ventajas son que trae openoffice y es bastante minimalista lo que lo hace bastante practico y util. Pero, como suele ocurrir con Ubunutu, el acpi no trabajo de inmediato, tampoco lo pude revivir a partir de la hibernacion y por lo demas los drivers de la wireless estan mas complicados (aunque no tanto).
