Merci Agnès Crepet. Motivé pour être ici. Discussion sur mode de vie post Mix-it, 2h du mat’ en partant.
Nomadisme , connu?
| 'use strict'; | |
| var pkg = require('./package.json'); | |
| var gulp = require('gulp'); | |
| var utils = require('gulp-util'); | |
| var source = require('vinyl-source-stream'); | |
| var isWatching = false; | |
| var isProduction = process.env.NODE_ENV === 'production'; | 
| { | |
| "@context": { | |
| "@vocab": "http://www.w3.org/ns/dcat#", | |
| "dp": "http://dataportals.net/ns/dp#", | |
| "schema": "http://schema.org/", | |
| "rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
| "xsd": "http://www.w3.org/2001/XMLSchema#", | |
| "url": "@id", | |
| "linked_portals": { | 
| import http.server | |
| import socketserver | |
| from http import HTTPStatus | |
| class Handler(http.server.SimpleHTTPRequestHandler): | |
| def do_GET(self): | |
| self.send_response(HTTPStatus.OK) | |
| self.end_headers() | |
| self.wfile.write(b'Hello world') | 
| /** | |
| * cloneNode(true), but also clones shadow roots. | |
| * @param {Element} | |
| * @param {ShadowRoot[]} [shadowRoots] Any closed shadow roots passed here will be included. | |
| */ | |
| function cloneWithShadowRoots(node, shadowRoots) { | |
| function walk(node, clone) { | |
| let shadow = node.shadowRoot || shadowRoots.find(r => r.host === node); | |
| if (shadow) { | |
| clone.attachShadow({ mode: shadow.mode }).append(...[].map.call(shadow.childNodes, c => c.cloneNode(true))); | 
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = [ | |
| # "pyobjc-core", | |
| # "pyobjc-framework-CoreLocation", | |
| # "click" | |
| # ] | |
| # /// | |
| """Basic geocoding using CoreLocation on macOS.""" |