Skip to content

Instantly share code, notes, and snippets.

@pjstein
pjstein / ad-manifesto.md
Created October 30, 2018 17:25 — forked from rxwei/ad-manifesto.md
First-Class Automatic Differentiation in Swift: A Manifesto

First-Class Automatic Differentiation in Swift: A Manifesto

This document is written for both the machine learning community and the Swift programming language design community, with a strong focus on language design.

Table of Contents

@pjstein
pjstein / keybase.md
Created March 27, 2019 20:21
keybase.md

Keybase proof

I hereby claim:

  • I am pjstein on github.
  • I am pjstein (https://keybase.io/pjstein) on keybase.
  • I have a public key ASB5qGvrz1Y35qNvbLd0FNpYzdO9qs-DZ-syLy3n4vc4Wgo

To claim this, I am signing this object:

@pjstein
pjstein / mfa-commands.sh
Last active April 29, 2020 17:26 — forked from anniejw6/alias.sh
MFA for the AWS cli
#!/usr/bin/env bash
aws-mfa-print-info()
{
echo "We've set your credentials in this shell"
echo "Generated at: '${EPHEMERAL_TOKEN_GENERATED_AT}'"
echo "These credentials are valid for *12 hours*"
unset EPHEMERAL_TOKEN_GENERATED_AT
}
@pjstein
pjstein / votedotorg.html
Last active September 9, 2024 14:57
UTM Tracking for vote.org Embeds
<div id="vdo-register-iframe"></div>
<script>
// Set all the configuration parameters for you vote.org embed here. If you're
// using a different tool, you'll need to change the `toolName`. Your partnerId
// can be found on the embed page of the vip dashboard. Header colors and fonts
// can be overridden here (no need to include the hash symbol on the hex codes).
let config = {
// The container in which we'll mount the form
containerId: "vdo-register-iframe",
// The ID of the partner