Transmission & whatsapp

3

Posted by rdm | Posted in Raspberry Pi. | Posted on 15-06-2014

Para que desde la Raspberry el Transmission te mande un mensaje cuando se ha descargado un fichero hay que hacer lo siguiente.

1.-   Editar el fichero de configuración del Transmission

sudo nano /var/lib/transmission-daemon/info/settings.json

Y añadir lo siguiente:

    “script-torrent-done-enabled”: true,
    “script-torrent-done-filename”: “/home/pi/yowsup-master/src/wasa.sh”,

1.-Crear un ejecutable wasa.sh con la siguiente configuración. (Cambiando los asteriscos por el nº de teléfono y cambiar el código del país si es necesario -34 España-).

sudo nano /home/pi/yowsup-master/src/wasa.sh

python yowsup-cli -c config.example -s 34********* “$TR_TORRENT_NAME bajado”

Y como ya tienes configurado el whatsapp pues ya te funciona.

config whatsapp transmission

Un antiguo video de mi scalextric.

0

Posted by rdm | Posted in scalextric | Posted on 12-06-2014

http://www.youtube.com/embed?listType=user_uploads&list=ortemedder

Actualizar el blog a la version 3.9.1

0

Posted by rdm | Posted in Programas | Posted on 11-06-2014

Me era imposible actualizar a la versión 3.9.1 de WORDPRESS, y lo he realizado de forma manual con estos pasos, se tarda muy poco, lo que más tardas es hacer la copia de seguridad.

1. Te bajas la última versión.  https://downloads.wordpress.org/release/es_ES/wordpress-3.9.1.zip

2. Haces una copia de seguridad (backup) de todos tus ficheros y de la base de datos MySQL. (MySQL database) y desactivas los plugins.

3. Borras o renombras los directorios wp-admin y wp-includes.

4. Borras todos lo ficheros del root que comiencen con wp- excepto wp-config.php.

5. Extraes en tu pc la versión que te has bajado de wordpress y subes todo menos wp-content directory y el wp-config.php.

6. Entra en tu blog en http://yoursitename/wp-admin/upgrade.php y realizas lo que te pida, actualiza la base de datos que no tarda nada y funcionando.

7. Activas los plugins.

8.  A disfrutar del blog.

 

Os dejo el proceso según la página oficial:

 

https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions

Detailed Instructions

Overview of the Upgrade Process

  1. Backup your database. Read Backing Up Your Database for a detailed explanation.
  2. Backup ALL your WordPress files in your WordPress directory. Don’t forget your .htaccess file.
  3. Verify the backups you created are there and usable. This is essential.
  4. Deactivate ALL your Plugins.
  5. Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.
  6. Download and extract the WordPress package from http://wordpress.org/download/.
  7. Delete the old WordPress files on your site, but DO NOT DELETE
    • wp-config.php file;
    • wp-content folder; Special Exception: the wp-content/cache and the wp-content/plugins/widgets folders should be deleted.
    • wp-images folder;
    • wp-includes/languages/ folder–if you are using a language file do not delete that folder;
    • .htaccess file–if you have added custom rules to your .htaccess, do not delete it;
    • robots.txt file–if your blog lives in the root of your site (ie. the blog is the site) and you have created such a file, do not delete it.
  8. Upload the new files from your computer’s hard drive to the appropriate WordPress folder on your site.
  9. Run the WordPress upgrade program and follow the instructions on the screen.
  10. Update Permalinks and .htaccess. Update your Permalink Structure and merge the custom rules, if necessary, into your .htaccess file.
  11. Install updated Plugins and Themes. Please review the list of Plugins that work in Version 3.9.1. Check for Theme Compatibility with 3.9.1 and ask your Theme author for any new version.
  12. Reactivate Plugins
  13. Add security key definitions to the wp-config.php file
  14. Review what has changed in WordPress.

That’s the overview of the upgrade process. Please continue reading the Detailed Upgrade Instructions.

Remember, if you do encounter problems, re-read the Instructions below to insure you’ve followed the proper procedures and consult Troubleshooting: Common Installation