I hereby claim:
- I am daveturnbull on github.
- I am davidturnbull (https://keybase.io/davidturnbull) on keybase.
- I have a public key whose fingerprint is 3403 A625 666B 0AFD 496A 573C B732 73D5 4E17 DECC
To claim this, I am signing this object:
duration = int(input['duration']) | |
# calculate the hours | |
divided_hours = duration / 60 | |
# calculate the minutes remaining | |
minutes_remaining = duration % 60 | |
return {'hours': divided_hours, 'minutes' : minutes_remaining } |
// Download Link | |
<a href="http://[FILE PATH GOES HERE eg: mydownload.pdf]" id="filedownload" target="_blank"><em>“My Download</em>”</a> | |
// File Download Tracking | |
<script type="text/javascript"> | |
var link = document.getElementById('filedownload'); | |
analytics.trackLink(link, 'Downloaded File', { |
getReferrerTraits = function() { | |
// Requires: jQuery, jQuery.cookie, segment.io | |
// TODO: Update referralHost:blackList with your domain, so we only track external referrers. | |
var analytics_args = [], | |
analytics_traits, | |
acquisitionSource, | |
firstReferrer, | |
firstCampaign, |
I hereby claim:
To claim this, I am signing this object: