Skip to content

Instantly share code, notes, and snippets.

View wogong's full-sized avatar
🎯
Focusing

wogong wogong

🎯
Focusing
View GitHub Profile
### Keybase proof
I hereby claim:
* I am wogong on github.
* I am wogong (https://keybase.io/wogong) on keybase.
* I have a public key whose fingerprint is 9154 A629 62DE 93DC 64EC 3D4D 05D6 93E0 09DD 1201
To claim this, I am signing this object:
@wogong
wogong / flomo.sh
Created December 13, 2020 17:07
flomo shell function
#!/bin/sh
fl () {
API="https://flomoapp.com/iwh/xxxxxxx/" # substitute with your flomo API
curl -s -H "Accept: application/json" -H "Content-type: application/json" -s -X POST $API -d '{"content":"'"$*"'"}'
}
@wogong
wogong / md2rrjson.py
Created March 1, 2021 01:09
Markdown to Roam Research
""" Markdown (with date in title) files import to Roam Research using JSON format
"""
import os
import glob
import re
import json
import maya
from nanoid import generate