Skip to content

Instantly share code, notes, and snippets.

View bergman's full-sized avatar

Joakim Bergman bergman

View GitHub Profile
@bergman
bergman / applefn.patch
Last active December 10, 2021 14:20 — forked from fauxpark/applefn.patch
QMK Apple Fn
diff --git a/common_features.mk b/common_features.mk
index 8c593024f0..d70f360470 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -658,40 +658,44 @@ endif
JOYSTICK_ENABLE ?= no
VALID_JOYSTICK_TYPES := analog digital
JOYSTICK_DRIVER ?= analog
ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
ifeq ($(filter $(JOYSTICK_DRIVER),$(VALID_JOYSTICK_TYPES)),)
@bergman
bergman / gist:2407394
Created April 17, 2012 16:42 — forked from georgel/gist:2199359
Install Python 2.7 (homebrew + pip + virtualenv) on Mac OS X Lion

Install Python

$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7

Symlinks...