Skip to content

Instantly share code, notes, and snippets.

@sadovnychyi
sadovnychyi / latitudedumper.py
Created October 21, 2011 19:20 — forked from mdornseif/latitudedumper.py
Moving Google Latitude Data from one user to an other
# Google latitude backup
#
# This is a little helper to backup your location from Google Latitude to local disk.
# It saves data as JSON and as GPX.
# Usage is somewhat annoying:
#
# 1. get OACurl http://code.google.com/p/oacurl/
# 2. follow the steps in http://code.google.com/apis/latitude/oacurl.html to get strarted
# You will have to register a domain with Google Apps and jump through hoops
# 3. Renerate a Key and a Secret for "installed applications" on the google API console,
@sadovnychyi
sadovnychyi / forms.py
Created April 7, 2012 14:20 — forked from kylefinley/forms.py
webapp2: Password reset
import models
from wtforms import Form
from wtforms import fields
from wtforms import validators
class PasswordRestForm(Form):
email = fields.TextField('email')
class PasswordChangeForm(Form):
current = fields.PasswordField('Current Password')