Skip to content

Instantly share code, notes, and snippets.

import sys
from pathlib import Path
import openai
from pydub import AudioSegment
podcast_file = sys.argv[1]
openai.api_key_path = Path("~/.openai-api-key.txt").expanduser()
tell application "System Preferences"
reveal pane id "com.apple.preference.trackpad"
end tell
tell application "System Events" to tell process "System Preferences"
-- Uncheck lookup & data detectors
tell tab group 1 of window "Trackpad"
click radio button "Point & Click"
click checkbox 1
end tell

Keybase proof

I hereby claim:

  • I am jeanpaul on github.
  • I am jpvanoosten (https://keybase.io/jpvanoosten) on keybase.
  • I have a public key whose fingerprint is 6539 3E8F 7568 0CCC 6F12 636C 1B1C 4508 AAAD 37FA

To claim this, I am signing this object: