Skip to content

Instantly share code, notes, and snippets.

View johndhancock's full-sized avatar

John Hancock johndhancock

  • The Boston Globe
  • Dallas, Texas
View GitHub Profile
@johndhancock
johndhancock / ai2html2react.py
Created June 20, 2024 18:45 — forked from hjhilden/ai2html2react.py
Prototype command line script to convert ai2html output to valid React
import sys
import os
import re
dir_path = os.path.dirname(os.path.realpath(__file__)) + '/'
static_content_folder = 'static/custom/ai2html-output/'
# script takes two arguments "input" and "output" and optional static content folder arg
# .js extension is added to output
@johndhancock
johndhancock / README.md
Created October 2, 2017 15:59 — forked from achavez/README.md
Development machine setup