Skip to content

Instantly share code, notes, and snippets.

View gauchomatt's full-sized avatar
💭
🔨 Building things...

Matt Anderson gauchomatt

💭
🔨 Building things...
View GitHub Profile
@gauchomatt
gauchomatt / Python3 Virtualenv Setup.md
Created January 3, 2019 16:31 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3

Keybase proof

I hereby claim:

  • I am gauchomatt on github.
  • I am gauchomatt (https://keybase.io/gauchomatt) on keybase.
  • I have a public key whose fingerprint is E771 A747 A310 ABD0 F9FB 78AB EF3B 3CEE D033 7A47

To claim this, I am signing this object:

@gauchomatt
gauchomatt / d3plus-text.min.js
Last active November 18, 2016 18:17
Compiled version of the d3plus-text
/*
d3plus-text v0.9.8
A smart SVG text box with line wrapping and automatic font size scaling.
Copyright (c) 2016 D3plus - https://d3plus.org
@license MIT
*/
(function(t,e){typeof exports==="object"&&typeof module!=="undefined"?e(exports):typeof define==="function"&&define.amd?define("d3plus-text",["exports"],e):e(t.d3plus=t.d3plus||{})})(this,function(t){"use strict";var e=function(t){if(t===void 0)t="undefined";else if(!(typeof t==="string"||t instanceof String))t=JSON.stringify(t);return t};var n=[[/[\300-\305]/g,"A"],[/[\340-\345]/g,"a"],[/[\306]/g,"AE"],[/[\346]/g,"ae"],[/[\337]/g,"B"],[/[\307]/g,"C"],[/[\347]/g,"c"],[/[\320\336\376]/g,"D"],[/[\360]/g,"d"],[/[\310-\313]/g,"E"],[/[\350-\353]/g,"e"],[/[\314-\317]/g,"I"],[/[\354-\357]/g,"i"],[/[\321]/g,"N"],[/[\361]/g,"n"],[/[\322-\326\330]/g,"O"],[/[\362-\366\370]/g,"o"],[/[\331-\334]/g,"U"],[/[\371-\374]/g,"u"],[/[\327]/g,"x"],[/[\335]/g,"Y"],[/[\375\377]/g,"y"]];var r=function(t){return(""+t).replace(/[^A-Za-z0-9\-_]/g,function(t){if(t===" ")retu