Skip to content

Instantly share code, notes, and snippets.

/*
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
https://github.com/Leaflet/Leaflet.markercluster
(c) 2012-2013, Dave Leaver, smartrak
*/
(function (window, document, undefined) {
/*
* L.MarkerClusterGroup extends L.FeatureGroup by clustering the markers contained within
*/

Web 101 - Links for learning how to program for the web

Overview

Broad overview of programming for the web. Web Platform is an effort to bring people information about developing for the web.

HTML and CSS

(ns omni.main
(:require-macros [cljs.core.async.macros :refer [go alt!]])
(:require [cljs.core.async :refer [>! put! chan]]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true])
(:import [goog.ui IdGenerator]))
(defn guid []
(.getNextUniqueId (.getInstance IdGenerator)))
// Usage : less2stylusDir('../src/css/');
var fs = require('fs');
// this less 2 stylus conversion script make a stylus easy to read syntax
// - let the braces
// - replace the @ for var as $
// - let semicolons
function less2stylus(less)
@colinkahn
colinkahn / applicationcontentconfig.py
Created September 28, 2012 17:50
ElephantBlog Config
Page.create_content_type(ApplicationContent, APPLICATIONS=(
('elephantblog.urls', _('Blog')),
))