$ inv vmlist
>> wolf.data.gouv.fr
>>> Memory
total used free shared buffers cached
Mem: 63G 62G 497M 0B 92M 22G
-/+ buffers/cache: 40G 22G
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"_id": "fr-lo", | |
"created_at": ISODate("2014-04-17T18:11:53.926Z"), | |
"title": "Licence Ouverte / Open Licence", | |
"alternate_titles": [ | |
"LO/OL", | |
], | |
"slug": "licence-ouverte-open-licence", | |
"url": "https://www.etalab.gouv.fr/wp-content/uploads/2014/05/Licence_Ouverte.pdf", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from flask import Flask, redirect, url_for, session, json, render_template_string | |
from authlib.flask.client import OAuth | |
# Dirty hack for self signed certificate | |
import ssl | |
if hasattr(ssl, '_create_unverified_context'): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ok": true, | |
"emoji": { | |
"bowtie": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/bowtie\/f3ec6f2bb0.png", | |
"squirrel": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/squirrel\/465f40c0e0.png", | |
"glitch_crab": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/glitch_crab\/db049f1f9c.png", | |
"piggy": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/piggy\/b7762ee8cd.png", | |
"cubimal_chick": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/cubimal_chick\/85961c43d7.png", | |
"dusty_stick": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/dusty_stick\/6177a62312.png", | |
"slack": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/slack\/5ee0c9bea3.png", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Entry-points: | |
☐ Commands | |
✔ harvesters @done(2017-11-30 00:08) @project(Entry-points) | |
✔ Link checkers @done(2017-11-30 00:08) @project(Entry-points) | |
✔ Thèmes @done(2017-11-30 00:09) @project(Entry-points) | |
☐ Metrics | |
Switches: | |
☐ Python 3 | |
☐ Flask-CLI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"_id" : ObjectId("56fe661288ee380160c352f9"), | |
"_cls" : "Dataset", | |
"metrics" : { | |
"nb_uniq_visitors" : NumberInt(0), | |
"views" : NumberInt(0), | |
"followers" : NumberInt(0), | |
"reuses" : NumberInt(0), | |
"nb_visits" : NumberInt(0), |
This macro has to be installed in your personnal user macro in:
~/.config/libreoffice/4/user/Scripts/python/export_as_csvs.py
on Linux\AppData\Roaming\LibreOffice\4\user\Scripts\python\export_as_csvs.py
on Windows/Applications/LibreOffice.app/Contents/Resources/Scripts/python/export_as_csvs.py
on MacOS (there may be a better alternative)
You can execute it from the menu Tools > Macros > Run macro...
and then select My Macros > export_as_csv
in the left column and export_sheets_to_csv
in the right one
and then click on Run
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* List zones with slahes in identifiers with their occurence count | |
*/ | |
function mapZonesWithSlahes() { | |
this.spatial.zones.forEach(function(zone) { | |
if (zone.indexOf('/') >= 0) { | |
emit(zone, 1); | |
} | |
}); |
Modifier l'entrée udata_territory_handled_levels
avec les valeurs suivantes:
fr:commune
fr:departement
fr:region
ansible-playbook sites/next.data.gouv.fr.yml --extra-vars "restore=true"
Les différentes plateformes:
Services externes:
Les dépôts git des différents projets: