Skip to content

Instantly share code, notes, and snippets.

View ryansroberts's full-sized avatar

Ryan Roberts ryansroberts

View GitHub Profile
@nhunzaker
nhunzaker / Makefile
Last active February 7, 2019 04:13
Access LMU light sensor on Mac. Also includes the Emacs plugin I use for automatically updating my theme according to ambient light.
all:
gcc light.m -std=c99 -framework Foundation -framework IOKit -o light
clean:
rm -f light