mkdir gpio cd gpio nano switch.cpp g++ -o switch switch.cpp ./switch 1 on chmod +s switch mv switch /usr/bin/ crontab -e 0 * * * * switch 1 on 10 * * * * switch 1 off apt-get install mini-httpd