Skip to content

Instantly share code, notes, and snippets.

@drewlesueur
drewlesueur / Web_services.txt
Created November 2, 2009 21:50
Web services
Stuff that can be done all in a browser
mostly http (or websocket based) and more
services
Saving files
Gist.github.com
Running files
Scriptlets-engine.appspot.com
Codepad.org
Maps
# Example (try uncommenting):
# resp.out.write("Hello! Your name: %s <hr />%s" % (req.get('name'), fetch('http://example.com').content))
from google.appengine.ext.webapp import template
from google.appengine.api import urlfetch
import base64
import urllib
language_engines = {
    'php': 'http://scriptlets-engine.appspot.com/run.php',
//this is for making the width smaller for web pages in the browser so you can
//more easily read the text
JavaScript:%20document.body.style.width%20=%20%22400px%22;%20void(0);