Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');| #!/usr/bin/env python | |
| # This script is meant to be used with bitcoin_fork_claimer: https://github.com/ymgve/bitcoin_fork_claimer | |
| # The outputs of this script are the inputs to that script. | |
| # Python 2.x is required | |
| import urllib2 | |
| import json | |
| import sys | |
| import collections |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');| package scala.concurrent | |
| import duration._ | |
| import scala.util.{ Success, Try } | |
| import org.scalatest.FeatureSpec | |
| /** | |
| * #scala45pl http://www.meetup.com/WarszawScaLa/events/225320171/ | |
| * | |
| * Also during this presentation: |
| /** | |
| * Original source: | |
| * [[https://gist.github.com/oxbowlakes/970717]] | |
| * | |
| * Modifications: | |
| * - use scala 7.0.5 | |
| * - use toValidationNel | |
| * - use sequenceU and traverseU instead of the lambda trick | |
| * | |
| * Part Zero : 10:15 Saturday Night |
| Post links to your game repositories as comments |