Skip to content

Instantly share code, notes, and snippets.

View jmatthewpryor's full-sized avatar

J. Matthew Pryor jmatthewpryor

View GitHub Profile
const express = require("express");
const app = express();
app.use(express.json());
const defaultFactor = 2.5
const defaultInterval = 2
const generateOutput = ({ factor, interval, due }) =>
`[[date:${due.toISOString().slice(0, 10)}]] ${factor}/${interval}`;
/*
* Viktor's Roam Mobile Long tap to Exluce Filters and Right click on bullets + pages + title
* version: 0.3
* author: @ViktorTabori
*
* How to install it:
* - go to page [[roam/js]]
* - create a node with: { {[[roam/js]]}}
* - create a clode block under it, and change its type from clojure to javascript
* - allow the running of the javascript on the {{[[roam/js]]}} node
@jbenet
jbenet / simple-git-branching-model.md
Last active April 9, 2024 03:31
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.