Skip to content

Instantly share code, notes, and snippets.


Alexandre Bulté abulte

View GitHub Profile
View mapbox-bright-etalab-tiles.json
"version": 8,
"name": "Basic",
"metadata": {
"mapbox:autocomposite": true,
"mapbox:type": "template"
"sources": {
"mapbox": {
"type": "vector",
abulte /
Last active Feb 8, 2021
Big Sur python mayhem


Install python via pyenv with bzip2 support:

xcode-select --install
brew install bzip2
export LDFLAGS="-L/usr/local/opt/bzip2/lib -L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/bzip2/include -I/usr/local/opt/zlib/include"
pyenv install -f 3.8.6
View export-datasets.csv
We can't make this file beautiful and searchable because it's too large.
5e174be4634f414cd8a244f1,Critères de répartition des dotations versées par l’Etat aux collectivités territoriales,,Ce jeu de données vous permet d’accéder aux principaux critères physiques et financiers utilisés pour la répartition des fonds nationaux de péréquation et pour la répartition des dotations de l’État aux collectivités territoriales. Ces principaux critères physiques et financiers sont consultables pour l’ensemble des collectivités territoriales en format csv.,Direction générale des collectivités locales
View pgsearch.json
// 20200116113947
// http://localhost:5000/?q=entreprises
"data": [
"_id": "5b7ffc618b4c4169d30727e0",
"description": "\n\n\n- Pour vous abonner à notre lettre d'information **Sirene open data actualités**, suivez ce lien :\n- Pour consulter nos lettres d'information **Sirene open data actualités**, suivez ce lien :",
"hits_rank": 4357.4544033408165,
"nb_hits": 5919,
abulte / config.yml
Last active May 7, 2019
View config.yml
# cachet url
# cachet api token
token: vo6DRCtqGbtjiHsycM58
insecure: false
date_format: 02/01/2006 15:04:05 MST
- name: datagouvfr-website
abulte /
Created Oct 3, 2018
import re
def _guess_quote_and_delimiter(data, delimiters=None):
Looks for text enclosed between two identical quotes
(the probable quotechar) which are preceded and followed
by the same character (the probable delimiter).
For example:
,'some text',
The quote with the most wins, same with the delimiter.
View types.yml
## The order of the types in this file is important.
## This file exposes an array that defines the order in which the types will be matched.
## Always ensure that the extensions (and related) are properly lowercased.
version: '1'
- name: gpkg
View .vimrc
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
abulte / Dockerfile
Created Nov 1, 2015
Node Dockerfile / Docker-Compose
View Dockerfile
FROM node:0.12
RUN mkdir /code
COPY package.json /code/
RUN npm install
RUN npm install -g nodemon
ADD . /code