Code Snippets

Code snippets illustrate how some useful tasks can be done with very short and simple scripts written dynamic languages like Python and Javascript. Sometimes, less is more.

Unless otherwise indicated in the code, all snippets are released under the MIT/X11 license.

HBaseloadA utility for importing/exporting between hbase and csvDec 2011java, hbase, hadoop
MinicrawlerAn extensible queue-based web-crawlerDec 2011python
svgworldsvgworld renders a 3d projection of a world map using svgDec 2010python, svg
PySparqlSimple ways to access dbpedia data using python and SparqlJan 2010python, dbpedia, sparql
S3 CacheA local file cache for Amazon S3 using python and botoSep 2009Amazon S3, python, boto
j2jsAn article with some tips about how to use GWT to generate javascript library code from java code which is not user-interface relatedJun 2009java, javascript, google web toolkit
SnapshotSnapshot demonstrates a way to create a static, standalone copy of the dynamic content in a web pageFeb 2009javascript, html, data URIs
PPyPNGA pure python script with limited functionality for creating portable network graphics (PNG) format filesJul 2008python, png