Skip to content

Instantly share code, notes, and snippets.

Avatar

Spencer Owen spuder

View GitHub Profile
@spuder
spuder / README.md
Last active Jul 21, 2019 — forked from bastman/README.md
parse erb templates from command line (standalone, cli, json)
View README.md

Goal

  • 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
spuder / 0_reuse_code.js
Created Nov 15, 2016
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