2013-10-29

Hilillos de destrucción de pruebas

Según parece borrar pruebas no es delito, según parece, por lo que alega la fiscalía.

¿No será que el gobierno "les ha dejado claro" que no es delito? La fiscalía está subordinada al gobierno, así que para mí es el responsable directo de poner trabas a la investigación, cosa que dijo no estaba haciendo, ni haría. Y esta no es la primera, sino al menos la segunda que se conoce públicamente.

<ironic-mode>

En fin, borremos todos los discos duros que tengan pruebas contra quien sea que esté imputado, porque no es delito.

</ironic-mode>

2013-10-19

Change keystore passwords

Java keystores use two passwords. If you want to change both these are the steps:

  1. Change the password used to protect the integrity of the keystore contents:
  2. keytool -storepasswd -keystore this-is-the-file.keystore
  3. Change the password under which the private/secret key identified by alias is protected:
  4. keytool -keypasswd -keystore this-is-the-file.keystore -alias this-is-the-key

Where

  • this-is-the-file.keystore is the file to store passwords

  • this-is-the-key is the alias of our private/public password

Happy hacking!!! :-)

2013-10-02

Remove/hide a preference from the screen

I've found in stackoverflow how to remove/hide a Preference from a PreferenceScreen.

The one I found more useful is the following:

PreferenceScreen screen = getPreferenceScreen();
Preference pref = getPreferenceManager().findPreference("mypreference");
screen.removePreference(pref);