Skip to content

Instantly share code, notes, and snippets.

View larsenglund's full-sized avatar

Lars Englund larsenglund

View GitHub Profile
sudo apt-get update # Repair things that that seem to be a little sick.
sudo apt-get upgrade
sudo apt-get install -f locales
sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales # Select "en_US" locales.
sudo apt-get install gcc make # Get the C compiler
cd ~/chipled
cat >on.c <<__EOF__ # Create C programs to turn the status LED on
#include <stdio.h>