Underscore example:
_.each([1, 2, 3], function(num) { alert(num); });
/********************************************************** | |
ADOBE SYSTEMS INCORPORATED | |
Copyright 2005-2010 Adobe Systems Incorporated | |
All Rights Reserved | |
NOTICE: Adobe permits you to use, modify, and | |
distribute this file in accordance with the terms | |
of the Adobe license agreement accompanying it. | |
If you have received this file from a source |
license: gpl-3.0 |
The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site
to .gitignore
. The generated site should not be uploaded to Github since its gets generated by github.
""" | |
Generator for packed circle cartograms | |
""" | |
import proj, gisutils | |
class Cartogram: | |
def loadCSV(self, url, key='id', value='val', lon='lon', lat='lat'): | |
import csv | |
doc = csv.reader(open(url)) |