Skip to content

Instantly share code, notes, and snippets.

@johngeffe
johngeffe / myPiConfig
Last active August 29, 2015 14:06
things to install on my raspberry pi
/* This is for my own system. so it may not be complete, upto date or even close to correct.
Using this gist as a note pad for the next reformat.
*/
; format sd card with raspberian os.
; update package updater
sudo apt-get dist-upgrade
; update raspberian
sudo apt-get update
sudo apt-get install
sudo rpi-update
@johngeffe
johngeffe / node-red get ip address
Last active August 29, 2015 14:05
nodejs-ip get all adapter IP Addresses
This node-red function wraps the nodejs os module to retrive all the IP Addresses on the platform excluding 127.0.0.1 (localhost).
This will work for either Windows or Linux installations.
The function returns the results as msg.payload