Skip to content

Instantly share code, notes, and snippets.

Marc Durdin mcdurdin

Block or report user

Report or block mcdurdin

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
@mcdurdin
mcdurdin / strava-giro-graph.js
Last active Dec 31, 2017
Strava Giro-style elevation graph bookmarklet
View strava-giro-graph.js
var stravaOnSteroids = {
lengthMultiplierLarge : 0.001,
lengthMultiplierSmall : 1,
lengthUnitLarge:"km",
lengthUnitSmall:"m",
segName:'ride',
sections : [],
isRoute : false,
@mcdurdin
mcdurdin / kex_cryptoapi_cng.cpp
Last active Oct 11, 2019
RSA Key Exchange between CryptoAPI and CNG
View kex_cryptoapi_cng.cpp
/*
Example program to demonstrate sharing public keys from CryptoApi to CNG
Note: Reversing the process would allow sharing public keys from CNG to
CryptoApi. You would need to be careful of padding parameters and
versions.
License (yes, yes, BSD):
Copyright (c) 2013, Marc Durdin
You can’t perform that action at this time.