Skip to content

Instantly share code, notes, and snippets.


Spencer Owen spuder

View GitHub Profile
spuder /
Last active July 21, 2019 19:17 — forked from bastman/
parse erb templates from command line (standalone, cli, json)


  • provide cli command to render erb template
  • template params (bindings) to be provided using json format
  • use inputs from file (template.erb, params.json)
  • use inputs from cli options / parameters
  • render output to stdout OR to file

Why ?

spuder / 0_reuse_code.js
Created November 15, 2016 23:50
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console