Skip to content

Instantly share code, notes, and snippets.

@jacott
jacott / handlebars-sgml-hacks.el
Last active December 15, 2015 15:39
Emacs sgml-mode (html-mode) hack to support handlebars templating
;;;
;;; handlebars-sgml-hacks.el --- add Handlebars contextual indenting support to sgml-mode
;;;
;;; Initial Developer: Geoff Jacobsen <[email protected]>, 2013
;; Original code belongs to the Free Software Foundation
;; (see sgml-mode.el in GNU Emacs)
;; This file is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@oyiptong
oyiptong / graphite.md
Created April 20, 2012 18:14 — forked from caged/graphite.md
Installing Graphite on OS X Lion using brew, pythonbrew and virtualenv

This is a general overview (from memory) of the steps I used to install graphite (http://graphite.wikidot.com) on OS X Lion. I think the steps are in order but YMMV. Please fork and fix if you find an error.

Install Python 2.7.2

curl -kL http://xrl.us/pythonbrewinstall | bash
echo '[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc' >> ~/.bashrc
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
pythonbrew install 2.7.2
pythonbrew use 2.7.2
pythonbrew venv create graphite