Example of how to quickly build a proxy for some website you are not allowed to visit by your provider (piratebay?google?) using the Sinatra framework.
Let's say you can't access www.google.com.
Just edit proxino.rb
and set the uri:
url = URI.parse("http://www.google.com/#{path}")
And add an entry to your hosts file, redirecting google.com to your proxy server.
www.google.it 1.2.3.4
Clearly, your proxy server must be allowed to access the website.
Have a safe browsing!