Skip to content

Instantly share code, notes, and snippets.

View anvie's full-sized avatar

Robin Syihab anvie

View GitHub Profile
@fmpwizard
fmpwizard / Boot.scala
Created January 16, 2013 03:18
Boostrap friendly notices
val jsNotice =
"""$('#lift__noticesContainer___notice li')
|.addClass("alert alert-success")
|.append('<button type="button" class="close" data-dismiss="alert">×</button>')""".stripMargin
val jsWarning =
"""$('#lift__noticesContainer___warning li')
|.addClass("alert")
|.append('<button type="button" class="close" data-dismiss="alert">×</button>')""".stripMargin
@wfaler
wfaler / init.el
Created April 26, 2012 12:12
init.el
(add-to-list 'load-path "~/.emacs.d/scala-mode")
(add-to-list 'load-path "~/.emacs.d/ensime/elisp")
(require 'scala-mode-auto)
(require 'ensime)
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)