This example is a simple GPIO LED controller for the Raspberry Pi. It lets you turn a red, blue and green LED on and off through a Javascript/jQuery powered Web-interface.
You'll need Python Flask installed to run this example, install with:
sudo apt-get install python-pip
pip install flask
Start up with:
sudo python ./rgb.py
And then visit:
http://[your Pi address>]:5000/ui.html