Raspberry PI - Rotate screen

The defaults are as follows:

display_rotate=0 #Normal
display_rotate=1 #90 degrees
display_rotate=2 #180 degrees

NOTE: You can rotate both the image and touch interface 180º by entering lcd_rotate=2 instead
display_rotate=3 #270 degrees
display_rotate=0x10000 #horizontal flip
display_rotate=0x20000 #vertical flip

Setup network on CentOS 7 minimal

Step 1:nmcli d

Step 2:nmtui

choose your network interfaces and click “Edit”
Choose “Automatic” in IPv4 CONFIGURATION and check Automatically connect check box and press OK and quit from Network manager.
service network restart

Electron Angular Material Tutorial

I have created a small project just to have a scaffolding of an Electron application here.

run npm install in the directory after git clone (download)electron-forge startEnjoy 

Angular6 & Material Desgn Scaffolding

Recently I wanted to test out a Material Design application with Angular6 and found out that scaffolding out a new application is really a pain.
Here is a nice enough Angukar3 And Material desing application on my git ... enjoy.

Lirc - tutorial fix - update


Links !

Lirc - tutorial fix

In order for the tutorial here to work with the raspberry pi minibian edition

after step 4. Restart the LIRC function

edit the /boot/config.txt and add this line:


then reboot the raspberry pi and continue with the tutorial steps from here.

sudo apt-get update
sudo apt-get upgrade 

sudo apt-get install lirc -y

follow tutorial here

Lirc command list here:

sudo irrecord -f-d /dev/lirc0 ~/lirc-files/lircd.conf (do not forget here to put a nice name to the remote)

Ex: irsend SEND_ONCE wpoolair KEY_POWER

Transform from row to hex !

irrecord -a /etc/lircd.conf

Inspired by: