Skip to content

Instantly share code, notes, and snippets.

View Neil-Smithline's full-sized avatar

Neil Smithline Neil-Smithline

View GitHub Profile
anonymous
anonymous / bitly.el
Created November 26, 2010 13:38
Shorten URLs using bit.ly from Emacs.
;;; bitly.el --- Shorten URLs with bit.ly from emacs
;; Copyright (C) 2010 Vivek Haldar
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@samtardif
samtardif / filter.js
Created August 25, 2011 08:03
filter for lifestream
$("#filter").live("keyup", function (ev) {
var $filter = $(this),
keyCode = ev.keyCode || ev.which,
search;
if (keyCode === 27) { //ESC
$filter.val("");
}
search = $(this).val();
@Neil-Smithline
Neil-Smithline / org-export-dynamic-tags.el
Created May 20, 2012 21:45
Emacs Org-Mode Dyvamic Export By Tags
(defcustom org-export-dynmaic-tags '("blog")
"Select tags to export with `org-export-by-tag'."
:group 'org-export-html
:link '(function-link org-export-by-dynamic-tags)
:type '(repeat (string :tag "Tag Name")))
(defun org-export-by-dynamic-tags (&optional arg)
"Export topics in a project by tag, ignoring `org-export-select-tags'.
Call `org-export' with `org-export-select-tags' temporarily set