Skip to content

Instantly share code, notes, and snippets.

@pamelafox
pamelafox / geonames.py
Created April 3, 2012 00:22
Geonames Python wrapper
import sys
import urllib
import urllib2
import json
import logging
class GeonamesError(Exception):
def __init__(self, status):
@myuhe
myuhe / ess-R-object-popup.el
Created March 1, 2010 13:16
ess-R-object-popup.el
;; ess-R-object-popup.el
;;
;; I have defined a function, ess-R-object-popup, that when
;; invoked, will return a popup with some information about
;; the object at point. The information returned is
;; determined by which R function is called. This is controlled
;; by an alist, called ess-R-object-popup-alist. The default is
;; given below. The keys are the classes of R object that will
;; use the associated function. For example, when the function
;; is called while point is on a factor object, a table of that