Friday, February 21, 2014

How to stop images from showing up in Android Gallery?

Application stores pictures at their respective photos, and we download "photos" and keep it for ourselves. But Android Gallery searches and indexes those pictures/photos on the entire SD automatic, and shows them in the Gallery. This can be an embarrass to us sometimes.

How can we stop the images at certain folders from showing up in Android Gallery?

If you like to hide an individual files from the gallery, just rename the file of the picture/photo with a . prefix.

If you would like to hide an entire directory that keeps yours images, just create an empty file with the file name .nomedia in the same folder.

Friday, February 14, 2014

Nokia 5110 LCD as Display for RPi

Successful on getting my Nokia5110 LCD works with my RPi. Here're the photos.
sudo ./pi_logo.py

sudo ./sunclock.py

sudo ./rpimonitor-load.py

sudo ./pi_logo100.py

Saturday, February 08, 2014

Tetris in zsh

Add the following 3 lines into your .zshrc:
autoload -U tetris 
zle -N tetris 
bindkey  "^T" tetris  # Ctrl-t to play

Update on ScreenRC

Just update the ~/.screenrc today!

  • htop
  • F11 and F12 key binding
  • etc