Skip to content

Instantly share code, notes, and snippets.

View bmatzelle's full-sized avatar

Brent Matzelle bmatzelle

View GitHub Profile
@bmatzelle
bmatzelle / vuzit_django_signature_example.py
Last active August 29, 2015 14:11
Python Django Vuzit signature example
import time
import sha
import hmac
import base64
# Add your client settings here
public_key = '<YOUR PUBLIC KEY>'
private_key = '<YOUR PRIVATE KEY>'
# View a document
@bmatzelle
bmatzelle / python_django_template_example.html
Created December 17, 2014 16:51
Python Django template example
<html>
<head>
<link href="https://ssl.vuzit.com/stylesheets/Vuzit-2.10.css" rel="Stylesheet" type="text/css" />
<script src="https://ssl.vuzit.com/javascripts/Vuzit-2.10.js" type="text/javascript"></script>
<script type="text/javascript">
// Called when the page is loaded.
function initialize() {
vuzit.Base.apiKeySet("{{public_key}}");
var options = {signature: '{{signature}}',