scottmebberson.com

Examples

Example code that I've published. They usually come with a gist too.

HTML parser written in PEG.

An example HTML parser, to demonstrate writing nested expressions in PEG.

read more

A quick static web server

Here is my simple boilerplate gist to get up and running with a static node.js server.

read more

Drawing on a Google Map using pixel space

This example shows how to draw lines on a Google Map, using pixel space rather than lat/lng.

read more