Archive for the ‘RasPi’ Category
Finding daylight times in PHP
August 9, 2020 at 7:04 pm
PHP has a huge number of functions and amazingly these include calculation of sunset and sunrise times, so its easy to calculate if its currently daylight using PHP.... (more)
Creating a local domain name
May 14, 2017 at 8:08 am
When creating a new website is useful to create a local domain name for it too, so that you can use links like /css/style.css. This makes is easier... (more)
Inventex Energy Sensors
February 4, 2016 at 3:42 pm
A Raspberry Pi based data collection system to allow the remote monitoring of energy sensors.
A nicer Raspberry Pi ssh welcome message
January 10, 2016 at 8:57 pm
sudo nano /etc/motd Remove all the text and save. Now install figlet to display a nicer ascii message: sudo apt-get install figlet sudo nano ~/.bashrc add figlet... (more)
RasPi passwordless login from Ubuntu
January 10, 2016 at 8:54 pm
ssh-keygen -t rsa -b 4096 id_rsa_pi no passphrase entered ssh-copy-id -i id_rsa_pi pi@192.168.1.72 NB nano ~/.ssh/config to add a shortcut so we can ssh pi