Skip to content

Instantly share code, notes, and snippets.

@bluemont
bluemont / Default (OSX).sublime-keymap
Created March 9, 2013 08:51
Generate and insert a random UUID. Works with multiple selections: * If there are no selections, insert the UUID at each cursor position. * If there are one or more selections, replace the selection(s) with the UUID. I've tested this in Sublime Text 3, but it may also work for Sublime Text 2.
[
{ "keys": ["ctrl+shift+u"], "command": "insert_uuid" },
]
namespace :x do
@folders = %w(a b c)
desc "Run"
task :run do
puts @folders
end
end

Tree Parse

I want to parse this (newlines are important):

L1
==1==
L2
L3

===1.1===

(ns whatever.core
(:gen-class)
(:import [java.sql SQLException])
(:require [clojure.java.jdbc :as jdbc]
[clojure.java.jdbc.sql :as sql]
[clojure.pprint :as pprint]))
(def app-name "whatever")
(def env "development")