Is it possible to reset an ECMAScript 6 generator to its initial state?

If your intention is to some other scope, iterate over it, do some other stuff, then be able to iterate over it again later on in that same scope. Then the only thing you shouldn’t try doing is passing the iterator, instead pass the generator: var generator = function*() { yield 1; yield 2; yield … Read more

Recommendations of static site generator which accepts Markdown documents? [closed]

http://staticsitegenerators.net is a crowd-sourced definitive listing of all the static site generators, their github stars, their website, their language, created and updated dates, etc. +1 for DocPad, I’ve found Jekyll to be quite crippling with it’s lack of extensibility (not enough markups supported, difficult to filter documents in content listings based on certain criteria, hard … Read more