Skip to content

Instantly share code, notes, and snippets.

Avatar

Ian Johnson enjalot

View GitHub Profile
@enjalot
enjalot / .block
Last active Feb 17, 2021
d3 anniversary animation big
View .block
license: mit
@enjalot
enjalot / .block
Last active Feb 17, 2021
d3 anniversary animation
View .block
license: mit
@enjalot
enjalot / clone.js
Created Feb 8, 2021
a set of scripts to pull the git history from the d3 git repositories
View clone.js
let fs = require("fs")
let {exec} = require("child_process")
// read package.json
let packageText = fs.readFileSync("./d3/package.json").toString()
let packageJson = JSON.parse(packageText)
// loop through dependencies
let depends = Object.keys(packageJson.dependencies)
console.log("dependencies", depends)
// clone each repo
@enjalot
enjalot / .block
Last active Sep 14, 2020
Coding With Fire: enjalot Deadline Timer
View .block
license: mit
@enjalot
enjalot / .block
Created Sep 14, 2020
Coding With Fire: Deadline Timer
View .block
license: mit
View .gitignore
package-lock.json
node_modules
secret
output*
bubbles0*
*.mp4
*.png
*.json
View alex4.js
const { load } = require("@alex.garcia/observable-prerender");
const puppeteer = require("puppeteer");
async function main() {
let mapWidth = 1920
let mapHeight = 1080
// let startDate = "20200301"
let startDate = "20200420"
@enjalot
enjalot / .block
Last active Jul 29, 2020
coding with fire: stream hexagons
View .block
license: mit
View .gitignore
node_modules
package-lock.json
output
@enjalot
enjalot / .block
Created Jul 20, 2020
coding with fire: stream example
View .block
license: mit