Skip to content

Instantly share code, notes, and snippets.

Fletcher T. Penney fletcher

View GitHub Profile
@fletcher
fletcher / expansions.schema
Last active Nov 22, 2017
JSON Schema to validate an expansion file for MultiMarkdown Composer
View expansions.schema
{
"comment" : "JSON Schema to validate an expansions file for MultiMarkdown Composer",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "expansions",
"type": "object",
"properties" : {
"comment" : { "type" : "string" },
"expansions" : {
"type" : "array",
"items" : {
@fletcher
fletcher / keybinding.schema
Last active Nov 28, 2017
JSON Schema to validate a keybinding file for MultiMarkdown Composer
View keybinding.schema
{
"comment" : "JSON Schema to validate a keybinding file for MultiMarkdown Composer",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "keybindings",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
@fletcher
fletcher / default.keybinding
Last active Aug 28, 2019
MultiMarkdown Composer 4 Default Key Binding File
View default.keybinding
[{
"key": "P",
"action": "togglePreview:",
"modifiers": ["cmd", "ctrl"]
}, {
"key": "I",
"action": "toggleInfo:",
"modifiers": ["cmd", "shift"]
}, {
"key": "T",
View Makefile
# Automate annotation of chess games
games := $(wildcard *.pgn)
annotated := $(patsubst %.pgn, %.pgn.can, $(games))
html := $(patsubst %.pgn, %.pgn.html, $(games))
tex := $(patsubst %.pgn, %.pgn.tex, $(games))
user := Fletcher
margin := 0.5
You can’t perform that action at this time.