Last active
February 26, 2020 19:35
-
-
Save joestrong/a65464a7bb2a44d6950eb613cce8d23c to your computer and use it in GitHub Desktop.
Raspberry Pi setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to add timezone setup