Skip to content

Instantly share code, notes, and snippets.

View jheddings's full-sized avatar

Jason Heddings jheddings

  • Denver, CO
View GitHub Profile
@jheddings
jheddings / ex-notes.py
Last active May 17, 2024 14:20
Import Apple Notes into Notion.
#!/usr/bin/env python3
# !! NOTE - this script is no longer maintained... please see the repo for further
# updates: https://github.com/jheddings/notes2notion
# this script attempts to migrate from Apple Notes to Notion while retaining as
# much information and formatting as possible. there are limitations to the
# export data from Notes, so we try to preserve the intent of the original note.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
@jheddings
jheddings / temp_balance.py
Last active December 19, 2020 08:01
Fast method for balancing temperature in Indigo using multiple sensors.
# turn on the fan if temperature in the house is uneven
try:
import indigo
except ImportError:
print 'ERROR - this script must be run from within Indigo'
raise ImportError("module 'indigo' not found")
logger_name = 'HVAC Balancer'