Skip to content

Instantly share code, notes, and snippets.

@stsdc
stsdc / rPi3-ap-setup.sh
Last active March 5, 2018 20:33 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/bin/bash
#
# This version uses September 2017 august stretch image, please use this image
#
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
@stsdc
stsdc / opencvinstall.sh
Last active September 11, 2017 12:56 — forked from primetoxinz/opencvinstall.sh
Installs OpenCV for Raspberry Pi
sudo apt-get install build-essential cmake pkg-config -y
sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev -y
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev -y
sudo apt-get install libxvidcore-dev libx264-dev -y
sudo apt-get install libgtk2.0-dev libgtk-3-dev -y
sudo apt-get install libatlas-base-dev gfortran -y
sudo apt-get install python2.7-dev python3-dev -y
echo "Downloading OpenCV"
wget -O opencv.zip https://github.com/opencv/opencv/archive/3.3.0.zip
echo "Unzipping OpenCV"