Skip to content

Instantly share code, notes, and snippets.

View yourbuddyconner's full-sized avatar

Conner Swann yourbuddyconner

View GitHub Profile
@sschuldenzucker
sschuldenzucker / roam2tex.js
Created September 1, 2020 17:18
roam2tex
/*
Input: Roam Research's non-standard markdown. (copied from a roam page or export)
Output: Latex
The goal of this is to draft papers and other documents in Roam.
Thus, we export regular text, *not* a bullet list!
Reads from stdin, writes to stdout.
Example input: https://roamresearch.com/#/app/publicpages/page/WP7tXRTgK
@hfossli
hfossli / standard.sh
Last active February 8, 2024 05:19
Standard bash script format
#!/bin/bash
CLEAR='\033[0m'
RED='\033[0;31m'
function usage() {
if [ -n "$1" ]; then
echo -e "${RED}👉 $1${CLEAR}\n";
fi
echo "Usage: $0 [-n number-of-people] [-s section-id] [-c cache-file]"