Skip to content

Instantly share code, notes, and snippets.

@sou
sou / mac_rc.vim
Last active December 10, 2015 22:08
vimrc on mac
" neobundle settings
set nocompatible
filetype off
if has('vim_starting')
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
call neobundle#begin(expand('~/.vim/bundle'))
@nathanmarz
nathanmarz / gist:2506020
Created April 27, 2012 05:03
Concise inline operations with Cascalog serfn branch
(use 'cascalog.playground) (bootstrap)
(require '[clojure.set :as set])
(require '[cascalog.vars :as v])
(defn all-syms [form]
(if (coll? form)
(reduce (fn [curr elem] (set/union curr (all-syms elem)))
#{}
form)