Skip to content

Instantly share code, notes, and snippets.

@joestrong
Last active February 26, 2020 19:35
Show Gist options
  • Save joestrong/a65464a7bb2a44d6950eb613cce8d23c to your computer and use it in GitHub Desktop.
Save joestrong/a65464a7bb2a44d6950eb613cce8d23c to your computer and use it in GitHub Desktop.
Raspberry Pi setup
# Run this script from RPi
# curl -sS https://gist.github.com/joestrong/a65464a7bb2a44d6950eb613cce8d23c/raw/14dbdf6960b92c2034b96012f802c5f12bf054e8/setup.sh | bash -
# Config
cat <<EOF > ~/.vimrc
set nocompatible
set number
:inoremap jj <ESC>
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
:set backspace=indent,eol,start
EOF
echo "alias ll='ls -lah'" >> ~/.bash_aliases
# Sources for yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
# Essentials
sudo apt-get update && sudo apt-get install -y git-core nodejs yarn wiringpi
@joestrong
Copy link
Author

Need to add timezone setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment