Skip to content

Instantly share code, notes, and snippets.

View derekvan's full-sized avatar

Derek Van Ittersum derekvan

View GitHub Profile
@jsliang
jsliang / yearlyMoc.js
Last active May 8, 2024 19:05
Yearly MOC Generator - Obsidian Templater User Script
/**
* @author Jui-Shan (Jenny) Liang <jsliang.tw@gmail.com>
* @param {Object} tp the `tp` object of the Templater plugin
* @param {Object} options options for configuring the year to generate the MOC and the file name format
* @param {string} options.YEAR what year to generate the MOC; default to the current year
* @param {string} options.YEARLY_FORMAT filename format of yearly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.QUARTER_FORMAT filename format of quarterly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.MONTH_FORMAT filename format of monthly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.WEEK_FORMAT filename format of weekly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.DAY_FORMAT filename format of daily notes; format reference: https://momentjs.com/docs/#/displaying/format/
.roam-body-main > div > div {
padding: 0 !important;
}
.roam-article .roam-block-container {
font-size: 16px;
width: 100%;
color: #444;
}
@fractaledmind
fractaledmind / Export Skim Annotations with PDFPen urls
Last active August 31, 2018 05:57
REQUIRED PROGRAMS: - Skim (pdf viewer and annotator) - Evernote (cloud based note app) - works with PDFPen for iPad and iPhone This script will (as the title suggests) export all of you Skim notes directly to Evernote with hyperlinks.
(* EXPORT ALL SKIM NOTES TO EVERNOTE WITH IOS HYPERLINKS
-- Stephen Margheim
-- 10/16/13
-- open source
REQUIRED PROGRAMS:
- Skim (pdf viewer and annotator)
- Evernote (cloud based note app)
- works with PDFPen for iPad and iPhone
@joe-pindell
joe-pindell / ExportThingsToTaskPaper.scpt
Created April 8, 2011 20:18
An Applescript to export from Things to TaskPaper
set thePath to (path to desktop as Unicode text) & "ThingsToDo.txt"
set thingsToDoFile to (open for access file thePath with write permission)
set eof of thingsToDoFile to 0
set cr to ASCII character 10
tell application "Things"
-- Export to-dos from Inbox
write "Inbox:" & return to thingsToDoFile as «class utf8»
repeat with td in to dos of list "Inbox"