Skip to content

Instantly share code, notes, and snippets.

View dgaitsgo's full-sized avatar

David Gaitsgory dgaitsgo

View GitHub Profile
@dgaitsgo
dgaitsgo / .block
Last active September 13, 2018 16:46
2017 in Film
license: gpl-3.0
@dgaitsgo
dgaitsgo / .block
Last active July 26, 2018 20:09
History's largest empires by maximum land area (millions km2)
license: gpl-3.0
@dgaitsgo
dgaitsgo / .block
Last active July 26, 2018 20:09
Weapon of Choice for Terrorist Incidents by Decade : 1970 - 2009
license: gpl-3.0
@dgaitsgo
dgaitsgo / AppHistory.js
Created June 15, 2018 00:07
UniversalRouter (Basic example)
import createHistory from 'history/createBrowserHistory'
export default createHistory()
@dgaitsgo
dgaitsgo / .block
Last active November 11, 2018 04:00
EU 2014 Electricity Generation by Member State and Source
license: gpl-3.0
@dgaitsgo
dgaitsgo / .block
Last active July 26, 2018 20:09
Massachusetts Population Density by 2016 Census Tract
license : gpl-3.0
@dgaitsgo
dgaitsgo / .block
Last active July 26, 2018 21:27
Force layout of Korean syllable blocks found in Bible by frequency
license: gpl-3.0
@dgaitsgo
dgaitsgo / .block
Last active July 27, 2018 14:48
Heatmap of Nasdaq daily trade volume between January and May 2017
license: gpl-3.0
@dgaitsgo
dgaitsgo / quadratic.clj
Last active December 29, 2018 09:00
Clojure 2nd Degree Polynomial Solver
(def precision 0.000000001)
(defn findDiscriminant [a b c] (- (* b b) (* (* 4 a) c)))
(defn abs [n]
(if (< n 0) (- n) n))
(defn factorial [n]
(if (= n 1)
1
@dgaitsgo
dgaitsgo / modelsPerBrand.json
Created February 26, 2019 01:43
Volkswagen Group (example) models per brand
{
"d3f207e5-18d8-5bd2-a5fa-a1acc05629fa" : {
"name" : "Volkswagen Passenger Cars",
"id": "d3f207e5-18d8-5bd2-a5fa-a1acc05629fa",
"models" : [
{
"id": "ef7f7c23-2537-5067-9c0b-25f77433a1de",
"name": "Der up!"
},
{