Skip to content

Instantly share code, notes, and snippets.

View paykroyd's full-sized avatar

Pete Aykroyd paykroyd

  • Google
  • Cambridge MA
View GitHub Profile
@paykroyd
paykroyd / lion-fullscreen.patch
Created August 25, 2012 22:32 — forked from cefstat/lion-fullscreen.patch
Patch for Emacs fullscreen support under Mac OS X 10.7 (Lion)
=== modified file 'lisp/term/ns-win.el'
--- old/lisp/term/ns-win.el 2011-10-01 20:32:01 +0000
+++ new/lisp/term/ns-win.el 2011-11-10 16:22:51 +0000
@@ -928,6 +928,10 @@
(add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces))
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system))
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ())
+(defun ns-toggle-fullscreen ()
+ (interactive)
@paykroyd
paykroyd / springpad_oauth.sh
Created May 3, 2012 22:28 — forked from jhorman/springpad_oauth.sh
Springpad OAuth Help
# http://mojodna.net/2009/08/21/exploring-oauth-protected-apis.html
easy_install oauth-proxy
sudo gem install oauth
oauth --consumer-key XXXXX --consumer-secret XXXXX --access-token-url http://springpadit.com/api/oauth-access-token --authorize-url http://springpadit.com/api/oauth-authorize --request-token-url http://springpadit.com/api/oauth-request-token authorize
oauth-proxy --consumer-key XXXXX --consumer-secret XXXXX -p 8001
@paykroyd
paykroyd / hack.sh
Created April 1, 2012 13:53 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#