Skip to content

Instantly share code, notes, and snippets.

View matthewhenderson's full-sized avatar

Matthew Henderson matthewhenderson

View GitHub Profile
@matthewhenderson
matthewhenderson / pomodoro.py
Created February 5, 2024 22:47
Raspberry Pi Sense Hat pomodoro app
## ===========================
## Raspberry Pi Pomodoro
## Requires: Sense Hat
##
## Run: Click the center button
## on the joystick to start a
## 20 minute Pomodoro timer
## where the matrix fills up
## green over the course of
## the 20 minute time period.
@matthewhenderson
matthewhenderson / iA Writer Terminal Shortcut
Last active February 5, 2024 22:49
iA Writer new README.md file in selected directory
This script is designed to make opening a file
in iA Writer on the Mac from the Terminal
command line easy.
EXAMPLE USE:
Running "ia README" will open the file if it exists,
exactly as the name is specified with no extension.
Otherwise, it will create a new file called README.md
with the md file extension, if it doesn't already exist,