Skip to content

Instantly share code, notes, and snippets.

View willtate's full-sized avatar
💾

Will willtate

💾
View GitHub Profile
@willtate
willtate / JSONExport.gs
Created March 2, 2023 12:07
Google Sheets - Export to JSON
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
@willtate
willtate / gulpfile.babel.js
Created July 15, 2022 21:20
Foundation gulp add table roles
function inline() {
return gulp.src('dist/**/*.html')
.pipe($.if(PRODUCTION, $.replace('<table', '<table role="presentation"'))) //bingo bango
.pipe($.if(PRODUCTION, inliner('dist/css/app.css')))
.pipe(gulp.dest('dist'));
}

Keybase proof

I hereby claim:

  • I am willtate on github.
  • I am willtate (https://keybase.io/willtate) on keybase.
  • I have a public key ASAT6kQeUxpqNxGLqB8uWFD2RwVtb9ZcGU-mXBz8vtC5rQo

To claim this, I am signing this object: