Skip to content

Instantly share code, notes, and snippets.

Avatar

Blacki Migliozzi blacki

  • The New York Times
  • New York City
View GitHub Profile
View GoogleSheet : export links and texts separately from a rich text
@blacki
blacki / dev-environment.md
Last active Jun 14, 2019
Managing a Python Dev Environment w/ Virtual Env
View dev-environment.md

Dev Environment

I do the following on a per project basis.

Install virtualenv

If you don't have virtualenv installed, install it globally by running pip install virtualenv from any folder. If that didn't work because you have no pip try pip3 install virtualenv instead.

Create a new python for the project

@blacki
blacki / .gitignore
Created Dec 6, 2017 — forked from 1wheel/.gitignore
custom d3-selection bundle
View .gitignore
.DS_Store
node_modules
npm-debug.log
yarn.lock
package.lock
@blacki
blacki / 538.txt
Last active Aug 31, 2016
state grids
View 538.txt
ME
WI VT NH
WA ID MT ND MN IL MI NY MA
OR NV WY SD IA IN OH PA NJ CT RI
CA UT CO NE MO KY WV VA MD DE
AZ NM KS AR TN NC SC
OK LA MS AL GA
HI AK TX FL
@blacki
blacki / README.md
Last active Aug 31, 2016
CO2 - Keeling Curve
View README.md

Keeling Curve

click chart

@blacki
blacki / README.md
Last active Apr 24, 2017
Visualizing K-Means equilibria
View README.md

Visualizing stable/unstable equilibria in K-Means unsupervised learning algorithm. Each run follows the path of the mean converging as shown here

@blacki
blacki / README.md
Last active Jan 19, 2016
K-Means Algorithm
View README.md

K-Means Unsupervised Learning Algorithm. Also see K-Means Equilibria here.

@blacki
blacki / README.md
Last active Jan 2, 2016
Clustered points
View README.md

Generating clusters of random points

View README.md

Generating random points to get a sense of the shape and distribution.

@blacki
blacki / README.md
Last active Jan 3, 2016
Moiré-rotation-translate-scale
View README.md

Moiré spiral patterns resulting from translating, rotating, as well as scaling random points. As described by Tadashi Tokieda on Numberphile