This file contains hidden or 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
| #!/bin/bash | |
| set -Eeuo pipefail | |
| # This script fetches various Prometheus exporters from GitHub. | |
| # It checks if the latest release has already been downloaded for each repository | |
| # in the list. If there is a new release, it downloads it, and performs standard | |
| # steps like compilation or copying, depending on the options specified. |
This file contains hidden or 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
| #!/usr/bin/env python | |
| """ | |
| Optimise JPEGs in a mapproxy cache with mozjpeg. | |
| Remembers processed files so they are only processed once. | |
| Find -mtime wouldn't work because optimising the files changes the mtime. | |
| """ |
This file contains hidden or 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
| Wikipedia | |
| https://en.wikipedia.org/w/index.php?search={name}&fulltext=Search | |
| Wikipedia RU | |
| http://osm.mapki.com/history/{#type}.php?id={#id} | |
| Who Dit It? | |
| http://simon04.dev.openstreetmap.org/whodidit/?zoom=12&lat={#lat}&lon={#lon}&layers=BTT | |
| Keep Right validator | |
| http://keepright.ipax.at/report_map.php?zoom=14&lat={#lat}&lon={#lon}&layers=B0T | |
| Element history [demo, =Ctrl-Shift-H] | |
| https://www.openstreetmap.org/{#type}/{#id}/history |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import xmlrpc.client | |
| from datetime import date | |
| import regex | |
| # today = date.today() | |
| today = date(2022, 10, 2) | |
| server = xmlrpc.client.ServerProxy( |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| count | rue | localite | commune | |
|---|---|---|---|---|
| 22 | Am Këppbrill | Kehlen | Kehlen | |
| 20 | Rue Brameschhof | Kehlen | Kehlen | |
| 12 | Rannerbach | Dirbach | Bourscheid | |
| 8 | Tiefenbach | Dirbach | Bourscheid | |
| 5 | Ferme (Waldhof) | Waldhof | Niederanven | |
| 5 | Zone d'Activité Économique route de Bettel | Vianden | Vianden | |
| 3 | Am Direndall | Direndall | Kehlen | |
| 3 | Burewiss | Clemency | Käerjeng | |
| 3 | Feulenerhecken | Niederfeulen | Feulen |
This file contains hidden or 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
| { | |
| "header": { | |
| "gtfs_realtime_version": "2.0", | |
| "incrementality": "FULL_DATASET", | |
| "timestamp": 1649287451, | |
| "transit_realtime.mercury_feed_header": { | |
| "mercury_version": "1.0" | |
| } | |
| }, | |
| "entity": [ |
This file contains hidden or 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
| #!/bin/bash | |
| set -Eeuo pipefail | |
| # Don't glob | |
| set -f | |
| url="https://data.public.lu/fr/datasets/r/e74aadad-77c2-441e-98fe-e08a441484a2" | |
| useragent="openstreetmap.lu bot" | |
| outfile="transport-et-voies-de-communication-shape.zip" |
This file contains hidden or 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
| ! Feedback welcome. Easylist-syntax filters for Luxembourg sites. Works with many ad filters like Adblock Plus, AdGuard, uBlock and (my favourite) uBlock Origin. | |
| ! Support ad-free media sites by getting a subscription. | |
| ! govbar and other useless distractions | |
| ||cdn.public.lu/skizz/govbar/* | |
| ||cdn.public.lu/pictures/logos/renow*.png$image | |
| lu##govbar | |
| lu##.messenger--cookie.messenger | |
| lu##.renow | |
| lu##.gouvernemental_messenger |
This file contains hidden or 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
| 2022-01-20 18:16:35 ERROR (MainThread) [aiohttp.server] Error handling request | |
| Traceback (most recent call last): | |
| File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request | |
| resp = await request_handler(request) | |
| File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle | |
| resp = await handler(request) | |
| File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl | |
| return await handler(request) | |
| File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware | |
| return await handler(request) |