Skip to content

Instantly share code, notes, and snippets.

View pletcher's full-sized avatar

Charles Pletcher pletcher

View GitHub Profile
@roberthowton
roberthowton / polytonicgreekinmonospace.md
Last active August 10, 2022 15:34
polytonic greek in monospace

Monospace Typefaces with Polytonic Greek

A list of monospace typefaces I've found that support polytonic Greek without ugly subsitution of characters with diacritical marks. Most fonts can be found at the Codeface Font Archive. Fonts I use (or have used) are in bold.

  • Hack
  • Terminus
  • Fira Code Light
  • Oxygen Mono
  • Office Code Pro
  • M+ 2m
@robschmuecker
robschmuecker / README.md
Last active May 13, 2024 20:57
D3.js Drag and Drop, Zoomable, Panning, Collapsible Tree with auto-sizing.

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@fwielstra
fwielstra / api.js
Created June 14, 2011 14:46
An example NodeJS / Mongoose / Express application based on their respective tutorials
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');