Skip to content

Instantly share code, notes, and snippets.

Tom Whipple tomwhipple

Block or report user

Report or block tomwhipple

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tomwhipple /
Last active Aug 29, 2015
Verify a PayPal immediate payment in sandbox

MSDKv2 Payment Verification

Generated 2014-07-28 09:03:10.408600

PayPal Payment (v2)

Make a single PayPal payment (checkout) with MSDKv2

Client Credentials

tomwhipple /
Created Dec 2, 2012
RaspberryPi GPIO demo
# "Hello World!" for RaspberryPi GPIO. Assumes you've correctly connected an LED to pin 5.
import RPi.GPIO as gpio
import time
tomwhipple /
Created Sep 2, 2012
convert DMS coordinates to decimal in Python
# coding=utf8
Converting Degrees, Minutes, Seconds formatted coordinate strings to decimal.
DEC = (DEG + (MIN * 1/60) + (SEC * 1/60 * 1/60))
Assumes S/W are negative.
You can’t perform that action at this time.