Skip to content

Instantly share code, notes, and snippets.

View harrisony's full-sized avatar

Harrison Conlin harrisony

View GitHub Profile
@harrisony
harrisony / skim-2-oo4.scpt
Created May 8, 2016 03:31 — forked from DrLulz/skim-2-oo4.scpt
Creates OmniOutliner document with hierarchy based on color of Skim highlights.
tell application "System Events"
if not (exists process "OmniOutliner") then
do shell script "open -a \"OmniOutliner\""
end if
end tell
tell application "Skim"
set all_notes to every note of front document
set pdf_name to (name of front document)
#!/usr/bin/env python
# ReadingListCatcher
# - A script for exporting Safari Reading List items to Markdown and Pinboard
# Brett Terpstra 2015
# Uses code from <https://gist.github.com/robmathers/5995026>
# Requires Python pinboard lib for Pinboard.in import:
# `easy_install pinboard` or `pip install pinboard`
import plistlib
from shutil import copy
import subprocess