Skip to content

Instantly share code, notes, and snippets.

@emallson
emallson / nodejs-repl-eval.el
Created May 30, 2014 02:30
Evaluation functions for the `nodejs-repl' Emacs package.
;;; nodejs-repl-eval.el --- Summary
;;; Commentary:
;;;
;;; Evaluation functions for the `nodejs-repl' package. Written on a stormy
;;; night between days of node hacking.
;;;
;;; Code:
(require 'js2-mode)
(require 'nodejs-repl)
@emallson
emallson / de-duplicate.el
Created March 6, 2014 01:11
Extension of the Emacs 24.4 function 'delete-duplicate-lines' to 4th, 5th and 6th order arguments.
;; woah! you actually came here! As a reward, I'll let you in on a secret:
;; I'm just making fun of the proliferation of `C-u`'s in the linked post.
;; however, at least the 4th and 6th order de-duplicates are actually feasible.
;; The 4th order one would be some implementation of unit-level code analysis, while
;; the 6th is trivial. You can write that one yourself!
;; for those of you that have no idea what the hell I'm talking about, see here:
;; http://atlanis.net/blog/de-duplicate-el.html