Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am japakar on github.
  • I am japakar (https://keybase.io/japakar) on keybase.
  • I have a public key ASASiUeHEhElEBghKfp5y-0LuK-Tof4G2l37pm_nB_o3bQo

To claim this, I am signing this object:

@japakar
japakar / trtlnode.sh
Last active October 17, 2018 08:18 — forked from crappyrules/trtlnode.sh
#!/bin/bash
# This script will install all needed dependencies to run your Turtlepi if you did not use the precompiled image.
# Update apt
sudo apt update
# Now we set up 2gb of swap space to ensure we do not run out of memory while compiling or running the daemon under normal load.
sudo apt install -y dphys-swapfile
# Set size of swap file and setup swapfile
sudo su -c 'echo "CONF_SWAPSIZE=2048" > /etc/dphys-swapfile'
sudo dphys-swapfile setup
# Then we enable the new swapfile