Skip to content

Instantly share code, notes, and snippets.

View areinisc's full-sized avatar

Alex Reinisch areinisc

View GitHub Profile
@areinisc
areinisc / README.md
Last active September 3, 2018 13:20
PHOTOMETRY --- doom-emacs -- automatic theme adjustment based on ambient light

Adding automatic light/dark theme switching to doom-emacs running on a mac with ambient light sensor.

Idea adapted from: Matt Bilyeu https://matthewbilyeu.com/blog/2018-04-09/setting-emacs-theme-based-on-ambient-light

Installation

  1. Make the lmutracker executable using clang and place it in your custom doom directory:
    $ cd ~/.doom.d/    # start in your custom doom directory, wherever that is for you.
    

$ touch lmutracker.mm # copy in the contents of this file however you like

@areinisc
areinisc / gist:2628469
Created May 7, 2012 15:36 — forked from maciakl/gist:1584387
Git Workflow
# GIT WORKFLOW
# (c) Luke Maciak
# Initialize:
git init
# Check Out:
git clone username@host:/path/to/repository