Skip to content

Instantly share code, notes, and snippets.

@n3mo
n3mo / gist:f63ec92cef49eda6be9e
Last active August 29, 2015 14:24
MassMine config file format options
FORMAT OPTION 1 FOLLOWS:
========================
output = my_data.json
task = twitter-stream
query = love AND hate
count = 100
lang = en
FORMAT OPTION 2 FOLLOWS:
;; To use Twitter's APIs (and thus clucker), you must have:
;; (1) a Twitter account, and
;; (2) an "application" created at https://apps.twitter.com/
;; Once you've created your Twitter application, you can generate the
;; consumer key & secret, and your access-token & access-token-secret
;; at the same URL. Fill those values in below.
;; Clucker organization and usage
;; ----------------------------------
@n3mo
n3mo / gist:5366507
Last active December 16, 2015 02:59
underline-text: Quickly "underline" the current line for easy document structuring, creating section headings for markdown-like syntax, etc. Prefix with the universal argument to choose underlining character.
(defun underline-text (prefixArgCode)
"Underlines the current line and moves point to the beginning
of the line directly following the underlining. If
`universal-argument' is called, prompts user for underline
character, otherwise uses the = character."
(interactive "P")
(let ((selection (buffer-substring-no-properties
(line-beginning-position)
(line-end-position)))
(under-char