CGI on OS X El Capitan

Lately, I had to quickly set up a small CGI running example. Here's how to do it. 1. Local Web root folder If it does not exist, create a ~/Sites and a ~/Sites/cgi-bin folder. Create a new file /etc/apache2/your-username.conf containing the following: <Directory "/Users/your-username/…

`yield` vs `yield*` in Koa.js

Although Koa.js does not advocate the use of yield*, it is good there is an article explaining the difference among the two.…

Scaffolding a Polymer webapp

Relatively simple with yo: npm install -g yo generator-polymer At that point you can simply type: yo polymer Source: Generator Polymer github page…

Check for missing imports

Nice snippet of code from Eric Bidelman for checking for unregistered custom elements (which usually denotes the absence of some required imports). The snippet is here.…