Skip to content

Instantly share code, notes, and snippets.

View jj0hns0n's full-sized avatar

Jeffrey Johnson jj0hns0n

View GitHub Profile
@jj0hns0n
jj0hns0n / export_github_issues.py
Created December 7, 2011 00:16
Export GitHub issues to a csv file
import csv
from github2.client import Github
# api settings for github
git_username = ''
git_api_token = ''
git_repo = ''
# csv name
csv_name = "git_hub_issues.csv"
@jj0hns0n
jj0hns0n / gist:1235483
Created September 22, 2011 17:57
Simple Script to work with Cascaded WMS Stores and Layers with gsconfig.py
#! /usr/bin/env python
from geoserver.catalog import Catalog
from geoserver.resource import WmsLayer
from owslib.wms import WebMapService
url = "http://geonode.opensandiego.org/geoserver-geonode-dev/wms"
cat = Catalog('http://localhost:8001/geoserver/rest', 'admin', 'admin')