Skip to content

Instantly share code, notes, and snippets.

View joanroig's full-sized avatar
👋

Joan joanroig

👋
View GitHub Profile
@joanroig
joanroig / Raspberry Pi NodeJS setup.md
Last active May 25, 2021 20:32
Raspberry Pi NodeJS setup

nodejs

sudo apt-get update
sudo apt-get dist-upgrade
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

yarn

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
@joanroig
joanroig / Raspberry Pi setup.md
Last active May 25, 2021 20:26
Raspberry Pi 24/7 setup

Raspberry Pi 24/7 setup

Easy steps to recreate a reliable Raspberry Pi running 24/7 which:

  • Will be able to restart tasks after a power outage
  • Periodically saves backups of selected folders in Google Drive
  • Can be easily restored after a SD card failiure
  • Can be accessed remotely

Preparing the SD card