Skip to content

Instantly share code, notes, and snippets.


Steve Purcell purcell

View GitHub Profile
angerman /
Last active Oct 20, 2021
Installing nix on macOS BigSur

The website suggests to use:

sh <(curl -L

For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use

sh <(curl -L --darwin-use-unencrypted-nix-store-volume
lynaghk /
Last active Nov 29, 2017
Angular.js from ClojureScript
I'm fleshing out some of these ideas here:
mstepniowski / fullscreen-lion.diff
Created Jul 20, 2011
Add Lion-based fullscreen mode to Emacs 24
View fullscreen-lion.diff
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 447d7fd..27bba4a 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -929,6 +929,11 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system))
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ())
+(defun ns-toggle-fullscreen ()