Startup script

When it comes to run a script at Ubuntu/Raspbian startup it may be a pain. Where are some ways of doing it:

Continue reading

Posted in Raspberry Pi, Ubuntu | Tagged , , , , | Leave a comment

web hosting

This guide is confirmed to work with MEO Technicolor TG784n v3 firmware v10.2.1.L but may be used as a reference for different firmware versions or different router models.

Continue reading

Posted in Uncategorized | Leave a comment

Reset password on your WorPress site

Assuming you have access, either physical or remote access, to you server you can reset your WordPress site with the following steps:

  1. Change location to your site folder (probably /var/www/html)
  2. Download wp-cli:
    $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
    
  3. To easily use wp-cli:
    $ chmod +x wp-cli.phar
    $ sudo mv wp-cli.phar /usr/local/bin/wp
    
  4. List your site user using:
    $ wp user list
    
  5. And then update the password of a specific user with:
    $ wp user update [username] --user_pass=[password]
    

    where [username] is the user name and [password] is the new password

Based on:

http://codex.wordpress.org/Resetting_Your_Password
http://wp-cli.org/

Posted in Uncategorized | Tagged , , , | Leave a comment

Raspbian – Printscreen

 

If you need to take a screenshot on Raspbian you will find that the PrintScreen key does not work at all.
Here is a solution for that! Continue reading

Posted in Raspberry Pi | Tagged , , , , , | Leave a comment

Raspbian – Rotate Screen

 

If you need to rotate your screen in Raspbian you will find that it is not as simple as you are used to.

Continue reading

Posted in Raspberry Pi | Tagged , , , , , , | 4 Comments

Python 02: fake key or mouse input

RasPython

If you need your python program to emulate a mouse movement/click or a key press here is what you need to do.
Continue reading

Posted in Python, Raspberry Pi | Tagged , , , , , , , | Leave a comment

Posting source code on WordPress.com

wordpress-logo

Image from: wordpress.com

If you’re using WordPress.com and you want to post you source code, there is a tag that will help you.
Continue reading

Posted in Uncategorized | Tagged , | Leave a comment