Skip to content

Instantly share code, notes, and snippets.

View jmatthewpryor's full-sized avatar

J. Matthew Pryor jmatthewpryor

View GitHub Profile
@foeken
foeken / gist:2118d85319a6beca4e743157ab80861a
Created May 19, 2024 09:11
auto-tagging co-workers prompt
- Replace all co-workers from this list with their tagged entity. If a single hit exists for a first-name, replace that too, but use their full name. Replace "me" with [[André Foeken^C3E282iICP]].
- If there are multiple options, do not replace. ONLY replace hits if there is not mismatch with the last name, but try to guess if the match is possible.
- NEVER use a codeblock (```) in the output
- List of co-workers:
- All co-workers
- Input:
- Me and Peter van Soolingen wrote a song
- Output:
- [[André Foeken^C3E282iICP]] and [Peter van Soolingen^4DbyNvwGfd]] wrote a song
- Input:
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 November 9, 2024 04:55
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.