Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jeanfred on github.
  • I am jeanfred (https://keybase.io/jeanfred) on keybase.
  • I have a public key ASCiykGZHmUa3kTHFpwug24b7X9jQNK_yMcXiD-_2PcvbAo

To claim this, I am signing this object:

@JeanFred
JeanFred / overpass-query-to-json-with-municipality.py
Last active July 25, 2017 20:23
Retrieve all cemeteries in a given region (here states of Austria) with their municipality
import itertools
import logging
import json
import time
import overpy
api = overpy.Overpass()
@JeanFred
JeanFred / carbon.yml
Last active January 4, 2018 23:02
Ansible role provisioning Graphite (sitting behind Nginx)
---
- name: Carbon config files
template:
src: '{{ item }}'
dest: '{{graphite_venv_path}}/conf/{{ item }}'
validate: "python -c \"import ConfigParser; config = ConfigParser.RawConfigParser(); config.read('%s')\""
with_items:
- carbon.conf
- storage-schemas.conf
- storage-aggregation.conf