Skip to content

Instantly share code, notes, and snippets.

@hochi
hochi / austria.yml
Created January 17, 2013 09:38
kartograph.py YAML file
layers:
- id: world
src: 10m_cultural/ne_10m_admin_0_countries.shp
attributes:
ISO_A3: AUT
filter: [iso_a3, is not, AUT]
- id: AUT
src: 10m_cultural/ne_10m_admin_1_states_provinces_shp.shp
filter: [iso_a2,is,AT]
@hochi
hochi / austria.svg
Created January 17, 2013 09:37
svg map of austria for kartograph
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hochi
hochi / gist:648700
Created October 27, 2010 09:02
jQuery JSF ID Escape
/*
* jQuery JSF ID Escape
* pattern : $(jsfIdEscape('#some:id')).function();
*/
function jsfIdEscape(id) {
return id.replace(/(:|\.)/g,'\\$1');
}